Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 May 2000 10:32:55 -0400 (EDT)
From:      Thomas Good <tomg@mailhost.nrnet.org>
To:        Nathan Vidican <webmaster@wmptl.com>
Cc:        questions@freebsd.org
Subject:   Re: amavis -an email attachment virus scanner
Message-ID:  <Pine.LNX.3.96.1000519102211.2154A-100000@mailhost.nrnet.org>
In-Reply-To: <392548BB.E9A09429@wmptl.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 19 May 2000, Nathan Vidican wrote:

> Mlocal, P=/usr/bin/procmail, F=lsDFMAw5:/|@SPfhn, S=10/30, R=20/40,
> T=DNS/RFC822/X-Unix,
> A=procmail -Y -a $h -d $u
> 
> changes to: 
> # Mlocal, P=/usr/bin/procmail, F=lsDFMAw5:/|@SPfhn, S=10/30, R=20/40,
> # T=DNS/RFC822/X-Unix,
> # A=procmail -Y -a $h -d $u
> 
> Mlocal, P=/usr/sbin/scanmails, F=lsDFMAw5:/|@SPfhn, S=10/30, R=20/40,
> T=DNS/RFC822/X-Unix,
> A=scanmails -Y -a $h -d $u

I use procmail on linux boxes and the Mlocal mailer is defined about 76%
of the way thru the file (right below the local.m4 id tag).   On BSD
the Mlocal is defined in the same spot.

Here is linux:

##################################################
###   Local and Program Mailer specification   ###
##################################################

#####  @(#)local.m4	8.23 (Berkeley) 5/31/96  #####

Mlocal,		P=/usr/bin/procmail, F=lsDFMAw5:/|@qSPfhn9, S=10/30, R=20/40,
		T=DNS/RFC822/X-Unix,
		A=procmail -Y -a $h -d $u
Mprog,		P=/bin/sh, F=lsDFMoqeu9, S=10/30, R=20/40, D=$z:/,
		T=X-Unix,
		A=sh -c $u

And here is FBSD:

##################################################
###   Local and Program Mailer specification   ###
##################################################

#####  @(#)local.m4	8.30 (Berkeley) 6/30/1998  #####

Mlocal,		P=/usr/libexec/mail.local, F=lsDFMAw5:/|@qSXfmnz9P, S=10/30, R=20/40,
		T=DNS/RFC822/X-Unix,
		A=mail.local -l
Mprog,		P=/bin/sh, F=lsDFMoqeu9, S=10/30, R=20/40, D=$z:/,
		T=X-Unix,
		A=sh -c $u

Maybe you could comment out the stanza and add your hack...

Best of luck,
Tom
------- North Richmond Community Mental Health Center -------

Thomas Good                                   MIS Coordinator
Vital Signs:                  tomg@ { admin | q8 } .nrnet.org
                                          Phone: 718-354-5528  
                                          Fax:   718-354-5056  
                              
/* Member: Computer Professionals For Social Responsibility */ 




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.3.96.1000519102211.2154A-100000>