Yahoo Groups archive

Milter-greylist

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

Message

logical bug with extendedregex

2005-10-28 by Alexey Popov

Hi.

As far as I understand, compilation of regular expressions in ACL's is
performed during config parsing. Therefore regexp can be compiled either
as extended or basic depending on position of the keyword
'extendedregex' in the config file.

Not sure what to do, but I think it should be documented or one should
put keyword 'extendedregex' in the beginning of sample config file. I
dont think this switch is useful at all. re_format(7) in FreeBSD calls
basic regex "obsolete" and says that it "mostly exist for backward
compatibility in some old programs".

I am using many ACL's based on client's hostname, so it is useful for me
to log hostnames along with "addr", "rcpt" and "from". If you also find
it usefull, see simple patch attached.

With Best Regards,
Alexey Popov

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.