On 15/Feb/10 22:40, Sam Varshavchik wrote:
> Grzegorz Niemirowski writes:
>
>> in courierd:
>> DEFAULTDELIVERY="| /usr/bin/maildrop"
>> in maildroprc:
>> exception {
>> xfilter "/usr/bin/spamassassin"
>> }
>
> maildrop gets invoked to deliver mail to local mailboxes. Your aliases
> forward mail to an external address. Because no local mail delivery
> takes place, no mail filtering takes place.

What happens to the envelope sender in this case?

> What you want to do is invoke spamassassin as part of mail processing.
> See the Courier::Filter perl module:

Alternatively, it is also possible to deliver to a local address who 
then remails the message to the external address. Since scripting is 
involved, this method allows more control.

------------------------------------------------------------------------------
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
_______________________________________________
courier-users mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to