> On Jul 29, 2016, at 10:16 AM, Shawn Heisey <[email protected]> wrote:
>
> I have no interest in postfix validating "From" headers, but if the
> envelope sender contains one of my domains and the sending server is not
> in mynetworks, I want postfix to reject it. Is that possible?
Yes, quite possible and widely used.
main.cf:
indexed = ${default_database_type}:${config_directory}/
smtpd_sender_restrictions =
check_sender_access ${indexed}smtp-from
smtp-from:
example.com permit_mynetworks, reject
.example.com permit_mynetworks, reject
--
Viktor.