Hello, I know, there are many articles on this, but for me they miss the simplest things. 1)I just want to setup a dovecot server on some linux machine that holds email for local accounts in Maildirformat and provides them to user-mail-software like evolution locally. 2)I want postfix to send mail locally to dovecot. 3)I want to use fetchmail to pick up mail from my internet provider via pop3 and use postfix to distribute it locally. No mention of sending out mail so far. Except for 3) I don’t want to be bothered by SSL, PAM, LTS … it’s all local.
I pretty much have 1) running. I can connect to dovecot and access my localy stored mail via IMAP.
But I can’t get the communication between postfix and dovecot to work. Do I need virtual-domain, virtual-users to be able to send to dovecot or just local stuff in my use-case. Do I use lda or lmtp? How does the mapping from local mail-addresses to user-accounts (and thus mail-dirs) work. Does postfix do this or dovecot? Currently postfix apparently sends the full email like email@example.com to dovecot and dovecot refuses.
I am kind of lost.
P.S.: I had all of this running in the past. Postfix put the mail in /var/spool/mail/… and dovecot used that as INBOX. Apprently dovecot cannot read mbox-INBOX files anymore if it is configured to store as maildir. It’s one or the other now.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.