OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Re: I think my configurations allows relaying from the outside ...

From: Jan P. Kessler (postfixjpkessler.info)
Date: Wed Mar 07 2007 - 02:52:58 CST


Oliver Gros schrieb:
>
> Hi
>
> As it looks like this configuration (postconf –n) allows relaying from
> the outside, as long as the outside sender uses an internal domain
> (see “relay_domains”) e.g someuserdomain8.com
> <mailto:someuserdomain8.com>.
>
> Where do I have the configuration issue?
>
>
> smtpd_sender_restrictions = check_sender_access
> hash:/etc/postfix/access reject_unknown_sender_domain warn_if_reject
> reject_unverified_sender permit_mynetworks
>
Hi Oliver,

please show the contents of /etc/postfix/access. NEVER ever use "OK" or
"PERMIT" in checks before you set "reject_unauth_destination".

Hint: put your these restrictions all under smtpd_recipient_restrictions
section.

Regards, Jan