[exim] exim4 filter won't deliver as requested

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Anthony Campbell
Dátum:  
Címzett: exim-users
Tárgy: [exim] exim4 filter won't deliver as requested
I want to direct mail from a-user@??? to an-otheruser@???. All
other mail should be delivered locally as normal.

I have the following in ~/.forward:

----------------------------------
#Exim filter
if error_message then finish endif
if $h_from: contains "a-user<a-user@???>" then
deliver an-otheruser@???
endif

pipe "/usr/bin/procmail"
-------------------------------------

Here (with names removed) is the output of exim4 -bf ~/.forward <
somefile. (kundenserver.de is the server at 1&1 where my domain is
hosted.)

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

Here (with names removed) is the output of exim4 -bf ~/.forward <
somefile. (kundenserver.de is the server at 1&1 where my domain is
hosted.)

------------------------------------
Sender taken from "From " line
Return-path taken from "Return-path:" header line
Return-path = SRS0=8/rE=IM=msn.com=*******@srs.kundenserver.de
Sender = SRS0=8/rE=IM=msn.com=******@srs.kundenserver.de
Recipient = ac@???
Testing Exim filter file "/home/ac/.forward"

Deliver message to: ******@gmail.com
Pipe message to: /usr/bin/procmail
Filtering set up at least one significant delivery or other action.
No other deliveries will occur.
-------------------------------------


Can anyone tell me what is wrong here please?









--
Anthony Campbell - ac@???
Microsoft-free zone - Using Debian GNU/Linux
http://www.acampbell.org.uk (blog, book reviews,
and sceptical articles)