Could not reconnect to smtp server

Discuss the Scalix Server software

Moderators: ScalixSupport, admin

winux
Posts: 23
Joined: Thu Dec 01, 2005 3:53 pm

Could not reconnect to smtp server

Postby winux » Tue Feb 07, 2006 2:49 pm

Each time I attempt to send an email to an outside address, I receive the following error:

Could not reconnect to smtp server

Very new to Scalix, and would like the easiest way to set this server up as a tester so that we may move away from our external email hosters....

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

Postby ScalixSupport » Tue Feb 07, 2006 3:18 pm

Can you give me some more details ? Where are you seeing this error ?

Cheers

Dave

winux
Posts: 23
Joined: Thu Dec 01, 2005 3:53 pm

Postby winux » Tue Feb 07, 2006 3:22 pm

Seeing the error in the web access. As soon as I try to send the email, that's when the message pops up.
Sending from the sxadmin account.
Sending to a gmail address.

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

Postby ScalixSupport » Tue Feb 07, 2006 3:44 pm

Can you check /etc/opt/scalix/webmail/partner.xml and ensure that the smtpServer value is correct. You will need to restart Tomcat if you have to make any changes.

If this is OK, check /var/opt/scalix/sys/smtpd.cfg and the RELAY accept lines there. If you just have a .domain.com entry but you have not got reverse DNS configured, submitting mail to the outside world will be prevented.
In that case, you need to add a line, above the RELAY reject entry, that includes the IP address of your server.
You will need to restart the SMTP Relay with

Code: Select all

omoff -d 0 smtpd
omon smtpd


Cheers

Dave

winux
Posts: 23
Joined: Thu Dec 01, 2005 3:53 pm

Postby winux » Tue Feb 07, 2006 6:16 pm

Here are my config files....

smtpd.cfg

Code: Select all

RELAY accept 10.0.0.26
RELAY accept .mail
RELAY Log_Reject ALL

LISTEN_PORT=587


partner.xml

Code: Select all

<email domain="mail" imapServer="mail" smtpServer="mail.trittonus.com" userNameIncludesDomain="false"/>


hosts

Code: Select all

10.0.0.26        mail.trittonus.com mail


Server is Suse 9.3
Freshest install.

computer hostname is mail, domain is trittonus.com

Note: ISP does block port 25, which is why I setup the Listen_Port in the smtpd.cfg file.
However, I am testing this all internally.

If I wanted to use a different SMTP server for all incoming and outgoing mail for Scalix, would it be possible/easier?

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

Postby ScalixSupport » Tue Feb 07, 2006 6:19 pm

Your problem is that you have configured the SMTP Relay to listen on port 587 but not told SWA that it needs to connect on that port.

Change smtpServer="mail.trittonus.com" to be smtpServer="mail.trittonus.com:587" and restart tomcat.

However, looking at your smtpd.cfg setup, you should also add the IP address of your SWA server as one of the RELAY accept lines and restart the SMTP Relay.

Cheers

Dave.


Return to “Scalix Server”



Who is online

Users browsing this forum: No registered users and 14 guests

cron