Page 1 of 1

Could not reconnect to smtp server

Posted: Tue Feb 07, 2006 2:49 pm
by winux
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....

Posted: Tue Feb 07, 2006 3:18 pm
by ScalixSupport
Can you give me some more details ? Where are you seeing this error ?

Cheers

Dave

Posted: Tue Feb 07, 2006 3:22 pm
by winux
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.

Posted: Tue Feb 07, 2006 3:44 pm
by ScalixSupport
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

Posted: Tue Feb 07, 2006 6:16 pm
by winux
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?

Posted: Tue Feb 07, 2006 6:19 pm
by ScalixSupport
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.