PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : Postfix: erst aliases, dann transport, wie?



marcdevil
17.08.05, 13:41
hi

postfix soll erst die alias_map benutzen, um die aliase wie info@bla.org an den jeweiligen nutzer zu schicken:
info: foo@bla.org,blub@bla.org

allerdings schickt postfix die mail an info ohne umschweife sofort an den internen Mailserver :(
in der transportmap steht
bla.org smtp:[192.168.0.99]

wie löse ich das Problem?

Hitman
17.08.05, 14:14
Den Befehl "newaliases" nach Änderung der Alias-Datei ausgeführt?

marcdevil
17.08.05, 14:16
ja, habe ich.

meine main.cf


command_directory = /usr/sbin
daemon_directory = /usr/lib/postfix
program_directory = /usr/lib/postfix

inet_interfaces = 192.168.0.1

smtpd_banner = $myhostname ready
setgid_group = postdrop
biff = no

append_dot_mydomain = yes
myorigin = /etc/mailname
myhostname = mail.bla.org
mydestination = $myorigin, $myhostname, localhost, localhost.localdomain

relayhost =
relay_domains = bla.org

disable_vrfy_command = yes
smtpd_helo_required = yes
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain =
broken_sasl_auth_clients = yes
smtpd_sasl_security_options = noanonymous

mynetworks = 192.168.0.0/24
mailbox_command =
mailbox_size_limit = 0
recipient_delimiter = +
message_size_limit = 26214400
disable_dns_lookups = no

transport_maps = hash:/etc/postfix/transport

virtual_maps= hash:/etc/postfix/virtual

smtpd_helo_restrictions =
permit_mynetworks,
permit_sasl_authenticated,
check_helo_access hash:/etc/postfix/access_helo,
check_sender_access hash:/etc/postfix/access_sender,
check_client_access hash:/etc/postfix/access_client,
check_sender_access pcre:/etc/postfix/access_sender.pcre,
reject_invalid_hostname
smtpd_sender_restrictions =
permit_mynetworks,
permit_sasl_authenticated,
reject_unauth_destination,
check_client_access hash:/etc/postfix/access_client,
check_sender_access hash:/etc/postfix/access_sender,
check_sender_access pcre:/etc/postfix/access_sender.pcre,
reject_non_fqdn_sender,
reject_unknown_sender_domain,
permit
smtpd_recipient_restrictions =
permit_mynetworks,
permit_sasl_authenticated,
reject_unauth_destination,
check_recipient_access hash:/etc/postfix/access_recipient,
check_recipient_access pcre:/etc/postfix/access_recipient.pcre
smtpd_data_restrictions =
reject_unauth_pipelining,
permit
header_checks =
pcre:/etc/postfix/access_body.pcre
body_checks =
pcre:/etc/postfix/access_body.pcre

smtp_use_tls = yes
smtpd_use_tls = yes
smtpd_tls_key_file = /etc/postfix/ssl/smtpd.pem
smtpd_tls_cert_file = /etc/postfix/ssl/smtpd.pem
smtpd_tls_CAfile = /etc/postfix/ssl/smtpd.pem
smtpd_tls_loglevel = 1
smtpd_tls_received_header = yes
smtpd_tls_session_cache_timeout = 3600s
tls_random_source = dev:/dev/urandom

notify_classes = bounce, delay, policy, protocol, resource, software
bounce_notice_recipient = postmaster
2bounce_notice_recipient = postmaster
bounce_size_limit = 50000

Hitman
17.08.05, 21:22
Sollte "relay_domains" nicht leer sein?