relaying to exchange issues

Discuss installation of Scalix software

Moderators: ScalixSupport, admin

jasonv

relaying to exchange issues

Postby jasonv » Thu Mar 02, 2006 9:34 pm

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.

ScalixSupport
Scalix
Scalix
Posts: 5503
Joined: Thu Mar 25, 2004 8:15 pm

Postby ScalixSupport » Fri Mar 03, 2006 11:51 am

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

jasonv

Postby jasonv » Fri Mar 03, 2006 2:30 pm

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?

florian
Scalix
Scalix
Posts: 3852
Joined: Fri Dec 24, 2004 8:16 am
Location: Frankfurt, Germany
Contact:

Postby florian » Sat Mar 04, 2006 2:05 pm

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.
Florian von Kurnatowski, Die Harder!

jasonv

Postby jasonv » Tue Mar 07, 2006 1:17 pm

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.


Return to “Installation”



Who is online

Users browsing this forum: No registered users and 10 guests