backslash in addresses?

alex at milivojevic.org alex at milivojevic.org
Wed Jul 13 10:49:34 EDT 2005


Quoting Ondrej Sury <ondrej at sury.org>:

> Well,
>
> IMHO you are mixing .forward syntax with /usr/sbin/sendmail behaviour.
>
> Sieve reinjects forwarded mail using /usr/sbin/sendmail (or whatever you
> have configured in /etc/imapd.conf) and since backslashed email address
> is not valid, so isn't sieve script.  So what you want to do is to learn
> your /usr/sbin/sendmail to not do alias substitution.

I haven't really checked RFCs to see if "\" is allowed charcter in an email
address.  It might be that it is, or that it isn't, or it might be that RFCs
simply discourage its use.  However, "\" characher is always interpreted by
sendmail.  It is not limited to dot forward file.  If you send email to
recipient whose MTA is sendmail and "backslash" his email address, 
aliases will
not be expanded on it.  I don't know how other MTA (other than sendmail) would
treat it.

What I have are two mail servers.  I want to forward from one to 
another (which
runs sendmail), and make sure that email *stays* there.  I've tested it (by
manually sendmail email to address beggining with "\"), it works.  Simple
solution for simple problem, no need to complicate things with sendmail
configuration wizardy (and risk side-effects).  Also known as KISS 
principle. The only trouble is how to convince timsieved to accept "\" 
character in an
email address, and to inject it back to MTA the way I specified it.  If it is
possible at all.

----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.


---
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html




More information about the Info-cyrus mailing list