
No puedo sendmail
trabajar con un archivo de entrada.
Esto funciona bien:
echo "Subject: sendmail test" | sendmail -v [email protected]
Sin embargo, si tengo un archivo:
To: [email protected]
Subject: sendmail test two
From: [email protected]
And here goes the e-mail body, test test test
and new line
Y luego hago que sendmail -t < mail.txt
el programa se cuelgue. En modo detallado solo dice:
250 2.1.5 <[email protected]>... Recipient ok
354 Enter mail, end with "." on a line by itself
Lo termino con un dot
, no pasa nada. Simplemente permanece. Si no hago nada al cabo de un rato me dice:
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]
¿Algunas ideas?