2013-01-14 09:34:26 +01:00
|
|
|
Index: conf/main.cf
|
|
|
|
===================================================================
|
|
|
|
--- conf/main.cf.orig
|
|
|
|
+++ conf/main.cf
|
|
|
|
@@ -655,3 +655,119 @@ sample_directory =
|
2011-05-15 16:21:14 +02:00
|
|
|
#
|
|
|
|
readme_directory =
|
2013-01-10 16:05:52 +01:00
|
|
|
inet_protocols = ipv4
|
2011-05-15 16:21:14 +02:00
|
|
|
+
|
|
|
|
+biff = no
|
|
|
|
+content_filter =
|
|
|
|
+delay_warning_time = 0h
|
|
|
|
+disable_dns_lookups = no
|
|
|
|
+disable_mime_output_conversion = no
|
|
|
|
+inet_interfaces = all
|
|
|
|
+inet_protocols = ipv4
|
|
|
|
+masquerade_classes = envelope_sender, header_sender, header_recipient
|
|
|
|
+masquerade_domains =
|
|
|
|
+masquerade_exceptions =
|
|
|
|
+mydestination = $myhostname, localhost.$mydomain
|
|
|
|
+myhostname = localhost
|
|
|
|
+mynetworks_style = subnet
|
|
|
|
+relayhost =
|
|
|
|
+
|
|
|
|
+alias_maps =
|
|
|
|
+canonical_maps =
|
|
|
|
+relocated_maps =
|
|
|
|
+sender_canonical_maps =
|
|
|
|
+transport_maps =
|
|
|
|
+mail_spool_directory = /var/mail
|
|
|
|
+message_strip_characters =
|
|
|
|
+defer_transports =
|
|
|
|
+mailbox_command =
|
|
|
|
+mailbox_transport =
|
|
|
|
+mailbox_size_limit = 0
|
|
|
|
+message_size_limit = 0
|
|
|
|
+strict_8bitmime = no
|
|
|
|
+strict_rfc821_envelopes = no
|
|
|
|
+smtpd_helo_required = no
|
|
|
|
+
|
|
|
|
+smtpd_client_restrictions =
|
|
|
|
+
|
|
|
|
+smtpd_helo_restrictions =
|
|
|
|
+
|
|
|
|
+smtpd_sender_restrictions =
|
|
|
|
+
|
|
|
|
+smtpd_recipient_restrictions =
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+############################################################
|
|
|
|
+# SASL stuff
|
|
|
|
+############################################################
|
|
|
|
+smtp_sasl_auth_enable = no
|
2011-05-17 22:15:24 +02:00
|
|
|
+smtp_sasl_security_options =
|
|
|
|
+smtp_sasl_password_maps =
|
2011-05-15 16:21:14 +02:00
|
|
|
+smtpd_sasl_auth_enable = no
|
|
|
|
+############################################################
|
|
|
|
+# TLS stuff
|
|
|
|
+############################################################
|
|
|
|
+#tls_append_default_CA = no
|
|
|
|
+relay_clientcerts =
|
|
|
|
+#tls_random_source = dev:/dev/urandom
|
|
|
|
+
|
|
|
|
+smtp_use_tls = no
|
|
|
|
+#smtp_tls_loglevel = 0
|
|
|
|
+smtp_enforce_tls = no
|
|
|
|
+smtp_tls_CAfile =
|
|
|
|
+smtp_tls_CApath =
|
|
|
|
+smtp_tls_cert_file =
|
|
|
|
+smtp_tls_key_file =
|
|
|
|
+#smtp_tls_session_cache_timeout = 3600s
|
|
|
|
+smtp_tls_session_cache_database =
|
|
|
|
+
|
|
|
|
+smtpd_use_tls = no
|
|
|
|
+#smtpd_tls_loglevel = 0
|
|
|
|
+smtpd_tls_CAfile =
|
|
|
|
+smtpd_tls_CApath =
|
|
|
|
+smtpd_tls_cert_file =
|
|
|
|
+smtpd_tls_key_file =
|
|
|
|
+smtpd_tls_ask_ccert = no
|
|
|
|
+smtpd_tls_received_header = no
|
|
|
|
+############################################################
|
|
|
|
+# Start MySQL from postfixwiki.org
|
|
|
|
+############################################################
|
|
|
|
+#relay_domains = $mydestination, hash:/etc/postfix/relay
|
|
|
|
+virtual_alias_domains =
|
2011-05-17 22:15:24 +02:00
|
|
|
+#virtual_alias_maps = hash:/etc/postfix/virtual
|
2011-05-15 16:21:14 +02:00
|
|
|
+#virtual_uid_maps = static:303
|
|
|
|
+#virtual_gid_maps = static:303
|
|
|
|
+#virtual_minimum_uid = 303
|
|
|
|
+#virtual_mailbox_base = /srv/maildirs
|
|
|
|
+#virtual_mailbox_domains = mysql:/etc/postfix/mysql_virtual_domains_maps.cf
|
|
|
|
+#virtual_mailbox_limit = 0
|
|
|
|
+#virtual_mailbox_limit_inbox = no
|
|
|
|
+#virtual_mailbox_limit_maps = hash:/etc/postfix/vquota
|
|
|
|
+#virtual_mailbox_limit_override = yes
|
|
|
|
+#virtual_mailbox_maps = mysql:/etc/postfix/mysql_virtual_mailbox_maps.cf
|
|
|
|
+#virtual_transport = virtual
|
|
|
|
+## Additional for quota support
|
|
|
|
+#virtual_create_maildirsize = yes
|
|
|
|
+#virtual_mailbox_extended = yes
|
|
|
|
+### Needs Maildir++ compatible IMAP servers, like Courier-IMAP
|
|
|
|
+#virtual_maildir_filter = yes
|
|
|
|
+#virtual_maildir_filter_maps = hash:/etc/postfix/vfilter
|
|
|
|
+#virtual_mailbox_limit_maps = mysql:/etc/postfix/mysql_virtual_mailbox_limit_maps.cf
|
|
|
|
+#virtual_mailbox_limit_override = yes
|
|
|
|
+#virtual_maildir_limit_message = Sorry, the user's maildir has overdrawn his diskspace quota, please try again later.
|
|
|
|
+#virtual_maildir_limit_message_maps = hash:/etc/postfix/vmsg
|
|
|
|
+#virtual_overquota_bounce = yes
|
|
|
|
+#virtual_trash_count = yes
|
|
|
|
+#virtual_trash_name = ".Trash"
|
|
|
|
+############################################################
|
|
|
|
+# End MySQL from postfixwiki.org
|
|
|
|
+############################################################
|
|
|
|
+# Rewrite reject codes
|
|
|
|
+############################################################
|
|
|
|
+#unknown_address_reject_code = 550
|
|
|
|
+#unknown_client_reject_code = 550
|
|
|
|
+#unknown_hostname_reject_code = 550
|
|
|
|
+#soft_bounce = yes
|
|
|
|
+############################################################
|
|
|
|
+#debug_peer_list = example.com
|
|
|
|
+#debug_peer_level = 3
|
|
|
|
+
|