|
|
|
|
@@ -0,0 +1,63 @@
|
|
|
|
|
queue_directory = /var/spool/postfix
|
|
|
|
|
command_directory = /usr/sbin
|
|
|
|
|
daemon_directory = /usr/lib/postfix
|
|
|
|
|
mail_owner = postfix
|
|
|
|
|
inet_interfaces = all
|
|
|
|
|
unknown_local_recipient_reject_code = 550
|
|
|
|
|
debug_peer_level = 2
|
|
|
|
|
debugger_command =
|
|
|
|
|
PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin
|
|
|
|
|
xxgdb $daemon_directory/$process_name $process_id & sleep 5
|
|
|
|
|
sendmail_path = /usr/sbin/sendmail
|
|
|
|
|
newaliases_path = /usr/bin/newaliases
|
|
|
|
|
mailq_path = /usr/bin/mailq
|
|
|
|
|
setgid_group = maildrop
|
|
|
|
|
html_directory = /usr/share/doc/packages/postfix/html
|
|
|
|
|
manpage_directory = /usr/share/man
|
|
|
|
|
sample_directory = /usr/share/doc/packages/postfix/samples
|
|
|
|
|
readme_directory = /usr/share/doc/packages/postfix/README_FILES
|
|
|
|
|
inet_protocols = all
|
|
|
|
|
biff = no
|
|
|
|
|
append_dot_mydomain = no
|
|
|
|
|
mail_spool_directory = /var/mail
|
|
|
|
|
canonical_maps = hash:/etc/postfix/canonical
|
|
|
|
|
virtual_mailbox_base = <VIRTUAL_MAILBOX_BASE>
|
|
|
|
|
virtual_mailbox_maps = mysql:/etc/postfix/mysql-virtual_mailbox_maps.cf
|
|
|
|
|
virtual_mailbox_domains = mysql:/etc/postfix/mysql-virtual_mailbox_domains.cf
|
|
|
|
|
virtual_alias_domains =
|
|
|
|
|
virtual_alias_maps = mysql:/etc/postfix/mysql-virtual_alias_maps.cf
|
|
|
|
|
virtual_uid_maps = static:<VIRTUAL_UID_MAPS>
|
|
|
|
|
virtual_gid_maps = static:<VIRTUAL_GID_MAPS>
|
|
|
|
|
virtual_maps = hash:/etc/postfix/virtual
|
|
|
|
|
relocated_maps = hash:/etc/postfix/relocated
|
|
|
|
|
transport_maps = hash:/etc/postfix/transport
|
|
|
|
|
sender_canonical_maps = hash:/etc/postfix/sender_canonical
|
|
|
|
|
masquerade_exceptions = root
|
|
|
|
|
masquerade_classes = envelope_sender, header_sender, header_recipient
|
|
|
|
|
myhostname = <SERVERNAME>
|
|
|
|
|
program_directory = /usr/lib/postfix
|
|
|
|
|
masquerade_domains =
|
|
|
|
|
mydestination = $myhostname $mydomain localhost localhost.$mydomain
|
|
|
|
|
mynetworks = 127.0.0.0/8
|
|
|
|
|
defer_transports =
|
|
|
|
|
disable_dns_lookups = no
|
|
|
|
|
relayhost =
|
|
|
|
|
mailbox_command =
|
|
|
|
|
mailbox_transport =
|
|
|
|
|
strict_8bitmime = no
|
|
|
|
|
disable_mime_output_conversion = no
|
|
|
|
|
smtpd_client_restrictions =
|
|
|
|
|
smtpd_helo_required = no
|
|
|
|
|
smtpd_helo_restrictions =
|
|
|
|
|
strict_rfc821_envelopes = no
|
|
|
|
|
smtpd_recipient_restrictions = permit_mynetworks permit_sasl_authenticated reject_unauth_destination
|
|
|
|
|
smtpd_sasl_auth_enable = yes
|
|
|
|
|
smtpd_sasl_local_domain = $myhostname
|
|
|
|
|
smtpd_sasl_security_options = noanonymous
|
|
|
|
|
broken_sasl_auth_clients = yes
|
|
|
|
|
#smtpd_use_tls = no
|
|
|
|
|
#smtp_use_tls = no
|
|
|
|
|
alias_maps = $alias_database
|
|
|
|
|
mailbox_size_limit = 0
|
|
|
|
|
virtual_mailbox_limit = 0
|
|
|
|
|
message_size_limit = 10240000
|