fetchmail's default mailbox?

fetchmail's default mailbox?

Post by Nietzsch » Wed, 15 Nov 2006 16:17:49


Sorry if this is obvious, didn't see it in the man page. How do I get
fetchmail to deliver to somewhere other than /var/spool/mail/root ? I
tried 'export MAIL=/some/mailbox' but it didn't help.

Thanks for any info.
 
 
 

fetchmail's default mailbox?

Post by Apostolos » Wed, 15 Nov 2006 17:04:12


Are you, by any chance, reffering to procmail?
You can do this in ~/.procmailrc if you add this line:

DEFAULT=/some/mailbox

Apostolos

--
Replace earth.space with gmail.com for a valid e-mail

 
 
 

fetchmail's default mailbox?

Post by Nietzsch » Thu, 16 Nov 2006 02:50:34


Apparently fetchmail uses procmail because that worked. Thank you.
 
 
 

fetchmail's default mailbox?

Post by Eike Rathk » Thu, 16 Nov 2006 09:00:50

* Nietzsche, 2006-11-14 17:50 UTC:

Normally, if not overridden by using the -m respectively --mda switch to
deliver to an MDA like procmail, fetchmail delivers to your local SMTP
port 25, so it depends on how your MTA is configured or your .forward
settings.

Eike

--
PGP/OpenPGP/GnuPG encrypted mail preferred in all private communication.
Key ID: 0x293C05FD - 997A 4C60 CE41 0149 0DB3 9E96 2F1A D073 293C 05FD