[Postfixbuch-users] transport

Dieter Weiland dweiland at lancad.de
Mo Apr 16 21:52:18 CEST 2007


Hallo,

Postfix ist ohne pcre übersetzt.
postconf -n

alias_database = hash:/etc/aliases
alias_maps = hash:/etc/postfix/aliases
broken_sasl_auth_clients = yes
command_directory = /usr/sbin
config_directory = /etc/postfix
content_filter = smtp:localhost:10024
daemon_directory = /usr/libexec/postfix
debug_peer_level = 2
header_checks = regexp:/etc/postfix/header_checks
html_directory = no
inet_interfaces = all
mail_owner = postfix
mailq_path = /usr/bin/mailq.postfix
manpage_directory = /usr/share/man
mydestination = $myhostname, localhost.$mydomain, localhost, 
kolping-heidenheim.de
myhostname = mail1.kolping-nu.de
mynetworks = 127.0.0.0/8  217.91.40.10/32 10.1.0.0/16 80.81.24.20/32
newaliases_path = /usr/bin/newaliases.postfix
queue_directory = /var/spool/postfix
readme_directory = /usr/share/doc/postfix-2.1.5/README_FILES
relay_domains = kolping-nu.de
sample_directory = /usr/share/doc/postfix-2.1.5/samples
sendmail_path = /usr/sbin/sendmail.postfix
setgid_group = postdrop
smtpd_recipient_restrictions = check_recipient_access
hash:/etc/postfix/recipient_access, reject_non_fqdn_recipient,
reject_non_fqdn_sender, reject_unknown_sender_domain, permit_mynetworks,
permit_sasl_authenticated, reject_unauth_destination
smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous
transport_maps = hash:/etc/postfix/transport
unknown_local_recipient_reject_code = 550
virtual_alias_maps = hash:/etc/postfix/virtual

Habe versucht mit

/^.*\.abteilung at firmendomain/	smtp:[ip_exchange]

in /var/log/maillog steht

Apr 16 21:44:42 mail1 amavis[18620]: (18620-06) FWD via SMTP: 
<root at mail1.kolping-nu.de> -> <muellerm.camko at kolping-nu.de>, 554 5.6.0 
Failed, id=18620-06, from MTA([127.0.0.1]:10025): 554 Error: too many hops
Apr 16 21:44:42 mail1 amavis[18620]: (18620-06) Blocked CLEAN, 
[127.0.0.1] <root at mail1.kolping-nu.de> -> 
<muellerm.camko at kolping-nu.de>, Message-ID: 
<20070416194438.849B15C4001 at mail1.kolping-nu.de>, mail_id: df3m0ErH2cJM, 
Hits: -2.625, 364 ms
Apr 16 21:44:42 mail1 postfix/smtp[18615]: 823B65C4003: 
to=<muellerm.camko at kolping-nu.de>, relay=localhost[127.0.0.1], delay=0, 
status=bounced (host localhost[127.0.0.1] said: 554 5.6.0 Failed, 
id=18620-06, from MTA([127.0.0.1]:10025): 554 Error: too many hops (in 
reply to end of DATA command))

-- 
Mit freundlichem Gruß

Dieter Weiland


Ralf Hildebrandt schrieb:
> * Dieter Weiland <dweiland at lancad.de>:
>> Hallo,
>>
>> folgende Situation. Postfix auf einem Gateway Rechner vor einem 
>> Exchange. Alle Mails an die Firmendomain werden auf den Exchange 
>> weitergeleitet mit hilfe einer transport map. Nun soll ein zweiter 
>> exchange hinzukommen der nur für eine neue Abteilung zuständig ist. Der 
>> alte bleibt weiterhin bestehen und verwaltet die Postfächer 
>> vorname.nachname at firmendomain. Der neue soll aber die Postfächer 
>> login_name.abteilung at firmendomain verwalten. Alle Email Adressen des 
>> neuen haben den     Begriff "abteilung" drinnen. Habe in der transport 
>> von postfix so manches versucht, aber ohne Erfolg.
>> z.B.
>>
>> ^*.abteilung at firmendomain	smtp:[ip_exchange]
> 
> /^.*\.abteilung at firmendomain/	smtp:[ip_exchange]
> 
> postconf -n bitte
> 
> 



Mehr Informationen über die Mailingliste Postfixbuch-users