[root@CSTQ003 mail]# mail -v [foo]@hotmail.com
Subject: mail test
mail test
EOT
[foo]@hotmail.com... Connecting to [127.0.0.1] via relay...
220 sub.hostdomein.nl ESMTP Sendmail 8.14.4/8.14.4; Thu, 17 Oct 2013 13:07:57 +0200
>>> EHLO sub.hostdomein.nl
250-sub.hostdomein.nl Hello localhost [127.0.0.1], pleased to meet you
250-ENHANCEDSTATUSCODES
250-PIPELINING
250-8BITMIME
250-SIZE
250-DSN
250-ETRN
250-AUTH GSSAPI
250-DELIVERBY
250 HELP
>>> MAIL From:<root@sub.hostdomein.nl> SIZE=225 AUTH=root@sub.hostdomein.nl
250 2.1.0 <root@sub.hostdomein.nl>... Sender ok
>>> RCPT To:<[foo]@hotmail.com>
>>> DATA
250 2.1.5 <[foo]@hotmail.com>... Recipient ok
354 Enter mail, end with "." on a line by itself
>>> .
250 2.0.0 r9HB7vkt023054 Message accepted for delivery
[foo]@hotmail.com... Sent (r9HB7vkt023054 Message accepted for delivery)
Closing connection to [127.0.0.1]
>>> QUIT
221 2.0.0 sub.hostdomein.nl closing connection
mail komt terug met het bericht; Relay access denied, error: 554 5.7.1
===
Het gaat om een Centos 6.4 VPS server met sendmail
in /etc/hosts staat:
127.0.0.1 localhost
ser.ver.ip.adres sub.hostdomein.nl
in /etc/hostname staat:
sub.hostdomein.nl
M4 config is een regel gezet SMART_HOSTS verwijzend naar smtp.provider.nl
Ik heb het idee dat ondanks de M4 verwijzing hij geen verbinding maar met de smtp.provider.nl
en derhalve de headers onvoldoende zijn.

Likes:


Quote