Submitted by masterg0g0 on Sun, 03/12/2017 - 13:18 Pro Licensee
Hello,
Presently postfix is configured as default as mail sending for the server. I have server domain running, mostly hosting wordpress. How can i limit the sending of emails from server for non hosted domains. for ex: abc.com is hosted, but wordpress on abc.com is able to send out an email to an end user masked as email coming from xyz.com. Know there is a parameter, dont want to screw up my postfix.
Rohit
Status:
Active
Comments
Submitted by JamieCameron on Sun, 03/12/2017 - 17:16 Comment #1
I'm not sure if you can prevent this with Postfix. It maybe better to look into the source of the problem, and see what script it sending out email with faked "from" addresses.
Submitted by masterg0g0 on Mon, 03/13/2017 - 00:08 Pro Licensee Comment #2
Well I cannot control every site? Some are of clients.. Thought there was a parameter under postfix server options
Submitted by andreychek on Mon, 03/13/2017 - 08:21 Comment #3
Sorry I don't know of a single parameter that would do what you're asking.
You could probably do what you're after though using what's described in the section "Restricting what users can send mail to off-site destinations" of this Postfix document heree:
http://www.postfix.org/RESTRICTION_CLASS_README.html