> > thanx for the quick reply. I'm running exim 4.3x as MTA.
> > README.exim.v3app views me something about forward_method.
> > Added the following entries to my amavisd.conf:
> >   $forward_method = 'pipe:flags=q argv=/usr/sbin/exim
> >    -oMr scanned-ok -i -f ${sender} -- ${recipient}';
> >   $notify_method = $forward_method;
> > Taken from REAMDE.exim.v3app
> 
> Yes, that looks about right, if you insist on passing mail
> through pipes instead of the more universal SMTP.
> 
> > I have set it in amavisd.conf, but got an error like:
> >
> > 2007-06-27 17:33:18 1I3ZWA-0002Qq-A0 <= <> U=vscan P=scanned-ok S=13352
> > [EMAIL PROTECTED]
> > 2007-06-27 17:33:18 1I3ZWA-0002Qq-A0 ** [EMAIL PROTECTED]: Too
> > many "Received" headers - suspected mail loop
> 
> It looks as if mail got caught in a loop. The key issue is
> that MTA must know that a message coming from amavisd via $forward_method
> or $notify_method must not be scanned again. How to achieve this depends
> on MTA, and I don't know much about Exim, sorry. Seems like the presence
> of '-oMr scanned-ok' on a command line and an associated conditional
> in MTA config should take care of it. I believe you know you ways
> around Exim better than most folks on this mailing list do.
> 
> Btw, since you are using exim 4.*, passing messages between MTA and
> amavisd through SMTP is easier than with previous versions, and
> is a preferred method, allowing a content filter to pass
> more informative status messages back to MTA.
> 

Hi

thanx for the tip of the condition in exim. The solution in exim.conf
is:

 condition = "${if or{ {eq {$interface_port}{10025}} \
              {eq {$received_protocol}{scanned-ok}} } {0}{1}}"

and also adding 

 $forward_method = 'pipe:flags=q argv=/usr/sbin/exim -oMr scanned-ok -i
-f ${sender} -- ${recipient}';

to amavisd.conf

Now it works ... THX!

-- 
Regards,

     Jens Strohschnitter

-------------------------------------
*!!!LINUX LINUX LINUX LINUX LINUX!!!*
 
* http://www.jens-strohschnitter.de *
-------------------------------------
Set the controls for 
                 the heart of the sun
-------------------------------------
__________________________________________________________

Raiffeisen Waren-Zentrale Rhein-Main eG
50668 Koeln, Altenberger Str. 1a

Tel: 0221/1638-0
Fax: 0221/1638-254

Sitz: Koeln

Amtsgericht Koeln, GnR 728

Vorstand: 
Hans-Josef Hilgers (Sprecher)
Markus Stuettgen
Dr. Karl-Heinrich Suemmermann
Friedhelm Decker (Vorsitzender)
Ingo Steitz

Vorsitzender des Aufsichtsrates: 
Peter Bleser (MdB)

St.Nr.: 215/5938/0152

Bankverbindung:
WGZ Bank AG, Duesseldorf
(BLZ 300 600 10) Konto-Nr.: 300 011



-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
AMaViS-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/

Reply via email to