<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.0.4630.0">
<TITLE>postfix mit amavis und antivir</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/rtf format -->
<P><SPAN LANG="de"><FONT SIZE=2 FACE="Arial">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!)</FONT></SPAN></P>
<P><SPAN LANG="de"><FONT SIZE=2 FACE="Arial">Eingefügte Einträge in main.cf (rot)! (RichText!)</FONT></SPAN>
</P>
<P><SPAN LANG="de"><FONT SIZE=2 FACE="Arial">smtp inet n - - - - smtpd</FONT></SPAN>
<BR><SPAN LANG="de"><FONT COLOR="#FF0000" SIZE=2 FACE="Arial">localhost:10025 inet n - n - - smtpd</FONT></SPAN>
<BR><SPAN LANG="de"><FONT COLOR="#FF0000" SIZE=2 FACE="Arial"> -o content_filter=</FONT></SPAN>
<BR><SPAN LANG="de"><FONT SIZE=2 FACE="Arial">#628 inet n - - - - qmqpd</FONT></SPAN>
<BR><SPAN LANG="de"><FONT SIZE=2 FACE="Arial">pickup fifo n - - 60 1 pickup</FONT></SPAN>
<BR><SPAN LANG="de"><FONT SIZE=2 FACE="Arial">cleanup unix n - - - 0 cleanup</FONT></SPAN>
<BR><SPAN LANG="de"><FONT SIZE=2 FACE="Arial">qmgr fifo n - - 300 1 qmgr</FONT></SPAN>
<BR><SPAN LANG="de"><FONT SIZE=2 FACE="Arial">#qmgr fifo n - - 300 1 nqmgr</FONT></SPAN>
<BR><SPAN LANG="de"><FONT SIZE=2 FACE="Arial">rewrite unix - - - - - trivial-rewrite</FONT></SPAN>
<BR><SPAN LANG="de"><FONT SIZE=2 FACE="Arial">bounce unix - - - - 0 bounce</FONT></SPAN>
<BR><SPAN LANG="de"><FONT SIZE=2 FACE="Arial">defer unix - - - - 0 bounce</FONT></SPAN>
<BR><SPAN LANG="de"><FONT SIZE=2 FACE="Arial">flush unix n - - 1000? 0 flush</FONT></SPAN>
<BR><SPAN LANG="de"><FONT SIZE=2 FACE="Arial">smtp unix - - - - - smtp</FONT></SPAN>
<BR><SPAN LANG="de"><FONT SIZE=2 FACE="Arial">showq unix n - - - - showq</FONT></SPAN>
<BR><SPAN LANG="de"><FONT SIZE=2 FACE="Arial">error unix - - - - - error</FONT></SPAN>
<BR><SPAN LANG="de"><FONT SIZE=2 FACE="Arial">local unix - n n - - local</FONT></SPAN>
<BR><SPAN LANG="de"><FONT SIZE=2 FACE="Arial">virtual unix - n n - - virtual</FONT></SPAN>
<BR><SPAN LANG="de"><FONT SIZE=2 FACE="Arial">lmtp unix - - n - - lmtp</FONT></SPAN>
<BR><SPAN LANG="de"><FONT COLOR="#FF0000" SIZE=2 FACE="Arial">vscan unix - n n - 4 pipe</FONT></SPAN>
<BR><SPAN LANG="de"><FONT COLOR="#FF0000" SIZE=2 FACE="Arial"> user=vscan argv=/usr/sbin/amavis ${sender} ${recipient}</FONT></SPAN>
<BR><SPAN LANG="de"><FONT SIZE=2 FACE="Arial">#</FONT></SPAN>
<BR><SPAN LANG="de"><FONT SIZE=2 FACE="Arial"># Interfaces to non-Postfix software. Be sure to examine the manual</FONT></SPAN>
<BR><SPAN LANG="de"><FONT SIZE=2 FACE="Arial"># pages of the non-Postfix software to find out what options it wants.</FONT></SPAN>
<BR><SPAN LANG="de"><FONT SIZE=2 FACE="Arial"># The Cyrus deliver program has changed incompatibly.</FONT></SPAN>
<BR><SPAN LANG="de"><FONT SIZE=2 FACE="Arial">#</FONT></SPAN>
<BR><SPAN LANG="de"><FONT SIZE=2 FACE="Arial">cyrus unix - n n - - pipe</FONT></SPAN>
<BR><SPAN LANG="de"><FONT SIZE=2 FACE="Arial"> flags=R user=cyrus argv=/usr/sbin/cyrdeliver -e -m ${extension} ${user}</FONT></SPAN>
<BR><SPAN LANG="de"><FONT SIZE=2 FACE="Arial">uucp unix - n n - - pipe</FONT></SPAN>
<BR><SPAN LANG="de"><FONT SIZE=2 FACE="Arial"> flags=Fqhu user=uucp argv=uux -r -n -z -a$sender - $nexthop!rmail ($recipient)</FONT></SPAN>
<BR><SPAN LANG="de"><FONT SIZE=2 FACE="Arial">ifmail unix - n n - - pipe</FONT></SPAN>
<BR><SPAN LANG="de"><FONT SIZE=2 FACE="Arial"> flags=F user=ftn argv=/usr/lib/ifmail/ifmail -r $nexthop ($recipient)</FONT></SPAN>
<BR><SPAN LANG="de"><FONT SIZE=2 FACE="Arial">bsmtp unix - n n - - pipe</FONT></SPAN>
<BR><SPAN LANG="de"><FONT SIZE=2 FACE="Arial"> flags=Fq. user=bsmtp argv=/usr/lib/bsmtp/bsmtp -d -t$nexthop -f$sender $recipient</FONT></SPAN>
<BR><SPAN LANG="de"><FONT SIZE=2 FACE="Arial">scalemail-backend unix - n n - 2 pipe</FONT></SPAN>
<BR><SPAN LANG="de"><FONT SIZE=2 FACE="Arial"> flags=R user=scalemail argv=/usr/lib/scalemail/bin/scalemail-store ${nexthop} ${user} ${extension}</FONT></SPAN>
</P>
<P><SPAN LANG="de"><FONT SIZE=2 FACE="Arial">Eingefügter Eintrag in der master.cf (rot) (RichText):</FONT></SPAN>
</P>
<P><SPAN LANG="de"><FONT SIZE=2 FACE="Arial">command_directory = /usr/sbin</FONT></SPAN>
<BR><SPAN LANG="de"><FONT SIZE=2 FACE="Arial">daemon_directory = /usr/lib/postfix</FONT></SPAN>
<BR><SPAN LANG="de"><FONT SIZE=2 FACE="Arial">program_directory = /usr/lib/postfix</FONT></SPAN>
</P>
<P><SPAN LANG="de"><FONT SIZE=2 FACE="Arial">smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)</FONT></SPAN>
<BR><SPAN LANG="de"><FONT SIZE=2 FACE="Arial"> #smtpd_sender_restrictions = check_sender_access hash:/etc/postfix/access</FONT></SPAN>
<BR><SPAN LANG="de"><FONT SIZE=2 FACE="Arial"> #_mynetworks,</FONT></SPAN>
<BR><SPAN LANG="de"><FONT SIZE=2 FACE="Arial"> #check_client_access hash:/etc/postfix/pop-before-smtp</FONT></SPAN>
<BR><SPAN LANG="de"><FONT SIZE=2 FACE="Arial">smtpd_recipient_restrictions =</FONT></SPAN>
<BR><SPAN LANG="de"><FONT SIZE=2 FACE="Arial"> check_sender_access hash:/etc/postfix/access,</FONT></SPAN>
<BR><SPAN LANG="de"><FONT SIZE=2 FACE="Arial"> check_recipient_access hash:/etc/postfix/access,</FONT></SPAN>
<BR><SPAN LANG="de"><FONT SIZE=2 FACE="Arial"> permit_mx_backup,</FONT></SPAN>
<BR><SPAN LANG="de"><FONT SIZE=2 FACE="Arial"> permit_mynetworks,</FONT></SPAN>
<BR><SPAN LANG="de"><FONT SIZE=2 FACE="Arial"> check_relay_domains</FONT></SPAN>
</P>
<P><SPAN LANG="de"><FONT SIZE=2 FACE="Arial">setgid_group = postdrop</FONT></SPAN>
<BR><SPAN LANG="de"><FONT SIZE=2 FACE="Arial">biff = no</FONT></SPAN>
<BR><SPAN LANG="de"><FONT SIZE=2 FACE="Arial"># appending .domain is the MUA's job.</FONT></SPAN>
<BR><SPAN LANG="de"><FONT SIZE=2 FACE="Arial">append_dot_mydomain = no</FONT></SPAN>
<BR><SPAN LANG="de"><FONT SIZE=2 FACE="Arial">myhostname = </FONT></SPAN><A HREF="file://www.eke.at"><SPAN LANG="de"><U><FONT COLOR="#0000FF" SIZE=2 FACE="Arial">www.eke.at</FONT></U></SPAN></A><SPAN LANG="de"></SPAN>
<BR><SPAN LANG="de"><FONT SIZE=2 FACE="Arial">#relayhost = </FONT></SPAN><A HREF="file://www.eke.at"><SPAN LANG="de"><U><FONT COLOR="#0000FF" SIZE=2 FACE="Arial">www.eke.at</FONT></U></SPAN></A><SPAN LANG="de"></SPAN>
<BR><SPAN LANG="de"><FONT SIZE=2 FACE="Arial">alias_maps = hash:/etc/aliases</FONT></SPAN>
<BR><SPAN LANG="de"><FONT SIZE=2 FACE="Arial">alias_database = hash:/etc/aliases</FONT></SPAN>
<BR><SPAN LANG="de"><FONT SIZE=2 FACE="Arial">mailbox_command = procmail -a "$EXTENSIONS"</FONT></SPAN>
<BR><SPAN LANG="de"><FONT SIZE=2 FACE="Arial">myorigin = /etc/mailname</FONT></SPAN>
<BR><SPAN LANG="de"><FONT SIZE=2 FACE="Arial">mydestination = eke.at, localhost.at, , localhost</FONT></SPAN>
<BR><SPAN LANG="de"><FONT SIZE=2 FACE="Arial">mynetworks = 127.0.0.0/8</FONT></SPAN>
<BR><SPAN LANG="de"><FONT SIZE=2 FACE="Arial">mailbox_size_limit = 0</FONT></SPAN>
<BR><SPAN LANG="de"><FONT SIZE=2 FACE="Arial">recipient_delimiter = +</FONT></SPAN>
<BR><SPAN LANG="de"><FONT COLOR="#FF0000" SIZE=2 FACE="Arial">content_filter = vscan:</FONT></SPAN>
<BR><SPAN LANG="de"><FONT SIZE=2 FACE="Arial">#inet_interfaces = all</FONT></SPAN>
<BR><SPAN LANG="de"><FONT SIZE=2 FACE="Arial">#soft_bounce = yes</FONT></SPAN>
</P>
<P><SPAN LANG="de"><FONT SIZE=2 FACE="Arial">Ausgabe Bafehl postcon -n nach eingefügten Einträgen für amavis und natürlich postfix reload:</FONT></SPAN>
</P>
<P><SPAN LANG="de"><FONT SIZE=2 FACE="Arial">eke:~# postconf -n</FONT></SPAN>
<BR><SPAN LANG="de"><FONT SIZE=2 FACE="Arial">alias_database = hash:/etc/aliases</FONT></SPAN>
<BR><SPAN LANG="de"><FONT SIZE=2 FACE="Arial">alias_maps = hash:/etc/aliases</FONT></SPAN>
<BR><SPAN LANG="de"><FONT SIZE=2 FACE="Arial">append_dot_mydomain = no</FONT></SPAN>
<BR><SPAN LANG="de"><FONT SIZE=2 FACE="Arial">biff = no</FONT></SPAN>
<BR><SPAN LANG="de"><FONT SIZE=2 FACE="Arial">command_directory = /usr/sbin</FONT></SPAN>
<BR><SPAN LANG="de"><FONT SIZE=2 FACE="Arial">config_directory = /etc/postfix</FONT></SPAN>
<BR><SPAN LANG="de"><FONT COLOR="#FF0000" SIZE=2 FACE="Arial">content_filter = vscan:</FONT></SPAN>
<BR><SPAN LANG="de"><FONT SIZE=2 FACE="Arial">daemon_directory = /usr/lib/postfix</FONT></SPAN>
<BR><SPAN LANG="de"><FONT SIZE=2 FACE="Arial">mailbox_command = procmail -a "$EXTENSIONS"</FONT></SPAN>
<BR><SPAN LANG="de"><FONT SIZE=2 FACE="Arial">mailbox_size_limit = 0</FONT></SPAN>
<BR><SPAN LANG="de"><FONT SIZE=2 FACE="Arial">mydestination = eke.at, localhost.at, , localhost</FONT></SPAN>
<BR><SPAN LANG="de"><FONT SIZE=2 FACE="Arial">myhostname = </FONT></SPAN><A HREF="file://www.eke.at"><SPAN LANG="de"><U><FONT COLOR="#0000FF" SIZE=2 FACE="Arial">www.eke.at</FONT></U></SPAN></A><SPAN LANG="de"></SPAN>
<BR><SPAN LANG="de"><FONT SIZE=2 FACE="Arial">mynetworks = 127.0.0.0/8</FONT></SPAN>
<BR><SPAN LANG="de"><FONT SIZE=2 FACE="Arial">myorigin = /etc/mailname</FONT></SPAN>
<BR><SPAN LANG="de"><FONT SIZE=2 FACE="Arial">program_directory = /usr/lib/postfix</FONT></SPAN>
<BR><SPAN LANG="de"><FONT SIZE=2 FACE="Arial">recipient_delimiter = +</FONT></SPAN>
<BR><SPAN LANG="de"><FONT SIZE=2 FACE="Arial">setgid_group = postdrop</FONT></SPAN>
<BR><SPAN LANG="de"><FONT SIZE=2 FACE="Arial">smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)</FONT></SPAN>
<BR><SPAN LANG="de"><FONT SIZE=2 FACE="Arial">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</FONT></SPAN></P>
<P><SPAN LANG="de"><FONT SIZE=2 FACE="Arial">Fehlermeldungen aus den log files</FONT></SPAN>
</P>
<P><SPAN LANG="de"><FONT SIZE=2 FACE="Arial">mail.log:</FONT></SPAN>
</P>
<P><SPAN LANG="de"><FONT SIZE=2 FACE="Arial">Sep 25 22:31:09 eke postfix/qmgr[4868]: warning: connect to transport amavis: No such file or directory</FONT></SPAN>
<BR><SPAN LANG="de"><FONT SIZE=2 FACE="Arial">Sep 25 22:32:01 eke teapop[4894]: Successful login for agerer [213.225.61.18] from agerer [213.47.236.108]</FONT></SPAN>
<BR><SPAN LANG="de"><FONT SIZE=2 FACE="Arial">Sep 25 22:32:02 eke teapop[4894]: agerer [213.47.236.108] R0(0) D0(0) L0(0)</FONT></SPAN>
<BR><SPAN LANG="de"><FONT SIZE=2 FACE="Arial">Sep 25 22:32:09 eke postfix/qmgr[4868]: warning: connect to transport amavis: No such file or directory</FONT></SPAN>
</P>
<P><SPAN LANG="de"><FONT SIZE=2 FACE="Arial">mail.info:</FONT></SPAN>
</P>
<P><SPAN LANG="de"><FONT SIZE=2 FACE="Arial">Sep 25 22:34:02 eke postfix/pipe[4912]: 844B081E99: to=<h.agerer@chello.at>, relay=vscan, delay=87765, status=deferred (temporary failure)</FONT></SPAN></P>
<P><SPAN LANG="de"><FONT SIZE=2 FACE="Arial">Sep 25 22:34:02 eke postfix/pipe[4905]: 1B58081E82: to=<agerer@eke.at>, relay=vscan, delay=87781, status=deferred (temporary failure)</FONT></SPAN></P>
<P><SPAN LANG="de"><FONT SIZE=2 FACE="Arial">Ausgabe des Befehls pstree:</FONT></SPAN>
<BR><SPAN LANG="de"><FONT SIZE=2 FACE="Arial">eke:~# pstree</FONT></SPAN>
<BR><SPAN LANG="de"><FONT SIZE=2 FACE="Arial">init-+-4*[antivir]</FONT></SPAN>
<BR><SPAN LANG="de"><FONT SIZE=2 FACE="Arial"> |-apache---9*[apache]</FONT></SPAN>
<BR><SPAN LANG="de"><FONT SIZE=2 FACE="Arial"> |-cron</FONT></SPAN>
<BR><SPAN LANG="de"><FONT SIZE=2 FACE="Arial"> |-eth0</FONT></SPAN>
<BR><SPAN LANG="de"><FONT SIZE=2 FACE="Arial"> |-6*[getty]</FONT></SPAN>
<BR><SPAN LANG="de"><FONT SIZE=2 FACE="Arial"> |-i2oevtd</FONT></SPAN>
<BR><SPAN LANG="de"><FONT SIZE=2 FACE="Arial"> |-inetd</FONT></SPAN>
<BR><SPAN LANG="de"><FONT SIZE=2 FACE="Arial"> |-keventd</FONT></SPAN>
<BR><SPAN LANG="de"><FONT SIZE=2 FACE="Arial"> |-khubd</FONT></SPAN>
<BR><SPAN LANG="de"><FONT SIZE=2 FACE="Arial"> |-klogd</FONT></SPAN>
<BR><SPAN LANG="de"><FONT SIZE=2 FACE="Arial"> |-master-+-pickup</FONT></SPAN>
<BR><SPAN LANG="de"><FONT SIZE=2 FACE="Arial"> | |-qmgr</FONT></SPAN>
<BR><SPAN LANG="de"><FONT SIZE=2 FACE="Arial"> | |-smtp</FONT></SPAN>
<BR><SPAN LANG="de"><FONT SIZE=2 FACE="Arial"> | `-trivial-rewrite</FONT></SPAN>
<BR><SPAN LANG="de"><FONT SIZE=2 FACE="Arial"> |-miniserv.pl</FONT></SPAN>
<BR><SPAN LANG="de"><FONT SIZE=2 FACE="Arial"> |-ntop---ntop---9*[ntop]</FONT></SPAN>
<BR><SPAN LANG="de"><FONT SIZE=2 FACE="Arial"> |-proftpd</FONT></SPAN>
<BR><SPAN LANG="de"><FONT SIZE=2 FACE="Arial"> |-safe_mysqld---mysqld---mysqld---2*[mysqld]</FONT></SPAN>
<BR><SPAN LANG="de"><FONT SIZE=2 FACE="Arial"> |-sshd---sshd---sh---pstree</FONT></SPAN>
<BR><SPAN LANG="de"><FONT SIZE=2 FACE="Arial"> |-syslogd</FONT></SPAN>
<BR><SPAN LANG="de"><FONT SIZE=2 FACE="Arial"> `-teapop</FONT></SPAN>
</P>
<P><SPAN LANG="de"><FONT SIZE=2 FACE="Arial">Ausgabe des Befehls: eke:~# ps ax | grep amavis</FONT></SPAN>
<BR><SPAN LANG="de"><FONT SIZE=2 FACE="Arial"> 4930 pts/0 S 0:00 grep amavis</FONT></SPAN>
</P>
<P><SPAN LANG="de"><FONT SIZE=2 FACE="Arial">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</FONT></SPAN></P>
<P><SPAN LANG="de"><FONT SIZE=2 FACE="Arial">Einträge in den log.files:</FONT></SPAN>
</P>
<P><SPAN LANG="de"><FONT SIZE=2 FACE="Arial">Sep 25 22:54:02 eke postfix/pipe[5067]: E94B681E74: to=<h.agerer@chello.at>, relay=vscan, delay=256404, status=deferred (temporary failure)</FONT></SPAN></P>
<P><SPAN LANG="de"><FONT SIZE=2 FACE="Arial">Sep 25 22:54:02 eke postfix/pipe[5079]: 1B58081E82: to=<agerer@eke.at>, relay=vscan, delay=88981, status=deferred (temporary failure)</FONT></SPAN></P>
<P><SPAN LANG="de"><FONT SIZE=2 FACE="Arial">Sep 25 22:55:01 eke postfix/qmgr[5051]: warning: connect to transport amavis: No such file or directory</FONT></SPAN>
<BR><SPAN LANG="de"><FONT SIZE=2 FACE="Arial">Sep 25 22:56:01 eke postfix/qmgr[5051]: warning: connect to transport amavis: No such file or directory</FONT></SPAN>
<BR><SPAN LANG="de"><FONT SIZE=2 FACE="Arial">Sep 25 22:57:01 eke postfix/qmgr[5051]: warning: connect to transport amavis: No such file or directory</FONT></SPAN>
<BR><SPAN LANG="de"><FONT SIZE=2 FACE="Arial">Sep 25 22:57:10 eke postfix/smtp[5059]: connect to mail2.artmarket.com[194.242.43.19]: Connection timed out (port 25)</FONT></SPAN>
<BR><SPAN LANG="de"><FONT SIZE=2 FACE="Arial">Sep 25 22:57:10 eke postfix/smtp[5059]: 85BD681E81: to=<info@artauction.net>, relay=none, delay=168196, status=deferred (connect to mail2.artmarket.com[194.242.43.19]: Connection timed out)</FONT></SPAN></P>
<P><SPAN LANG="de"><FONT SIZE=2 FACE="Arial">Sep 25 22:58:01 eke teapop[5093]: Successful login for agerer [213.225.61.18] from agerer [213.47.236.108]</FONT></SPAN>
<BR><SPAN LANG="de"><FONT SIZE=2 FACE="Arial">Sep 25 22:58:01 eke teapop[5093]: agerer [213.47.236.108] R0(0) D0(0) L0(0)</FONT></SPAN>
<BR><SPAN LANG="de"><FONT SIZE=2 FACE="Arial">Sep 25 22:58:01 eke postfix/qmgr[5051]: warning: connect to transport amavis: No such file or directory</FONT></SPAN>
</P>
<P><SPAN LANG="de"><FONT SIZE=2 FACE="Arial">Ich blick irgendwie bei den Zusammenhängen nicht mehr durch!</FONT></SPAN>
</P>
<P><SPAN LANG="de"><FONT SIZE=2 FACE="Arial"> < Datei: ATT00007.txt >> </FONT></SPAN>
</P>
</BODY>
</HTML>