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: Victor Duchovni (Victor.Duchovnimorganstanley.com)
Date: Thu Apr 03 2008 - 10:58:57 CDT


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.

There is no "\#muble ..." syntax for postmap(1) input files to allow
a leading "#" in a lookup key. Such tables must be built by other
means (Perl's Berkeley DB library for the same DB version, ...)

--
        Viktor.

Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the "Reply-To" header.

To unsubscribe from the postfix-users list, visit
http://www.postfix.org/lists.html or click the link below:
<mailto:majordomopostfix.org?body=unsubscribe%20postfix-users>

If my response solves your problem, the best way to thank me is to not
send an "it worked, thanks" follow-up. If you must respond, please put
"It worked, thanks" in the "Subject" so I can delete these quickly.