Page 1 of 1

relaying to exchange issues

Posted: Thu Mar 02, 2006 9:34 pm
by jasonv
hi.. i've googled this to no avail:

got an exchange server for a domain. want to be testing scalix as a replacement. set scalix up on its own machine, everything works fine. it can send/receive to and from anyone, except for the exchange server. any mail directed to that address (me@foo.com) from scalix (me@scalix.foo.com) gets bounced by exchange:

The original message was received at Tue, 28 Feb 2006 16:27:30 -0800
from localhost.localdomain [127.0.0.1]

----- The following addresses had permanent fatal errors -----
<me@foo.com>
(reason: 550 5.7.1 Unable to relay for me@foo.com)

----- Transcript of session follows -----
... while talking to foo.com.:
>>> DATA
<<< 550 5.7.1 Unable to relay for me@foo.com
550 5.1.1 <me@foo.com>... User unknown
<<< 554 5.5.2 No valid recipients



I added scalix.foo.com as a relay in exchange, but now i'm wondering if this is a local problem? As far as the scalix machine goes, getting mail to/from yahoo.com or other is no problem.

Thanks.

Posted: Fri Mar 03, 2006 11:51 am
by ScalixSupport
From the Scalix server, telnet to port 25 on your Exchange server and type the following:

Code: Select all

HELO localhost
MAIL FROM: me@scalix.foo.com
RCPT TO: me@foo.com
DATA
Subject: Hello

This is a test
.
QUIT


If at any point the Exchange server comes back with an error, the problem is on the Exchange side.

From the look of the non-delivery you posted, the Exchange server doesn't know who me@foo.com is.

Cheers

Dave

Posted: Fri Mar 03, 2006 2:30 pm
by jasonv
Thanks.
I did that, received no errors.

The exchange server IS the mail server for me@foo.com...

So this could be a problem on the Scalix side?

Posted: Sat Mar 04, 2006 2:05 pm
by florian
Looking at

... while talking to foo.com.:
>>> DATA
<<< 550 5.7.1 Unable to relay for me@foo.com
550 5.1.1 <me@foo.com>... User unknown
<<< 554 5.5.2 No valid recipients


Are you sure scalix is talking to the right machine? please post the last 20 lines of your /var/log/mail when you try to send such a message.

Maybe your DNS setup is not right, your scalix box is actually talking to your external mail relay or so and what you need is a mailertable entry on the scalix side.

-- f.

Posted: Tue Mar 07, 2006 1:17 pm
by jasonv
actually, fixing the mailertable seems to have fixed things (also, pointing the machine to external DNS instead of internal helped, too...).

the last issue I seem to have is it takes about 15 minutes for mail to arrive from scalix to exchange, whereas email from scalix to yahoo is instant...?

EDIT: there's no delay now... my mistake. thanks for your help.