Re: check_recipient_access, regexp and case sensitivity

2013-03-27 Thread Wietse Venema
Viktor Dukhovni: >src/smtpd/smtpd_resolve.c: > lowercase(STR(reply->recipient)); /* XXX */ Wietse Venema: > This may have escaped the code cleanup when forced lowercase > was removed from access maps. Fabio Sangiovanni: > Thanks for your answer, Wietse. Should we then expe

Re: check_recipient_access, regexp and case sensitivity

2013-03-27 Thread Fabio Sangiovanni
Wietse Venema porcupine.org> writes: > > Viktor Dukhovni: > >src/smtpd/smtpd_resolve.c: > > lowercase(STR(reply->recipient)); /* XXX */ > > This may have escaped the code cleanup when forced lowercase > was removed from access maps. > > Wietse > > Thanks for your

Re: check_recipient_access, regexp and case sensitivity

2013-03-26 Thread Wietse Venema
Viktor Dukhovni: >src/smtpd/smtpd_resolve.c: > lowercase(STR(reply->recipient)); /* XXX */ This may have escaped the code cleanup when forced lowercase was removed from access maps. Wietse

Re: check_recipient_access, regexp and case sensitivity

2013-03-26 Thread Viktor Dukhovni
On Tue, Mar 26, 2013 at 08:25:43PM +0100, Fabio Sangiovanni wrote: > > Addresses used in access checks are case folded in Postfix upstream > > of the access table. The original address goes into the queue file, > > but access checks use case folded addresses. > > Is it maybe the case to update t

Re: check_recipient_access, regexp and case sensitivity

2013-03-26 Thread Fabio Sangiovanni
Viktor Dukhovni dukhovni.org> writes: > Sorry, I don't do pastebins. If you want help include the relevant > information in your message. Relevant (long piece of) information included at the end of this message :) > Addresses used in access checks are case folded in Postfix upstream > of the

Re: check_recipient_access, regexp and case sensitivity

2013-03-26 Thread Viktor Dukhovni
On Tue, Mar 26, 2013 at 09:35:40AM +, Fabio Sangiovanni wrote: > > > This behaviour is correct, but I can't get it using the restriction > > > in postfix. > > > > The Postfix table layer is at the mercy of any upstream rewriting. > > Are you sure your input address is not mapped to lower case

Re: check_recipient_access, regexp and case sensitivity

2013-03-26 Thread Fabio Sangiovanni
Viktor Dukhovni dukhovni.org> writes: > > On Mon, Mar 25, 2013 at 05:44:45PM +0100, Fabio Sangiovanni wrote: > > > $ postmap -q 'test domain.tld' \ > > regexp:/etc/postfix/check_recipient_access.regexp > > REJECT wrong format > > > > while: > > $ postmap -q 'tEsT domain.tld' \ > > re

Re: check_recipient_access, regexp and case sensitivity

2013-03-25 Thread Viktor Dukhovni
On Mon, Mar 25, 2013 at 05:44:45PM +0100, Fabio Sangiovanni wrote: > Hi, thanks for your answer. I'm sorry but I can't get the point here. > I *want* case sensitive matching. To me, the manual says that, due > to the fact that insensitive matching is on by default, one should > append the flag to

Re: check_recipient_access, regexp and case sensitivity

2013-03-25 Thread Fabio Sangiovanni
Viktor Dukhovni dukhovni.org> writes: > > On Mon, Mar 25, 2013 at 04:35:48PM +0100, Fabio Sangiovanni wrote: > > > I'm trying to figure out how case sensitivity works in a > > check_recipient_access regexp table (Postfix 2.6.6). > > Try the documentation: > > http://www.postfix.org/regexp_ta

Re: check_recipient_access, regexp and case sensitivity

2013-03-25 Thread Viktor Dukhovni
On Mon, Mar 25, 2013 at 04:35:48PM +0100, Fabio Sangiovanni wrote: > I'm trying to figure out how case sensitivity works in a > check_recipient_access regexp table (Postfix 2.6.6). Try the documentation: http://www.postfix.org/regexp_table.5.html http://www.postfix.org/pcre_table.5.html

check_recipient_access, regexp and case sensitivity

2013-03-25 Thread Fabio Sangiovanni
Hello list, I'm trying to figure out how case sensitivity works in a check_recipient_access regexp table (Postfix 2.6.6). This is my main.cf: alias_database = hash:/etc/aliases alias_maps = hash:/etc/aliases allow_min_user = yes command_directory = /usr/sbin config_directory = /etc/postfix dae