I want to direct mail from [email protected] to [email protected]. 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<[email protected]>" then deliver [email protected] 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=****[email protected] Sender = SRS0=8/re=im=msn.com=***[email protected] Recipient = [email protected] Testing Exim filter file "/home/ac/.forward" Deliver message to: ***[email protected] 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 - [email protected] Microsoft-free zone - Using Debian GNU/Linux http://www.acampbell.org.uk (blog, book reviews, and sceptical articles) -- ## List details at http://lists.exim.org/mailman/listinfo/exim-users ## Exim details at http://www.exim.org/ ## Please use the Wiki with this list - http://wiki.exim.org/
