In my experience, to relay mail for a domain you must add the ip address of
that domain to the relay for addresses
Only useful for relaying from that ip outbound to internet.

When an SMTP connection to Imail SMTPD server arrives from an ip in "relay for addreses", Imail SMTPD server doesn't care/look whether that ip is in hosts file. The ip is just another ip in "relay for addresses", simply no need to evaluate any other policy matches.

But, for inbound relaying, the policy situation is totally different:

1. The Imail SMTPD server, applying the incoming policies, looks in hosts file for exchange.domain to see whether to accept mail for this domain (as if it were an IMail local domain). If yes, SMTPD server then accepts/places the msg in the spool/ dir.

2. The Imail SMTP client (which doesn't apply any policies) picks up the msg from spool/ and resolves the @recipient.domain in this order:

a) local Imail domain?

b) in hosts file?

c) MX / A in DNS?

For relaying, b) applies (that is, no DNS looksup) and the message is sent to the ip in hosts file.

Len


To Unsubscribe: http://www.ipswitch.com/support/mailing-lists.html
List Archive: http://www.mail-archive.com/imail_forum%40list.ipswitch.com/
Knowledge Base/FAQ: http://www.ipswitch.com/support/IMail/


Reply via email to