Hi altogether,

I am switching from dbmail 2.2 to dovecot 2.1.7, and I was able to do a 
successful transition of IMAP. But I
had a very hard time with receiving mail, and in the end -- after loads of 
reading and debugging -- I broke
down and failed. This is why I am asking you for your kind help.

I only have virtual users and have set

mail_uid = dovemail
mail_gid = dovemail

For authentication, I simply use (for now) a flat file:

passdb {
  driver = passwd-file
  args = scheme=PLAIN username_format=%u /etc/dovecot/mypasswd.file
}

# cat /etc/dovecot/mypasswd.file
user1:{PLAIN}userpw1
user2:{PLAIN}userpw2
user3:{PLAIN}userpw3

And everything works fine with IMAP. I am completely domain-agnostic here.
But I was not able to use this fine setup to receive mails with my postfix. I 
tried about 13 different
configurations, some with considerable changes dovecot-config, the passwd-file 
or postfix, but I could not
find a single variant working.

In this situation, I would be very happy if somebody could give me a hint, 
which would be the prudent way to
configure dovecot, LDA/LMTP and postfix based on the setup above.

Thank you very much in advance, and have a great time,

Matthias Hofer

Reply via email to