[exim] Mail filter, blind copy all domain emails ?

Page principale
Supprimer ce message
Répondre à ce message
Auteur: placebo1066
Date:  
À: exim-users
Sujet: [exim] Mail filter, blind copy all domain emails ?

Hi,

I have Exim install on my server, I have a few filters setup.

I have several domains on the same server.

What I want to be able to do is blind copy all emails SENT and RECEIVED
from *@domain1.com delivered to backup@???

Here is my filter that copies all incoming mail, (THIS WORKS 100%)

Code:
--------------------

if error_message then finish endif
if $header_to: contains "@domain1.com"
then
unseen deliver "backup@???"
endif

--------------------


Now this filter does NOT work, I want it to blind copy all emails sent
from *@domain1.com

Code:
--------------------

if $sender_address contains "@domain1.com"
then
unseen deliver "backup@???"
endif

--------------------


I have 1 outgoing mail filer working, however it is for a specific
email address, here it is....

Code:
--------------------

if $sender_address is "user1@???"
then
unseen deliver "backup@???"
endif

--------------------


Im not really sure where im going wrong, if anyone has a suggestion, I
would be very greatful.

Thanks


--
placebo1066
------------------------------------------------------------------------
placebo1066's Profile: http://www.exim-users.org/forums/member.php?action=getinfo&userid=258
View this thread: http://www.exim-users.org/forums/showthread.php?threadid=54704