Yahoo Groups archive

Milter-greylist

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

Message

Re: [milter-greylist] sendmail.mc setup

2004-09-05 by javier wilson

I use sendmail 8.12.11 (RHEL3), and I just added:

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

to sendmail.mc I copied this from one of the pages in
milter-greylist site.

i use other milters that require just one line using
INPUT_MAIL_FILTER (like clamav), i wonder if this
could be done with greylist-milter to simplify
sendmail.mc configuration.

javier

--- antispamz <antispamz@...> wrote:

> Hi,  New to the list.  
> 
> Not having used a milter before, I could only get it
> to work with 
> sendmail.cf, except the greylist part got trashed
> any time I updated 
> sendmail.mc
> 
> After hours of searching, maybe in all the wrong
> places, I found the 
> elusive answer that seems to be assumed.  Could this
> be added to the 
> manual to save other people the same frustration?
> 
> For those of you who build your .cf from a .mc file
> with m4, you must 
> define:
> 
> define(`_FFR_MILTER', `1')dnl. 
> 
> Then the mail filter can be defined as: 
> 
> INPUT_MAIL_FILTER(`greylist',
>
`S=local:/var/milter-greylist/milter-greylist.sock')dnl
> define(`confMILTER_MACROS_CONNECT', `j,
> {if_addr}')dnl
> define(`confMILTER_MACROS_HELO', `{verify},
> {cert_subject}')dnl
> define(`confMILTER_MACROS_ENVFROM', `i,
> {auth_authen}')dnl
> 
> 
> 
> 



		
__________________________________
Do you Yahoo!?
New and Improved Yahoo! Mail - Send 10MB messages!
http://promotions.yahoo.com/new_mail

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.