MSN: luxuabc@hotmail.com
Postfix sandwich Configuration
上一篇 /
下一篇 2007-05-16 17:23:19
In most company, when they use postfix as their mail server, the sandwich configuration is the best choice. They can integrate other security product with postfix.
The flow of sandwich configuration is below:
SMTP flow----->Postfix:25--------->Product:10025--------->Postfix:10026---->
The basic postfix setting such as domain configuration is ignored.
- Open the /etc/postfix/main.cf
- Find key and modify it (if not, add this key)
content_filter = isvw:localhost:10025
- Open /etc/postfix/master.cf
- Add the following lines:
#ISVW add as a smtp client:
isvw unix - - n - 70 smtp
-o disable_dns_lookup=yes
-o smtp_data_done_timeout=1200
-o smtp_use_tls=no
-o smtp_enforce_tls=no
#ISVW: content filter loop back smtp
localhost:10026 inet n - n - 70 smtpd
-o content_filter=
-o local_recipient_maps=
-o smtpd_client_restrictions=
-o smtpd_use_tls=no
-o smtpd_enforce_tls=no
-o mynetworks=127.0.0.0/8
-o mynetworks_style=host
-o smtpd_sender_restrictions=
-o smtpd_recipient_restrictions=permit_mynetworks,reject_unauth_destination
收藏
举报
TAG: