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)

BTW - normally you would like to have a dedicated service
on a dedicated port where only the spamfilter submits
his messages with as less overhead as possible, open port
10026 only for the spamfilter and so have seperated configurations

public-ip-of-your-server:10026   inet   n   -   n   -   -   smtpd
 -o mynetworks=ip-of-the-spamfilter
 -o smtpd_client_connection_count_limit=75
 -o smtpd_recipient_restrictions=permit_mynetworks, reject
 -o receive_override_options=no_header_body_checks,no_milters
 -o local_header_rewrite_clients=
 -o sender_dependent_relayhost_maps=
 -o content_filter=
 -o smtpd_delay_reject=no
 -o smtpd_client_restrictions=
 -o smtpd_helo_restrictions=
 -o smtpd_helo_required=no
 -o smtpd_sender_restrictions=
 -o smtpd_sender_login_maps=
 -o smtpd_data_restrictions=
 -o smtpd_end_of_data_restrictions=
 -o smtpd_restriction_classes=
 -o smtpd_error_sleep_time=0
 -o smtpd_soft_error_limit=1001
 -o smtpd_hard_error_limit=1000
 -o smtpd_client_connection_rate_limit=0
 -o smtpd_peername_lookup=no
 -o smtpd_use_tls=no
 -o smtpd_tls_security_level=none
 -o smtpd_sasl_auth_enable=no
 -o smtpd_reject_footer=
 -o max_idle=1h
 -o max_use=1000

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to