[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[postfix-jp: 2929] postfix と amavisd-new の連動



宮尾と申します
現在、vinelinux 4.2 に postfix 2.2.10 と amavisd-new-2.5.2-JP を連動させ
ようと思い
設定を行っているのですが、どうしてもソケット関連の警告エラーが出てメール
が送れません。
下記のエラーは何が悪いのでしょうか?
postfix/qmgr[6286]: warning: premature end-of-input on
private/smtp-amavis socket while reading input attribute name
postfix/master[6282]: warning: process /usr/lib/postfix/smtp pid 11789
exit status 1
postfix/master[6282]: warning: /usr/lib/postfix/smtp: bad command
startup -- throttling
postfix/qmgr[6286]: warning: private/smtp-amavis socket: malformed
response
postfix/qmgr[6286]: 2F7ED5C0A6: to=<miyao@xxxxxxxxxxxxxxxxxxxx>,
relay=none, delay=1, status=deferred
                            (delivery temporarily suspended: mail
transport unavailable)
設定は下記のようになっています。
#  vi /etc/postfix/master.cf
smtp-amavis unix - - n - 2 smtp
        -o smtp_data_done_timeout=1200
        -o smtp_send_xforward_command=yes
        -o disable_dns_lookups=yes
        127.0.0.1:10025 inet n - n - - smtpd
        -o content_filter=
        -o local_recipient_maps=
        -o relay_recipient_maps=
        -o smtpd_restriction_classes=
        -o smtpd_sasl_auth_enable=yes
        -o smtpd_client_restrictions=permit_sasl_authenticated,reject
        -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 smtpd_error_sleep_time=0
        -o smtpd_soft_error_limit=1001
        -o smtpd_hard_error_limit=1000

# vi /etc/postfix/main.cf
# amavisd-newの為の設定を最下部に追加
content_filter=smtp-amavis:[127.0.0.1]:10024

# vi /etc/amavisd.conf
# ウィルスチェックをしない時にコメントを外す
$daemon_user  = 'clamav';     # (no default;  customary: vscan or
amavis), -u
$daemon_group = 'clamav';     # (no default;  customary: vscan or
amavis), -g
$mydomain = '*********.jp';
$MYHOME = '/var/amavis';   # a convenient default for other settings, -H
$TEMPBASE = "$MYHOME/tmp";   # working directory, needs to exist, -T
$ENV{TMPDIR} = $TEMPBASE;    # environment variable TMPDIR, used by SA,
etc.
$QUARANTINEDIR = '/var/virusmails';  # -Q
$enable_db = 1;              # enable use of BerkeleyDB/libdb (SNMP and
nanny)
$enable_global_cache = 1;    # enable use of libdb-based cache if
$enable_db=1
$nanny_details_level = 2;    # nanny verbosity: 1: traditional, 2:
detailed
@local_domains_maps = ( [".$mydomain"] );  # list of all local domains
@mynetworks = qw( 127.0.0.0/8 [::1] [FE80::]/10 [FEC0::]/10
                  10.0.0.0/8 172.16.0.0/12 192.168.0.0/16 );
$unix_socketname = "$MYHOME/amavisd.sock";  # amavisd-release or
amavis-milter
$inet_socket_port = 10024;

よろしくお願いします

/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
宮尾 勝巳  ( Katumi Miyao )
E-mail : miyao@xxxxxxxxxxx
/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/

_______________________________________________
Postfix-jp-list mailing list
Postfix-jp-list@xxxxxxxxxxxxxxxxxxxx
http://lists.sourceforge.jp/mailman/listinfo/postfix-jp-list

Follow-Ups
[postfix-jp: 2930] Re: postfix と amavisd-new の連動, fukuichi

[検索ページ] [Postfix-JP ML Home]