maniac1810
24.05.04, 22:31
ich habe hier auf einer Suse 9.1 einen mailserver mit postfix/fetchmail/qpopper am laufen. da ich heute mal zeit hatte, wollte ich endlich noch amavis-new und spamassassin einbauen.
meine config-files sehen folgendermassen aus:
master.conf
# ================================================== ========================
# service type private unpriv chroot wakeup maxproc command + args
# (yes) (yes) (yes) (never) (100)
# ================================================== ========================
smtp inet n - n - - smtpd -o content_filter=smtp:[localhost]:10024
#smtps inet n - n - - smtpd -o smtpd_tls_wrappermode=yes
# -o smtpd_tls_wrappermode=yes -o smtpd_sasl_auth_enable=yes
#submission inet n - n - - smtpd
# -o smtpd_enforce_tls=yes -o smtpd_sasl_auth_enable=yes
#628 inet n - n - - qmqpd
pickup fifo n - n 60 1 pickup
cleanup unix n - n - 0 cleanup
qmgr fifo n - n 300 1 qmgr
#qmgr fifo n - n 300 1 nqmgr
#tlsmgr fifo - - n 300 1 tlsmgr
rewrite unix - - n - - trivial-rewrite
bounce unix - - n - 0 bounce
defer unix - - n - 0 bounce
flush unix n - n 1000? 0 flush
proxymap unix - - n - - proxymap
smtp unix - - n - - smtp
relay unix - - n - - smtp
# -o smtp_helo_timeout=5 -o smtp_connect_timeout=5
showq unix n - n - - showq
error unix - - n - - error
local unix - n n - - local
virtual unix - n n - - virtual
lmtp unix - - n - - lmtp
localhost:10025 inet n - y - - 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,rej ect
-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
smtp-amavis unix - - y - 2 smtp
-o smtp_data_done_timeout=1200
-o smtp_send_xforward_command=yes
#localhost:10025 inet n - n - - smtpd -o content_filter=
#
# Interfaces to non-Postfix software. Be sure to examine the manual
# pages of the non-Postfix software to find out what options it wants.
#
# maildrop. See the Postfix MAILDROP_README file for details.
#
maildrop unix - n n - - pipe
flags=DRhu user=vmail argv=/usr/local/bin/maildrop -d ${recipient}
cyrus unix - n n - - pipe
user=cyrus argv=/usr/lib/cyrus/bin/deliver -e -r ${sender} -m ${extension} ${user}
uucp unix - n n - - pipe
flags=Fqhu user=uucp argv=uux -r -n -z -a$sender - $nexthop!rmail ($recipient)
ifmail unix - n n - - pipe
flags=F user=ftn argv=/usr/lib/ifmail/ifmail -r $nexthop ($recipient)
bsmtp unix - n n - - pipe
flags=Fq. user=foo argv=/usr/local/sbin/bsmtp -f $sender $nexthop $recipient
vscan unix - n n - 10 pipe
user=vscan argv=/usr/sbin/amavis ${sender} ${recipient}
procmail unix - n n - - pipe
flags=R user=nobody argv=/usr/bin/procmail -t -m /etc/procmailrc ${sender} ${recipient}
in meine main.cf habe ich eingefügt:
content_filter = smtp-amavis:[127.0.0.1]:10024
meine amavis.conf hänge ich mal als txt an
im Moment bleiben alle mails in der queue hängen und werden nicht zugestellt. Es scheint kein Virenscanner verfügbar zu sein? (obwohl in der der amavis.conf welche angegeben sind)
die mail logs sagen folgendes aus:
May 24 22:58:02 linux postfix/postfix-script: refreshing the Postfix mail system
May 24 22:58:02 linux postfix/master[6579]: reload configuration
May 24 22:58:04 linux postfix/master[6579]: terminating on signal 15
May 24 22:58:04 linux postfix/postfix-script: starting the Postfix mail system
May 24 22:58:04 linux postfix/master[8045]: daemon started -- version 2.0.19-20040312
May 24 22:58:05 linux postfix/qmgr[8051]: 646E7ACA45: from=<maniac1810@yahoo.com>, size=5903, nrcpt=1 (queue active)
May 24 22:58:05 linux postfix/qmgr[8051]: E88E7ACA48: from=<janet@linux.HEIM.NETZ>, size=578, nrcpt=1 (queue active)
May 24 22:58:05 linux postfix/qmgr[8051]: 3DF71ACA4B: from=<janet@linux.HEIM.NETZ>, size=575, nrcpt=1 (queue active)
May 24 22:58:05 linux postfix/smtp[8063]: connect to localhost[::1]: Connection refused (port 10024)
May 24 22:58:07 linux postfix/smtp[8064]: E88E7ACA48: to=<micha@heim.netz>, orig_to=<DockhornM@gmx.de>, relay=127.0.0.1[127.0.0.1], delay=953, status=deferred (host 127.0.0.1[127.0.0.1] said: 451 4.5.0 Error in processing, id=08067-01, virus_scan FAILED: NO VIRUS SCANNERS AVAILABLE (in reply to end of DATA command))
May 24 22:58:07 linux postfix/smtp[8065]: 3DF71ACA4B: to=<micha@heim.netz>, relay=127.0.0.1[127.0.0.1], delay=453, status=deferred (host 127.0.0.1[127.0.0.1] said: 451 4.5.0 Error in processing, id=08067-02, virus_scan FAILED: NO VIRUS SCANNERS AVAILABLE (in reply to end of DATA command))
May 24 22:58:07 linux postfix/smtp[8063]: 646E7ACA45: to=<micha@localhost.heim.netz>, orig_to=<micha@localhost>, relay=localhost[127.0.0.1], delay=1483, status=deferred (host localhost[127.0.0.1] said: 451 4.5.0 Error in processing, id=08068-01, virus_scan FAILED: NO VIRUS SCANNERS AVAILABLE (in reply to end of DATA command))
es wäre nett wenn jemand mal einen Hinweis hätte, ich bin schon betriebsblind :(
Micha
meine config-files sehen folgendermassen aus:
master.conf
# ================================================== ========================
# service type private unpriv chroot wakeup maxproc command + args
# (yes) (yes) (yes) (never) (100)
# ================================================== ========================
smtp inet n - n - - smtpd -o content_filter=smtp:[localhost]:10024
#smtps inet n - n - - smtpd -o smtpd_tls_wrappermode=yes
# -o smtpd_tls_wrappermode=yes -o smtpd_sasl_auth_enable=yes
#submission inet n - n - - smtpd
# -o smtpd_enforce_tls=yes -o smtpd_sasl_auth_enable=yes
#628 inet n - n - - qmqpd
pickup fifo n - n 60 1 pickup
cleanup unix n - n - 0 cleanup
qmgr fifo n - n 300 1 qmgr
#qmgr fifo n - n 300 1 nqmgr
#tlsmgr fifo - - n 300 1 tlsmgr
rewrite unix - - n - - trivial-rewrite
bounce unix - - n - 0 bounce
defer unix - - n - 0 bounce
flush unix n - n 1000? 0 flush
proxymap unix - - n - - proxymap
smtp unix - - n - - smtp
relay unix - - n - - smtp
# -o smtp_helo_timeout=5 -o smtp_connect_timeout=5
showq unix n - n - - showq
error unix - - n - - error
local unix - n n - - local
virtual unix - n n - - virtual
lmtp unix - - n - - lmtp
localhost:10025 inet n - y - - 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,rej ect
-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
smtp-amavis unix - - y - 2 smtp
-o smtp_data_done_timeout=1200
-o smtp_send_xforward_command=yes
#localhost:10025 inet n - n - - smtpd -o content_filter=
#
# Interfaces to non-Postfix software. Be sure to examine the manual
# pages of the non-Postfix software to find out what options it wants.
#
# maildrop. See the Postfix MAILDROP_README file for details.
#
maildrop unix - n n - - pipe
flags=DRhu user=vmail argv=/usr/local/bin/maildrop -d ${recipient}
cyrus unix - n n - - pipe
user=cyrus argv=/usr/lib/cyrus/bin/deliver -e -r ${sender} -m ${extension} ${user}
uucp unix - n n - - pipe
flags=Fqhu user=uucp argv=uux -r -n -z -a$sender - $nexthop!rmail ($recipient)
ifmail unix - n n - - pipe
flags=F user=ftn argv=/usr/lib/ifmail/ifmail -r $nexthop ($recipient)
bsmtp unix - n n - - pipe
flags=Fq. user=foo argv=/usr/local/sbin/bsmtp -f $sender $nexthop $recipient
vscan unix - n n - 10 pipe
user=vscan argv=/usr/sbin/amavis ${sender} ${recipient}
procmail unix - n n - - pipe
flags=R user=nobody argv=/usr/bin/procmail -t -m /etc/procmailrc ${sender} ${recipient}
in meine main.cf habe ich eingefügt:
content_filter = smtp-amavis:[127.0.0.1]:10024
meine amavis.conf hänge ich mal als txt an
im Moment bleiben alle mails in der queue hängen und werden nicht zugestellt. Es scheint kein Virenscanner verfügbar zu sein? (obwohl in der der amavis.conf welche angegeben sind)
die mail logs sagen folgendes aus:
May 24 22:58:02 linux postfix/postfix-script: refreshing the Postfix mail system
May 24 22:58:02 linux postfix/master[6579]: reload configuration
May 24 22:58:04 linux postfix/master[6579]: terminating on signal 15
May 24 22:58:04 linux postfix/postfix-script: starting the Postfix mail system
May 24 22:58:04 linux postfix/master[8045]: daemon started -- version 2.0.19-20040312
May 24 22:58:05 linux postfix/qmgr[8051]: 646E7ACA45: from=<maniac1810@yahoo.com>, size=5903, nrcpt=1 (queue active)
May 24 22:58:05 linux postfix/qmgr[8051]: E88E7ACA48: from=<janet@linux.HEIM.NETZ>, size=578, nrcpt=1 (queue active)
May 24 22:58:05 linux postfix/qmgr[8051]: 3DF71ACA4B: from=<janet@linux.HEIM.NETZ>, size=575, nrcpt=1 (queue active)
May 24 22:58:05 linux postfix/smtp[8063]: connect to localhost[::1]: Connection refused (port 10024)
May 24 22:58:07 linux postfix/smtp[8064]: E88E7ACA48: to=<micha@heim.netz>, orig_to=<DockhornM@gmx.de>, relay=127.0.0.1[127.0.0.1], delay=953, status=deferred (host 127.0.0.1[127.0.0.1] said: 451 4.5.0 Error in processing, id=08067-01, virus_scan FAILED: NO VIRUS SCANNERS AVAILABLE (in reply to end of DATA command))
May 24 22:58:07 linux postfix/smtp[8065]: 3DF71ACA4B: to=<micha@heim.netz>, relay=127.0.0.1[127.0.0.1], delay=453, status=deferred (host 127.0.0.1[127.0.0.1] said: 451 4.5.0 Error in processing, id=08067-02, virus_scan FAILED: NO VIRUS SCANNERS AVAILABLE (in reply to end of DATA command))
May 24 22:58:07 linux postfix/smtp[8063]: 646E7ACA45: to=<micha@localhost.heim.netz>, orig_to=<micha@localhost>, relay=localhost[127.0.0.1], delay=1483, status=deferred (host localhost[127.0.0.1] said: 451 4.5.0 Error in processing, id=08068-01, virus_scan FAILED: NO VIRUS SCANNERS AVAILABLE (in reply to end of DATA command))
es wäre nett wenn jemand mal einen Hinweis hätte, ich bin schon betriebsblind :(
Micha