>Recently, we switched from sendmail to Imail, and I can't seem to figure out
>how to tell Imail that it's ok to relay for a given domain.
This is extremely well documented in the Imail6 user doc .pdf. No need to
look in the KB.
>Searching the knowledgebase tells me that I should make an entry in the
>windows hosts file. This is not acceptable. I need our mail server to be
>secondary MX for dozens of domains, posisbly hundreds.
The NT hosts record is to tell Imail which domains to accept relay mail
for, AFTER you have also set in SMTPSecurity:Relay:Relay for Addresses to
include the ip addresses of mail servers Imail will relay for.
>I can not see myself or anyone else editing the hosts file every time one
>of our customers
>decides to move their mail to another IP.
Well, there's way around this. Imail, and any mail server I've studied,
must be told exlicitly and precisely what domains + ip's to relay for.
>Is there a simple, sane solution to this?
Absolutely, You can get around this by running Imail as an
open-relay. 10's of 1000's of mail servers run open-relay so why not yours?
>I can give Imail a list of IPs to relay for, why not a list of domains?
Simple: security. Imail will only accept mail for relay if the recipient
domain "RCPT TO:" is in NT hosts file, but that's not sufficient. The ip
address is required so Imail knows where to send the mail without doing a
DNS lookup (NT hosts file is queried before DNS is queried)
For clients who do not have always-on connections and use SMTP ETRN to pick
up their mail from Imail, the (unspoofed) ip address the issue ETRN from
must match the ip address in NT hosts, or Imail won't relay/deliver. There
is no other authentification with ETRN.
Len
Please visit http://www.ipswitch.com/support/mailing-lists.html
to be removed from this list.