On 11/12/2010 01:42 PM, Noel Jones wrote:
On 11/12/2010 6:20 AM, Jeroen Geilman wrote:
On 11/12/2010 01:17 PM, Mingliang Zu wrote:
sigh. did you change the order of the restrictions ?
Yes. reject_non_fqdn_sender is now the only restriction. And
these
configurations are at the last lines of main.conf. Is this OK?

[r...@rhel5 postfix]# tail main.cf
# readme_directory: The location of the Postfix README files.
#
readme_directory = /usr/share/doc/postfix-2.3.3/README_FILES
smtpd_sender_restrictions = reject_non_fqdn_sender
non_fqdn_reject_code = 501
strict_rfc821_envelopes = yes
append_dot_mydomain = no
append_at_myorigin = no

Thanks,
Mingliang
No, this is not okay. You do not show what OTHER restrictions
are in effect.

For this to work, that restriction must be matched BEFORE you
allow mynetworks.

Correct.


anywhere.

Not correct.

Okay, not in smtpd_client_restrictions. Or helo_restrictions. But in recipient_restrictions, definitely! :)

I was more going towards the "put all restrictions in recipient_" point of view.

Without actually saying so, I see now.

--
J.

Reply via email to