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

On Mon, 8 Sep 2003 18:03:56 -1000, Marc Adler wrote:

> > Specifying a custom MDA such as in your case is dangerous. For
> > instance, if your disk is full, procmail has no way to bounce a
> > message. You would lose mail. Additionally, you override the default
> > delivery mechanism (local sendmail) and hence lose the target user
> > "marc" setting. Since you run fetchmail as root, formail and procmail
> > process the messages for root. As I've recommended earlier, run
> > fetchmail manually to debug your config file. Unless it works, don't
> > even consider running it in daemon mode. You probably need
> > to add procmail option "-d marc" if you insist on using procmail
> > as the MDA.
> > 
> > As a side-note: if at all, I would move the formail "digest-split"
> > into marc's ~/.procmailrc rule file.
> 
> I understand about 50% of that explanation. (Did someone say "newbie"?)
> I found this recipe file on the web and used it because it works if I
> start fetchmail up manually. The problems started after trying to
> implement the startup script.
> 
> Now that I look at it closely, I don't even know what "formail" is. I
> want to keep using procmail, because it does such a good job of sorting
> my messages. I suppose it's just fortuitous that my ~/.procmailrc file
> works at all, thanks to this random file I found on the web.
> 
> Is there a way to change this recipe file to use procmail without the
> problems you mentioned (overriding the "is marc", etc.)?

Yes, the answer is in my previous reply. Adding "-d marc" as
options to /usr/bin/procmail should fix it.

Nevertheless, the rest of what is written above, applies. 

Let me rephrase. By default, fetchmail passes retrieved mail to the
sendmail server on localhost. By doing that, sendmail takes over the
final transfer and can also handle delivery errors gracefully. On the
contrary, in your fetchmail config file, you override the default
delivery style and specify a mail delivery agent (procmail) to be used
directly. When procmail fails to store the message, it has no means to
return/resubmit the message to the mail system.

"formail" (read "man formail) is a mail re-formatting utility. In your
config file it is used to split digest messages into individual mails
(before passing them to procmail which would deliver them to your
mailbox). One would run formail in $HOME/.procmailrc and not in a
fetchmail config file.

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

iD8DBQE/XZrZ0iMVcrivHFQRAi78AJ9Z5x5tIbjBrszub8nfyzzhGHTrWwCdEXwr
ckni75PiUNJ05wPRD91+ESg=
=Y8y7
-----END PGP SIGNATURE-----


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list

Reply via email to