Yahoo Groups archive

Milter-greylist

Index last updated: 2026-04-28 23:32 UTC

Message

Re: [milter-greylist] FreeBSD install from pkg; is it running?

2004-08-30 by William F. Dudley Jr.

Thanks!  I've done it.  I'll let you know if I learn something interesting.

Bill Dudley

> At 02:06 PM 8.30.2004 -0400, William F. Dudley Jr. wrote:
> >Hi,
> >
> >I installed milter-greylist 1.5.6 from the FreeBSD package.
> >System is: FreeBSD 4.10-STABLE.
> >
> >Added to /etc/rc.conf:
> >miltergreylist_enable="YES"
> >miltergreylist_flags="${miltergreylist_flags} -v"
> >
> >Customized /usr/local/etc/mail/greylist.conf appropriately.
> >
> >Added this to sendmail.mc:
> >INPUT_MAIL_FILTER(`greylist',
> `S=local:/var/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}')
> >
> >rebuilt sendmail.cf and restarted sendmail ("make restart").
> >
> >started greylist-milter by running:
> >"/usr/local/etc/rc.d/milter-greylist.sh start"
> >
> >Both milter daemons are running as shown by "ps ax":
> >  218  ??  Ss     3:24.97 /usr/local/sbin/clamav-milter --postmaster-only
> --local --outgoing --max-children=50 /var/run/clamav/clmilter.sock
> >  43202  ??  Ss     0:07.33 /usr/local/bin/milter-greylist -P
> /var/run/milter-greylist.pid -f /usr/local/etc/mail/greylist.conf -p
> /var/milter-greylist/milter-greylist.sock -u smmsp -v
> >
> >Tailing /var/log/maillog show no messages indicating greylist is functioning.
> >
> >I have clamav milter running, so I know I can get milters
> >to run successfully.  I've got various black-holes configured and working
> >in my sendmail.mc file as well, but I'm not the kind of guy that hacks
> >sendmail.cf directly.  That way lies madness, I'm told.
> >
> >(clamav-milter enters messages in maillog when it does it's thing,
> >plus puts a couple of lines in the message header.)
> >
> >Mail is still being sent and received normally.  Spam is being rejected by
> >black holes or else is delivered if not listed.
> >
> >Questions:
> >1. Did I miss something?
> >2. Where next to debug?
> >
> >Thanks in advance,
> >Bill Dudley
> 
> You might consider adding this log-level line to your sendmail m4:
> define(`confMILTER_LOG_LEVEL', 14)dnl
> 
> Then, while in /etc/mail:
> make
> make install
> make restart
> 
> Now, you should be able to tail the progress of ALL of the milters in maillog.
> 
> 
> Best regards,
> Jack L. Stone,
> Administrator
> 
> Sage American
> http://www.sage-american.com
> jacks@...
> 
> 
> 
>  
> Yahoo! Groups Links
> 
> 
> 
>  
> 
> 
> !DSPAM:4133758d590288238818889!

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.