Re: [Exim] Simple question (revised)

Etusivu
Poista viesti
Vastaa
Lähettäjä: Odhiambo G. Washington
Päiväys:  
Vastaanottaja: Exim Users
Kopio: Odhiambo G. Washington
Aihe: Re: [Exim] Simple question (revised)
* Odhiambo G. Washington <wash@???> [20020423 11:53]: wrote:
>
> 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

                                            ^^  this is a typo. ignore it, but problem still is


>    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

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


-Wash

S y s t e m s A d m i n i s t r a t o r
--

------=====================================------
Odhiambo Washington        Wananchi Online Ltd
E: WASH@???        www.wananchi.com
P: (254)2 313 985-9        1st Floor Loita Hse
F: (254)2 313 922        Loita St., NAIROBI
------=====================================------
++
Although the moon is smaller than the earth, it is farther away.