backslash in addresses?

Ondrej Sury ondrej at sury.org
Wed Jul 13 09:27:39 EDT 2005


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.

Ondrej.

On Tue, 2005-07-12 at 21:17 -0500, Aleksandar Milivojevic wrote:
> If an email address starts with backslash ("\"), sendmail will not 
> perform alias substituion.  I'm attempting to use that feature inside my 
> Sieve script (generated by Horde's Ingo application) as follows:
> 
> if true {
>     redirect "\\alex at milivojevic.org";
>     keep;
> }
> 
> However, I'm getting an error from timsieved:
> 
> script errors: line 7: address '\alex at milivojevic.org': parse error, 
> unexpected $undefined.
> 
> Does this means Sieve does not support "backslashed" addresses, or my 
> Sieve script manager program generated errornous script?  If later, what 
> would be the correct way to escape backslash that is part of email address?
> 
> Thanks,
> Aleksandar Milivojevic
> ---
> 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
-- 
Ondrej Sury <ondrej at sury.org>

---
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