[Dovecot] Help with auto vacation replies

2008-08-04 Thread CJ Keist
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hello,
   I'm testing out dovecot with postfix.  I'm running postfix 2.5.2 with
dovecot version 1.1.1 with dovecot sieve plugin version 1.1.5.

I have everything compiled and working except for the sieve plugin.  I'm
now trying to test out the sieve plugin and having no luck in getting a
simple auto vacation reply to work.  Here is my .dovecot.sieve script:

require [fileinto, vacation];

# BEGIN VACATION
vacation
:days 30
:subject Out of Office Reply
:addresses [[EMAIL PROTECTED]]
OUT OF THE OFFICE;

I know the dovecot delivery program is reading my script as the
.dovecot.sievec file is being created and there is no .dovecot.sieve.err
file.  Permissions of the files are in my ownership.  The files are
located in my home directory as well.  The log files simply show
delivery of the message and nothing else:

Aug  4 09:06:28 mail2.engr.colostate.edu postfix/local[7480]: [ID 197553
mail.info] 622BB59EFA: to=[EMAIL PROTECTED], relay=local,
delay=0.89, delays=0
.18/0.08/0/0.64, dsn=2.0.0, status=sent (delivered to command:
/userM/mail-services/dovecot/libexec/dovecot/deliver)
Aug  4 09:06:28 mail2.engr.colostate.edu postfix/qmgr[4666]: [ID 197553
mail.info] 622BB59EFA: removed


Any help as to why it is not sending any replies?

Dovecot -n follows:

# 1.1.1: /userM/mail-services/dovecot/etc/dovecot.conf
Warning: fd limit 256 is lower than what Dovecot can use under full load
(more than 1500). Either grow the limit or change
login_max_processes_count and max_mail_processes settings
base_dir: /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: /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: 500
max_mail_processes: 500
mail_location: mbox:~/:INBOX=/userM/mail/%u
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

- --
C. J. Keist Email: [EMAIL PROTECTED]
UNIX/Network ManagerPhone: 970-491-0630
Engineering Network ServicesFax:   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

iD8DBQFIlyB8A29OFr7C6jcRAt5lAKCiP5Zh1WIMrg+QWPprcxi9Gp5Z3QCgxhbj
A6ivJ6XeA8MuoA19y2xEFjI=
=uT1j
-END PGP SIGNATURE-


Re: [Dovecot] Help with auto vacation replies

2008-08-04 Thread Timo Sirainen

On Aug 4, 2008, at 11:30 AM, CJ Keist wrote:

I have everything compiled and working except for the sieve plugin.   
I'm
now trying to test out the sieve plugin and having no luck in  
getting a

simple auto vacation reply to work.


When testing, remember to delete .dovecot.lda-dupes between the tests  
so Dovecot doesn't just disable it.


Also have you tried if reject works? That shows if the problem is with  
sendmail calling.


Aug  4 09:06:28 mail2.engr.colostate.edu postfix/local[7480]: [ID  
197553

mail.info] 622BB59EFA: to=[EMAIL PROTECTED], relay=local,
delay=0.89, delays=0
.18/0.08/0/0.64, dsn=2.0.0, status=sent (delivered to command:
/userM/mail-services/dovecot/libexec/dovecot/deliver)
Aug  4 09:06:28 mail2.engr.colostate.edu postfix/qmgr[4666]: [ID  
197553

mail.info] 622BB59EFA: removed


These are Postfix's logs. Dovecot should log something itself as well.  
At minimum something like:


deliver(tss): Jun 12 11:01:31 Info: msgid=[EMAIL PROTECTED]: saved mail to 
INBOX

See http://wiki.dovecot.org/LDA - logging and/or http://wiki.dovecot.org/Logging 
 if you can't find it. Also note that errors and non-errors may be  
logged to different files.


PGP.sig
Description: This is a digitally signed message part


Re: [Dovecot] Help with auto vacation replies

2008-08-04 Thread CJ Keist
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Timo,
Thank you for your reply.  The .dovecot.lda-dupes file has not been
created yet. Only the .dovecot.sievec file so far.  I just tried
reject filter:

require [fileinto, vacation, reject];
if address :is from [EMAIL PROTECTED] {
  reject I don't like your email message;
}

I'm sending from test account [EMAIL PROTECTED] to
[EMAIL PROTECTED] my test server and account on that server.

Also, I just upgraded to dovecot 1.1.2 and also recompiled sieve 1.1.5
with the new 1.1.2 dovecot and installed both.  The reject looks to send
a message but it's going to my local test account cjay instead of back
to joeblow.  Here are the logs when I send from the joeblow account:

Aug  4 13:23:59 mail2.engr.colostate.edu dovecot: [ID 762023 mail.info]
Dovecot v1.1.2 starting up
Aug  4 13:24:02 mail2.engr.colostate.edu dovecot: [ID 107833 mail.info]
auth(default): new auth connection: pid=10788
Aug  4 13:24:02 mail2.engr.colostate.edu dovecot: [ID 107833 mail.info]
auth(default): new auth connection: pid=10789
Aug  4 13:24:02 mail2.engr.colostate.edu dovecot: [ID 107833 mail.info]
auth(default): new auth connection: pid=10787
Aug  4 13:24:02 mail2.engr.colostate.edu dovecot: [ID 107833 mail.info]
auth(default): new auth connection: pid=10786
Aug  4 13:24:02 mail2.engr.colostate.edu dovecot: [ID 107833 mail.info]
auth(default): new auth connection: pid=10785
Aug  4 13:24:02 mail2.engr.colostate.edu dovecot: [ID 107833 mail.info]
auth(default): new auth connection: pid=10784
Aug  4 13:24:43 mail2.engr.colostate.edu dovecot: [ID 107833 mail.info]
auth(default): new auth connection: pid=10894
Aug  4 13:24:43 mail2.engr.colostate.edu postfix/smtpd[10894]: [ID
197553 mail.info] connect from pace.acns.colostate.edu[129.82.100.168]
Aug  4 13:24:43 mail2.engr.colostate.edu postfix/smtpd[10894]: [ID
197553 mail.info] setting up TLS connection from
pace.acns.colostate.edu[129.82.100.168]
Aug  4 13:24:43 mail2.engr.colostate.edu postfix/smtpd[10894]: [ID
197553 mail.info] Anonymous TLS connection established from
pace.acns.colostate.edu[129.82.100.168]: TLSv1 with cipher
DHE-RSA-AES256-SHA (256/256 bits)
Aug  4 13:24:45 mail2.engr.colostate.edu postfix/smtpd[10894]: [ID
197553 mail.info] 0A47759EFA: client=pace.acns.colostate.edu[129.82.100.168]
Aug  4 13:24:45 mail2.engr.colostate.edu postfix/cleanup[10917]: [ID
197553 mail.info] 0A47759EFA:
message-id=[EMAIL PROTECTED]
Aug  4 13:24:45 mail2.engr.colostate.edu postfix/smtpd[10894]: [ID
197553 mail.info] disconnect from pace.acns.colostate.edu[129.82.100.168]
Aug  4 13:24:45 mail2.engr.colostate.edu postfix/qmgr[4666]: [ID 197553
mail.info] 0A47759EFA: from=[EMAIL PROTECTED], size=1899,
nrcpt=1 (queue active)
Aug  4 13:24:47 mail2.engr.colostate.edu deliver(cjay): [ID 315030
mail.info] Loading modules from directory:
/userM/mail-services/dovecot/lib/dovecot/lda
Aug  4 13:24:48 mail2.engr.colostate.edu deliver(cjay): [ID 619685
mail.info] Module loaded:
/userM/mail-services/dovecot/lib/dovecot/lda/lib90_cmusieve_plugin.so
Aug  4 13:24:48 mail2.engr.colostate.edu deliver(cjay): [ID 848615
mail.info] mbox:
data=/top/admin/ENS/people/cjay/home/:INBOX=/userM/mail/cjay
Aug  4 13:24:48 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  4 13:24:49 mail2.engr.colostate.edu deliver(cjay): [ID 223526
mail.info] cmusieve: Using sieve path:
/top/admin/ENS/people/cjay/home/.dovecot.sieve
Aug  4 13:24:49 mail2.engr.colostate.edu deliver(cjay): [ID 507699
mail.info] cmusieve: Executing script
/top/admin/ENS/people/cjay/home/.dovecot.sievec
Aug  4 13:24:49 mail2.engr.colostate.edu deliver(cjay): [ID 122265
mail.info] Sending a rejection to cjay: I don't like your email message
Aug  4 13:24:49 mail2.engr.colostate.edu deliver(cjay): [ID 351585
mail.info]
msgid=[EMAIL PROTECTED]:
rejected
Aug  4 13:24:49 mail2.engr.colostate.edu postfix/local[10918]: [ID
197553 mail.info] 0A47759EFA: to=[EMAIL PROTECTED],
relay=local, delay=5.1, delays=0.73/0.59/0/3.8, dsn=2.0.0, status=sent
(delivered to command: /userM/ma
il-services/dovecot/libexec/dovecot/deliver)
Aug  4 13:24:49 mail2.engr.colostate.edu postfix/qmgr[4666]: [ID 197553
mail.info] 0A47759EFA: removed
Aug  4 13:24:49 mail2.engr.colostate.edu postfix/pickup[642]: [ID 197553
mail.info] BB44459EFA: uid=10946 from=
Aug  4 13:24:49 mail2.engr.colostate.edu postfix/cleanup[10917]: [ID
197553 mail.info] BB44459EFA:
message-id=[EMAIL PROTECTED]
Aug  4 13:24:49 mail2.engr.colostate.edu postfix/qmgr[4666]: [ID 197553
mail.info] BB44459EFA: from=, size=3185, nrcpt=1 (queue active)
Aug  4 13:24:50 mail2.engr.colostate.edu deliver(joeblow): [ID 315030
mail.info] Loading modules from directory:
/userM/mail-services/dovecot/lib/dovecot/lda
Aug  4 13:24:50 mail2.engr.colostate.edu deliver(joeblow): [ID 619685
mail.info] Module loaded:
/userM/mail-services/dovecot/lib/dovecot/lda/lib90_cmusieve_plugin.so
Aug  4