Re: Confusion in getting .forward filter to work

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: F. Jacot Guillarmod
Fecha:  
A: Chris Thompson
Cc: Jacot, exim-users
Asunto: Re: Confusion in getting .forward filter to work
Chris Thompson writes:
>
> > # Mail from rem-conf mailing list
> > elif $header_Return-path: contains "rem-conf-request"
> > then
> > deliver "<ru-list-rem-conf@???>"
> > endif


> You would probably have more success using $return_path, not $header_Return-path:.
> The "Return-path: " header is usally added at the last possible moment (if the
> transport has return_path_add=true) and won't be there when the filter file
> decoder is making its decisions. But no doubt your test messages for "exim -bf"
> did have such a header! To test correct treatment of $return_path while using
> "exim -bf", include the "From " line from a BSD-style mailbox entry in the input,
> or use the -f option.


Yup, that's it. Works perfectly now!

Many thanks for helping to minimize (slightly) the size of my incoming mail
folder.

-- 
F.F. Jacot Guillarmod - Information Technology - Rhodes University - Grahamstown
      Internet: Jacot@???  Phone: +27 461 318284 Fax: +27 461 27764
   The views expressed above are not necessarily those of Rhodes University


--
* This is sent by the exim-users mailing list.  To unsubscribe send a
    mail with subject "unsubscribe" to exim-users-request@???
* Exim information can be found at http://www.exim.org/