Victor Duchovni:
> On Tue, Nov 18, 2008 at 10:24:02PM +0100, Andreas Schuldei wrote:
>
> > currently i have
> > recipient_delimiter = +
> >
> > which i use for automatic mail filtering into different maildir
> > folder.
> >
> > however, lots of websides dont know that a + in the address is a
> > valid character and dont allow it. They think the . is the
> > character to have in the local part of the email. arguing did not
> > change anything, so i would like to have both + and . as
> > recipient_delimiters.
> >
> > does that work?
>
> No. Postfix supports only one recipient delimiter.
You could replace . by + with a pcre-based virtual alias
/^([EMAIL PROTECTED])\.([EMAIL PROTECTED])@example\.com$/ [EMAIL
PROTECTED]
but this would unfortunately also match non-existent users,
and that would be a bad idea for servers facing the Internet.
So it's really practical only if you can hard-code the username
/^wietse\.([EMAIL PROTECTED])@example\.com$/ [EMAIL PROTECTED]
This limits the solution to small sites only.
Wietse