All pastes #605921 Raw Edit

Anonymous

public text v1 · immutable
·published 2007-07-06 15:12 UTC
rendered paste body
#
# Postfix master process configuration file.  For details on the format
# of the file, see the Postfix master(5) manual page.
#
# ==========================================================================
# service type  private unpriv  chroot  wakeup  maxproc command + args
#               (yes)   (yes)   (yes)   (never) (100)
# ==========================================================================
smtp     inet  n      -       n       -        100     smtpd
  -o content_filter=smtp:[127.0.0.1]:10024
#submission inet n      -       n       -       -       smtpd
#       -o smtpd_etrn_restrictions=reject
#       -o smtpd_client_restrictions=permit_sasl_authenticated,reject
#smtps    inet  n       -       n       -       -       smtpd
#  -o smtpd_tls_wrappermode=yes -o smtpd_sasl_auth_enable=yes
#submission   inet    n       -       n       -       -       smtpd
#  -o smtpd_etrn_restrictions=reject
#  -o smtpd_enforce_tls=yes -o smtpd_sasl_auth_enable=yes
#628      inet  n       -       n       -       -       qmqpd
pickup   fifo  n      -       n       60       1       pickup
cleanup  unix  n      -       n       -        0       cleanup
qmgr     fifo  n      -       n       300      1       qmgr
#qmgr     fifo  n       -       n       300     1       oqmgr
#tlsmgr    unix  -       -       n       1000?   1       tlsmgr
rewrite  unix  -      -       n       -        -       trivial-rewrite
bounce   unix  -      -       n       -        0       bounce
defer    unix  -      -       n       -        0       bounce
trace    unix  -      -       n       -        0       bounce
verify   unix  -      -       n       -        1       verify
flush    unix  n      -       n       1000?    0       flush
proxymap unix  -      -       n       -        -       proxymap
smtp     unix  -      -       n       -        -       smtp
# When relaying mail as backup MX, disable fallback_relay to avoid MX loops
relay    unix  -      -       n       -        -       smtp
  -o fallback_relay=
#       -o smtp_helo_timeout=5 -o smtp_connect_timeout=5
showq    unix  n      -       n       -        -       showq
error    unix  -      -       n       -        -       error
discard  unix  -      -       n       -        -       discard
local    unix  -      n       n       -        -       local
virtual  unix  -      n       n       -        -       virtual
lmtp     unix  -      -       n       -        -       lmtp
anvil    unix  -      -       n       -        1       anvil
#localhost:10025 inet   n       -       n       -       -       smtpd -o content_filter=
scache   unix  -      -       n       -        1       scache
127.0.0.1:10025 inet  n      -       n       -        -       smtpd
  -o content_filter=
tlsmgr   unix  -      -       n       1000?    1       tlsmgr

+++++++++++++++++++++++++++++
#/etc/postfix/main.cf

readme_directory=/usr/share/doc/packages/postfix/README_FILES
inet_protocols=all
biff=no
mail_spool_directory=
canonical_maps=hash:/etc/postfix/canonical
virtual_alias_maps=ldap:/etc/postfix/ldaplocal_recipient_maps.cf
virtual_alias_domains=ldap:/etc/postfix/ldapvirtual_alias_maps.cf
relocated_maps=hash:/etc/postfix/relocated
transport_maps=ldap:/etc/postfix/ldaptransport_maps.cf
sender_canonical_maps=hash:/etc/postfix/sender_canonical
masquerade_exceptions=root
masquerade_classes=envelope_sender, header_sender, header_recipient
myhostname=linux.local.com
program_directory=/usr/lib/postfix
inet_interfaces=all
masquerade_domains=ldap:/etc/postfix/ldapmasquerade_domains.cf
mydestination=$myhostname, localhost.$mydomain, $mydomain, ldap:/etc/postfix/ldapmydestination.cf
defer_transports=
mynetworks_style=subnet
disable_dns_lookups=no
relayhost=mail.somesmtp.com
mailbox_command=
mailbox_transport=lmtp:unix:/var/lib/imap/socket/lmtp
strict_8bitmime=no
disable_mime_output_conversion=no
smtpd_sender_restrictions=ldap:/etc/postfix/ldapaccess.cf, reject_unknown_sender_domain
smtpd_client_restrictions=ldap:/etc/postfix/ldapaccess.cf
smtpd_helo_required=yes
smtpd_helo_restrictions=
strict_rfc821_envelopes=no
smtpd_recipient_restrictions=permit_auth_destination, permit_mynetworks, reject_unauth_destination, reject
smtp_sasl_auth_enable=yes
smtpd_sasl_auth_enable=no
smtpd_use_tls=yes
smtp_use_tls=yes
alias_maps=hash:/etc/aliases, ldap:/etc/postfix/ldapalias_maps_member.cf, ldap:/etc/postfix/ldapalias_maps.cf
mailbox_size_limit=0
message_size_limit=0
smtp_enforce_tls=no
smtp_tls_enforce_peername=yes
smtpd_banner=$myhostname ESMTP $mail_name
smtp_sasl_security_options=noanonymous
local_recipient_maps=$alias_maps, ldap:/etc/postfix/ldaplocal_recipient_maps.cf
mynetworks=127.0.0.0/8, [::1]/128, [fe80::]/64, 10.0.193.0/24
smtpd_tls_auth_only=no
smtpd_tls_cert_file=/etc/ssl/servercerts/servercert.pem
smtpd_tls_key_file=/etc/ssl/servercerts/serverkey.pem
smtpd_tls_CApath=/etc/ssl/certs
home_mailbox=
smtp_tls_per_site=ldap:/etc/postfix/ldapsmtp_tls_per_site.cf
content_filter=
smtp_sasl_password_maps=hash:/etc/postfix/sasl_passwd