Hallo! On Die, Mär 04, 2003 at 11:21:11 +0100, Olaf König wrote:
Olaf König <koenig.o@web.de> wrote:
ich habe bereits den Hinweis bekommen, dass man in /etc/postfix/transport für mehrere User unterschiedliche Mail-Ausgangsserver festlegen kann. Ich habe verschiedene Eintragungen ausprobiert, komme aber zu keinem positiven Ergebnis.
Ich habe keine Ahnung von Postfix, aber ich frage mich wo liegt dabei nun der Sinn? Beide User gehen doch über eine (die gleiche?) Internetverbindung online.
Das ist richtig, da liegt aber wohl auch das Problem. Die Einwahl erfolgt grundsätzlich über t-online mit User 1, weil User 2 + 3 keine Berechtigung für eine Interneteinwahl haben. In dieser Situation bleibt IMHO nur die Möglichkeit mit eimem MTA wie POSTFIX zu arbeiten. Das Problem liegt nicht darin, dass t-online die E-Mails von einem gmx-User nicht weiterleitet, sondern das die Absenderadresse nicht stimmt - also das Umschreiben der localen Adresse auf User2@gmx.net nicht funktioniert.
Das Umschreiben der lokalen Adresse von user2@gmx.de funzt wahrscheinlich, nur schreibt mailto.t-online.de AFAIK die gmx-Adresse wieder in die t-online-Adresse um. Du hast 2 Möglichkeiten das zu verhindern: 1. Melde dich für den smtprelay von t-online an..., was leider ab diesem Monat nicht mehr kostenlos ist :-(. Damit könntest du egal mit welcher Adresse über diesen Server deine Mails verschicken. 2. Passe deine /etc/postfix/master an, hast du ja schon versucht. Ein Beispieleintrag könnte so aussehen: # Alle Mails von Usern mit t-online in der adresse werden über den # t-online-Server verschickt t-online.de smtp:mailto.t-online.de # Alle Mails von Usern mit gmx.de in der Adresse gehen an den gmx-Server gmx.de smtp:mail.gmx.net Ich hoffe das funzt so. Vorraussetzung dafür ist, dass deine lokalen Adressen bereits in die externen ADressen umgeschrieben wurden, keine Ahnung ob das Postfix bis dahin schon gemacht hat. Wenn nicht, dann musst du auf der linken Seite mit den lokalen E-Mail-Adressen arbeiten: user1@localhost.domain smtp:mailto.t-online.de user2@localhost.domain smtp:mail.gmx.net Nachdem du /etc/postfix/transport geändert hast, bringst du die Datei noch ins db-Format: postmap /etc/postfix/transport Anschließend stell ein rcpostfix reload sicher, dass alle neuen Einstellungen übernommen wurden. Ich hoffe, es klappt so!
Olaf
Gruss, Schöpp -- Christian Schoepplein | Beste Rockband der Welt: http://www.lily-rockt.de mail@schoeppi.net | Linux fuer Blinde: http://www.blinux.suse.de