Re: [Exim] Filter, expanding and $return_path?

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Marc Haber
Datum:  
To: exim-users
CC: ph10
Betreff: Re: [Exim] Filter, expanding and $return_path?
On Wed, 14 Jul 1999 09:49:40 +0100 (BST), you wrote:
>On Tue, 13 Jul 1999, Marc Haber wrote:
>
>> |if $return_path is "<canossa-bounce@???>" then
>
>> What am I doing wrong?
>
>Don't put <> round the address. The contents of $return_path are just
>the plain "user@domain".


In that case, exim behaves differently when doing -bf and during an
actual delivery since:

|Testprint: return_path == <canossa-bounce@???>
|Testprint: gf1.lists.canossa
| Deliver message to: mh-lists-mbox@???
| Save message to: mailboxes/gf1.lists.canossa

|Filter processing ended:
| Filtering set up at least one significant delivery or other action.
| No other deliveries will occur.

|mh-lists@torres[25/82]:/mnt/main6/home/mh-lists$

This clearly shows $return_path to contain the <> and the filter rule
to kick in during the -bf run.

Greetings
Marc

-- 
-------------------------------------- !! No courtesy copies, please !! -----
Marc Haber          |   " Questions are the         | Mailadresse im Header
Karlsruhe, Germany  |     Beginning of Wisdom "     | Fon: *49 721 966 32 15
Nordisch by Nature  | Lt. Worf, TNG "Rightful Heir" | Fax: *49 721 966 31 29