[Postfixbuch-users] Weiterleitung von Mails

Peter Spiess p.spiess at ima-abele.de
Mo Sep 15 20:48:54 CEST 2003


Ralf Hildebrandt schrieb:

> postconf -n
> zeigen

Hier ist postconf -n:

alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
body_checks = regexp:/etc/postfix/body_checks.regexp
canonical_maps = hash:/etc/postfix/canonical
command_directory = /usr/sbin
config_directory = /etc/postfix
content_filter = smtp-amavis:[127.0.0.1]:10024
daemon_directory = /usr/lib/postfix
debug_peer_level = 2
defer_transports =
disable_dns_lookups = no
disable_vrfy_command = yes
header_checks = regexp:/etc/postfix/header_checks.regexp
mail_name = Postfix (IMA)
mail_owner = postfix
mail_spool_directory = /var/mail
mailq_path = /usr/bin/mailq
manpage_directory = /usr/local/man
masquerade_domains = ima-abele.de
masquerade_exceptions = root
maximal_queue_lifetime = 3d
message_size_limit = 30720000
mydestination = $myhostname	localhost.$mydomain	$mydomain	www.$mydomain 
regexp:/etc/postfix/mydomain.regexp
mydomain = ima-post.de
myhostname = postfix.ima-post.de
mynetworks = 127.0.0.0/8,	192.189.207.0/24
myorigin = $mydomain
newaliases_path = /usr/bin/newaliases
queue_directory = /var/spool/postfix
readme_directory = no
relay_domains = $mydestination, ima-abele.de
relayhost = pc32
relocated_maps = hash:/etc/postfix/relocated
sample_directory = /etc/postfix
sendmail_path = /usr/sbin/sendmail
setgid_group = postdrop
smtpd_banner = $myhostname ESMTP
smtpd_client_restrictions =
smtpd_helo_required = yes
smtpd_helo_restrictions =
smtpd_recipient_restrictions = permit_sasl_authenticated, 
reject_non_fqdn_sender,   reject_non_fqdn_recipient, 
reject_unknown_sender_domain,   reject_unknown_recipient_domain, 
permit_mynetworks,   reject_unauth_destination,   check_sender_access 
  hash:/etc/postfix/access,   check_recipient_access 
hash:/etc/postfix/recipient_checks,   reject_unauth_pipelining, 
reject_invalid_hostname,   reject_non_fqdn_hostname,   permit
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain = postfix
smtpd_sasl_security_options = noanonymous
smtpd_sender_restrictions =
strict_8bitmime = no
strict_8bitmime_body = no
strict_mime_encoding_domain = yes
strict_rfc821_envelopes = yes
transport_maps = hash:/etc/postfix/transport
unknown_address_reject_code = 554
unknown_client_reject_code = 554
unknown_hostname_reject_code = 554
unknown_local_recipient_reject_code = 554
virtual_gid_maps = mysql:/etc/postfix/ids.mysql
virtual_mailbox_base = /var/spool/maildirs
virtual_mailbox_maps = mysql:/etc/postfix/mailbox.mysql
virtual_minimum_uid = 5000
virtual_uid_maps = mysql:/etc/postfix/ids.mysql

In der mydomain.regexp steht:

#/.*\.ima-abele\.de/            OK

> Welche Domain traegst Du in die virtual-Datei ein?

ima-abele.de    xxxxx

josef.blah at ima-abele.de      p.spiess at web.de

Die letzte Zeile ist mein Testuser für eine Weiterleitung.

Servus
Peter




Mehr Informationen über die Mailingliste Postfixbuch-users