OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
setup postfix whitout mynetworks, just with permit_sasl_authenticated

From: Dan Blejan (dansdn.ro)
Date: Mon Dec 03 2007 - 03:18:10 CST


Hello,

 

I want to setup postfix to send mail just from users that are authenticated
with permit_sasl_authenticated. It is possible to do that whitout adding ip
or ip classes in mynetworks?

If I put in main.conf:

 

smtpd_recipient_restrictions =

  permit_auth_destination,

  permit_sasl_authenticated,

  reject_rhsbl_client list.dsbl.org,

  reject_rhsbl_client bl.spamcop.net,

  reject_rhsbl_client sbl-xbl.spamhaus.org

  reject_unauth_destination

 

in postfix log I see:

 

Dec 3 11:10:09 www authdaemond: password matches successfully (which tell
me that authentification was ok)

.

Dec 3 11:10:09 www postfix/smtpd[32736]: NOQUEUE: reject: RCPT from
unknown[xxx.yyy.zzz.www]: 554 5.7.1 <someuseryahoo.com>: Relay access
denied; from=< localuserlocaldomain > to=<someuseryahoo.com> proto=ESMTP
helo=<ko>

 

I can' t figure where I'm wrong.

 

Dan