Linux/Mailserver: Difference between revisions

From Wiki
Line 11: Line 11:
* http://wiki2.dovecot.org/HowTo/VirtualUserFlatFilesPostfix
* http://wiki2.dovecot.org/HowTo/VirtualUserFlatFilesPostfix
* http://rimuhosting.com/support/settingupemail.jsp?mta=postfix&t=mta
* http://rimuhosting.com/support/settingupemail.jsp?mta=postfix&t=mta
* http://johnny.chadda.se/article/mail-server-howto-postfix-and-dovecot-with-mysql-and-tlsssl-postgrey-and-dspam/
* (http://www.myslug.de/index.php?title=IMAP_Mail_Server)
* (http://www.myslug.de/index.php?title=IMAP_Mail_Server)



Revision as of 22:26, 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