All pastes #756280 Raw Edit

Untitled

public text v1 · immutable
#756280 ·published 2007-10-31 10:57 UTC
rendered paste body
[main.cf]
smtpd_recipient_restrictions = permit_mynetworks, reject_unauth_destination, check_policy_service inet:127.0.0.1:10030

[/main.cf]

[master.cf]
smtp      inet  n       -       n       -       20       smtpd 
        -v
        -o smtpd_proxy_filter=127.0.0.1:10025
        -o smtpd_client_connection_count_limit=10


# For injecting mail back into postfix from the filter
127.0.0.1:10026 inet  n -       n       -       16      smtpd
        -o content_filter=
        -o receive_override_options=no_unknown_recipient_checks,no_header_body_checks
        -o smtpd_helo_restrictions=
        -o smtpd_client_restrictions=
        -o smtpd_sender_restrictions=
        -o smtpd_recipient_restrictions=permit_mynetworks,reject
        -o mynetworks_style=host
        -o smtpd_authorized_xforward_hosts=127.0.0.0/8

spamassassin unix -     n       n       -       -       pipe  user=nobody argv=/usr/bin/spamc -f -e  /usr/sbin/sendmail -oi -f ${sender} ${recipient}
[/master.cf]

[NetStat]
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name   
tcp        0      0 127.0.0.1:10025         0.0.0.0:*               LISTEN      19366/clamsmtpd     
tcp        0      0 127.0.0.1:10026         0.0.0.0:*               LISTEN      20134/master        
tcp        0      0 127.0.0.1:10030         0.0.0.0:*               LISTEN      19261/postgrey.pid  
tcp        0      0 127.0.0.1:783           0.0.0.0:*               LISTEN      19619/spamd.pid -m  
tcp        0      0 0.0.0.0:25              0.0.0.0:*               LISTEN      20134/master        
Active UNIX domain sockets (servers and established)
Proto RefCnt Flags       Type       State         I-Node PID/Program name    Path
unix  2      [ ACC ]     STREAM     LISTENING     1194110 19289/clamd         /var/run/clamav/clamd.sock
unix  2      [ ACC ]     STREAM     LISTENING     1203287 20134/master        private/spamassassin
unix  3      [ ]         STREAM     CONNECTED     1200019 19631/spamd child   
unix  3      [ ]         STREAM     CONNECTED     1200018 19619/spamd.pid -m  
unix  3      [ ]         STREAM     CONNECTED     1200017 19630/spamd child   
unix  3      [ ]         STREAM     CONNECTED     1200016 19619/spamd.pid -m  
unix  3      [ ]         STREAM     CONNECTED     1199938 19619/spamd.pid -m  
unix  3      [ ]         STREAM     CONNECTED     1199210 19366/clamsmtpd     
unix  3      [ ]         STREAM     CONNECTED     1193998 19289/clamd         
unix  3      [ ]         STREAM     CONNECTED     1193941 19261/postgrey.pid  

[/NetStat]