[Dovecot] Dovecot

Claudio Prono claudio.prono at atpss.net
Mon Oct 26 13:42:36 EET 2009


Hello all,

I use dovecot11-1.1.7-1.4.1 with OpenSuse 11.1. Everything works fine,
except the vacation with managesieve.

When i send a mail to an address with vacation, i recieve back a
vacation message, but i read an error like this into dovecot-deliver.log:

Error: file_dotlock_create(~/.dovecot.lda-dupes) failed: No such file or
directory

And then the vacation is send any time, without limits.

I think the problem is dovecot can't find home directory for the mail to
write the .dovecot.lda-dupes, but i don't know how to specify that.

Here is my config:

# 1.1.7: /etc/dovecot/dovecot.conf
# OS: Linux 2.6.27.29-0.1-default x86_64 openSUSE 11.1 (x86_64) ext3
log_path: /var/log/dovecot-err.log
info_log_path: /var/log/dovecot-inf.log
protocols: imap imaps pop3 pop3s managesieve
login_dir: /var/run/dovecot/login
login_executable(default): /usr/lib/dovecot/imap-login
login_executable(imap): /usr/lib/dovecot/imap-login
login_executable(pop3): /usr/lib/dovecot/pop3-login
login_executable(managesieve): /usr/lib/dovecot/managesieve-login
first_valid_uid: 51
last_valid_uid: 51
first_valid_gid: 51
last_valid_gid: 51
mail_location: maildir:/var/mail/virtual/%d/%u
mail_debug: yes
mail_executable(default): /usr/lib/dovecot/imap
mail_executable(imap): /usr/lib/dovecot/imap
mail_executable(pop3): /usr/lib/dovecot/pop3
mail_executable(managesieve): /usr/lib/dovecot/managesieve
mail_plugins(default): quota imap_quota
mail_plugins(imap): quota imap_quota
mail_plugins(pop3): quota
mail_plugins(managesieve):
mail_plugin_dir(default): /usr/lib64/dovecot/modules/imap
mail_plugin_dir(imap): /usr/lib64/dovecot/modules/imap
mail_plugin_dir(pop3): /usr/lib64/dovecot/modules/pop3
mail_plugin_dir(managesieve): /usr/lib64/dovecot/modules/managesieve
imap_client_workarounds(default): outlook-idle
imap_client_workarounds(imap): outlook-idle
imap_client_workarounds(pop3):
imap_client_workarounds(managesieve):
pop3_uidl_format(default): %08Xu%08Xv
pop3_uidl_format(imap): %08Xu%08Xv
pop3_uidl_format(pop3): UID%u-%v
pop3_uidl_format(managesieve): %08Xu%08Xv
sieve_storage(default):
sieve_storage(imap):
sieve_storage(pop3):
sieve_storage(managesieve): /var/mail/virtual/%d/%u/sieve
sieve(default):
sieve(imap):
sieve(pop3):
sieve(managesieve): /var/mail/virtual/%d/%u/.dovecot.sieve
namespace:
  type: private
  prefix: INBOX.
  inbox: yes
  list: yes
  subscriptions: yes
auth default:
  mechanisms: plain login
  passdb:
    driver: sql
    args: /etc/dovecot/dovecot-mysql.conf
  userdb:
    driver: passwd
  userdb:
    driver: sql
    args: /etc/dovecot/dovecot-mysql.conf
  socket:
    type: listen
    client:
      path: /var/spool/postfix/private/auth
      mode: 432
      user: postfix
      group: postfix
    master:
      path: /var/run/dovecot/auth-master
      mode: 384
plugin:
  quota: maildir
  quota: maildir:User quota
  quota_warning: storage=80%% /usr/bin/quota_warning.sh 80
  quota_warning2: storage=90%% /usr/bin/quota_warning.sh 90
  quota_warning3: storage=99%% /usr/bin/quota_warning.sh 90
  sieve: /var/mail/virtual/%d/%u/.dovecot.sieve
  sieve_storage: /var/mail/virtual/%d/%u/sieve

And this is my vacation script (generated with smartsieve):

#Mail filter rules for claudio at mediaservice.net
#Generated by claudio at mediaservice.net using SmartSieve 1.0.0-RC2
2009/10/26 12:34:19
require ["vacation"];

vacation :days 1 :addresses ["claudio at mediaservice.net"] text:
sono assente
.
;


##PSEUDO script start
#SmartSieveRule#a:6:{s:6:"status";s:7:"ENABLED";s:7:"control";N;s:8:"matchAny";N;s:10:"conditions";a:0:{}s:7:"special";s:8:"vacation";s:7:"actions";a:1:{i:0;a:4:{s:4:"type";s:8:"vacation";s:7:"message";s:12:"sono
assente";s:4:"days";s:1:"1";s:9:"addresses";a:1:{i:0;s:24:"claudio at mediaservice.net";}}}}
#mode&&basic

How i can fix this?

Thank u,

Claudio.


-- 
------------
Claudio Prono
Systems Development @ PSS Srl, Divisione Implementazione Sistemi
Via San Bernardino, 17 - 10137 Torino (TO) - IT
Tel +39-011.32.72.100  Fax +39-011.32.46.497
PGP Fingerprint: 75C2 4049 E23D 2FBF A65F  40DB EA5C 11AC C2B0 3647
Disclaimer: http://atpss.net/disclaimer
------------ 



More information about the dovecot mailing list