Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Feb 2002 09:10:07 +0100
From:      Rogier Steehouder <r.j.s@gmx.net>
To:        Lord Raiden <raiden23@netzero.net>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: procmail/Fetchmail for vacations??
Message-ID:  <20020225091007.A638@localhost>
In-Reply-To: <4.2.0.58.20020225012009.00987e20@pop.netzero.net>; from raiden23@netzero.net on Mon, Feb 25, 2002 at 01:44:49AM -0500
References:  <4.2.0.58.20020225012009.00987e20@pop.netzero.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On 25-02-2002 01:44 (-0500), Lord Raiden wrote:
> 	Howdy all.  I'm looking at taking a vacation here soon where I'll be away 
> >from my workstation for a period of 2 weeks where I will have zero internet 
> access and definitely no access to my mail.  Since I receive so much mail 
> each day and I have a mail quota on at least one of the mailboxes I check, 
> I need to check it at least once if not twice a day to keep it emptied out 
> so it doesn't hit the quota.
> 
> 	Now, I'm researching both Procmail and Fetchmail for doing this, but I'm 

As far as I know, procmail only filters mail and does not download it
from POP3/IMAP servers.

> unsure of which I want to use.  I've got a small server running in my 
> office that I can set this up on if need be.  I'd like it to be able to set 
> it so that it checks my mailboxes at least once every 6 hours and downloads 
> all of that mail to roots mail file.  Then when I get home I'll just 
> download my mail from the server and still get all 2 weeks worth of mail.
> 
> 	Any suggestions on which one I should use and how to do 
> this?  Thanks.  I'm researching both, but I wanted some second opinions on 
> the best way to go about it and which one to use.  I'm leaning towards 
> fetchmail.  Can this be setup on cron to activate every 6 hours and grab my 
> mail from several accounts?

I use fetchmail to grab three POP3 addresses to my local mailbox. You
must of course run a mail daemon such as postfix or sendmail.

From my crontab:
*/15 * * * * /usr/bin/fetchmail -s

From my ~/.fetchmailrc:
set postmaster "<local username>"
set no bouncemail
set spambounce

defaults protocol pop3, options fetchall, no keep

poll <pop3 server>:
	user '<pop3 username>' there with password '<pop3 password>' is
	<local username> here
(plus two similar entries)

Tweak your settings as appropriate.

This works well, every 15 minutes all my mail is downloaded and send to
the local mail daemon to be delivered to my mailbox, leaving the pop3
boxes empty.

With kind regards, Rogier Steehouder

-- 
                          ___                          _
-O_\                                                  //
 | /               Rogier Steehouder                 //\
/ \                  r.j.s@gmx.net                  //  \
  <---------------------- 25m ---------------------->

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020225091007.A638>