[Postfixbuch-users] postfix mit amavis und antivir
Agerer Hansgeorg
h.agerer at chello.at
Do Sep 25 23:15:22 CEST 2003
Postfix läuft auf dem Server und funktioniert, wenn ich aber die main.cf und
die master.cf für amavis wie unten beschrieben umbaue, amavis mit unten
angegebenen Optionene installiere, bekomme ich in den log-files die unten
aufgelisteten Fehlermeldungen. (Wenn man das mail farbig sehen will muss man
auf rich text schalten!)
Eingefügte Einträge in main.cf (rot)! (RichText!)
smtp inet n - - - - smtpd
localhost:10025 inet n - n - - smtpd
-o content_filter=
#628 inet n - - - - qmqpd
pickup fifo n - - 60 1 pickup
cleanup unix n - - - 0 cleanup
qmgr fifo n - - 300 1 qmgr
#qmgr fifo n - - 300 1 nqmgr
rewrite unix - - - - - trivial-rewrite
bounce unix - - - - 0 bounce
defer unix - - - - 0 bounce
flush unix n - - 1000? 0 flush
smtp unix - - - - - smtp
showq unix n - - - - showq
error unix - - - - - error
local unix - n n - - local
virtual unix - n n - - virtual
lmtp unix - - n - - lmtp
vscan unix - n n - 4 pipe
user=vscan argv=/usr/sbin/amavis ${sender} ${recipient}
#
# Interfaces to non-Postfix software. Be sure to examine the manual
# pages of the non-Postfix software to find out what options it wants.
# The Cyrus deliver program has changed incompatibly.
#
cyrus unix - n n - - pipe
flags=R user=cyrus argv=/usr/sbin/cyrdeliver -e -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=bsmtp argv=/usr/lib/bsmtp/bsmtp -d -t$nexthop -f$sender
$recipient
scalemail-backend unix - n n - 2 pipe
flags=R user=scalemail argv=/usr/lib/scalemail/bin/scalemail-store
${nexthop} ${user} ${extension}
Eingefügter Eintrag in der master.cf (rot) (RichText):
command_directory = /usr/sbin
daemon_directory = /usr/lib/postfix
program_directory = /usr/lib/postfix
smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
#smtpd_sender_restrictions = check_sender_access
hash:/etc/postfix/access
#_mynetworks,
#check_client_access hash:/etc/postfix/pop-before-smtp
smtpd_recipient_restrictions =
check_sender_access hash:/etc/postfix/access,
check_recipient_access hash:/etc/postfix/access,
permit_mx_backup,
permit_mynetworks,
check_relay_domains
setgid_group = postdrop
biff = no
# appending .domain is the MUA's job.
append_dot_mydomain = no
myhostname = www.eke.at
#relayhost = www.eke.at
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
mailbox_command = procmail -a "$EXTENSIONS"
myorigin = /etc/mailname
mydestination = eke.at, localhost.at, , localhost
mynetworks = 127.0.0.0/8
mailbox_size_limit = 0
recipient_delimiter = +
content_filter = vscan:
#inet_interfaces = all
#soft_bounce = yes
Ausgabe Bafehl postcon -n nach eingefügten Einträgen für amavis und
natürlich postfix reload:
eke:~# postconf -n
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
append_dot_mydomain = no
biff = no
command_directory = /usr/sbin
config_directory = /etc/postfix
content_filter = vscan:
daemon_directory = /usr/lib/postfix
mailbox_command = procmail -a "$EXTENSIONS"
mailbox_size_limit = 0
mydestination = eke.at, localhost.at, , localhost
myhostname = www.eke.at
mynetworks = 127.0.0.0/8
myorigin = /etc/mailname
program_directory = /usr/lib/postfix
recipient_delimiter = +
setgid_group = postdrop
smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
smtpd_recipient_restrictions = check_sender_access hash:/etc/postfix/access,
check_recipient_access hash:/etc/postfix/access,
permit_mx_backup, permit_mynetworks,
check_relay_domains
Fehlermeldungen aus den log files
mail.log:
Sep 25 22:31:09 eke postfix/qmgr[4868]: warning: connect to transport
amavis: No such file or directory
Sep 25 22:32:01 eke teapop[4894]: Successful login for agerer
[213.225.61.18] from agerer [213.47.236.108]
Sep 25 22:32:02 eke teapop[4894]: agerer [213.47.236.108] R0(0) D0(0) L0(0)
Sep 25 22:32:09 eke postfix/qmgr[4868]: warning: connect to transport
amavis: No such file or directory
mail.info:
Sep 25 22:34:02 eke postfix/pipe[4912]: 844B081E99: to=<h.agerer at chello.at>,
relay=vscan, delay=87765, status=deferred (temporary failure)
Sep 25 22:34:02 eke postfix/pipe[4905]: 1B58081E82: to=<agerer at eke.at>,
relay=vscan, delay=87781, status=deferred (temporary failure)
Ausgabe des Befehls pstree:
eke:~# pstree
init-+-4*[antivir]
|-apache---9*[apache]
|-cron
|-eth0
|-6*[getty]
|-i2oevtd
|-inetd
|-keventd
|-khubd
|-klogd
|-master-+-pickup
| |-qmgr
| |-smtp
| `-trivial-rewrite
|-miniserv.pl
|-ntop---ntop---9*[ntop]
|-proftpd
|-safe_mysqld---mysqld---mysqld---2*[mysqld]
|-sshd---sshd---sh---pstree
|-syslogd
`-teapop
Ausgabe des Befehls: eke:~# ps ax | grep amavis
4930 pts/0 S 0:00 grep amavis
Wenn ich den Eintrag "content_filter = vscan: aus der main.cf entferne und
postfix reloade funktioniert der mailserver wieder und ich habe aber immer
noch folgende
Einträge in den log.files:
Sep 25 22:54:02 eke postfix/pipe[5067]: E94B681E74: to=<h.agerer at chello.at>,
relay=vscan, delay=256404, status=deferred (temporary failure)
Sep 25 22:54:02 eke postfix/pipe[5079]: 1B58081E82: to=<agerer at eke.at>,
relay=vscan, delay=88981, status=deferred (temporary failure)
Sep 25 22:55:01 eke postfix/qmgr[5051]: warning: connect to transport
amavis: No such file or directory
Sep 25 22:56:01 eke postfix/qmgr[5051]: warning: connect to transport
amavis: No such file or directory
Sep 25 22:57:01 eke postfix/qmgr[5051]: warning: connect to transport
amavis: No such file or directory
Sep 25 22:57:10 eke postfix/smtp[5059]: connect to
mail2.artmarket.com[194.242.43.19]: Connection timed out (port 25)
Sep 25 22:57:10 eke postfix/smtp[5059]: 85BD681E81:
to=<info at artauction.net>, relay=none, delay=168196, status=deferred (connect
to mail2.artmarket.com[194.242.43.19]: Connection timed out)
Sep 25 22:58:01 eke teapop[5093]: Successful login for agerer
[213.225.61.18] from agerer [213.47.236.108]
Sep 25 22:58:01 eke teapop[5093]: agerer [213.47.236.108] R0(0) D0(0) L0(0)
Sep 25 22:58:01 eke postfix/qmgr[5051]: warning: connect to transport
amavis: No such file or directory
Ich blick irgendwie bei den Zusammenhängen nicht mehr durch!
< Datei: ATT00007.txt >>
-------------- nächster Teil --------------
Ein Dateianhang mit HTML-Daten wurde abgetrennt...
URL: <https://listi.jpberlin.de/pipermail/postfixbuch-users/attachments/20030925/6d60a864/attachment.html>
Mehr Informationen über die Mailingliste Postfixbuch-users