Problem : All vacation autoreplies come from the postmaster address.
Expected behavior : vacation notice comes from the user who set the vacation. Platform : Dovecot 2.1.7 on Debian Squeeze ( See below for example reply, sieve script and dovecot -n output)

Any help appreciated!


----------------------------------------------------------------------------------------

Sieve script used:

if true
{
vacation :days 2 :subject "Out of Office" "I am currently out of the office";
        stop;
}

----------------------------------------------------------------------------------------

Return-Path: <>
X-Original-To: tests...@mydomain.com
Delivered-To: tests...@mydomain.com
Received: from localhost (localhost [127.0.0.1])
        by quicksilver.mydomain.com (Postfix) with ESMTP id 12591BE16
for <tests...@mydomain.com>; Mon, 26 Nov 2012 16:54:16 +0000 (GMT)
X-Virus-Scanned: Debian amavisd-new at mydomain.com
X-Spam-Flag: NO
X-Spam-Score: -0.501
X-Spam-Level:
X-Spam-Status: No, score=-0.501 required=5 tests=[BAYES_05=-0.5,
        NO_RELAYS=-0.001] autolearn=no
Received: from quicksilver.mydomain.com ([127.0.0.1])
by localhost (quicksilver.mydomain.com [127.0.0.1]) (amavisd-new, port 10024)
        with ESMTP id DNM8HKzR4d0t for <tests...@mydomain.com>;
        Mon, 26 Nov 2012 16:54:06 +0000 (GMT)
Received: by quicksilver.mydomain.com (Postfix, from userid 15099)
        id DA3DABE1B; Mon, 26 Nov 2012 16:54:06 +0000 (GMT)
X-Sieve: Pigeonhole Sieve 0.3.0
Message-ID: <dovecot-sieve-1353948846-83769...@quicksilver.mydomain.com>
Date: Mon, 26 Nov 2012 16:54:06 +0000
From: Postmaster <r...@mydomain.com>
To: <tests...@mydomain.com>
Subject: Out of Office
In-Reply-To: <ac0fe0e6de81129e7499aba9aa67697a@localhost>
References: <ac0fe0e6de81129e7499aba9aa67697a@localhost>
Auto-Submitted: auto-replied (vacation)
Precedence: bulk
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit

I am currently out of the office

----------------------------------------------------------------------------------------

# 2.1.7: /etc/dovecot/dovecot.conf
# OS: Linux 2.6.32-5-amd64 x86_64 Debian 6.0.6 ext3
auth_debug = yes
auth_debug_passwords = yes
auth_verbose = yes
listen = *, [::]
log_timestamp = "%Y-%m-%d %H:%M:%S "
mail_location = maildir:/var/maildirs/%n/Maildir
mail_privileged_group = mail
managesieve_notify_capability = mailto
managesieve_sieve_capability = fileinto reject envelope encoded-character vacation subaddress comparator-i;ascii-numeric relational regex imap4flags copy include variables body enotify environment mailbox date ihave
passdb {
  args = /etc/dovecot/dovecot-ldap.conf
  driver = ldap
}
plugin {
  home = /var/maildirs/%u
  mail_debug = yes
  sieve = /var/maildirs/%u/deliver.sieve
  sieve_dir = /var/maildirs/%n/sieve
  sieve_global_dir = /etc/sieve/
  sieve_global_path = /etc/sieve/deliver.sieve
  sieve_vacation_dont_check_recipient = yes
}
protocols = imap pop3 sieve
service auth {
  unix_listener /var/spool/postfix/private/dovecot-auth {
    group = postfix
    mode = 0660
    user = postfix
  }
  unix_listener auth-master {
    mode = 0600
  }
  user = root
}
service imap-login {
  client_limit = 256
  process_min_avail = 16
  service_count = 0
  vsz_limit = 256 M
}
service managesieve-login {
  client_limit = 256
  process_min_avail = 16
  service_count = 0
  vsz_limit = 256 M
}
service pop3-login {
  client_limit = 256
  process_min_avail = 16
  service_count = 0
  vsz_limit = 256 M
}
ssl_cert = </var/certs/wildcard.mydomain.ie-including-chain.pem
ssl_key = </var/certs/wildcard.mydomain.ie.key
userdb {
  args = /etc/dovecot/dovecot-ldap.conf
  driver = ldap
}
protocol imap {
  imap_client_workarounds = delay-newmail
  mail_max_userip_connections = 20
}
protocol pop3 {
  pop3_uidl_format = %08Xu%08Xv
}
protocol lda {
  auth_socket_path = /var/run/dovecot/auth-master
  mail_debug = yes
  mail_plugins = sieve
  postmaster_address = r...@mydomain.ie
}

Reply via email to