OSEC

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

From: Ralf Hildebrandt (Ralf.Hildebrandtcharite.de)
Date: Mon Dec 03 2007 - 03:28:35 CST


* Dan Blejan <dansdn.ro>:
> 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:
>
>

Use this:

smtpd_recipient_restrictions =
  permit_sasl_authenticated,
  reject_unauth_destination
  reject_rhsbl_client list.dsbl.org,
  reject_rhsbl_client bl.spamcop.net,
  reject_rhsbl_client sbl-xbl.spamhaus.org

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

Thats not postfix

--
Ralf Hildebrandt (Ralf.Hildebrandtcharite.de) plonkcharite.de
Postfix - Einrichtung, Betrieb und Wartung Tel. +49 (0)30-450 570-155
http://www.arschkrebs.de
Your mouse has moved. Windows NT must be restarted
for the change to take effect. Reboot now? [ OK ]