dovecot sieve sends vacation messages with null envelope sender
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
dovecot (Ubuntu) |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
I am using this simple sieve script to do "vacation":
require ["fileinto", "vacation"];
if exists "X-Spam-Flag" {
stop;
}
vacation
:days 1
:subject "Out of office reply"
:addresses ["<email address hidden>", "<email address hidden>" ]
"I am on vacation until 2008-08-07.
If you have something urgent, please contact: Jan Novak <email address hidden>
";
I use sql lookups for users and passwords. For some reason the default location ~/.dovecot-sieve did not work for some reason. However I prefer to put sieve scripts to /var/lib/sieve and when I added additional field to lookup with this location it started to work. But it sends vacation messages with null envelope sender, which is in my opinion undesirable, because many vacation messages are caught in spam filters.
I think there could be same sender on envelope.
In dovecot-
NULL could be replaced with src->fromaddr
Maybe some more patching may be necesary. I found similar patch for cyrus-imapd at http://
My system:
1)
Description: Ubuntu 8.04.1
Release: 8.04
2) dovecot-common:
Installed: 1:1.0.10-1ubuntu5.1
Candidate: 1:1.0.10-1ubuntu5.1
Version table:
*** 1:1.0.10-1ubuntu5.1 0
500 http://
100 /var/lib/
1:
500 http://
3) I expect messages sent by vacation recipe should have envelope from same as user's e-mail address. This is then writen to Return-Path: header by receiving MTA
4) NULL envelope from is used, resulting (in my case) to Return-Path: <> rewriten by postfix to Return-Path: <MAILER-DAEMON> by receiving MTA
If possible can you send this patch to dovecot itself and see what they have to say about it. I ask this because we wont have to maintain this patch from release to release.
Thanks
chuck