OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Re: Email addresses containing a single quote

From: Wietse Venema (wietseporcupine.org)
Date: Fri Apr 11 2008 - 06:13:39 CDT


Guy:
> Hi Ralf,
>
> I get this in my logs:
> Apr 11 10:32:46 mink postfix/pipe[9828]: 51946118C2A5:
> to=<mink'testaluminati.net>, relay=maildrop, delay=0.41,
> delays=0.26/0/0/0.14, dsn=5.1.1, status=bounced (user unknown. Command
> output: Invalid user specified. )

NOTE: this is a MAILDROP error message.

> I would assume that it's the mysql look up that's failing since mysql
> uses single quotes. I just don't know if postfix has some built in
> method of terminating special characters before it sends the request.

Postfix has no problems with the ' character.

        Wietse

> On 11/04/2008, Ralf Hildebrandt <Ralf.Hildebrandtcharite.de> wrote:
> > * Guy <wyldfurygmail.com>:
> >
> > > Hi,
> > >
> > > I just been told that I need to cater for users with single quotes on
> > > our mail server. Aliases/forwarders with single quotes are fine, but
> > > postfix out the box doesn't seem to handle single quotes for an actual
> > > account.
> >
> >
> > Logs?
> >
> > --
> >
> > Ralf Hildebrandt (Ralf.Hildebrandtcharite.de) snickebocharite.de
> > Postfix - Einrichtung, Betrieb und Wartung Tel. +49 (0)30-450 570-155
> > http://www.arschkrebs.de
> > "I rigged my cellular to send a message to my PDA, which is online with
> > my PC, to get it to activate the voicemail, which sends the message to
> > the inbox of my email, which routes it to the PDA, which beams it back
> > to the cellular. Then I realized my gadgets have a better social life
> > than I do." !" - Tom Ostad.
> >
>
>
> --
> Don't just do something...sit there!
>
>