do not require smtp authentication for a specific domain using hMail server
- by toryan
One of my clients has a needlessly complex e-mail setup for a couple of domains, which is causing problems when they try to send e-mail between them.
They have a couple of domains where mail follows a slightly weird path:
Users connect to an Exchange server to send e-mail
The exchange server relays the message to an ISP-owned SMTP server as a smart host
The ISPs server delivers the mail to the mail exchanger specified in DNS
The mail exchanger is another server that runs hMailServer
The Exchange server connects to the hMail server via POP3 and retrieves the messages.
The problem arises when they send mail between addresses in the same domain, or two addresses that are present on the hMail server. hMail requires SMTP authentication when sending from local to local addresses, so the messages don't arrive.
Removing SMTP authentication isn't really an option, as the server has been the target of spam being sent from spoofed local addresses. SMTP authentication prevents this. It is possible to add the ISP's mail server as an IP range with specific rules, but this seems inelegant.
Bearing in mind I only have access to the hMail server and not the Exchange server, is there a better way of going about this?