SmatrCGI Logo
  
Home News Products Customers Contact us
     
Web Development

About
Portfolio
Prices
Contact us

Web Design

About
Portfolio
Prices
Contact us

Translating

About
Languages
Prices
Contact us


Web development

Postfix SMTP configuration file


It's located /etc/postfix/master.cf and describes SMTP settings and transports. At our configuration we will show how to setup sequence of scanners:
  • Drweb virus scanner
  • Amavis virus scanner (with ClamAV virus scanner enabled)
  • SpamAssassin spam filter
Here're lines you need to change:
######################################################################
smtp		inet  n  -  n  -  1000  smtpd -o content_filter=vscan:dummy
vscan  		unix  -  n  n  -  1000  pipe  user=amavis argv=/usr/sbin/amavis ${sender} ${recipient}
localhost:30000	inet  n  -  n  -  1000  smtpd -o content_filter=drweb:dummy
drweb      	unix  -  n  n  -  1000  pipe  
    flags=Rq user=drweb argv=/usr/local/drweb/drweb-postfix  -f ${sender} -- ${recipient}
localhost:10028 inet  n  -  n  -  1000  smtpd 
    -o content_filter=spamassassin:dummy
spamassassin    unix  -  n  n  -  1000  pipe  
    user=spam argv=/usr/bin/spamc -f -e /usr/sbin/sendmail -oi -f ${sender} ${recipient}


# Our StartTLS/SSL protocols
smtps       inet  n   -   n    -      -    smtpd -o smtpd_tls_wrappermode=yes
submission  inet  n   -   n    -      -    smtpd -o smtpd_enforce_tls=yes
tlsmgr      fifo  -   -   n    300    1    tlsmgr

    
######################################################################
    
This file can be taken at http://smartcgi.com/dist/postfix/config/master.cf.

© Copyright 1999 - 2004 SmartCGI, Inc. All Rights Reserved.