Gavin Kistner wrote: > I just set up postfix+amavis+clamav+dovecot on ubuntu, moving my > server from Windows/hMailServer. On the old system, I had an email > alias of !...@phrogz.net that I want to get working again. (As best I can > tell, this is valid according to both RFC2822 and RFC5322.) > > Trying to send to that on the smtp server gives me: > 501 5.1.3 Bad recipient address syntax > > Following are some possibly salient details. If more are needed, just > tell me what they are (and possibly how to get them). Thanks in > advance for any help. > > phr...@nematode:~$ apt-cache show postfix | grep Version > Version: 2.5.5-1.1 Generally.. including !, @ or % in the user part of an address is usually a bad idea. Several servers consider these special characters. Some spammers also, at one point, like(d) to use them to try to fool your server into being a relay.
For your case, you should understand that ! is a UUCP routing definition called "bang path". Google it to understand more. Postfix handles them according to http://www.postfix.org/postconf.5.html#swap_bangpath However, I strongly advise against using them in an address in modern times over the internet. This is mainly due to the fact that you cannot control every mail server in the world.