failure to send

Discuss the Scalix web client

Moderators: ScalixSupport, admin

kyiu
Posts: 18
Joined: Sat Nov 14, 2009 11:59 pm

failure to send

Postby kyiu » Sun Nov 15, 2009 11:43 am

Hi,

I'm new to Scalix. I just installed and got Scalix Community Ed running on a FC-9 i386. The SWA is working fine but can't send email. I tried sending an email to myself but met with connection failures. Error msg popup indicating some kind of connection failure. The server then moved the email to the draft-box. Don't know what connection failure the software is referring. Where do I begin to troubleshoot this problem?

Please help,
Ken

Valerion
Scalix Star
Scalix Star
Posts: 2730
Joined: Thu Feb 26, 2004 7:40 am
Location: Johannesburg, South Africa
Contact:

Re: failure to send

Postby Valerion » Mon Nov 16, 2009 12:46 pm

Check that SWA is set up to send to your hostname on port 25.
Check that Scalix SMTP relay is listening on your hostname port 25.
Check that your hostname corresponds to the ethernet IP address for the machine.

kyiu
Posts: 18
Joined: Sat Nov 14, 2009 11:59 pm

Re: failure to send

Postby kyiu » Mon Nov 16, 2009 10:33 pm

Being a newbie...Can you tell me where is the SWA config file? What would the syntax looks like?

Is Scalix SMTP relay same as Sendmail?

I used Alpine to send myself an email ok. I have a local account on server.
I telnet by the hostname on port 25 and received a respond.

$ telnet scalix 25
Trying 192.168.10.5...
Connected to scalix.
Escape character is '^]'.
220 scalix.yius.local ESMTP Sendmail 8.14.2/8.14.2; Mon, 16 Nov 2009 21:25:40 -0500

Sendmail is listening.

By the way...I really appreciate you're helping.

Ken

kyiu
Posts: 18
Joined: Sat Nov 14, 2009 11:59 pm

Re: failure to send

Postby kyiu » Mon Nov 16, 2009 10:57 pm

I found swa.properties in the webmail directory

-----------------------------------------------
swa.email.domain=yius.ca
swa.email.imapServer=scalix.yius.local
swa.email.smtpServer=scalix.yius.local
swa.email.userNameIncludesDomain=false

swa.system.hasCalendar=true
swa.system.hasRulesWizard=true
swa.system.hasOutOfOffice=true
swa.system.hasAutoRefresh=true
swa.system.hasAutoLogin=true
swa.system.hasChangePassword=true
swa.system.maxAttachmentUploadKilobytes=10240
swa.system.minCheckMailMinutes=3

----------------------------------
I think swa is setup for the SMTP host. Isn't it?

Ken

Valerion
Scalix Star
Scalix Star
Posts: 2730
Joined: Thu Feb 26, 2004 7:40 am
Location: Johannesburg, South Africa
Contact:

Re: failure to send

Postby Valerion » Tue Nov 17, 2009 3:12 am

Not just verify that

1) Your hostname points to the correct IP address
2) lsof -i:25

kyiu
Posts: 18
Joined: Sat Nov 14, 2009 11:59 pm

Re: failure to send

Postby kyiu » Tue Nov 17, 2009 11:52 pm

I ran the command as you've suggested
---------------------
# /usr/sbin/lsof -i:25
COMMAND PID USER FD TYPE DEVICE SIZE NODE NAME
sendmail 1860 root 4u IPv4 5396 TCP *:smtp (LISTEN)
---------------------
Sendmail is listening to port 25

I want to post the exact error msg when doing send email from SWA

Due to a failure to establish a connection, the message could not be sent.
Please try again later. A copy of the message has been placed into your 'Drafts' folder.

Can it be a user permission issues?

Ken

Valerion
Scalix Star
Scalix Star
Posts: 2730
Joined: Thu Feb 26, 2004 7:40 am
Location: Johannesburg, South Africa
Contact:

Re: failure to send

Postby Valerion » Wed Nov 18, 2009 9:33 am

Sendmail must only listen on your localhost address (127.0.0.1), not on all addresses (*). By default Redhat and CentOS is configured this way, I am not too sure about SLES. Then after you done this, you need to ensure that the Scalix SMTP Relay listens on your ethernet IP on port 25.

SWA does SMTP Auth when it sends and sendmail cannot properly respond to this as it cannot access the Scalix username/password database.

kyiu
Posts: 18
Joined: Sat Nov 14, 2009 11:59 pm

Re: failure to send

Postby kyiu » Wed Nov 18, 2009 11:08 am

I commented out the line in the Sendmail.mc to enble Sendmail to listen on the LAN. I telnet port 25 on network and confirmed the Sendmail is listening.

Where is Scalix SMTP Relay configure file located? (Sorry...I'm a newbie)

It's sounding more like an Authentication issue. Is the information covered in the installation manual? I didn't see it.

Ken

ltward
Posts: 309
Joined: Tue Jan 15, 2008 1:54 pm
Contact:

Re: failure to send

Postby ltward » Thu Nov 19, 2009 10:36 am

The Scalix SMTP Relay file is in /var/opt/scalix/??/s/sys/smtpd.cfg

sendmail should be listening on localhost port 25
The SMTP Relay should be listening on your hostname port 25

# telnet localhost 25
Trying 127.0.0.1...
Connected to localhost.localdomain (127.0.0.1).
Escape character is '^]'.
220 sxlab.mydomain.net ESMTP Sendmail 8.13.8/8.13.8; Thu, 19 Nov 2009 09:24:46 -0500

# telnet sxlab 25
Trying 192.168.0.121...
Connected to sxlab.mydomain.net (192.168.0.121).
Escape character is '^]'.
220 sxlab.mydomain.net ESMTP Scalix SMTP Relay 11.4.5.13150; Thu, 19 Nov 2009 09:25:28 -0500 (EST)


lsof should show both sendmail and the SMTP Relay listening:
# lsof -i:25
COMMAND PID USER FD TYPE DEVICE SIZE NODE NAME
sendmail 1954 root 4u IPv4 5262 TCP localhost.localdomain:smtp (LISTEN)
omsmtpd 2099 root 4u IPv4 5602 TCP sxlab.mydomain.net:smtp (LISTEN)

Check to see if your SMTP Relay is running:
omstat -a | grep SMTP

If it is stopped, start it:
omon smtpd

If it is aborted or partially aborted, reset it then start it:
omreset -o off smtpd
omon smtpd

If it will not start, check your event log immediately after it fails to start:
omshowlog -l 9 -p 3

kyiu
Posts: 18
Joined: Sat Nov 14, 2009 11:59 pm

Re: failure to send

Postby kyiu » Fri Nov 20, 2009 12:44 am

Success!!!

For reasons I need to understand later the omsmtpd stopped running after I configured my local DNS for the domain. The error pointed to SMTP relay aborted or partially aborted. I couldn't reset and/or restart with omon smtpd until the /etc/sysconfig/sendmail was modified (DAEMON=no). After getting the SMTP relay running, lsof shows only omsmtpd is listening on port 25.

# /usr/sbin/lsof -i:25
omsmtpd 2011 root 4u IPv4 5833 TCP scalix.yius.ca:smtp (LISTEN).

Sendmail is no longer doing the listening. I'm not sure if it is bad. I'll find out after the server is put on the web to send/receive my emails. I'll post the results.


Quick question. How do I enable SWA to allow https?

Thank you so much :D
Ken


Return to “Scalix Web Access”



Who is online

Users browsing this forum: No registered users and 3 guests