SHOW:
|
|
- or go back to the newest paste.
| 1 | - | amavis unix - - - - 2 smtp |
| 1 | + | smtpd_banner = $myhostname |
| 2 | - | -o smtp_data_done_timeout=1200 |
| 2 | + | biff = no |
| 3 | - | -o smtp_send_xforward_command=yes |
| 3 | + | inet_interfaces = all |
| 4 | ||
| 5 | - | 127.0.0.1:10025 inet n - - - - smtpd |
| 5 | + | queue_run_delay = 100 |
| 6 | - | -o content_filter= |
| 6 | + | maximal_queue_lifetime = 1 |
| 7 | - | -o local_recipient_maps= |
| 7 | + | minimal_backoff_time = 10 |
| 8 | - | -o relay_recipient_maps= |
| 8 | + | maximal_backoff_time = 100 |
| 9 | - | -o smtpd_restriction_classes= |
| 9 | + | |
| 10 | - | -o smtpd_client_restrictions= |
| 10 | + | append_dot_mydomain = yes |
| 11 | - | -o smtpd_helo_restrictions= |
| 11 | + | |
| 12 | - | -o smtpd_sender_restrictions= |
| 12 | + | delay_warning_time = 4h |
| 13 | - | -o smtpd_recipient_restrictions=permit_mynetworks,reject |
| 13 | + | |
| 14 | - | -o mynetworks=127.0.0.0/8 |
| 14 | + | myhostname = mail.(МойДомен).com |
| 15 | - | -o strict_rfc821_envelopes=yes |
| 15 | + | alias_maps = hash:/etc/aliases |
| 16 | - | -o receive_override_options=no_unknown_recipient_checks,no_header_body_checks |
| 16 | + | alias_database = hash:/etc/aliases |
| 17 | - | retry unix - - - - - error |
| 17 | + | |
| 18 | masquerade_domains = (МойДомен).com, (МойДомен).by | |
| 19 | ||
| 20 | myorigin = /etc/mailname | |
| 21 | mydestination = (МойДомен).com, mail.(МойДомен).com, localhost, localhost.localdomain, (МойДомен).by, mail.(МойДомен).by | |
| 22 | virtual_maps = hash:/etc/postfix/maps/virtual | |
| 23 | transport_maps = hash:/etc/postfix/maps/transport | |
| 24 | mynetworks = 127.0.0.0/8, 192.168.90.0/24 , 192.168.0.0/16 | |
| 25 | relay_domains = 192.168.90.124 | |
| 26 | ||
| 27 | home_mailbox = Maildir/ | |
| 28 | mailbox_command = | |
| 29 | mailbox_size_limit = 0 | |
| 30 | recipient_delimiter = + | |
| 31 | smtpd_recipient_limit = 128 | |
| 32 | ||
| 33 | disable_vrfy_command = yes | |
| 34 | strict_rfc821_envelopes = yes | |
| 35 | invalid_hostname_reject_code = 554 | |
| 36 | maps_rbl_reject_code = 554 | |
| 37 | multi_recipient_bounce_reject_code = 554 | |
| 38 | non_fqdn_reject_code = 554 | |
| 39 | relay_domains_reject_code = 554 | |
| 40 | unknown_address_reject_code = 554 | |
| 41 | unknown_client_reject_code = 554 | |
| 42 | unknown_hostname_reject_code = 554 | |
| 43 | unknown_local_recipient_reject_code = 554 | |
| 44 | unknown_relay_recipient_reject_code = 554 | |
| 45 | unknown_sender_reject_code = 554 | |
| 46 | unknown_virtual_alias_reject_code = 554 | |
| 47 | unknown_virtual_mailbox_reject_code = 554 | |
| 48 | unverified_recipient_reject_code = 554 | |
| 49 | unverified_sender_reject_code = 554 | |
| 50 | ||
| 51 | smtpd_sender_restrictions = | |
| 52 | check_sender_access hash:/etc/postfix/whitelist, | |
| 53 | permit_sasl_authenticated, | |
| 54 | permit_mynetworks, | |
| 55 | reject_non_fqdn_sender, | |
| 56 | reject_unknown_sender_domain, | |
| 57 | permit | |
| 58 | smtpd_recipient_restrictions = | |
| 59 | permit_mynetworks, | |
| 60 | reject_unauth_destination, | |
| 61 | reject_non_fqdn_hostname, | |
| 62 | reject_non_fqdn_sender, | |
| 63 | reject_non_fqdn_recipient, | |
| 64 | reject_unauth_destination, | |
| 65 | reject_unauth_pipelining, | |
| 66 | reject_invalid_hostname, | |
| 67 | ||
| 68 | #amavis | |
| 69 | content_filter = amavis:[127.0.0.1]:10024 | |
| 70 | receive_override_options = no_address_mappings |