Public bug reported: 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 PROTECTED]", "[EMAIL PROTECTED]" ] "I am on vacation until 2008-08-07. If you have something urgent, please contact: Jan Novak <[EMAIL PROTECTED]> "; 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-sieve/src/sieve-cmu.c around line 380 is a call to smtp_client_open(src->addr, NULL, &f); NULL could be replaced with src->fromaddr Maybe some more patching may be necesary. I found similar patch for cyrus-imapd at http://oss.digirati.com.br/mail/cyrus.html 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://de.archive.ubuntu.com hardy-updates/main Packages 100 /var/lib/dpkg/status 1:1.0.10-1ubuntu5 0 500 http://de.archive.ubuntu.com hardy/main Packages 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 ** Affects: dovecot (Ubuntu) Importance: Undecided Status: New -- dovecot sieve sends vacation messages with null envelope sender https://bugs.launchpad.net/bugs/253121 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to dovecot in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs