EXIM Custom Filter Assistance
Hi,
I want to use make an incoming and outgoing copy for only 5 id's in my exim filter
kindly suggest on this.
if first_delivery
and ("$h_to:" contains "admin@xyz.com,ravi@xyz.com,clothing@xyz.com")
then
unseen deliver "deep@xyz.com"
unseen deliver "kalpesh@xyz.com"
unseen deliver "mitesh@xyz.com"
unseen deliver "admin@xyz.com"
endif
kindly suggest on this.
-
The syntax is not quite right, and testing just the "To:" header will deliver copies of all mail that is specifically addressed to those destinations. (not cc'd or bcc'd) Want to save all outgoing email to read later... I think you may want something more along the lines of: if ("$h_to:, $h_cc:, $h_bcc" contains "uvw@domain.com") or ("$h_to:, $h_cc:, $h_bcc" contains "xyz@domain.com") then ... You might also want to include some error checking in case any delivery fails. See 'noerror' 3. Exim filter files or 'errors_to'. 15. Generic options for routers 0 -
Hello, You may also want to consider using the Archive option in cPanel for this purpose. It's documented at: Archive - Documentation - cPanel Documentation Thank you. 0
Please sign in to leave a comment.
Comments
2 comments