I want to allow only one sender with a specific address to send email on the localhost
smtpd_sender_restrictions = check_sender_access hash:/etc/postfix/senders, reject
Tried several combinations, REGEXP, etc, doesn't work
Am I missing other options?
I want to restrict which local accounts can use the local Postfix SMTP service. For example, I only want to allow 'root' account to use the service, or some other who has a specific sender address. Tried numerous configs, but none of them worked.
I'm using a Smarthost to relay the emails
Thanks for the reply.