[ale] Remove spamassassin & clamAV from sendmail config?

Michael H. Warfield mhw at WittsEnd.com
Mon Oct 3 13:35:50 EDT 2011


On Mon, 2011-10-03 at 12:06 -0400, James Taylor wrote:
> I need to remove filtering from a sendmail server (the filtering is
> being replaced with a Barracuda box), and I'm not clear on the changes
> I need to make.

> I've worked with postfix but, so far, I've not had the need to do
> anything with sendmail.
> What changes would I need to make in the sendmail.mc file to
> accomplish this?
> I could probably figure it out with trial and error, but I kinda don't
> want to break a production box.

First question you have to ask yourself is...  Is it even in there?

I use MailScanner driving spam assassin, clamAV, and Razor.  It doesn't
modify the sendmail configs.  Instead, it directs sendmail on the
command line to spool the mail to different queues (spool directories)
and filters them by moving it between the spool directories where
sendmail then despools them and delivers the filtered mail.  In that
way, you would just "service stop MailScanner" and "service start
sendmail" to run sendmail straight.  With the scanner, you just run
"service MailScanner start" and let it start up sendmail (or postfix)
with the command line parameters it needs them to have.

OTOH, if you're running them as milters, look for things like this in
sendmail.mc (these examples are from milters for domain keys and for
greylisting): 

INPUT_MAIL_FILTER(`dkim-filter', `S=local:/var/run/dkim-milter/dkim-milter.sock')dnl

INPUT_MAIL_FILTER(`greylist',`S=local:/var/run/milter-greylist/milter-greylist.sock')
define(`confMILTER_MACROS_CONNECT', `j, {if_addr}')
define(`confMILTER_MACROS_HELO', `{verify}, {cert_subject}')
define(`confMILTER_MACROS_ENVFROM', `i, {auth_authen}')
define(`confMILTER_MACROS_ENVRCPT', `{greylist}')

If you have something like that in sendmail.mc for ClamAV or Spam
Assassin then just comment them out (prefix them with dnl) or delete
them and then type "make".

> -jt



> James Taylor
> 678-697-9420
> james.taylor at eastcobbgroup.com
> 
> 
> 
> 
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://mail.ale.org/mailman/listinfo/ale
> See JOBS, ANNOUNCE and SCHOOLS lists at
> http://mail.ale.org/mailman/listinfo
> 

-- 
Michael H. Warfield (AI4NB) | (770) 985-6132 |  mhw at WittsEnd.com
   /\/\|=mhw=|\/\/          | (678) 463-0932 |  http://www.wittsend.com/mhw/
   NIC whois: MHW9          | An optimist believes we live in the best of all
 PGP Key: 0x674627FF        | possible worlds.  A pessimist is sure of it!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 482 bytes
Desc: This is a digitally signed message part
Url : http://mail.ale.org/pipermail/ale/attachments/20111003/2a3c36f4/attachment.bin 


More information about the Ale mailing list