SHOW:
|
|
- or go back to the newest paste.
| 1 | myorigin = /etc/mailname | |
| 2 | - | myhostname = mail.domain.at |
| 2 | + | myhostname = mail.mydomain.com |
| 3 | ||
| 4 | - | mydomain = domain.at |
| 4 | + | mydomain = mydomain.com |
| 5 | mydestination = $mydomain, $myhostname, localhost | |
| 6 | ||
| 7 | smtpd_banner = $myhostname ESMTP $mail_name (PDP-11) | |
| 8 | biff = no | |
| 9 | ||
| 10 | # appending .domain is the MUA's job. | |
| 11 | append_dot_mydomain = no | |
| 12 | ||
| 13 | # Uncomment the next line to generate "delayed mail" warnings | |
| 14 | # delay_warning_time = 4h | |
| 15 | queue_run_delay = 300 | |
| 16 | ||
| 17 | readme_directory = /usr/share/doc/postfix | |
| 18 | ||
| 19 | - | # TLS Einstellungen |
| 19 | + | # TLS settings |
| 20 | smtpd_tls_cert_file=/etc/ssl/certs/ssl-cert-snakeoil.pem | |
| 21 | smtpd_tls_key_file=/etc/ssl/private/ssl-cert-snakeoil.key | |
| 22 | smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
| |
| 23 | smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
| |
| 24 | smtpd_tls_security_level = may | |
| 25 | ||
| 26 | - | # Authentifizierung der Clients (nur für Versand von auÃerhalb des Büros) |
| 26 | + | # Client auth |
| 27 | smtpd_sasl_type = dovecot | |
| 28 | smtpd_sasl_path = private/auth | |
| 29 | smtpd_sasl_auth_enable = yes | |
| 30 | ||
| 31 | broken_sasl_auth_clients = yes | |
| 32 | smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination | |
| 33 | ||
| 34 | - | # Smarthost für Mails nach draussen - wenn fixe IP vorhanden kann das entfernt werden |
| 34 | + | # Smarthost |
| 35 | - | relayhost = [mail51.mittwald.de]:587 |
| 35 | + | relayhost = [mail.provider.com]:587 |
| 36 | ||
| 37 | # Smarthost auth | |
| 38 | - | # Authentifizierung am Smarthost |
| 38 | + | |
| 39 | smtp_sasl_security_options = noanonymous | |
| 40 | smtp_sasl_password_maps = hash:/etc/postfix/sasl_password | |
| 41 | ||
| 42 | alias_maps = hash:/etc/aliases | |
| 43 | alias_database = hash:/etc/aliases | |
| 44 | ||
| 45 | mynetworks = 127.0.0.0/8 192.168.0.0/24 | |
| 46 | - | # Netzwerke die für den Mailversand zugelassen sind (auch ohne Authentifizierung) |
| 46 | + | |
| 47 | - | #mynetworks = 127.0.0.0/8 192.168.1.0/24 192.168.2.0/24 |
| 47 | + | |
| 48 | ||
| 49 | mailbox_size_limit = 0 | |
| 50 | - | #mailbox_command = procmail -a "$EXTENSION" |
| 50 | + | |
| 51 | - | # Mails werden mittels Dovecot zugestellt |
| 51 | + | |
| 52 | ||
| 53 | inet_protocols = ipv4 | |
| 54 | html_directory = /usr/share/doc/postfix/html | |
| 55 | ||
| 56 | # Transport Maps | |
| 57 | transport_maps = hash:/etc/postfix/transport | |
| 58 | ||
| 59 | # Aliases | |
| 60 | sender_canonical_maps = hash:/etc/postfix/sender_canonical | |
| 61 | - | # die Transport Maps für den Versand an den Exchange |
| 61 | + | |
| 62 | local_recipient_maps = | |
| 63 | ||
| 64 | - | # Aliase der lokalen User (alex = [email protected] usw) |
| 64 | + | # Spam and virus filter |
| 65 | content_filter = smtp-amavis:[127.0.0.1]:10024 | |
| 66 | receive_override_options = no_address_mappings |