[Exim] Simple question (revised)

Top Page
Delete this message
Reply to this message
Author: Odhiambo G. Washington
Date:  
To: Exim Users
Subject: [Exim] Simple question (revised)
Hello,

I have a filter which doesn't seem to do what I want, as simple as it is ;)

I want a situation where if an e-mail has userx@??? as a recipient, then
a _copy_ of that e-mail should be sent to anotheruser@???. I want to do
this outside the aliases, so I wrote,

if first_delivery
elif $h_to: is sales-nrbi@??? or
then
unseen deliver nas@???
endif


Q: Why is the mail is delivered to 'nas' but NOT to sales-nrbi.



Okay, real debug data here ...


[root@ns2]#exim -d5 -bf test-filter < test-mail
Exim version 3.36 debug level 5 uid=0 gid=0
probably Berkeley DB version 1.8x (native mode)
Caller is an admin user
Caller is a trusted user
user name "Charlie Root" extracted from gecos field "Charlie Root"
set_process_info: 46093 accepting a local non-SMTP message from <root@???>
rewritten sender = root@???
rewrite_one_header: type=F:
  From: wash@???
rewrite_one_header: type=T:
  To: sales-nrbi@???
sales-nrbi@??? in ^(beiersdorf)@wananchi\.com$? no (end of list)
sales-nrbi@??? in ^(lantech)@wananchi\.com$? no (end of list)
sales-nrbi@??? in ^(mareba)@wananchi\.com$? no (end of list)
sales-nrbi@??? in ^(netsource)@wananchi\.com$? no (end of list)
sales-nrbi@??? in ^(fkfin)@wananchi\.com$? no (end of list)
sales-nrbi@??? in ^(postmaster)@kenpoly\.com$? no (end of list)
sales-nrbi@??? in ^(exim)@wananchi\.com$? no (end of list)
sales-nrbi@??? in ^gespkenya@wananchi\.com$? no (end of list)
sales-nrbi@??? in ^vanleer@wananchi\.com$? no (end of list)
Sender    = root@???
Recipient = root@???
Testing Exim filter file test-filter


Sub-condition is true: first_delivery
Sub-condition is true: $h_to: is sales-nrbi@???
Condition is true: first_delivery and $h_to: is sales-nrbi@???
nas@??? in ^(beiersdorf)@wananchi\.com$? no (end of list)
nas@??? in ^(lantech)@wananchi\.com$? no (end of list)
nas@??? in ^(mareba)@wananchi\.com$? no (end of list)
nas@??? in ^(netsource)@wananchi\.com$? no (end of list)
nas@??? in ^(fkfin)@wananchi\.com$? no (end of list)
nas@??? in ^(postmaster)@kenpoly\.com$? no (end of list)
nas@??? in ^(exim)@wananchi\.com$? no (end of list)
nas@??? in ^gespkenya@wananchi\.com$? no (end of list)
nas@??? in ^vanleer@wananchi\.com$? no (end of list)
Unseen deliver message to: nas@???
Filter processing ended:
Filtering did not set up a significant delivery.
Normal delivery will occur.


Thanks,




-Wash

--
Odhiambo Washington  <wash@???>    "The box said 'Requires
Wananchi Online Ltd.  www.wananchi.com      Windows 95, NT, or better,'
Tel: 254 2 313985-9   Fax: 254 2 313922     so I installed FreeBSD."
GSM: 254 72 743 223   GSM: 254 733 744 121  This sig is McQ!  :-)



If everybody minded their own business, the world would go
around a deal faster.
        -- The Duchess, "Through the Looking Glass"


--

## List details at http://www.exim.org/mailman/listinfo/exim-users Exim details at http://www.exim.org/ ##

----- End forwarded message -----

-Wash

--
Odhiambo Washington  <wash@???>    "The box said 'Requires
Wananchi Online Ltd.  www.wananchi.com      Windows 95, NT, or better,'
Tel: 254 2 313985-9   Fax: 254 2 313922     so I installed FreeBSD."
GSM: 254 72 743 223   GSM: 254 733 744 121  This sig is McQ!  :-)



Rules for Academic Deans:
    (1)  HIDE!!!!
    (2)  If they find you, LIE!!!!
        -- Father Damian C. Fandal