J Doe:
> Hi,
>
> I have a basic question regarding the smtpd_recipient_restrictions parameter.
>
> From what I understand, these are restrictions applied to the SMTP
> RCP TO command.
>
> In the case of a server that receives mail for a domain and also
> allows clients to send mail through it (via AUTH?d clients), does
> smtpd_recipent_restrictions apply to recipients at the domain or
> to recipients of mail sent by the AUTH?d clients or both ?
It applies to the address that the client sends in the RCPT TO command.
However it is common to whitelist clients that are authenticated:
smtpd_recipient_restrictions =
permit_mynetworks
permit_sasl_authenticated
...other stuff...
And thus their commands may pass, while the same commands from other
clients may be blocked.
Wietse