Re: Possible bug with recipient_delimiter minus in usernames

2012-12-15 Thread Wietse Venema
decoder: > On 12/16/2012 01:22 AM, Wietse Venema wrote: > > decoder: > >> Hello Wietse, > >> > >> the documentation on this (the comment in the main.cf file also) says > >> that foo-test will first be checked and only if that doesn't exist it > >> will use foo. Is the documentation wrong then? > >

Re: Possible bug with recipient_delimiter minus in usernames

2012-12-15 Thread Peter
On 16/12/12 13:45, decoder wrote: > On 12/16/2012 01:22 AM, Wietse Venema wrote: >> I don't recall that Postfix documentation promises >> this for UNIX system account lookups. > > This one: > > # Basically, the software tries user+foo and .forward+foo before trying > user and .forward. That's fr

Re: Possible bug with recipient_delimiter minus in usernames

2012-12-15 Thread decoder
On 12/16/2012 01:22 AM, Wietse Venema wrote: > decoder: >> Hello Wietse, >> >> the documentation on this (the comment in the main.cf file also) says >> that foo-test will first be checked and only if that doesn't exist it >> will use foo. Is the documentation wrong then? > Which comment? I don't re

Re: Possible bug with recipient_delimiter minus in usernames

2012-12-15 Thread Wietse Venema
decoder: > Hello Wietse, > > the documentation on this (the comment in the main.cf file also) says > that foo-test will first be checked and only if that doesn't exist it > will use foo. Is the documentation wrong then? Which comment? I don't recall that Postfix documentation promises this for UN

Re: Possible bug with recipient_delimiter minus in usernames

2012-12-15 Thread decoder
Hello Wietse, the documentation on this (the comment in the main.cf file also) says that foo-test will first be checked and only if that doesn't exist it will use foo. Is the documentation wrong then? Also, at least the log message is clearly a bug, it states that a user does not exist although i

Re: Possible bug with recipient_delimiter minus in usernames

2012-12-15 Thread Wietse Venema
decoder: > Hello, > > > today, we stumbled across a possible bug with the recipient_delimiter > option. Steps to reproduce are: > > > 1. Set recipient_delimiter to - (minus sign), instead of the typical + sign. > 2. Create a local system user with a - sign, e.g. foo-test. > 3. Send mail to foo-

Possible bug with recipient_delimiter minus in usernames

2012-12-15 Thread decoder
Hello, today, we stumbled across a possible bug with the recipient_delimiter option. Steps to reproduce are: 1. Set recipient_delimiter to - (minus sign), instead of the typical + sign. 2. Create a local system user with a - sign, e.g. foo-test. 3. Send mail to foo-test@mailhost Postfix will l