lda and lmtp error after upgrading dovecot

giorgio paolucci giorgio.paolucci at unipd.it
Wed Apr 29 13:15:18 UTC 2015


Hello everybody,
I forgot to add a complete transaction sample of local delivery.

The following log depicts a mail delivery with two recipients; 10.1.1.1
is the last hop MTA server that calls lmtp for local delivery; the first
recipient got a correct uid while the second gets a "uid=error"; both
mails got delivered to INBOX correctly....

Thankyou in advance

Best regards
Giorgio

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

Apr 29 09:45:45 lmtp(18802): Info: Connect from 10.1.1.1
Apr 29 09:45:46 lmtp(18802, yyyyyy at unipd.it): Info: copy from <lmtp
DATA>: box=INBOX, uid=32333,
msgid=<64942404.485.1430293540583.JavaMail.tomcat6 at host.unipd.it>, size=2891
Apr 29 09:45:46 lmtp(18802, yyyyyy at unipd.it): Info:
Jj/kNF6LQFVySQAAddyHeA:
msgid=<64942404.485.1430293540583.JavaMail.tomcat6 at host.unipd.it>: saved
mail to INBOX
Apr 29 09:45:46 lmtp(18802, xxxxxxxx at unipd.it): Info: copy from <lmtp
DATA>: box=INBOX, uid=error,
msgid=<64942404.485.1430293540583.JavaMail.tomcat6 at host.unipd.it>, size=3014
Apr 29 09:45:46 lmtp(18802, xxxxxxxx at unipd.it): Info:
KD/kNF6LQFVySQAAddyHeA:
msgid=<64942404.485.1430293540583.JavaMail.tomcat6 at host.unipd.it>: saved
mail to INBOX
Apr 29 09:45:48 lmtp(18802): Info: Disconnect from 10.1.1.1: Connection
closed (in reset)


On 29/04/2015 11:38, giorgio paolucci wrote:
> Hello everybody,
> after upgrading dovecot on a debian wheezy installation from the
> standard package version (dovecot 2.1.7) to dovecot 2.2.13-11 from
> wheezy-backports, i noticed some errors in my logs...
> 
> Apr 28 22:00:13 lmtp(4879, xxxxxxxxx at unipd.it): Info: copy from <lmtp
> DATA>: box=INBOX, uid=error,
> msgid=<20150428200011.47D801F32 at mydoom.unipd.it>, size=1523
> 
> They are not frequent but still coninuing since the upgrade.
> 
> After the upgrade I found also errors coming fom lda:
> 
> Apr 28 12:29:36 lda(userxxxxxx at unipd.it): Info: copy from stdin:
> box=INBOX, uid=error, msgid=, size=595
> Apr 28 12:29:37 lda(userxxxxxx at unipd.it): Info: msgid=unspecified: saved
> mail to INBOX
> 
> Strange thing as I use lmtp for local delivery.
> 
> Is there some tuning I can do? My storage is accessed via NFS with a
> load blancer keeping sticky sessions "per user".
> 
> Is there any risk to loose mails?
> 
> Here is my dovecot -n
> 
> Thanks in advance.
> 
> Best regards
> 
> Giorgio
> ======================================
> 
> # 2.2.13: /etc/dovecot/dovecot.conf
> # OS: Linux 3.2.0-4-amd64 x86_64 Debian 7.8
> auth_default_realm = unipd.it
> disable_plaintext_auth = no
> log_path = /var/log/dovecot/dovecot.log
> mail_fsync = always
> mail_nfs_index = yes
> mail_nfs_storage = yes
> mail_plugins = quota  listescape mail_log notify
> mdbox_rotate_interval = 1 days
> mdbox_rotate_size = 10 M
> mmap_disable = yes
> namespace inbox {
>   inbox = yes
>   location =
>   mailbox Drafts {
>     special_use = \Drafts
>   }
>   mailbox Junk {
>     special_use = \Junk
>   }
>   mailbox Sent {
>     special_use = \Sent
>   }
>   mailbox "Sent Messages" {
>     special_use = \Sent
>   }
>   mailbox Trash {
>     special_use = \Trash
>   }
>   prefix =
>   separator = /
> }
> passdb {
>   args = /etc/dovecot/conf.d/dovecot-sql.conf.ext
>   driver = sql
> }
> passdb {
>   args = /etc/dovecot/conf.d/dovecot-sqlSSO.conf.ext
>   driver = sql
> }
> plugin {
>   fts = solr
>   fts_solr = break-imap-search url=http://147.162.10.96:8983/solr/
>   mail_log_events = delete undelete expunge copy mailbox_delete
> mailbox_rename
>   mail_log_fields = uid box msgid size
>   pop3_migration_mailbox = INBOX
>   quota = dict:User quota::file:/SYSTEM/USERS/homes/%d/%1u/%u/%u.quota
>   quota_rule = *:storage=1100M
>   quota_rule2 = Trash:storage=+100M
>   quota_warning = storage=95%% quota-warning 95 %u
>   quota_warning2 = storage=80%% quota-warning 80 %u
>   sieve = ~/.dovecot.sieve
>   sieve_dir = ~/sieve
> }
> pop3c_host = 147.162.10.68
> protocols = imap pop3 lmtp
> service auth {
>   unix_listener /var/spool/postfix/private/auth {
>     group = postfix
>     mode = 0660
>     user = postfix
>   }
>   unix_listener auth-userdb {
>     group = vmail
>     mode = 0600
>     user = vmail
>   }
> }
> service imap-login {
>   inet_listener imaps {
>     ssl = no
>   }
>   process_min_avail = 20
>   service_count = 1
> }
> service imap {
>   executable = imap postlogin
> }
> service lmtp {
>   executable = lmtp
>   inet_listener lmtp {
>     port = 2223
>   }
>   process_min_avail = 15
> }
> service pop3-login {
>   inet_listener pop3s {
>     ssl = no
>   }
> }
> service postlogin {
>   executable = script-login -d rawlog
>   user = vmail
> }
> service quota-warning {
>   executable = script /SYSTEM/DOVECOT/scripts/quota-warning.sh
>   unix_listener quota-warning {
>     user = vmail
>   }
>   user = vmail
> }
> ssl = no
> userdb {
>   driver = prefetch
> }
> userdb {
>   args = /etc/dovecot/conf.d/dovecot-sql.conf.ext
>   driver = sql
> }
> userdb {
>   driver = prefetch
> }
> userdb {
>   args = /etc/dovecot/conf.d/dovecot-sqlSSO.conf.ext
>   driver = sql
> }
> protocol lmtp {
>   info_log_path = /tmp/dovecot-lmtp-info.log
>   log_path = /tmp/dovecot-lmtp.log
>   mail_plugins = quota  listescape mail_log notify
> }
> protocol imap {
>   imap_max_line_length = 128 k
>   mail_plugins = quota  listescape mail_log notify imap_quota
> }
> protocol doveadm {
>   mail_plugins = quota  listescape mail_log notify pop3_migration
> }
> protocol pop3 {
>   pop3_no_flag_updates = yes
>   pop3_uidl_format = %10v.%09u
> }
> 
> 
> 


-- 

     Ing. Giorgio Paolucci
     Universita' di Padova
     Centro Servizi Informatici di Ateneo
     Responsabile Infrastrutture,
     Networking e Sicurezza
     Tel.+39-049-8273711

-- 



More information about the dovecot mailing list