Linux/Mailserver

From Wiki
< Linux
Revision as of 22:10, 11 March 2013 by Marcluer (talk | contribs)

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