Hier werden die Unterschiede zwischen zwei Versionen gezeigt.
— |
lpi2:exim4 [2008/10/23 17:17] (aktuell) |
||
---|---|---|---|
Zeile 1: | Zeile 1: | ||
+ | ====== Minimal-Konfiguration ====== | ||
+ | Vorraussetzung für Mail ist eine korrekte [[ dns| client- ]] und [[ bind | serverseitige ]] DNS Konfiguration. | ||
+ | |||
+ | Diese Beschreibung funktioniert nur für Debian, da sie intensiv Debians Konfigurationswerkzeuge für exim nutzt. | ||
+ | |||
+ | ===== Benötigte Pakete ===== | ||
+ | Debian: | ||
+ | exim4 | ||
+ | |||
+ | |||
+ | ===== Konfiguration ===== | ||
+ | ''/etc/exim4/update-exim4.conf.conf'' : | ||
+ | <file> | ||
+ | dc_eximconfig_configtype='internet' | ||
+ | dc_other_hostnames='' | ||
+ | dc_local_interfaces='' | ||
+ | dc_readhost='' | ||
+ | dc_relay_domains='' | ||
+ | dc_minimaldns='false' | ||
+ | dc_relay_nets='' | ||
+ | dc_smarthost='' | ||
+ | CFILEMODE='644' | ||
+ | dc_use_split_config='true' | ||
+ | dc_hide_mailname='' | ||
+ | dc_mailname_in_oh='true' | ||
+ | dc_localdelivery='mail_spool' | ||
+ | </file> | ||
+ | |||
+ | ''/etc/exim4/conf.d/router/200_exim4-config_primary'' : | ||
+ | <file> | ||
+ | # ignore_target_hosts = 0.0.0.0 : 127.0.0.0/8 : 192.168.0.0/16 :\ | ||
+ | # 172.16.0.0/12 : 10.0.0.0/8 : 169.254.0.0/16 :\ | ||
+ | # 255.255.255.255 | ||
+ | </file> | ||
+ | |||
+ | |||
+ | update-exim4.conf | ||
+ | /etc/init.d/exim4 restart | ||
+ | |||
+ | ===== Testen ===== | ||
+ | telnet localhost 25 | ||
+ | HELO localhost | ||
+ | MAIL FROM: root@localhost | ||
+ | RCPT TO: nutzer15@localhost | ||
+ | DATA | ||
+ | From: root@localhost | ||
+ | To: nutzer15@localhost | ||
+ | Subject: testmail | ||
+ | | ||
+ | Dies ist eine Testmail | ||
+ | . | ||
+ | quit | ||
+ | |||
+ | ====== Dokumentation ====== | ||
+ | * /usr/share/doc/exim4-base/README.Debian.gz | ||
+ | |||