Hello, i'm trying to add the reject_unknown_sender_domain to my main.cf under smtpd_sender_restrictions . Now the settings look like this: The "access" file is empty. Nethertheless, even though postfix shouldn't send e-mails with unknown senders like "[email protected]" (i really typed it like this), it unfortunately does. I tried it with on the postfix server and the mail went out and arrived at the mail account. But that's not what i want. I don't want postfix to pass mails from internal clients, where the domain is unknown. This makes postfix quite open in my opinion. Does anyone know, how to restrict this?
Wow, that worked for me! Great! But what if i want to use both options? How do i set them both? Besides: Does the setting reject_unknown_sender_domain only effect "outgoing" e-mail? If so... where does postfix read the configuration out or where is the manpage for this, because "man 5 postconf" is quite shabby if concerning this option.
I thin kthe correct line is Code: smtpd_sender_restrictions = check_sender_access hash:/etc/postfix/access reject_unknown_sender_domain Take a look at http://www.postfix.org/postconf.5.html
I just waited for a post like this with the manpage of postfix, but this is NO SOLUTION for me. I just asked about ONE option and not the whole postfix possible options. So, i really appreciate your help, especially because it worked for me, but just spare posts like this. I am , and so are 99,9% of all posters here well aware of "man postfix" or "man postconf" and if you just don't know the answer to all questions it'no shame. You could just wrote "I don't know". Besides, the manpage DOES NOT answer my question in relation to "reject_unknown_sender_domain". Postfix just doesn't mention the "Outgoing" or "incoming" funtion. Nethertheless... thanks again!