Linux/Mailserver

From Wiki

Mailserver HowTos

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