On Friday 20 June 2003 15:50, Andreas Winkelmann wrote:
Wenn ich mit dem Programm mail ein lokales email an irgendeinen
Benutzer schreibe, so funktioniert das problemlos. Schicke ich
es an einen anderen Rechner, finde ich nichts in
/var/spool/mail
Die main.cf wurde so editiert
mydestination = $myhostname, localhost.$mydomain $mydomain
test@client3:~> mail -v test@client3.local
oder nur
mail -v test funktioniert
test@client3:~> mail -v test@client2.local
bringt zwar keine Fehlermeldung, aber ich sehe nichts in
/var/spool/mail
Auf beiden Clients gibt es den User test
Was sagt denn /var/log/mail zu dem Versuch ?
Danke für den Tipp.
mydestination = $myhostname, localhost.$mydomain, $mydomain
Jun 20 16:32:21 client3 postfix/pickup[2486]: 2FB3514F9B: uid=502
from=<test>
Jun 20 16:32:21 client3 postfix/cleanup[2496]: 2FB3514F9B:
message-id=<3EF31AF5.mail1XS1D3O13@client3.local>
Jun 20 16:32:21 client3 postfix/qmgr[2487]: 2FB3514F9B:
from=, size=410, nrcpt=1 (queue active)
Jun 20 16:32:21 client3 amavis[2517]: starting. amavis 0.3.12pre8
Mon Mar 17 18:52:54 UTC 2003
Jun 20 16:32:22 client3 postfix/smtpd[2494]: connect from
localhost[127.0.0.1]
Jun 20 16:32:22 client3 postfix/smtpd[2494]: 17B5E14F9D:
client=localhost[127.0.0.1]
Jun 20 16:32:22 client3 postfix/cleanup[2496]: 17B5E14F9D:
message-id=<3EF31AF5.mail1XS1D3O13@client3.local>
Jun 20 16:32:22 client3 postfix/qmgr[2487]: 17B5E14F9D:
from=, size=620, nrcpt=1 (queue active)
Jun 20 16:32:22 client3 postfix/smtpd[2494]: disconnect from
localhost[127.0.0.1]
Jun 20 16:32:22 client3 postfix/pipe[2490]: 2FB3514F9B:
to=, relay=vscan, delay=1, status=sent
(client3.local)
Jun 20 16:32:22 client3 postfix/qmgr[2487]: 17B5E14F9D:
to=, relay=none, delay=0, status=deferred
(deferred transport)
Warum deferred/zurückgestellt?
Ändere ich auf
mydestination = $myhostname, localhost.$mydomain, $mydomain
client2.local
Dann wird ein (neues) mail an den user test (test@client3.local) auf
client3 zugestellt, obwohl als Empfänger test@client2.local
angegeben ist.
Jun 20 16:35:09 client3 postfix/postfix-script: refreshing the
Postfix mail system
Jun 20 16:35:09 client3 postfix/master[1418]: reload configuration
Jun 20 16:35:37 client3 postfix/pickup[2530]: C180914F9B: uid=502
from=<test>
Jun 20 16:35:37 client3 postfix/cleanup[2536]: C180914F9B:
message-id=<3EF31BB9.mail1YD1EKX7U@client3.local>
Jun 20 16:35:37 client3 postfix/qmgr[2531]: C180914F9B:
from=, size=412, nrcpt=1 (queue active)
Jun 20 16:35:38 client3 amavis[2541]: starting. amavis 0.3.12pre8
Mon Mar 17 18:52:54 UTC 2003
Jun 20 16:35:38 client3 postfix/smtpd[2544]: connect from
localhost[127.0.0.1]
Jun 20 16:35:38 client3 postfix/smtpd[2544]: AE0E214F9E:
client=localhost[127.0.0.1]
Jun 20 16:35:38 client3 postfix/cleanup[2536]: AE0E214F9E:
message-id=<3EF31BB9.mail1YD1EKX7U@client3.local>
Jun 20 16:35:38 client3 postfix/qmgr[2531]: AE0E214F9E:
from=, size=622, nrcpt=1 (queue active)
Jun 20 16:35:38 client3 postfix/smtpd[2544]: disconnect from
localhost[127.0.0.1]
Jun 20 16:35:38 client3 postfix/pipe[2540]: C180914F9B:
to=, relay=vscan, delay=1, status=sent
(client3.local)
Jun 20 16:35:38 client3 postfix/local[2546]: AE0E214F9E:
to=, relay=local, delay=0, status=sent
(mailbox)
Al