I can see from SMTP logs that some mail is being rejected
OutboundConnectionResponse SMTPSVC1 Sxxx - 25 - - 504+:+Helo+command+rejected:+need+fully-qualified+hostname 0 0 69 0 47 SMTP
In IIS6 > SMTP > Delivery > Advanced
I can see that the FQDN is set to the server name 'Sxxx'
This server hosts lots of different websites on different domains so I am not sure what this FQDN actually refers to? The server has no domain name of it's own, just IP addresses. The websites all have different domain names, so which one to choose.
As SMTP (AFAIK) just shunts out messages it has no real 'identity' itself: it's just given an email, looks at the recipient domain, finds the associated mx record and server and tries to pass the file/email to that server. Is my understanding here correct? If so, what should I do to provide a FQDN.
EDIT: just realised that the websites that send emails specify an actual external mail server, not localhost, so presumably they connect to the local SMTP service which passes the mail onto the specified external mail server (or does it bypass the local SMTP server completely and connect directly to the external mail server?) and it is that which actually sends the mail to the recipient (I'm missing some fundamental concepts here, I know) - so maybe the SMTP FQDN should be that of the external mail server?
If