If I have an ordinary account with a .mailfilters directory in which
rcptfilter returns an exit code of 99 (message not whitelisted) then
smtpfilter will be checked and is expected to return an exit code of 0 to
approve (but not whitelist) the message.  I have a couple of questions
concerning courierfilter's relationship to this maildrop filtering.

In order for a system courierfilter (in /var/lib/filters rather than
/var/lib/allfilters) to be in the loop, my understanding is that rcptfilter
_must_ return an exit code of 99.  This is necessary.  Is it also
sufficient?  In other words, if there is _no_ local content filter file
(smtpfilter) is its absence simply ignored and mail delivered as if
smtpfilter were there and had terminated with a zero exit code?

The man page for localmailfilter states that "Content filtering is not
available for alias addresses".  If I have a alias virtual mail account
[EMAIL PROTECTED] with .courier delivery rules therein, and a
.mailfilter/rcptfilter for this alias account which exits with an exit code
of 99 for all mail, will this mail be examined by my system courierfilter.

This is important.  Although Sam grits his teeth over it, I'm using virtual
alias accounts for setting up mailing lists, and I would like to maintain my
present practice of filtering submissions to my lists for viruses, even
though the lists themselves disallow executable attachments.  My virus
filter is an elaboration of courierperlfilter.  I have _one_ customer who
wishes to be exempt from filtering, so I can't put my courierperlfilter
socket in allfilters.

-- 
Lindsay Haisley       | "Everything works    |     PGP public key
FMP Computer Services |       if you let it" |      available at
512-259-1190          |    (The Roadie)      | <http://www.fmp.com/pubkeys>
http://www.fmp.com    |                      |

_______________________________________________________________

Have big pipes? SourceForge.net is looking for download mirrors. We supply
the hardware. You get the recognition. Email Us: [EMAIL PROTECTED]
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to