Is there any reason why Imail will try to deliver to the A record of a
domain if it fails to connect to the MX record?  Can you disable it?

Here is the situation.

You send an email from your email account [EMAIL PROTECTED] to say [EMAIL PROTECTED]

Imail receives the email and starts processing it.
SMTPD (01220154) [x.x.x.x] HELO info
SMTPD (01220154) [x.x.x.x] MAIL FROM: <[EMAIL PROTECTED]>
SMTPD (01220154) [x.x.x.x] RCPT TO: <[EMAIL PROTECTED]>
SMTP (1604) Trying joe.com (0)
SMTP (1604) MX connect fail "y.y.y.y"   (where y.y.y.y is the correct MX for
joe.com)

For some reason at this time Imail cannot connect to the MX ip for joe.com
so it tries the A record for joe.com.  The A record for joe.com which is the
webserver also happens to be running an SMTP server.  Probably so a script
on the website can deliver email forms and such.  The only problem is that
this server is going to reject the email that the Imail is trying to relay
through it beacuse of several things.

1.  The SMTP server that is running on the A record is most likely setup to
only send mail from the local machine.
2.  There is no joe.joe.com on the SMTP server at the A record address.

SMTP (1604) Connect joe.com [z.z.z.z:25] (2) (where z.z.z.z is the correct A
for joe.com)
SMTP (1604) 220-joe Microsoft SMTP MAIL ready
SMTP (1604) 220 ESMTP spoken here
SMTP (1604) >EHLO mail.info.com
SMTP (1604) 250-Hello [mail.info.com]
SMTP (1604) 250-AUTH=NTLM LOGIN
SMTP (1604) 250-SIZE 2097152
SMTP (1604) 250-PIPELINING
SMTP (1604) 250-8bitmime
SMTP (1604) 250-TURN
SMTP (1604) 250 TLS
SMTP (1604) >MAIL FROM:<[EMAIL PROTECTED]>
SMTP (1604) 250 [EMAIL PROTECTED] OK
SMTP (1604) >RCPT To:<[EMAIL PROTECTED]>
SMTP (1604) 550 Unable to relay for [EMAIL PROTECTED]
SMTP (1604) >QUIT
SMTP (1604) 221 Service closing transmission channel
SMTP (1604) Creating message from Postmaster
SMTP (1604) finished d:\IMail\spool\Qdba4154.SMD status=2

So what happens is instead of Imail just requeing the message it attempts
delivery to the wrong server.  The message gets bounced back to the sender
with the error "Unknown user: [EMAIL PROTECTED]".  If you try again later the
message goes through. This is if Imail can connect to the MX ip.

This only happens when Imail is unable to connect to the MX record and the A
record happens to have an SMTP server listing on port 25.

Some config settings for the Imail server
- My mail server is on public IP
- Only 1 Nic in the server
- Imail properties has the correct DNS ip in the settings
- DNS server is function properly  ( Imail does get the correct MX ip when
it looks up the domain)







Please visit http://www.ipswitch.com/support/mailing-lists.html 
to be removed from this list.

An Archive of this list is available at:
http://www.mail-archive.com/imail_forum%40list.ipswitch.com/

Reply via email to