procmail
[Top] [All Lists]

Re: .forward if procmail is the LDA

1998-09-03 14:48:59
Elie Rosenblum wrote,

| If you have a .forward, it is used by sendmail to replace a call to the
| LDA for the user in question.

| So if you have a .forward that doesn't call procmail, procmail is ...

Elie sent the answer to me with a carbon to the list, but since reading my
personal copy my inbox got trashed.  As of this writing the list copy hasn't
reached me, but the rest of that sentence (as I recall from reading it before
it got hosed) was to the effect that procmail is then never invoked at all on
your incoming mail; a .forward takes precedence over the LDA.  That scenario
never occurred to me.  Thank you for explaining.

Philip Guenther wrote,

| Scratch the bit about /etc/procmailrcs/$LOGNAME.  You're mixing up
| procmail -d with procmail -m.

Ah, got it ... after rereading the man page.  The part about /etc/procmailrcs
really can apply only when procmail is setuid root, so again it's something
I've no experience with and never quite followed or retained.  So no file in
/etc/procmailrcs is ever used implicitly, but /etc/procmailrc can be.

| $HOME/.forward is handled by sendmail.  If you have a .forward, then
| sendmail rewrites attempts to deliver to you into attempts to deliver
| to the addresses listed in the .forward file.

Or in other words, the .forward takes precedence over the LDA.  Thank you
both.

<Prev in Thread] Current Thread [Next in Thread>