R: [SLE] Problem with amavisd and postfix on SuSE 8.1
Tanks T. Allison (that is your name, i suppose) for your kind reply. I check wath you asked me and i can answer you that i have a file amavisd under /etc/sysconfig where i found the setting 'USE_AMAVIS = yes'. About main.cf i realize that i was made mistake in main config because i wrote: content_filter = vscan instead content_filter = vscan: (forgotting ":" made me crazy) Now I can see from mail log that amavisd is runnig and that it calls antivir to check the mail content for antivirus but i still have problems in postfix smtp backend. Really i get this error from amavislog.txt: mailserver amavis[2548]: mail forwarding failed, retry: Failure to connect to local SMTP port: Connection refused at /usr/sbin/amavisd line 1134, <GEN0> line 17. I enclosed you master.cf and postconf -n txt files, plus a piece of mail log report about tracing of amavis activities. Check them if you can and reply me if you have some suggets about it. thanks and cheers. -----Messaggio originale----- Da: tallison@tacocat.net [mailto:tallison@tacocat.net] Inviato: martedì 21 ottobre 2003 16.11 A: Gianni Socionovo Oggetto: Re: [SLE] Problem with amavisd and postfix on SuSE 8.1
Hello folks,
I just started to install a mail server. So I installed the following rpms:
Postfix 1.1.11-110 qpopper 4.0.4-133 procmail 3.15.1-323
and my mail server began to work fine.
I thought that i needed a mail virus scanner so i installed H+BEDV antivir with amavisd-postfix:
antivir version 6.21.0.2 working fine
and
amavisd-postfix 20020531-148
after installed and configured amavisd-postfix i launched for a test the following commands from the shell (as from amavis Faq)
Dumb question: You set 'USE_AMAVIS = yes' You have references to smtp port delivery to 10024 and 10025 (I forget exactly what it's called, but it was rem-ed out in my installation and I had to tweak it manually. /var/log/mail.info will post if amavisd is running or not. Do the logs show things working/running OK? Are you running amavisd throught a Port or a Pipe?
Gianni Socionovo wrote:
Tanks T. Allison (that is your name, i suppose) for your kind reply.
I check wath you asked me and i can answer you that i have a file amavisd under /etc/sysconfig where i found the setting 'USE_AMAVIS = yes'.
About main.cf i realize that i was made mistake in main config because i wrote:
content_filter = vscan instead content_filter = vscan: (forgotting ":" made me crazy)
Now I can see from mail log that amavisd is runnig and that it calls antivir to check the mail content for antivirus but i still have problems in postfix smtp backend. Really i get this error from amavislog.txt:
mailserver amavis[2548]: mail forwarding failed, retry: Failure to connect to local SMTP port: Connection refused at /usr/sbin/amavisd line 1134, <GEN0> line 17.
I enclosed you master.cf and postconf -n txt files, plus a piece of mail log report about tracing of amavis activities.
Check them if you can and reply me if you have some suggets about it.
thanks and cheers.
tallison@fluffy:~> grep content_filter /etc/postfix/ma*cf /etc/postfix/main.cf:content_filter = /etc/postfix/master.cf:smtp inet n - n - - smtpd -o content_filter=smtp:localhost:10024 /etc/postfix/master.cf:localhost:10025 inet n - n - -smtpd -o content_filter= Look up the docs in postfix on how to do this. Essentially what you are doing it sending up email from postfix-smtp -> localhost:10024 This is received by amavis who is listening on 10024, the response is fired back out 10025 to smtpd a second time. This second delivery attempt is pushed through to the main.cf 'mailbox_transport' which is sent out of postfix to something else: procmail, cyrus.... Amavis works by doing a loop through postfix a second time using ports 10024/10025 instead of 25 and a mailbox_transport HTH
participants (2)
-
Gianni Socionovo
-
Tom Allison