Moin,
Ratti wrote:
...dann bastelt er sich für "here" Quatschdomains wie "localhost.ratti.local" bzw. "localhost.server.local"
[ Peter Wiersig
Passiert das auch, wenn du dort '"ratti@localhost" here'?
Das käme mir jetzt merkwürdig vor - "here" steht ja dafür, den lokalen host einzusetzen. Eine Mailadresse mit Domainangabe _und_ "here" widerspricht sich.
Und was passiert, wenn du an der Shell 'echo "Test" | mail ratti -s test' eingibst?
Die Mail geht raus an meinen Server, laut /v/l/maillog mit Empfänger "ratti@ratti.local" OK, das ist schonmal falsch. Ich habe jetzt meine Workstation so konfiguriert, daß "ratti.local" gleich lokal behalten wird. Das ist aber noch immer nicht der Wunschzustand. Gewollt ist, daß interne Mails alle "name@local" sind. Ich will da keinen Hostnamen drinhaben, meine eMails schicke ich ja auch im Internet i.d.R. an eine Domain, nicht an einen Host, also "name@firma.foo" und nicht "name@mail.firma.foo". (Das das dann natürlich wieder ein host ist, ist klar).
Ich nehme mal an, daß man das lösen _könnte_ mit der Option:
# The mydomain parameter specifies the local internet domain name. # The default is to use $myhostname minus the first component. # $mydomain is used as a default value for many other configuration # parameters. # #mydomain = domain.tld
...in der main.cf von postfix.
nenene: # The mydestination parameter specifies the list of domains that # this machine considers itself the final destination for. That # includes Sendmail-style virtual domains hosted on this machine.
klingt eher so, und wird auch von Yast befuellt.
Ne, das ist die Konfigurationsvariable für "lokale Zustellung". Da steht bei mir z.B. "localhost.server.local" drin, und diverse andere. Mails an diese Domains werden nicht an T-Online weitergeleitet, sondern lokal zugestellt. Mein Wunsch wäre es, daß dort nur "local" drinsteht. Das geht aber nicht, weil postfix auf der Workstation als Absender "localhost.ratti.local" einträgt, und das ist eben was anderes als "local", weswegen die Mails per Internet an T-Online ausgeliefert werden, wo sie dann sang- und klanglos verschwinden. Der Empfang von "xxx@local"-Mails ist nicht das Problem, das funktioniert prima. Es greift nur ins leere, solang postfix meint, "ratti@localhost.ratti.local" statt "ratti@local" als Absender eintragen zu müssen. Die Frage ist also: Wie kann ich per yast die Absenderdomain "local" erzwingen?
SuSE8.0 - ob's klappt weiss ich nicht, ich nehme immer sendmail.
Ich bin noch am Schwanken. So, wie es ist, ist es Mist, aber es läuft... ob ich deswegen nun extra sendmail wieder raushole...? Gruß, Ratti -- http://www.gesindel.de - Fontlinge - Die Fontverwaltung fuer Linux Fontmanagement for Linux