ok, did some more tests now as suggested by other people, maybe this helps:
Code:
# sendmail -v -d8 -d38 validemail@validdomain.com
dsfsdfs
.
validemail@validdomain.com... Connecting to [127.0.0.1] port 587 via relay...
validemail@validdomain.com... Deferred: Connection refused by [127.0.0.1]
so there is the error again, on the other side:
Code:
# telnet 127.0.0.1 25
Trying 127.0.0.1...
Connected to 127.0.0.1.
Escape character is '^]'.
220 "myserver" ESMTP Sendmail 8.13.4/8.13.4/Debian-3sarge1; Sat, 23 Dec 2006 23:24:50 +0100; (No UCE/UBE) logging access from: localhost(OK)-localhost [127.0.0.1]
helo test
250 "myserver" Hello localhost [127.0.0.1], pleased to meet you
mail from: validemail@validdomain.com
250 2.1.0 validemail@validdomain.com... Sender ok
rcpt to: anothervalidemail@differentvaliddomain.com
250 2.1.5 anothervalidemail@differentvaliddomain.com... Recipient ok
data
354 Enter mail, end with "." on a line by itself
test message
.
250 2.0.0 kBNMOoZu004585 Message accepted for delivery
quit
221 2.0.0 myserver closing connection
Connection closed by foreign host.
this last one reached the email address fine, so via telnet it's working, via smtp it's working, just via sendmail directly & php not, this is very strange to me
