|
今天给postfix+squirrelmail增加Amavisd -new+ Clamav结果,smtp无法启动了。
回复到postfix+squirrelmail状态一切ok,安装了amavisd-new+clamav后也正常
但是一旦配置了之后就会有问题
postconf -e 'content_filter = amavis:[127.0.0.1]:10024'
postconf -e 'receive_override_options = no_address_mappings'
vi /etc/postfix/master.cf
在最后添加
amavis unix - - - - 2 smtp
-o smtp_data_done_timeout=1200
-o smtp_send_xforward_command=yes
127.0.0.1:10025 inet n - - - - smtpd
-o content_filter=
-o local_recipient_maps=
-o relay_recipient_maps=
-o smtpd_restriction_classes=
-o smtpd_client_restrictions=
-o smtpd_helo_restrictions=
-o smtpd_sender_restrictions=
-o smtpd_recipient_restrictions=permit_mynetworks,reject
-o mynetworks=127.0.0.0/8
-o strict_rfc821_envelopes=yes
-o receive_override_options=no_unknown_recipient_checks,no_header_body_checks
-o smtpd_bind_address=127.0.0.1
别人用这种配置就不会有问题。。。。为啥啊-_-||
求助
postfix启动的时候报告错误
Apr 8 14:19:47 ubuntu postfix/master[29618]: fatal: /etc/postfix/master.cf: line 84: bad transport type: smtp_data_done_timeout=1200
-o smtp_data_done_timeout=1200
就是这一行
[ 本帖最后由 lordroc 于 2009-4-10 11:46 编辑 ] |
|