
Ich kann sendmail
mit einer Eingabedatei nicht arbeiten.
Das funktioniert gut:
echo "Subject: sendmail test" | sendmail -v [email protected]
Wenn ich jedoch eine Datei habe:
To: [email protected]
Subject: sendmail test two
From: [email protected]
And here goes the e-mail body, test test test
and new line
Und dann bleibt sendmail -t < mail.txt
das Programm hängen. Im ausführlichen Modus sagt es nur:
250 2.1.5 <[email protected]>... Recipient ok
354 Enter mail, end with "." on a line by itself
Ich beende es mit einem dot
, nichts passiert. Es bleibt einfach stehen. Wenn ich nichts tue, steht nach einer Weile:
myserver.com: Name server timeout
[email protected]... Deferred: Name server: [127.0.0.1]: host
name lookup failure
Closing connection to [127.0.0.1]
Irgendwelche Ideen?