Re: Program for gathering and saving mail?

From: Joe (joe_at_jretrading.com)
Date: 08/09/03


Date: Sat, 9 Aug 2003 22:10:01 +0100

In message <bh15r8$tbtgb$1@ID-101605.news.uni-berlin.de>, Baard Ove
Kopperud <bokoppeNOSpamHere@frisurf.no> writes
>I was wondering if there are any good programs for just gathering
>mail from a (remote) POP3 or IMAP server and saving them to a
>file?
>
>
>I know 'fetchmail' may work, but I have some bad experiences
>with it... Last time I tried it, my mailbox overfilled, and
>instead of leaving my mail on the POP-server (as the RFC
>dictates POP *shall do* when something f.{3}s-up), it deleted
>it from the server, and bounced it to the senders... and
>since it was mostly mail-lists, I became rather unpopular
>for a while. So before I try 'fetchmail' again, I would
>like some tips...

>
>1) Can I save to some file other than the mailbox?

Fetchmail works by collecting mail and the passing it to whatever SMTP
server (MTA) is listening on port 25 on localhost by default. You can
specify a different port or host, but it's still got to be a SMTP server
that gets the mail. What that server then does with the mail is up to
its configuration.

>2) Can I prevent bouncing?

You can tell fetchmail not to bounce with the nobounce command, you then
also need to make sure the MTA will not bounce it, configuration again.

>3) Can I enforce the "leave if things go wrong" rule?

Fetchmail does. I've seen all kinds of problems, from POP3
authentication failure to the local port 25 MTA being down. I've never
seen fetchmail delete anything from the POP3 server unless all went
well. I think, as another poster said, it was your ISP which bounced
mail to a full mailbox.

My experience doesn't cover your other questions.

-- 
Joe


Relevant Pages

  • Re: No SSL on fetchmail?
    ... It depends on the port you connect to. ... encrypted via SSL. ... Connect to the server using the specified base ... So, if you want to use fetchmail on an IMAP server without using SSL, ...
    (comp.mail.misc)
  • Odp: Email and DMZs (iptables)?
    ... > fetchmail or whatever, and running a pop server in the server outside, how ... The easiest way is to use fetchmail. ... locally on the Red server, a way of the email through SMTP is ended. ... > special daemon that will attack the internal machine as it fetches mail, ...
    (Focus-Linux)
  • [SLE] Seeking help with mail-server setup
    ... ISP's POP server with Kmail and sending directly from Kmail to the ISP's ... So, I thought I'd set fetchmail to get my mail from the ISP onto the tower, ... then use CyrusIMAP to serve my mailreader on the laptop. ...
    (SuSE)
  • Re: Fetchmail thru firewall not working
    ... > server, but the fetchmail fails. ... rules and restart firewall each time, ... > connect to this port is the problem. ...
    (comp.os.linux.security)
  • Re: Postfix, ETRN and retrieval from POP boxes..
    ... Most of its fairly straight-forward server config, ... When I suggested fetchmail, responder on the Server list post this ... Reading the docs for Postfix ETRN, ... remote MTA to start shunting stuff to your MTA. ...
    (uk.comp.sys.mac)