Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

Re: [AMaViS-user] sendmail_wrapper for amavisd-new

From: Jens Strohschnitter <clamav-ml(at)rwz.de>
Date: Wed Jun 27 2007 - 11:35:10 EDT

> > I have updated some of our servers running the old
> > amavisd-0.3.13 up to amavisd-new-2.4.5.
> > Anything works very fine, but in my old amavisd-file
> > I have the entries:
> >
> > # What sendmail wrapper to use
> > $sendmail_wrapper = "/usr/lib/sendmail";
> > $sendmail_wrapper_args = "-oMr scanned-ok -i -t";
> >
> > But in amavid-new I can't find any similar entry
> > that adds scanned-ok to any scanned mail.
> >
> > Is it possible to activate the wrapper-command in
> > amavisd-new ?
>
> The amavisd.conf-sample contains an example, the
> relevant configuration variable is $forward_method
> (and $notify_method, which is usually the same value):
>
> # SENDMAIL (old non-milter setup, as relay, deprecated):
>
> $http://search.cpan.org/CPAN/authors/id/C/CY/CYING/Sendmail-Milter-0.18.tar.gz =
> 'pipe:flags=q argv=/usr/sbin/sendmail -C/etc/sendmail.orig.cf -i -f ${sender} -- ${recipient}';
>
> $notify_method = $forward_method;
>
>
> Which MTA are you using?
> With Exim take a look at: README_FILES/README.exim*
>

Hi

thanx for the quick reply. I'm running exim 4.3x as MTA. README.exim.v3app views me something about forward_method. 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 id=E1I3ZW8-0002Pp-UH@mydomain.dom
2007-06-27 17:33:18 1I3ZWA-0002Qq-A0 ** senderaddress@mydomain.dom: Too many "Received" headers - suspected mail loop

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

-- 
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
AMaViS-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:
http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:
http://www.amavis.org/howto/
Received on Wed Jun 27 11:35:39 2007
Do you need help?X

This archive was generated by hypermail 2.1.8 : Wed Jun 27 2007 - 11:40:04 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library