procmail
[Top] [All Lists]

sendmail/procmail integration

2006-07-19 10:43:37
Every once in a while I see message postings on this list about using 
the EXITCODE in procmail to reject (not accept) certain incoming e-mail, 
and various replies to those postings explaining that by the time the 
message is being looked at by procmail, it is too late to reject it... 
the message has already been accepted.

I'm a little confused by this.... is this always true? my sendmail.mc 
file has this line it:
FEATURE(local_procmail,`',procmail -t -Y -a $h -d $u')dnl

and ends with:
MAILER(smtp)dnl
MAILER(procmail)dnl

Can this be read as "receive/accept messages via SMTP, then pass them to 
procmail for further examination"?

Or, is procmail being called as a function/subroutine, so when procmail 
ends, the procmail exitcode is seen by sendmail? In which case, sendmail 
still has the opportunity to reject (not accept) the message "at source" 
because the tcp connection is still open.

Thank you.


____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>
  • sendmail/procmail integration, Don Russell <=