Am 18.01.2012 17:36, schrieb Jon August:
> Hi,
> 
> We have a postfix machine setup as described here:
> http://www.howtoforge.com/virtual-users-and-domains-with-postfix-courier-mysql-and-squirrelmail-ubuntu-11.10
> 
> and we would like to use a third party to do our spam filtering.  So, we'd 
> like to continue using the machine for authenticated outbound mail, but we 
> want to limit the inbound mail to the third party mail server.  How do we 
> configure postfix to do this?
> 
> Outbound:
> --------------
> ANY IP (authenticated)  -> Postfix -> The World!  (OK)
> 
> Inbound:
> ------------
> A.B.C.D -> Postfix  (OK)
> Anything else -> Postfix (DENIED)
> 
> Thank you for your help. 

* add the ip to "mynetworks"
* add 
"smtpd_sasl_auth_enable=yes,permit_sasl_authenticated,permit_mynetworks,reject" 
in master.cf

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to