Postfix
Version vom 8. Oktober 2019, 18:48 Uhr von Hamatoma (Diskussion | Beiträge)
Vorarbeiten
- Domain einrichten, z.B. "dromedar.hamatoma.de"
- DNS-PTR-Record der IP-Adresse auf dromedar.hamatoma.de setzen
- Hostname auf "dromedar.hamatoma.de" setzen
Installation
apt install postfix # "Internet-Site" wählen
Konfiguration
... smtpd_recipient_restrictions = reject_invalid_hostname, reject_unknown_recipient_domain, reject_unauth_destination, reject_rbl_client sbl.spamhaus.org, permit smtpd_helo_restrictions = reject_invalid_helo_hostname, reject_non_fqdn_helo_hostname, reject_unknown_helo_hostname smtpd_client_restrictions = reject_rbl_client dnsbl.sorbs.net virtual_alias_maps = hash:/etc/postfix/virtual virtual_alias_domains = f-r-e-i.de # Format maildir (statt mailbox): home_mailbox = Maildir/ virtual_uid_maps = static:150 virtual_gid_maps = static:150 virtual_mailbox_maps = hash:/etc/postfix/vmaps