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
Message
logical bug with extendedregex
2005-10-28 by Alexey Popov
Attachments
- No local attachments were found for this message.