-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Thu, 12 Dec 2002 09:30:17 -0500, Anthony E. Greene wrote:

> >Ok. Thanks for the tip! But is there any way to instruct Fetchmail to
> >work toghether with procmail, because currently I use Fetchmail to
> >take the incoming mails.

First of all, procmail is the default mail delivery agent with Red
Hat Linux and either sendmail or postfix. Fetchmail forwards
retrieved messages to sendmail which in turn delivers local mail via
procmail.

> Yes. Fetchmail has an "mda" option that you can use to specify that it
> should hand incoming messages off directly to procmail instead of
> using the default delivery method (via SMTP to localhost).
> 
> My ~/.fetchmailrc looks like this:
> 
> 
> defaults protocol POP3 fetchall nokeep mda "procmail -d $LOGNAME"
> poll pop.ispname.com   username MyUsername   password MyPassword

Be careful when you use this (I do!) and always make sure you have
enough free disk space . Forwarding mail directly to procmail means
the mail is lost upon delivery failures such as out of disk space or
insufficient permission problems. In that case, procmail unlike
sendmail cannot bounce the messages.

- -- 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)

iD8DBQE9+Ku00iMVcrivHFQRAjACAJ97IqJK4T3R6+WZzEZNQMf5xstx3gCePDi7
yZlTq+AD4UkR+ceowp6Rtbc=
=FMW8
-----END PGP SIGNATURE-----



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to