pixel
13.12.04, 13:09
Hallo zusammen,
ich habe zwei Probleme mit postfix. Zum einen leitet der Server Mails die für interne User bestimmt sind über den Server des ISP's zum zweiten werden Mails, welche an mehere interne User addressiert sind, nur an den ersten Empfänger ausgeliefert. Ich denke mal das sich mein Fehler bei der Konfiguration von Maquerading, Alias und/oder virtuelle Domains reduzieren läßt. Ich habe in diesen Konfiguration auch schon ziemlich viele Konfigurations-Varianten ausprobiert aber leider hat keine funktioniert.
Zunächst mal meine 'main.cf'
queue_directory = /var/spool/postfix
command_directory = /usr/sbin
daemon_directory = /usr/lib/postfix
mail_owner = postfix
unknown_local_recipient_reject_code = 450
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
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
mail_spool_directory = /var/mail
canonical_maps = hash:/etc/postfix/canonical
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 = com.softwareschmied
program_directory = /usr/lib/postfix
inet_interfaces = all
masquerade_domains = externedomain.de, externedomain.de
mydestination = $myhostname,localhost.$mydomain,$mydomain
defer_transports =
disable_dns_lookups = no
relayhost = externedomain.de
content_filter =
mailbox_command =
mailbox_transport = lmtp:unix:/var/lib/imap/socket/lmtp
smtpd_sender_restrictions = hash:/etc/postfix/access
smtpd_client_restrictions =
smtpd_helo_required = no
smtpd_helo_restrictions =
strict_rfc821_envelopes = no
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
alias_maps = hash:/etc/aliases
mailbox_size_limit = 0
message_size_limit = 10240000
smtp_sasl_security_options =
smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
# AntiVir MailGate
content_filter = smtp:127.0.0.1:10024
Die Datei 'virtual' enthält:
sven@hostname.internedomain sven.gehr@externedomain.de
markus@hostname.internedomain markus.buch@externedomain.de
Die Datei sender_canonical:
markus markus.buch@externedomain.de
sven sven.gehr@externedomain.de
Die Dateien 'canonical', 'relocated' und 'transport' sind leer. Kann mir jemand sagen wo das Problem liegt?
Viele Grüße
pixel
ich habe zwei Probleme mit postfix. Zum einen leitet der Server Mails die für interne User bestimmt sind über den Server des ISP's zum zweiten werden Mails, welche an mehere interne User addressiert sind, nur an den ersten Empfänger ausgeliefert. Ich denke mal das sich mein Fehler bei der Konfiguration von Maquerading, Alias und/oder virtuelle Domains reduzieren läßt. Ich habe in diesen Konfiguration auch schon ziemlich viele Konfigurations-Varianten ausprobiert aber leider hat keine funktioniert.
Zunächst mal meine 'main.cf'
queue_directory = /var/spool/postfix
command_directory = /usr/sbin
daemon_directory = /usr/lib/postfix
mail_owner = postfix
unknown_local_recipient_reject_code = 450
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
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
mail_spool_directory = /var/mail
canonical_maps = hash:/etc/postfix/canonical
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 = com.softwareschmied
program_directory = /usr/lib/postfix
inet_interfaces = all
masquerade_domains = externedomain.de, externedomain.de
mydestination = $myhostname,localhost.$mydomain,$mydomain
defer_transports =
disable_dns_lookups = no
relayhost = externedomain.de
content_filter =
mailbox_command =
mailbox_transport = lmtp:unix:/var/lib/imap/socket/lmtp
smtpd_sender_restrictions = hash:/etc/postfix/access
smtpd_client_restrictions =
smtpd_helo_required = no
smtpd_helo_restrictions =
strict_rfc821_envelopes = no
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
alias_maps = hash:/etc/aliases
mailbox_size_limit = 0
message_size_limit = 10240000
smtp_sasl_security_options =
smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
# AntiVir MailGate
content_filter = smtp:127.0.0.1:10024
Die Datei 'virtual' enthält:
sven@hostname.internedomain sven.gehr@externedomain.de
markus@hostname.internedomain markus.buch@externedomain.de
Die Datei sender_canonical:
markus markus.buch@externedomain.de
sven sven.gehr@externedomain.de
Die Dateien 'canonical', 'relocated' und 'transport' sind leer. Kann mir jemand sagen wo das Problem liegt?
Viele Grüße
pixel