[Dovecot] strange LDA error

Farkas Levente lfarkas at bppiac.hu
Thu Feb 15 13:18:50 UTC 2007


hi,
i try to use dovecot lda with postfix virtual delivery, but i've got
error. the maildirs are created ie: new/, tmp/, curr/, dovecot.index,
dovecot.index.log, .dovecot.lda-dupes. but the mail is not placed into
it and got and error: "save failed to INBOX". what can be the reason?
thank you for your help in advance.
yours.

---------------------------------
# ls -ald /var/vmail/
drwxrwx--- 3 vmail mail 4096 Feb 15 14:08 /var/vmail/
---------------------------------

this's the relevant part my dovecot.conf:
---------------------------------
mail_location = maildir:/var/vmail/%d/%u
mail_extra_groups = mail
mail_debug = yes
mmap_disable = yes
first_valid_uid = 101
last_valid_uid = 101
maildir_copy_with_hardlinks = yes
protocol lda {
  mail_plugins = quota
  log_path = /var/log/dovecot-deliver.log
  info_log_path = /var/log/dovecot-deliver.log
}
auth_verbose = yes
auth_debug = yes
auth_debug_passwords = yes
auth default {
  mechanisms = plain
  passdb sql {
    args = /etc/dovecot/sql.conf
  }
  userdb sql {
    args = /etc/dovecot/sql.conf
  }
  userdb prefetch {
  }
  user = nobody
  socket listen {
    master {
      path = /var/run/dovecot/auth-master
      mode = 0660
      user = vmail
      group = mail
    }
    client {
      path = /var/spool/postfix/private/auth
      mode = 0660
      user = postfix
      group = mail
    }
  }
}
---------------------------------

this is the log in maillog:
---------------------------------
Feb 15 14:08:03 alpha postfix/pickup[15447]: 14C61F4D34: uid=0 from=<root>
Feb 15 14:08:03 alpha postfix/cleanup[15614]: 14C61F4D34:
message-id=<20070215130803.14C61F4D34 at alpha.lenux.hu>
Feb 15 14:08:03 alpha postfix/qmgr[15448]: 14C61F4D34:
from=<root at alpha.lenux.hu>, size=295, nrcpt=1 (queue active)
Feb 15 14:08:03 alpha dovecot: auth(default): master in: USER   1
attaba at balazsiek.hu     service=deliver
Feb 15 14:08:03 alpha dovecot: auth-worker(default): mysql: Connected to
localhost (postfix)
Feb 15 14:08:03 alpha dovecot: auth-worker(default):
sql(attaba at balazsiek.hu): SELECT concat('/var/vmail/', maildir) as home,
concat('maildir:/var/vmail/', maildir) as mail, 101 A
S uid, 12 AS gid, concat('dirsize:storage=', quota) AS quota FROM
mailbox WHERE username = 'attaba at balazsiek.hu' AND active = '1'
Feb 15 14:08:03 alpha dovecot: auth(default): master out: USER  1
attaba at balazsiek.hu     home=/var/vmail/balazsiek.hu/attaba/
mail=maildir:/var/vmail/balazsiek.hu/attaba
/    uid=101 gid=12  quota=dirsize:storage=0
Feb 15 14:08:03 alpha postfix/sendmail[15620]: running:
PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin? xxgdb
/usr/libexec/postfix/sendmail 15620 & sleep 5
Feb 15 14:08:08 alpha postfix/pickup[15447]: 51183F4D36: uid=101 from=<>
Feb 15 14:08:08 alpha postfix/cleanup[15614]: 51183F4D36:
message-id=<dovecot-1171544883-208651-0 at alpha.lenux.hu>
Feb 15 14:08:08 alpha postfix/pipe[15617]: 14C61F4D34:
to=<attaba at balazsiek.hu>, relay=dovecot, delay=5.3,
delays=0.17/0.01/0/5.1, dsn=2.0.0, status=sent (delivered via dovecot se
rvice)
Feb 15 14:08:08 alpha postfix/qmgr[15448]: 14C61F4D34: removed
Feb 15 14:08:08 alpha postfix/qmgr[15448]: 51183F4D36: from=<>,
size=1558, nrcpt=1 (queue active)
Feb 15 14:08:08 alpha postfix/cleanup[15614]: 64127F4D33:
message-id=<dovecot-1171544883-208651-0 at alpha.lenux.hu>
Feb 15 14:08:08 alpha postfix/qmgr[15448]: 64127F4D33: from=<>,
size=1687, nrcpt=1 (queue active)
Feb 15 14:08:08 alpha postfix/local[15627]: 51183F4D36:
to=<root at alpha.lenux.hu>, relay=local, delay=0.21,
delays=0.13/0.01/0/0.07, dsn=2.0.0, status=sent (forwarded as 64127F4D33
)
Feb 15 14:08:08 alpha postfix/qmgr[15448]: 51183F4D36: removed
Feb 15 14:08:08 alpha postfix/smtp[15628]: 64127F4D33:
to=<lfarkas at bppiac.hu>, orig_to=<root at alpha.lenux.hu>,
relay=mx3.mail-server.hu[212.24.171.194]:25, delay=0.13, delays=0.07/
0.04/0/0.01, dsn=2.0.0, status=sent (250 Ok: queued as 80C4937650E)
Feb 15 14:08:08 alpha postfix/qmgr[15448]: 64127F4D33: removed
---------------------------------

this's in dovecot-deliver.log:
---------------------------------
deliver(attaba at balazsiek.hu): Feb 15 14:08:03 Info: auth input:
attaba at balazsiek.hu
deliver(attaba at balazsiek.hu): Feb 15 14:08:03 Info: auth input:
home=/var/vmail/balazsiek.hu/attaba/
deliver(attaba at balazsiek.hu): Feb 15 14:08:03 Info: auth input:
mail=maildir:/var/vmail/balazsiek.hu/attaba/
deliver(attaba at balazsiek.hu): Feb 15 14:08:03 Info: auth input: uid=101
deliver(attaba at balazsiek.hu): Feb 15 14:08:03 Info: auth input: gid=12
deliver(attaba at balazsiek.hu): Feb 15 14:08:03 Info: auth input:
quota=dirsize:storage=0
deliver(attaba at balazsiek.hu): Feb 15 14:08:03 Info: Home dir not found:
/var/vmail/balazsiek.hu/attaba/
deliver(attaba at balazsiek.hu): Feb 15 14:08:03 Info: Loading modules from
directory: /usr/lib64/dovecot/lda
deliver(attaba at balazsiek.hu): Feb 15 14:08:03 Info: Module loaded:
/usr/lib64/dovecot/lda/lib10_quota_plugin.so
deliver(attaba at balazsiek.hu): Feb 15 14:08:03 Info: maildir:
data=/var/vmail/balazsiek.hu/attaba/
deliver(attaba at balazsiek.hu): Feb 15 14:08:03 Info: maildir:
root=/var/vmail/balazsiek.hu/attaba,
index=/var/vmail/balazsiek.hu/attaba, control=, inbox=
deliver(attaba at balazsiek.hu): Feb 15 14:08:03 Info: dirsize quota limit
= 0kB
deliver(attaba at balazsiek.hu): Feb 15 14:08:03 Info:
msgid=<20070215130803.14C61F4D34 at alpha.lenux.hu>: save failed to INBOX
---------------------------------

-- 
  Levente                               "Si vis pacem para bellum!"


More information about the dovecot mailing list