Re: [Exim] rewrite to empty sender?

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Dave C.
Date:  
À: exim-users
Sujet: Re: [Exim] rewrite to empty sender?

Well, I dunno if this is the 'right' way to do this, but I installed
this on the remote_smtp transport (which is the only transport in use
on the server running the httpd)

return_path = ${if match{$sender_address}{nobody@.*}{<>}fail}

This seems to work ok.. If it matches, it sets the envelope sender to
nothing, and if it doesnt, the expansion fails, which the spec
(correctly) says causes the envelope sender to remain unchanged.

(And I just noticed I forgot to mention that the httpd run as user
'nobody')

On Tue, 21 Dec 1999, Dave C. wrote:

>
> I want to force all mail generated by CGI's called from our httpd to
> have an empty envelope sender. I tried a rewrite rule, first with <>,
> and then with "", but neither worked.. Is this not possible?
>
> I will keep RTFM in case I missed something...
>
> --
> ## List details at http://www.exim.org/mailman/listinfo/exim-users Exim details at http://www.exim.org/ ##
>