Re: [Exim] ACL to reject mail from MAILER-DAEMON to anyone b…

Página Principal
Apagar esta mensagem
Responder a esta mensagem
Autor: Brian Kendig
Data:  
Para: Giuliano Gavazzi
CC: exim-users
Assunto: Re: [Exim] ACL to reject mail from MAILER-DAEMON to anyone but me?
On Apr 30, 2004, at 10:11 AM, Giuliano Gavazzi wrote:

> apart from the typo, it will not work because the $sender_address
> contains the envelope sender that is most likely empty when the From:
> header is MAILER-DAEMON. So, to solve your problem use:
>
> ${if eq{$sender_address}{}{yes}{no}}
>
> or, equivalently in this case:
>
> ${if eq {$sender_address_local_part}{}{no}{yes}}


Will that inadvertently catch other cases other than "bounced" mail?
In what other situations might the envelope sender be empty?

I see in email from MAILER-DAEMON and postmaster that the first header
is:

Return-path: <>

Is that what you mean by an empty envelope sender?