[Dovecot] Auto Vacation replies again

CJ Keist cj.keist at colostate.edu
Mon Aug 11 22:34:36 EEST 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Sorry to bring this up again.

I have now configured my test server to pass all email messages off to
our central campus email filter gateway.  This gateway scans all email
traffic for viruses/spam before being delivered to any local mail servers.
Once I did this my auto vacation replies are getting canned due to the
fact the from header line is empty in the reply message.  You can see
that it is empty from my mail logs (soon after the line where is
executes my .dovecot.sievec file):

Aug 11 13:24:51 mail2.engr.colostate.edu dovecot: [ID 107833 mail.info]
auth(default): new auth connection: pid=15539
Aug 11 13:24:51 mail2.engr.colostate.edu postfix/smtpd[15539]: [ID
197553 mail.info] connect from akron.colostate.edu[129.82.103.160]
Aug 11 13:24:52 mail2.engr.colostate.edu postfix/smtpd[15539]: [ID
197553 mail.info] setting up TLS connection from
akron.colostate.edu[129.82.103.160]
Aug 11 13:24:52 mail2.engr.colostate.edu postfix/smtpd[15539]: [ID
197553 mail.info] Anonymous TLS connection established from
akron.colostate.edu[129.82.103.160]: TLSv1 with cipher
DHE-RSA-AES256-SHA (256/256 bits)
Aug 11 13:24:53 mail2.engr.colostate.edu postfix/smtpd[15539]: [ID
197553 mail.info] 44DEC599C3: client=akron.colostate.edu[129.82.103.160]
Aug 11 13:24:53 mail2.engr.colostate.edu postfix/cleanup[15547]: [ID
197553 mail.info] 44DEC599C3:
message-id=<f57f300811e59cd8ad787c582485f6b9.squirrel at webmail.engr.colostate.edu>
Aug 11 13:24:53 mail2.engr.colostate.edu postfix/smtpd[15539]: [ID
197553 mail.info] disconnect from akron.colostate.edu[129.82.103.160]
Aug 11 13:24:53 mail2.engr.colostate.edu postfix/qmgr[15988]: [ID 197553
mail.info] 44DEC599C3: from=<joeblow at engr.colostate.edu>, size=1875,
nrcpt=1 (queue active)
Aug 11 13:24:53 mail2.engr.colostate.edu deliver(cjay): [ID 315030
mail.info] Loading modules from directory:
/userM/mail-services/dovecot/lib/dovecot/lda
Aug 11 13:24:53 mail2.engr.colostate.edu deliver(cjay): [ID 619685
mail.info] Module loaded:
/userM/mail-services/dovecot/lib/dovecot/lda/lib90_cmusieve_plugin.so
Aug 11 13:24:53 mail2.engr.colostate.edu deliver(cjay): [ID 848615
mail.info] mbox:
data=/top/admin/ENS/people/cjay/home/:INBOX=/userM/mail/cjay
Aug 11 13:24:53 mail2.engr.colostate.edu deliver(cjay): [ID 885103
mail.info] fs: root=/top/admin/ENS/people/cjay/home, index=, control=,
inbox=/userM/mail/cjay
Aug 11 13:24:53 mail2.engr.colostate.edu deliver(cjay): [ID 223526
mail.info] cmusieve: Using sieve path:
/top/admin/ENS/people/cjay/home/.dovecot.sieve
Aug 11 13:24:54 mail2.engr.colostate.edu deliver(cjay): [ID 507699
mail.info] cmusieve: Executing script
/top/admin/ENS/people/cjay/home/.dovecot.sievec
Aug 11 13:24:54 mail2.engr.colostate.edu deliver(cjay): [ID 725890
mail.info]
msgid=<f57f300811e59cd8ad787c582485f6b9.squirrel at webmail.engr.colostate.edu>:
sent vacation response to <joeblow at engr.colostate.edu>
Aug 11 13:24:54 mail2.engr.colostate.edu postfix/pickup[13201]: [ID
197553 mail.info] B9798599C5: uid=10946 from=<>
Aug 11 13:24:54 mail2.engr.colostate.edu postfix/cleanup[15547]: [ID
197553 mail.info] B9798599C5:
message-id=<dovecot-1218482693-706158-0 at mail2.engr.colostate.edu>
Aug 11 13:24:54 mail2.engr.colostate.edu postfix/qmgr[15988]: [ID 197553
mail.info] B9798599C5: from=<>, size=772, nrcpt=1 (queue active)
Aug 11 13:24:55 mail2.engr.colostate.edu deliver(cjay): [ID 702911
mail.info]
msgid=<f57f300811e59cd8ad787c582485f6b9.squirrel at webmail.engr.colostate.edu>:
saved mail to INBOX
Aug 11 13:24:55 mail2.engr.colostate.edu postfix/smtp[15555]: [ID 197553
mail.info] B9798599C5: to=<joeblow at engr.colostate.edu>,
relay=parker.colostate.edu[129.82.103.125]:25, delay=0.89,
delays=0.09/0.51/0.03/0.25, dsn=2.0.0, status=sent (250 2.0.0
m7BJOur1516324 Message accepted for delivery)
Aug 11 13:24:55 mail2.engr.colostate.edu postfix/qmgr[15988]: [ID 197553
mail.info] B9798599C5: removed
Aug 11 13:24:55 mail2.engr.colostate.edu postfix/local[15549]: [ID
197553 mail.info] 44DEC599C3: to=<cjay at engr2.colostate.edu>,
relay=local, delay=2.7, delays=0.26/0.19/0/2.2, dsn=2.0.0, status=sent
(delivered to command: /userM/mail-services/dovecot/libexec/dovecot/deliver)
Aug 11 13:24:55 mail2.engr.colostate.edu postfix/qmgr[15988]: [ID 197553
mail.info] 44DEC599C3: removed

Again, my info:

OS: Solaris 10 sparc on T2000
postfix: 2.5.2
dovecot: 1.1.2
sieve plug: 1.1.5

dovecot -n:
# 1.1.2: /userM/mail-services/dovecot/etc/dovecot.conf
Warning: fd limit 256 is lower than what Dovecot can use under full load
(more than 3072). Either grow the limit or change
login_max_processes_count and max_mail_processes settings
base_dir: /userM/mail-services/dovecot/var/run/dovecot/
protocols: imap imaps pop3 pop3s
ssl_cert_file: /userM/mail-services/dovecot/etc/ssl/dovecot.pem
ssl_key_file: /userM/mail-services/dovecot/etc/ssl/privkey.pem
ssl_parameters_regenerate: 0
ssl_cipher_list: MEDIUM:!LOW
disable_plaintext_auth: no
login_dir: /userM/mail-services/dovecot/var/run/dovecot/login
login_executable(default):
/userM/mail-services/dovecot/libexec/dovecot/imap-login
login_executable(imap):
/userM/mail-services/dovecot/libexec/dovecot/imap-login
login_executable(pop3):
/userM/mail-services/dovecot/libexec/dovecot/pop3-login
login_greeting: Cyrus ready.
login_max_processes_count: 1024
max_mail_processes: 1024
mail_location: mbox:~/:INBOX=/userM/mail/%u
mail_debug: yes
mmap_disable: yes
mail_nfs_index: yes
mail_executable(default): /userM/mail-services/dovecot/libexec/dovecot/imap
mail_executable(imap): /userM/mail-services/dovecot/libexec/dovecot/imap
mail_executable(pop3): /userM/mail-services/dovecot/libexec/dovecot/pop3
mail_plugin_dir(default): /userM/mail-services/dovecot/lib/dovecot/imap
mail_plugin_dir(imap): /userM/mail-services/dovecot/lib/dovecot/imap
mail_plugin_dir(pop3): /userM/mail-services/dovecot/lib/dovecot/pop3
auth default:
  mechanisms: plain login
  verbose: yes
  debug: yes
  passdb:
    driver: pam
  passdb:
    driver: passwd
    args: blocking=yes
  userdb:
    driver: passwd
    args: blocking=yes
  socket:
    type: listen
    client:
      path: /userM/mail-services/postfix/var/private/auth
      mode: 432
      user: postfix
      group: postfix
    master:
      path: /userM/mail-services/dovecot/var/run/dovecot/auth-master
      mode: 384
      user: postfix
      group: postfix


My sieve file:
require ["fileinto", "vacation"];

# BEGIN VACATION
vacation
    :days 30
    :subject "Out of Office Reply"
    :from "cj.keist at colostate.edu"
    :addresses "cjay at engr2.colostate.edu"
"********************** OUT OF THE OFFICE *******************

testing auto vacation
i will reply to your message.

*************************************************************";

Is there something in the config files I'm missing?  Also, I'm willing
to debug this if someone could point me in the right direction in the
sieve plugin code where the from address should be set.

Thanks...


- --
C. J. Keist                     Email: cj.keist at colostate.edu
UNIX/Network Manager            Phone: 970-491-0630
Engineering Network Services    Fax:   970-491-5569
College of Engineering, CSU
Ft. Collins, CO 80523-1301

All I want is a chance to prove 'Money can't buy happiness'
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIoJRMA29OFr7C6jcRApfUAKCgkd2Jg8e0MeBtjO/lszqfqUCG+wCcCjbX
W22d0lwf0dFRrytxJpu/9HM=
=zOzG
-----END PGP SIGNATURE-----


More information about the dovecot mailing list