migration from 2.3 to 2.4 : postfix can't deliver via lmtp

"Stefan G. Weichinger via dovecot" <[email protected]>
Newsgroups gmane.mail.imap.dovecot
Message-ID <[email protected]>
I am in the process of upgrading and rewriting my config.

I can access IMAP etc ... so my database access is working.

I have issues with LMTP: postfix can't deliver to dovecot.

The postfix-confiog wasn't touched at all.

the error:

Mar 27 11:46:37 co dovecot: auth([email protected]): Error: userdb: 
client doesn't have lookup permissions for this user: userdb reply 
doesn't contain uid (to bypass this check, set: service auth { 
unix_listener /run/dovecot/auth-userdb { mode=0777 } })


What I don't understand: I configure this:

service auth {
   unix_listener /var/spool/postfix/private/auth {
     group = postfix
     mode = 0666
     user = postfix
   }
}
service auth-worker {
   user = postfix
}
service lmtp {
   user = vmail
   unix_listener /var/spool/postfix/private/dovecot-lmtp {
     group = postfix
     mode = 0660
     user = postfix
   }
}

protocol lmtp {
   mail_plugins = sieve
   postmaster_address = [email protected]
}

And in postfix:

virtual_transport = lmtp:unix:private/dovecot-lmtp

virtual_uid_maps = static:5000
virtual_gid_maps = static:5000
local_transport = virtual
local_recipient_maps = $virtual_mailbox_maps

smtpd_sasl_auth_enable = yes
smtpd_sasl_type = dovecot
smtpd_sasl_path = private/auth


Where does "/run/dovecot/auth-userdb" come from?

I understand that according to my config 
/var/spool/postfix/private/auth should be used?

ls /var/spool/postfix/private/auth -l
srw-rw-rw- 1 postfix postfix 0 Mar 27 11:45 /var/spool/postfix/private/auth

ls /var/spool/postfix/private/dovecot-lmtp  -l
srw-rw---- 1 postfix postfix 0 Mar 27 11:45 
/var/spool/postfix/private/dovecot-lmtp

I'd appreciate any quick help here ... while googling and testing around 
...

thanks!





_______________________________________________
dovecot mailing list -- [email protected]
To unsubscribe send an email to [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.