Hello forum, i'm working a quite long time with ISPconfig 3 yet. But i don't find any solution to create an email filter which catches emails with a specific mail address in To: AND Cc: I want to filter some emails which are sent to a specific mailing list. Sometimes the mailing lists email address is in To: and sometimes in Cc: Until now i just can filter emails with that mail address in the To: header. How to combine To: and Cc: I'm using courier-imap until i find a valid migration strategy to dovecot.
Maildrop offers more extensive mailfiltering options then dovecot, so when it comes to mail filtering then courier is the more versatile option. Please see here: http://www.courier-mta.org/maildrop/maildroptips.html so a if statement to filter to and cc would look like this Code: if ( /^TO:[email protected]/ && / ^CC:[email protected]/ ) { ......... }
Thank you till, i created custom filter in custom filter like this: Afterwards i deleted my rule which i created first. I will wait until i receive some emails from my mailing list, but i expect it will be working now. Thank you for your assisstance.