Yahoo Groups archive

Milter-greylist

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

Message

Re: [milter-greylist] How to use sendmail db files?

2006-10-24 by eclark

Third link down:

http://hcpnet.free.fr/milter-greylist/poprelay/

This is googling for poprelayd +greylist. Be abundently aware that poprelayd 
is buggy and does not populate popauth.db cleanly. It never has. At the very 
least, you will have to ensure clean entries with something like this:

$s =~ s/^[^0-9.]+//;

Otherwise, you get nonip addresses in your popauthdb. I dont think this was 
ever fixed in poprelayd later versions. 

On Tuesday 24 October 2006 08:39 am, Jeff A. Earickson wrote:
> On Tue, 24 Oct 2006, eclark wrote:
>
> Where?  I googled all over the place.  My perl popauth relay script
> has worked correctly for a very long time, allowing sendmail relays
> to authenticated pop users.
>
> There needs to be some kind of method for troubleshooting the milter
> itself.  My current technique is by-hand telnet to my port 25 from
> an outside connection, and seeing what happens after the sequence
> of
>
> EHLO
> Mail From: <outside@...>
> Rcpt To: <testuser@...>
>
> But this is totally hit-or-miss, since I don't get much feedback
> from my syslogs.
>
> Jeff Earickson
> Colby College
>
> > This is already documented. You edited your poprelayd right? Google will
> > tell you how to do this.
> >
> > On Monday 23 October 2006 05:16 pm, Jeff A. Earickson wrote:
> >> Please, please a few more clues on troubleshooting...
> >> I have tried many variants of the sendmail.cf settings, eg:
> >>
> >> # Milter options
> >> O Milter.LogLevel=12
> >> O Milter.macros.connect=j, {if_addr}
> >> # O Milter.macros.helo={verify}, {cert_subject}
> >> O Milter.macros.envfrom=i
> >> O Milter.macros.envrcpt={popauth}
> >> #O Milter.macros.eom={msg_id}
> >>
> >> I cannot get milter-greylist to whitelist anybody in the popauth
> >> db, no matter what I do to greylist.conf or the sendmail.cf file.
> >> I really need to get this working (and understand it).  Any good
> >> reading on the milter macro settings above?
> >>
> >> Jeff Earickson
> >> Colby College
> >>
> >> On Tue, 17 Oct 2006, manu@... wrote:
> >>> Date: Tue, 17 Oct 2006 21:50:50 +0200
> >>> From: manu@...
> >>> Reply-To: milter-greylist@yahoogroups.com
> >>> To: Milter Greylist list <milter-greylist@yahoogroups.com>
> >>> Subject: Re: [milter-greylist] How to use sendmail db files?
> >>>
> >>> Jeff A. Earickson <jaearick@...> wrote:
> >>>> Do I need to modify my sendmail.cf too, to add some kind of
> >>>> "O Milter.macros" line?
> >>>
> >>> As explained in greylist.conf(5), your sendmail.cf must contain a
> >>> Milter.macros.envrcpt which includes {popauth}. e.g.:
> >>> O Milter.macros.envrcpt={rcpt_mailer},{rcpt_host},
> >>>        {rcpt_addr},{popauth}
> >>>
> >>> Also, your macro definition needs to include the curly braces:
> >>> sm_macro "POP relay" "{popauth}" "OK"
> >>>
> >>> --
> >>> Emmanuel Dreyfus
> >>> http://hcpnet.free.fr/pubz
> >>> manu@...
> >>>
> >>>
> >>>
> >>> Yahoo! Groups Links
> >>
> >> Yahoo! Groups Links
> >
> > Yahoo! Groups Links
>
> Yahoo! Groups Links
>
>
>

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.