OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Re: "#" character as the first character of the email address in the map file

From: Wietse Venema (wietseporcupine.org)
Date: Thu Apr 03 2008 - 11:25:19 CDT


Victor Duchovni:
> On Thu, Apr 03, 2008 at 11:53:37AM -0400, Wietse Venema wrote:
>
> > > I'd like to ask you probably simple questions.
> > > Most of us email address begins with #, for example
> > > #autoinfodomain.com, or #1somethindomain.com
> > >
> > > Unfortunately i have a problem with these address in my recipent_list,
> > > cause as far as i know if line begins with "#" it is comment.
> > > How can I soleve it ? Or how can I negate this # character int the map
> > > files ?
> >
> > You might get away with using quotes around the local-part
> > ("#whatever"example.com), but it's better to avoid addresses with
> > special characters, if you want to maximize the chances of delivery.
>
> IIRC such quotes are not required by RFC (2)822, so not be used with
> table lookups once the address is normalized. The OP really does need
> bare "#mumble" keys in his tables, and cannot use postmap to build these.

It was not clear from the description where the lookups happen. In
most cases Postfix will lookup addresses in unquoted form.

        Wiete