29 Sep
2010
29 Sep
'10
11:46 a.m.
* christian.flothmann@xabbuh.de christian.flothmann@xabbuh.de:
Hallo,
Wir mappen per virtual_alias_maps eine neue Domain auf die alte Domain um:
@neuedomain @altedomain
wobei du dabei auch aufpassen musst, da so alle E-Mails für alle Empfänger in neuedomain angenommen werden, auch wenn diese in altedomain gar nicht existieren:
Note: @domain is a wild-card. With this form, the Postfix SMTP server accepts mail for any recipient in domain, regardless of whether that recipient exists. This may turn your mail system into a backscatter source: Postfix first accepts mail for non-existent recipients and then tries to return that mail as "undeliverable" to the often forged sender address.
Es ist dann besser, die map für die eine Domain mit awk, sed oder so in die Map für die andere Domain umzuwandeln...
cat map.txt | sed "s/@alte.example/@neue.example/g" > map2.txt
--
Ralf Hildebrandt
Geschäftsbereich IT | Abteilung Netzwerk
Charité - Universitätsmedizin Berlin
Campus Benjamin Franklin
Hindenburgdamm 30 | D-12203 Berlin
Tel. +49 30 450 570 155 | Fax: +49 30 450 570 962
ralf.hildebrandt@charite.de | http://www.charite.de