[Postfixbuch-users] Absenderadresse veraendern?

Sandy Drobic postfixbuch-users at japantest.homelinux.com
Sa Okt 7 11:58:47 CEST 2006


Alexander Skwar wrote:

> Hm. Ich habe aber eine FQDN: dph-edb.denue.europe.net. Nur das diese
> FQDN im Internet nicht auflösbar ist.

Puh, das ist ja schlimmer als meine Fantasiedomain "washu.lab". (^-^)
Wieso eine Domain für Mails verwenden, die nicht nur intern geroutet wird?

>> Diese sollte direkt auf dem Client geschehen, ansonsten 
>> nur könnte nur noch eine Umschreibung mit canonical oder generic geschehen.
> 
> Wie?
> 
> [11:29:32 vz6tml at dewup-ww02:/etc/postfix] $ cat /etc/postfix/smtp_generic_maps
> vz6tml at dph-edb.denue.europe.net      vz6tml.dph-edb at example.com

Okay, hast du auch "postmap /etc/postfix/smtp_generic_maps" ausgeführt?

Dann testen mit (eine Zeile):
postmap -q vz6tml at dph-edb.denue.europe.net \
hash:/etc/postfix/smtp_generic_maps



> [11:32:15 vz6tml at dewup-ww02:/etc/postfix] $ /usr/sbin/postconf | grep smtp_gen
> smtp_generic_maps = hash:/etc/postfix/smtp_generic_maps
> 
> Nun sende ich eine Mail von Client mit From: vz6tml at dph-edb.denue.europe.net.
> Im syslog auf Relay1 finde ich:
> 
> ==> ./mail.log <==
> Oct  7 11:32:50 dewup-ww02 postfix/smtpd[3794]: connect from dph-edb.denue.europe.net[10.238.216.3]
> Oct  7 11:32:50 dewup-ww02 postfix/smtpd[3794]: E4080478: client=dph-edb.denue.europe.net[10.238.216.3]
> Oct  7 11:32:50 dewup-ww02 postfix/cleanup[3797]: E4080478: message-id=<20061007093113.GA26530 at dph-edb.denue.europe.net>
> Oct  7 11:32:50 dewup-ww02 postfix/smtpd[3794]: disconnect from dph-edb.denue.europe.net[10.238.216.3]
> Oct  7 11:32:50 dewup-ww02 postfix/qmgr[1915]: E4080478: from=<vz6tml at dph-edb.denue.europe.net>, size=810, nrcpt=1 (queue active)
> Oct  7 11:32:52 dewup-ww02 postfix/smtp[3799]: E4080478: to=<alexander at skwar.name>, relay=mail.do.com[xxx.xxx.xxx.xxx]:25, delay=1.2, delays=0.04/0/0.58/0.55, dsn=2.0.0, status=sent (250 USINKOK-MX05.NorthAmerica.net: Message accepted for delivery)
> Oct  7 11:32:52 dewup-ww02 postfix/qmgr[1915]: E4080478: removed
> 
> Habe ich das falsch gemacht? Wenn ja, wie macht man's richtig?

Was zeigt denn "postconf -n| grep generic" an?

Sandy

-- 
Antworten bitte nur in die Mailingliste!
PMs bitte an: news-reply2 (@) japantest (.) homelinux (.) com




Mehr Informationen über die Mailingliste Postfixbuch-users