Re: [exim] Blank From

Pàgina inicial
Delete this message
Reply to this message
Autor: Wakko Warner
Data:  
A: ppp2005
CC: exim-users
Assumpte: Re: [exim] Blank From
ppp2005@??? wrote:
> Anyone know how can I drop connections with a BLANK From address?


Which "From" are you refering to? SMTP Envelope "MAIL FROM:" or the email's
header "From:" ?

As already discussed, dropping a bounce (Empty envelope FROM) is a bad idea.
However, if you want to drop based on a missing From: header, that's not too
hard to do. In the data acl, you can do something like this (Please double
check I'm going from memory)

# deny if From: header missing
deny    condition = ${if def:$h_From: {no}{yes}}
# deny if From: header empty
deny    condition = ${if eq{$h_From:}{}{yes}{no}}


--
Lab tests show that use of micro$oft causes cancer in lab animals