ich hoffe, ihr könnt mir helfen. Meine Postfixversion ist derzeit: 1.1.11.
Ein Update auf Postfix 2.0.14 ist leider sehr schief verlaufen, sodass ich auf postfix 1.1.11 erst einmal setzen muss.
Dies ist meine main.cf
Code: Select all
#
# Postfixkonfiguration
#
#
# SOFT BOUNCE
#
#soft_bounce = no
#
# LOCAL PATHNAME INFORMATION
#
# The queue_directory specifies the location of the Postfix queue.
# This is also the root directory of Postfix daemons that run chrooted.
# See the files in examples/chroot-setup for setting up Postfix chroot
# environments on different UNIX systems.
#
queue_directory = /var/spool/postfix
command_directory = /usr/sbin
daemon_directory = /usr/lib/postfix
mail_owner = postfix
default_privs = autoresp
#
# INTERNET HOST AND DOMAIN NAMES
#
#myhostname = host.domain.tld
#myhostname = p12345678.pureserver.info
myhostname = serverdomain.com
#
#mydomain = p12345678.pureserver.info
mydomain = serverdomain.com
#
# SENDING MAIL
#
#myorigin = $myhostname
#myorigin = $mydomain
#
# RECEIVING MAIL
#
inet_interfaces = all
#inet_interfaces = $myhostname
#inet_interfaces = $myhostname, localhost
#
#mydestination = $myhostname, localhost.$mydomain
#mydestination = $myhostname, localhost.$mydomain $mydomain
#mydestination = $myhostname, localhost.$mydomain, $mydomain,
#mail.$mydomain, www.$mydomain, ftp.$mydomain
#
#mydestination = $myhostname, localhost.$mydomain, $mydomain, smtp.$mydomain
#mydestination = $myhostname, $mydomain, localhost.$mydomain
#mydestination = $myhostname, $mydomain, localhost.$mydomain, smtp.$mydomain
mydestination = $myhostname, $mydomain, localhost.$mydomain, relay_domains = $mydomain,
#
# TRUST AND RELAY CONTROL
#
#mynetworks_style = class
#mynetworks_style = subnet
mynetworks_style = host
#
#mynetworks = 168.100.189.0/28, 127.0.0.0/8
#mynetworks = $config_directory/mynetworks
#mynetworks = hash:/etc/postfix/network_table
#
#relay_domains = $mydestination
#
# INTERNET OR INTRANET
#
#relayhost = $mydomain
#relayhost = gateway.my.domain
#relayhost = uucphost
#relayhost = [an.ip.add.ress]
#
# REJECTING UNKNOWN LOCAL USERS
#
local_recipient_maps = $alias_maps unix:passwd.byname
#
# INPUT RATE CONTROL
#
#in_flow_delay = 1s
in_flow_delay = 0
#
# ADDRESS REWRITING
#
#alias_maps = dbm:/etc/aliases
#alias_maps = hash:/etc/aliases
#alias_maps = hash:/etc/aliases, nis:mail.aliases
#alias_maps = netinfo:/aliases
alias_maps = hash:/etc/aliases
#
#alias_database = dbm:/etc/aliases
#alias_database = dbm:/etc/mail/aliases
#alias_database = hash:/etc/aliases
#alias_database = hash:/etc/aliases, hash:/opt/majordomo/aliases
alias_database = hash:/etc/aliases
#
# ADDRESS EXTENSIONS (e.g., user+foo)
#
#recipient_delimiter = +
#
# DELIVERY TO MAILBOX
#
#home_mailbox = Mailbox
#home_mailbox = Maildir/
#
#mail_spool_directory = /var/mail
#mail_spool_directory = /var/spool/mail
mail_spool_directory = /var/mail
#
#mailbox_command = /some/where/procmail
#mailbox_command = /some/where/procmail -a "$EXTENSION"
#
#mailbox_transport = lmtp:unix:/file/name
#mailbox_transport = cyrus
#
#
#fallback_transport = lmtp:unix:/file/name
#fallback_transport = cyrus
#fallback_transport =
#
#luser_relay = $user@other.host
#luser_relay = $local@other.host
#luser_relay = admin+$local
#
# JUNK MAIL CONTROLS
#
# header_checks = regexp:/etc/postfix/header_checks
#
# FAST ETRN SERVICE
#
#fast_flush_domains = $relay_domains
#fast_flush_domains =
fast_flush_domains = $relay_domains
#
# SHOW SOFTWARE VERSION OR NOT
#
#smtpd_banner = $myhostname ESMTP $mail_name
#smtpd_banner = $myhostname ESMTP $mail_name ($mail_version)
smtpd_banner = $myhostname ESMTP $mail_name
#
# PARALLEL DELIVERY TO THE SAME DESTINATION
#
#local_destination_concurrency_limit = 2
#default_destination_concurrency_limit = 10
#
# DEBUGGING CONTROL
#
debug_peer_level = 2
#
#debug_peer_list = 127.0.0.1
#debug_peer_list = some.domain
#
debugger_command =
PATH=/usr/bin:/usr/X11R6/bin
xxgdb $daemon_directory/$process_name $process_id & sleep 5
#
# INSTALL-TIME CONFIGURATION INFORMATION
#
sendmail_path = /usr/sbin/sendmail
#
newaliases_path = /usr/bin/newaliases
#
mailq_path = /usr/bin/mailq
#
setgid_group = maildrop
#
manpage_directory = /usr/share/man
sample_directory = /usr/share/doc/packages/postfix/samples
readme_directory = /usr/share/doc/packages/postfix/README_FILES
#
#suseconfig:
canonical_maps = hash:/etc/postfix/canonical
virtual_maps = hash:/etc/postfix/virtual, hash:/etc/postfix/confixx_virtualUsers, hash:/etc/postfix/confixx_localDomains
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
#inet_interfaces = all
masquerade_domains = serverdomain.com
smtpd_sender_restrictions = hash:/etc/postfix/access
smtpd_client_restrictions =
strict_rfc821_envelopes = no
maps_rbl_domains = relays.ordb.org proxy.relays.osirusoft.com socks.relays.osirusoft.com
smtpd_recipient_restrictions = permit_sasl_authenticated, reject_unauth_destination, reject_maps_rbl
#SMTPD Auth
smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous
smtpd_sasl_local_domain = $myhostname
broken_sasl_auth_clients = yes
#TLS Support
smtpd_use_tls = yes
smtpd_enforce_tls = no
smtpd_tls_auth_only = yes
smtpd_tls_cert_file = /etc/postfix/cert.pem
smtpd_tls_key_file = /etc/postfix/key.pem
smtpd_tls_CAfile = /etc/postfix/cacert.pem
smtpd_tls_loglevel = 1
smtpd_tls_received_header = yes
smtpd_tls_session_cache_timeout = 3600s
tls_random_source = dev:/dev/urandom
Danke,
Karsten