This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
picoenterprise:mta-mailstore-centos [2017/04/07 16:09] Luc Nieland |
picoenterprise:mta-mailstore-centos [2017/04/07 17:03] (current) Luc Nieland |
||
---|---|---|---|
Line 138: | Line 138: | ||
In: /etc/postfix/virtual | In: /etc/postfix/virtual | ||
<code> | <code> | ||
+ | # e-mail addr.: username @ servername (of the Dovecot-server): | ||
+ | |||
info@example.com sv@vps2.laboratory.local | info@example.com sv@vps2.laboratory.local | ||
sv@example.com sv@vps2.laboratory.local | sv@example.com sv@vps2.laboratory.local | ||
- | # | + | |
- | info@example.com ln@vps2.laboratory.local | + | info@example2.com ln@vps2.laboratory.local |
- | ln@example.com ln@vps2.laboratory.local | + | ln@example2.com ln@vps2.laboratory.local |
</code> | </code> | ||
Line 164: | Line 166: | ||
===== Dovecot ===== | ===== Dovecot ===== | ||
+ | |||
+ | //The SE-Linux configuration is out of the scope of this howto.// | ||
+ | |||
Hostname: vps2.laboratory.local | Hostname: vps2.laboratory.local | ||
Line 335: | Line 340: | ||
- | Make a connection with each mailbox with a MUA (mutt or Thunderbird) first **before** sending mail to the LMTP-connection. This will let Dovecot create the mailfolder structure for the mailbox to be stored. | ||
+ | Enable and start the Dovecot: | ||
+ | systemctl start dovecot | ||
+ | systemctl enable dovecot | ||
+ | |||
+ | |||
+ | Make a connection with each mailbox with a MUA (mutt or Thunderbird) first **before** sending mail to the LMTP-connection. This will let Dovecot create the mailfolder structure for the mailbox to be stored. See: /var/dovecot/data/ (each username has it's own directory here). | ||
+ | |||
+ | Connect info for the MUA: | ||
+ | IMAP host:port = vps2.laboratory.local : 993 | ||
+ | SMTP host:port = vps1.laboratory.local : 587 | ||
+ | loginname = sv | ||
+ | |||
+ | |||
+ | Test with: | ||
+ | telnet vps1.laboratory.local 25 | ||