Operating System - Linux
1827421 Members
4026 Online
109965 Solutions
New Discussion

another sendmail question

 
K.C. Chan
Trusted Contributor

another sendmail question

All,
I have someone trying to send email to my mail server, the email address contains apostrophe like: "k'man@somedomian.com". My mail server is having problem getting this email. I wonder, would the apostrophe cause my mail server to drop the mail? AOL recieved the email according to the user which presented me with the problem.
Reputation of a thousand years can be determined by the conduct of an hour
5 REPLIES 5
Steven E. Protter
Exalted Contributor

Re: another sendmail question

My sendmail server barfs on that one too.

I don't think thats a legal name. Probably some spammer finding a way to spoof the anti spam measures taken by legitimate NSP's.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Stuart Browne
Honored Contributor

Re: another sendmail question

Ok, taking a quick (ok, a slight mangling of the truth) look at RFC821 (SMTP), the single quote (') is a valid character in a 'mailbox' name.

Strangely enough, it isn't considered a 'special' character, and should just work.

As to whether your MUA is correctly creating the envelope with the ' in it is a different question.

Have you tried testing your SMTP server directly?

telnet 25
HELO test
MAIL FROM:
RCPT TO:

See if you get the 'Recipient ok' response.

Now, delivering it to a local user is a different story. I'm pretty sure a Linux box cannot have a username with a ' in it. Using a ' in an alias works however.

Hope this helps.
One long-haired git at your service...
K.C. Chan
Trusted Contributor

Re: another sendmail question

Stuart,
My boss have no problem sending it to s'address@somenetwork.com, but he's having problem recieving it. He gets the email on his aol account (go figure), but through our email system. Any idea on how to test/debug this? Thanks.
Reputation of a thousand years can be determined by the conduct of an hour
Jerome Henry
Honored Contributor

Re: another sendmail question

One hypothesis is if the server supports php, then the mail function gets " and ' as the quote character, so "k'man" becomes "k" and the rest isn't understandable...
Could be a way.
J
You can lean only on what resists you...
K.C. Chan
Trusted Contributor

Re: another sendmail question

It was the firewall which strip the "'".
Reputation of a thousand years can be determined by the conduct of an hour