[patch] Sieve MAIL FROM address in vacation and redirection messages

Andre Nathan andre at digirati.com.br
Fri Oct 22 14:03:56 EDT 2004


Hello

I sent this to the -devel list a few days ago, but didn't get
feedback...

Currently, sieve sends redirection messages without touching the "MAIL
FROM" envelope address. For vacation messages, the address is always set
as the null sender ("<>").

This behaviour makes it impossible for mail accounting systems to deal
with those sieve messages, because they would have no information about
which user is doing the redirection or auto-response on the MTA logs.

This patch adds the "sievemailfromasuser" to imapd.conf which allows
cyrus to use the email address of the user the message is being sent on
behalf of as the MAIL FROM address, for redirect and vacation.

I believe this feature can be useful for other people that use email
accounting systems. Since it can be turned on or off by the
administrator, maybe there is a chance for the patch to be accepted?

The patch, along with a more extensive description of the motivation to
write it, and some test cases can be found at

    http://oss.digirati.com.br/mail/cyrus.html


Best regards,
Andre
---
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