there is already a function in the mailfilter which might help here. In mailfilter.properties you find the following:
Code:
# Specify here if vacation messages should only be sent to specific domains # If multiple domains are given, they should be separated by "," # e.g. VACATION_DOMAINS=testdomain.com,example.com VACATION_DOMAINS=
Furthermore at least the SIEVE implementations of Cyrus and Dovecot don't sent vacation mails to mailing lists. This is handled internally and don't have to be enforced by and specific filter rule. This is even advised in the RFC of this SIEVE extension: http://tools.ietf.org/html/rfc5230#page-8.
Regards,
Dennis
Leave a comment: