Re: Block before Recipient address rejected: User unknown?
- Juerg Reimann:
[ Charset UTF-8 unsupported, converting... ]
> Hi everybody,http://www.postfix.org/SMTPD_ACCESS_README.html#timing
> Is there a way to reject a certain sender email address before he
> gets a 550 5.1.1 <firstname.lastname@example.org>: Recipient address rejected: User unknown?
> When I add the sender to header_check, he still gets first the
> User unknown reject when he sends to an unknown user...
DELAYED EVALUATION OF SMTP ACCESS RESTRICTION LISTS
Early Postfix versions evaluated SMTP access restrictions lists as
early as possible. The client restriction list was evaluated before
Postfix sent the "220 $myhostname..." greeting banner to the SMTP
client, the helo restriction list was evaluated before Postfix
replied to the HELO (EHLO) command, the sender restriction list was
evaluated before Postfix replied to the MAIL FROM command, and so
on. This approach turned out to be difficult to use.
Current Postfix versions postpone the evaluation of client, helo
and sender restriction lists until the RCPT TO or ETRN command.