Yahoo Groups archive

Milter-greylist

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

Thread

milter-greylist and IBM/Aix : config error

milter-greylist and IBM/Aix : config error

2006-03-13 by Alain Buys

Hello,

I am trying to install milter-greylist 2.1.3 on AIX .. with more or less
success.

On AIX 5.2 (no maintenance level) or AIX 4.3 (maintenance level 11),
I get the following error message at run time:

config error at line 32: syntax error

This concerns the first ACL whitelist of the file (the original sample
file in this case):

acl whitelist addr 127.0.0.0/8

Same problem if I uncomment a peer entry but then, it crashes with the
following message

Mar 13 08:59:42 xxxxxxx milter-greylist: cannot start MX sync, socket
failed: A file or directory in the path name does not exist.

On AIX 5.2, ML 7, both problems seem to be solved and the thing works well
(I couldn't test the MX sync yet).

Unfortunately, ML 11 is the lastest maintenance level for AIX 4.3 :-(

Would you have any idea where things could go wrong ? I'm using
bison-1.875 and flex-2.5.33 but I don't think the problem is there.
Actually, after upgrading from AIX 5.2 to AIX 5.2-ML7, the problems
disappeared without needing to recompile anything.


The config error problem is there for all the versions I tried (just in
case): 1.75, 1.4, 1.2, ...
The MX sync problem seems to disappear with 1.4 ...

Thanks in advance for any hint,

--
Alain Buys

Parsing the 'from' address

2006-03-16 by Daniel Zachary

I've noticed that milter-greylist seems to truncate the sender's name when there is an '=' sign as part of the username. Is this a bug that needs to be fixed?

See these entries from our mail log:

Mar 16 16:00:26 ma1 milter-greylist: k2GL0LEe028657: addr 65.244.48.145 from =sil.org@...> to delayed for 00:01:00
Mar 16 16:02:04 ma1 sendmail[28657]: k2GL0LEe028657: from=<jump-cbsnews_weekday_evening_text-xxx=sil.org@...>, size=0, class=0, nrcpts=0, proto=SMTP, daemon=MTA, relay=web145.bc.cbsig.net [65.244.48.145] (may be forged)
Mar 16 16:34:01 ma1 milter-greylist: (mxsync): addr 65.244.48.145 from =sil.org@...> rcpt : autowhitelisted for 792:00:00

The maillog shows that the message was from jump-cbsnews_weekday_evening_text-xxx=sil.org@...

But the greylist logs show that it was from =sil.org@...

This probably does not totally invalidate milter-greylist, but does cause it to not accurately track the 'from' names.

Dan


Re: [milter-greylist] Parsing the 'from' address

2006-03-17 by manu@netbsd.org

Daniel Zachary <dan_zachary@...> wrote:

> I've noticed that milter-greylist seems to truncate the sender's name
> when there is an '=' sign as part of the username.  Is this a bug that
> needs to be fixed?

It's not a bug, it's a feature :-)

-- 
Emmanuel Dreyfus
Le cahier de l'admin BSD 2eme ed. est dans toutes les bonnes librairies
http://www.eyrolles.com/Informatique/Livre/9782212114638/livre-bsd.php
manu@...

Re: Parsing the 'from' address

2006-04-08 by Elrond

--- In milter-greylist@yahoogroups.com, manu@... wrote:
>
> Daniel Zachary <dan_zachary@...> wrote:
> 
> > I've noticed that milter-greylist seems to truncate the sender's name
> > when there is an '=' sign as part of the username.  Is this a bug that
> > needs to be fixed?
> 
> It's not a bug, it's a feature :-)

I just noticed that same issue (in 2.0.2).

Will it be fixed sometime?


    Elrond

Re: [milter-greylist] Re: Parsing the 'from' address

2006-04-08 by manu@netbsd.org

Elrond <yahoo.com@...> wrote:

> Will it be fixed sometime?

If you submit a patch for making it configurable, it will be integrated.

-- 
Emmanuel Dreyfus
Publicité subliminale: achetez ce livre!
http://www.eyrolles.com/Informatique/Livre/9782212114638/livre-bsd.php
manu@netbsd.org

Re: Parsing the 'from' address

2006-04-08 by Elrond

--- In milter-greylist@yahoogroups.com, manu@... wrote:
>
> Elrond <yahoo.com@...> wrote:
> 
> > Will it be fixed sometime?
> 
> If you submit a patch for making it configurable, it will be integrated.

Why exactly does it need to be configurable?

You don't want to tell me, that anyone depends on the broken behaviour?
--> If broken entries are in the autowhitelist: milter-greylist will
learn the correct ones and forget the old ones.

Or you don't want to tell me, that this is "by design"?

Or... Wait...

Is this for those broken MTAs, that send a unique envelope-sender per
attempt? No? Yes? If so, please let me know, where it's documented. It
should be documented.


    Elrond

Re: [milter-greylist] Re: Parsing the 'from' address

2006-04-09 by Dan Zachary

As pointed out previously by Manu, this is a FEATURE, not a bug. It's intended to prevent too many listing in the greylist (remove the serial numbers from list messages that use this pattern).

If you don't like this feature, it could be configurable as an option, but you'd have to write the code and submit it.

Dan


Elrond wrote:
Show quoted textHide quoted text
--- In milter-greylist@yahoogroups.com, manu@... wrote:
  
Elrond  wrote:

    
Will it be fixed sometime?
      
If you submit a patch for making it configurable, it will be integrated.
    
Why exactly does it need to be configurable?

You don't want to tell me, that anyone depends on the broken behaviour?
--> If broken entries are in the autowhitelist: milter-greylist will
learn the correct ones and forget the old ones.

Or you don't want to tell me, that this is "by design"?

Or... Wait...

Is this for those broken MTAs, that send a unique envelope-sender per
attempt? No? Yes? If so, please let me know, where it's documented. It
should be documented.


    Elrond







 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/milter-greylist/

<*> To unsubscribe from this group, send an email to:
    milter-greylist-unsubscribe@yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


  

Re: Parsing the 'from' address

2006-04-09 by Elrond

--- In milter-greylist@yahoogroups.com, Dan Zachary <dan_zachary@...>
wrote:
>
> As pointed out previously by Manu, this is a FEATURE, not a bug. It's 
> intended to prevent too many listing in the greylist (remove the serial 
> numbers from list messages that use this pattern).

He only said, that it's a feature. Not what it is intended to do, that
confused me a bit. It sounded a bit like a joke. ;-)

This feature has it's confusing parts. When I first saw it in my db
file, I thought "Oh well, it's broken in the parser?".

As you can see in my previous mail, I finally found out, what it's
good for.

> If you don't like this feature, it could be configurable as an option, 
> but you'd have to write the code and submit it.

IF I find the time, I'd rather consider making this more obvious in
the logs / db dump. Like putting a * in front to show, that it was
trimmed to make it like a wildcard. Or "..." or something like that.
Something, so the admin sees "The software did not just drop/loose
something, it did something intended".
(And I preivously wrote patches for milter-greylist, so I know to
write patches.)


> Dan


    Elrond

> Elrond wrote:
> > --- In milter-greylist@yahoogroups.com, manu@ wrote:
> >   
> >> Elrond <yahoo.com@> wrote:
> >>
> >>     
> >>> Will it be fixed sometime?
> >>>       
> >> If you submit a patch for making it configurable, it will be
integrated.
> >>     
> >
> > Why exactly does it need to be configurable?
> >
> > You don't want to tell me, that anyone depends on the broken
behaviour?
Show quoted textHide quoted text
> > --> If broken entries are in the autowhitelist: milter-greylist will
> > learn the correct ones and forget the old ones.
> >
> > Or you don't want to tell me, that this is "by design"?
> >
> > Or... Wait...
> >
> > Is this for those broken MTAs, that send a unique envelope-sender per
> > attempt? No? Yes? If so, please let me know, where it's documented. It
> > should be documented.
> >
> >
> >     Elrond
> >
> >
> >
> >
> >
> >
> >
> >  
> > Yahoo! Groups Links
> >
> >
> >
> >  
> >
> >
> >
>

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.