Ampersand in email address causing problems
Ampersand in email address causing problems
Author
Discussion

pcwilson

Original Poster:

1,259 posts

266 months

Thursday 25th May 2006
quotequote all
Hi Guys

My mailserver (Exchange 5.5) is rejecting all mail from a particular customer. The NDR she gets states "Invalid email address format (in reply to MAIL FROM command)". Her email address contains an ampersand e.g. joe&bob@somedomain.co.uk. I suspect this is the problem.

Is there anyway to tell Exchange that the ampersand is valid?

Cheers
Phil

pdV6

16,442 posts

291 months

Thursday 25th May 2006
quotequote all
Try joe%26%bob@somedomain.co.uk as an experiment

JamieBeeston

9,294 posts

295 months

Thursday 25th May 2006
quotequote all
I think you will find most mailservers reject special chars, just convince her to change to _ i think even + might give you issues in this day and age of Security.

Not a fix as much as a resolution

J

iaint

10,040 posts

268 months

Thursday 25th May 2006
quotequote all
According to the RFC & is a valid character in the local portion of the address.

_dobbo_

14,619 posts

278 months

Thursday 25th May 2006
quotequote all
JamieBeeston said:
I think you will find most mailservers reject special chars, just convince her to change to _ i think even + might give you issues in this day and age of Security.

Not a fix as much as a resolution

J


Being an email geek by trade I've just spent 5 minutes reading the relevant portion of RFC822 trying to work out if an ampersand is a special or control character, which I don't think it is.

This means the ampersand should be allowed, but of course Microsoft and RFC compliance have never been good bedfellows...



edit... beaten by 2 minutes...





>> Edited by _dobbo_ on Thursday 25th May 14:31

JamieBeeston

9,294 posts

295 months

Thursday 25th May 2006
quotequote all
_dobbo_ said:
JamieBeeston said:
I think you will find most mailservers reject special chars, just convince her to change to _ i think even + might give you issues in this day and age of Security.

Not a fix as much as a resolution

J


Being an email geek by trade I've just spent 5 minutes reading the relevant portion of RFC822 trying to work out if an ampersand is a special or control character, which I don't think it is.

This means the ampersand should be allowed, but of course Microsoft and RFC compliance have never been good bedfellows...



edit... beaten by 2 minutes...




As you correctly state, it should be allowed.

Just like all sites should work in FF, Opera and IE

however in the real world, I find that to avoid headaches, it's generally easier to play it safe unless you REALLY must do otherwise

J

pcwilson

Original Poster:

1,259 posts

266 months

Thursday 25th May 2006
quotequote all
Hi Guys

Thanks for all the advice. I'll advice her to remove the ampersand from her email address, but based on the very short conversation I had with her this morning, I get the feeling that will be a big deal to her and she'll just tell me to fix my own problems and stop blaming her. And she'd kinda have a point I guess.

Cheers
Phil

Einion Yrth

19,575 posts

274 months

Friday 26th May 2006
quotequote all
Use an RFC compliant mailserver. i.e. non M$.

iaint

10,040 posts

268 months

Friday 26th May 2006
quotequote all
Tonsko said:
iaint said:
According to the RFC & is a valid character in the local portion of the address.


Since when have MS ever listened to an RFC? They didn't even get the TCP/IP stack implemetation right!

>> Edited by Tonsko on Thursday 25th May 14:50


That's certainly true. I suspect their emaila ddress compliance was lifted from a bit of JavaScript on some 12 year old's webshite somewhere...

pcwilson

Original Poster:

1,259 posts

266 months

Friday 26th May 2006
quotequote all
Finally got to the bottom of this. Turns out that Exchange Server wasn't the problem, it was the anti-virus software on the mail server that was objecting to the ampersand. I feel really guilty now for jumping to the conclusion that M$ was to blame. NOT.

pdV6

16,442 posts

291 months

Friday 26th May 2006
quotequote all
Didn't Jamie imply that might be the case back at the start of the thread?

pcwilson

Original Poster:

1,259 posts

266 months

Friday 26th May 2006
quotequote all
pdV6 said:
Didn't Jamie imply that might be the case back at the start of the thread?


Hi pdV6. I've re-read the thread and I can't see what you're referring to, but then I could just be having a senior moment. They're getting more frequent.