Linux/Mailserver: Difference between revisions

From Wiki
Line 10: Line 10:
* http://www.postfix.org/VIRTUAL_README.html#local_vs_database
* http://www.postfix.org/VIRTUAL_README.html#local_vs_database
* http://wiki2.dovecot.org/HowTo/VirtualUserFlatFilesPostfix
* http://wiki2.dovecot.org/HowTo/VirtualUserFlatFilesPostfix
* http://rimuhosting.com/support/settingupemail.jsp?mta=postfix&t=mta
* (http://www.myslug.de/index.php?title=IMAP_Mail_Server)
* (http://www.myslug.de/index.php?title=IMAP_Mail_Server)



Revision as of 22:19, 11 March 2013

Mailserver HowTos

Setups

postfix

sudo apt-get install postfix libsasl2-modules mailutils

-> Internet mit Smarthost
-> SMTP-Relay-Server (ISP smtp server)

/etc/postfix/main.cf

mynetworks = 127.0.0.0/8, 192.168.111.0/24
mydestination = domainname.de, localhostname, localhost.localdomain, localhost


dovecot

sudo apt-get install dovecot-common dovecot-imapd dovecot-pop3d

/etc/postfix/main.cf

smtp_sasl_auth_enable = yes
# noplaintext weglassen, wenn Passwörter im Klartext übertragen werden müssen:
smtp_sasl_security_options = noplaintext noanonymous
smtp_sasl_password_maps = hash:/etc/postfix/sasl_password


fetchmail

sudo apt-get install fetchmail