# postfix main.cf (/etc/postfix/main.cf)
# works with gmx and smtp
mail_owner = postfix
unknown_local_recipient_reject_code = 550
inet_protocols = all
biff = no
# paths
queue_directory = /var/spool/postfix
command_directory = /usr/sbin
daemon_directory = /usr/lib/postfix
mailq_path = /usr/bin/mailq
mail_spool_directory = /var/mail
newaliases_path = /usr/bin/newaliases
sendmail_path = /usr/sbin/sendmail
program_directory = /usr/lib/postfix
# debug
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
# canonical
canonical_maps = hash:/etc/postfix/canonical
sender_canonical_maps = hash:/etc/postfix/sender_canonical
# host
relayhost = smtp.gmx.net
myhostname = localhost
mydestination = $myhostname,localhost.$mydomain,$mydomain
mynetworks = 127.0.0.0/8
masquerade_exceptions = root
masquerade_classes = envelope_sender, header_sender, header_recipient
masquerade_domains =
inet_interfaces = loopback-only
defer_transports =
disable_dns_lookups = no
mailbox_command = procmail -a "$EXTENSION"
mailbox_transport =
mailbox_size_limit = 51200000
#smtp
smtpd_sender_restrictions = hash:/etc/postfix/access
smtpd_client_restrictions =
smtpd_helo_required = no
smtpd_helo_restrictions =
smtpd_recipient_restrictions = permit_mynetworks,reject_unauth_destination
smtp_sasl_auth_enable = yes
smtpd_sasl_auth_enable = no
smtpd_use_tls = no
smtp_use_tls = no
smtp_sasl_security_options =
smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
alias_maps = hash:/etc/aliases
message_size_limit = 10240000
recipient_delimiter = +
strict_rfc821_envelopes = no