Hello,

Actually some of our users are using aliases to redirect incoming messages to an external email. Exemple of a file in /etc/courier/aliases/

[email protected] : [email protected]

This works fine, but with a big inconvenient : that's redirect all messages including spam, and our server reputation suffer of this.

The only way i found to solved this, is to convert [email protected] to a real mailbox, suppress aliases, and use maildrop functions to redirect only messages which are not considered like spam by spamassassin.

Here are the substitution

1) ESMP (reception of message)
2) global maildroprc with xfilter "spamc" (spamassassin tag message with spam or not) and deliver in maildir
3) personnal .mailfilter file which have in this order :
3a) filter spam which deliver tagged msg to .junk folder)
3b) filter redirect which redirect msg to external email

This works, but i'm wondering if i can't find a better solution before to change this on a consequent number of account (we have a lot of account with redirect in aliases).

So, is somebody know a system to avoid redirect spam to external email in aliases ?

Perhaps is there a way to put spamassassin filtering before aliases reading ?

Thank you in advance

Cordialement,
Pascal Véron
VEZIM SARL



_______________________________________________
Courier-imap mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-imap

Reply via email to