Email timing out

Discuss the Scalix Server software

Moderators: ScalixSupport, admin

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

Email timing out

Postby winux » Tue Feb 07, 2006 7:02 pm

Sending an email from the SWA to a gmail address, or any address actually results in this log:

Code: Select all

Feb  7 14:39:10 mail sendmail[11839]: k17MZb6l011829: to=<myaddress@gmail.com>, delay=00:03:31, xdelay=00:03:31, mailer=esmtp, pri=121234, relay=gsmtp185-2.google.com. [64.233.185.114], dsn=4.0.0, stat=Deferred: Connection timed out with gsmtp185-2.google.com.
Feb  7 14:42:56 mail sendmail[11860]: k17MZb6l011829: to=<myaddress@gmail.com>, delay=00:07:17, xdelay=00:00:00, mailer=esmtp, pri=211234, relay=gsmtp185-2.google.com., dsn=4.0.0, stat=Deferred: Connection timed out with gsmtp185-2.google.com


It appears to be resolving the destination, but keeps timing out....

Any ideas pretty please?

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

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

Can you simply

Code: Select all

telnet gsmtp185-2.google.com 25
? Do you connnect?

What are the results of

Code: Select all

traceroute gsmtp185-2.google.com
?

Thanks,
Don

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

Postby winux » Tue Feb 07, 2006 8:33 pm

Of telnet:

Failed

Of traceroute...

Code: Select all

traceroute to gsmtp185-2.google.com (64.233.185.114), 30 hops max, 40 byte packe                                            ts
 1  10.0.0.2  0.231 ms   0.207 ms   0.228 ms
 2  bras5-l0.sndgca.sbcglobal.net (151.164.184.149)  10.757 ms   12.579 ms   13.                                            411 ms
 3  dist2-vlan60.sndg02.pbi.net (63.200.206.195)  12.753 ms   13.003 ms   13.258                                             ms
 4  bb2-g5-3-0.sndgca.sbcglobal.net (206.13.30.87)  14.296 ms   8.876 ms   9.222 ms
 5  bb2-p11-0.lsan03.sbcglobal.net (151.164.241.133)  15.552 ms   17.032 ms   16.986 ms
 6  core1-p5-0.cranca.sbcglobal.net (151.164.40.89)  17.938 ms   18.156 ms   19.084 ms
 7  core2-p3-0.crscca.sbcglobal.net (151.164.242.185)  32.634 ms   33.349 ms   34.497 ms
 8  bb1-p8-0.crscca.sbcglobal.net (151.164.40.62)  38.792 ms   84.277 ms   76.745 ms
 9  ex2-p9-0.pxpaca.sbcglobal.net (151.164.243.47)  76.739 ms   75.283 ms   73.480 ms
10  ex1-p10-0.pxpaca.sbcglobal.net (151.164.190.82)  71.782 ms   70.019 ms   68.270 ms
11  asn15169-google-2.pxpaca.sbcglobal.net (151.164.250.134)  66.753 ms   65.023 ms   63.728 ms
12  66.249.94.14  61.383 ms   59.558 ms   57.987 ms
13  72.14.236.10  57.034 ms   55.555 ms   54.247 ms
14  216.239.46.45  75.687 ms   81.865 ms   75.686 ms
15  66.249.95.245  78.062 ms   79.340 ms   78.971 ms
16  64.233.175.99  79.486 ms   79.970 ms   80.417 ms
17  72.14.236.13  85.028 ms   83.332 ms   81.801 ms
18  72.14.238.149  82.762 ms   83.170 ms   83.682 ms
19  72.14.238.198  86.860 ms   88.059 ms   87.129 ms
20  gsmtp185-2.google.com (64.233.185.114)  76.236 ms   77.208 ms   76.339 ms



Of special note: ISP blocks port 25. If I send a mail to a different domain server, then I still get the same result. However, I can telnet to the different domain to port 26.

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

Postby ScalixSupport » Tue Feb 07, 2006 8:41 pm

You'll have to use your ISP as a relay then. Edit /etc/mail/sendmail.cf and find

# "Smart" relay host (may be null)
DS

Add to DS your ISP's smtp host, e.g.

DSsmtp.isp.net

Then restart sendmail.

Regards,
Don

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

Postby winux » Thu Feb 09, 2006 12:36 pm

Thanks.

But now I get a returned message stating that the SMTP server requires authentication, error 530.

I set the /etc/mail/access file as such:

Code: Select all

127      RELAY
AuthInfo:smtp.sbcglobal.yahoo.com "U:login@sbcglobal.net" "I:login@sbcglobal.net" "P:password"


Messages are being sent from SWA.

Side note: the SAC isn't working after a reboot. The page will come up asking for login name and password, and then will get stuck on "Attempting to login." It won't even tell me if its a bad login name. Perhaps there is a service not started somewhere? It works fine the first time if never a restart......

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

Postby ScalixSupport » Thu Feb 09, 2006 9:30 pm

Hi. Try setting your trusted mechanism to LOGIN or PLAIN or both. For example:


Code: Select all

AuthInfo:smtp.sbcglobal.yahoo.com "U:login@sbcglobal.net" "I:login@sbcglobal.net" "P:password" "M:LOGIN PLAIN"


and see if your ISP takes that.

Regarding the SAC, do a ps -aef|grep tomcat and make sure tomcat is running and that only copy is running. If it's not running, there's a script in the admin_resource_kit subdirectory called tomcat. Edit that file and put in your tomcat directory information, then copy that file to /etc/init.d and chmod the file to 755. Now when you reboot, tomcat should auto start.

Thanks,
Rachel

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

Postby winux » Fri Feb 10, 2006 12:51 pm

Thanks.
Still exhibiting the same problem though.
If I send through the webmail, I get a return message stating the same error 530.

If I send through MAPI (Outlook) I get a message stating:

Code: Select all

----------------------------- ERROR REPORT ----------------------------- Message could not be delivered to the following recipient:

        jason / internet
                        DDT1=RFC-822; DDV1=myaddress@gmail.com;;

    because: Unknown Non-Delivery Reason (300)
------------------------------------------------------------------------


I assume that perhaps are both related? I check the mail log and it still keeps saying that the service is unavailable, and it does say that the smtp server is the one in my config. My receiving mail is fine and is set up on port 587.

In the meantime, I am hoping that my ISP unblocks port 25 for us; I found a hidden form on their site through complaints to their tech support to request to be removed from the port 25 blocking. Crossing my fingers on that one....

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

Postby ScalixSupport » Fri Feb 10, 2006 8:28 pm

Hi. Can you post some of your maillog file so we can see what the error that sendmail is returning? Have you tried connecting and logging on to your provider's SMTP host via telnet? See this link for information on performing an auth logon:

http://www.sendmail.org/~ca/email/authrealms.html

Thanks,
Rachel

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

Postby winux » Mon Feb 13, 2006 1:02 pm

/var/log/mail:

Code: Select all

Feb 10 08:42:28 mail sendmail[3480]: k1AGgPqn003480: from=sxadmin@mail.trittonus.com, size=0, class=0, nrcpts=1, proto=ESMTP, daemon=Daemon0, relay=localhost [127.0.0.1]
Feb 10 08:42:30 mail sendmail[3485]: k1AGgTMw003485: from=<sxadmin@mail.trittonus.com>, size=1271, class=0, nrcpts=1, msgid=<25894799.1139589745244.JavaMail.root@mail>, proto=ESMTP, relay=root@localhost
Feb 10 08:42:33 mail sendmail[3487]: k1AGgUwC003487: from=<sxadmin@mail.trittonus.com>, size=1416, class=0, nrcpts=1, msgid=<25894799.1139589745244.JavaMail.root@mail>, proto=ESMTP, daemon=Daemon0, relay=localhost [127.0.0.1]
Feb 10 08:42:33 mail sendmail[3485]: k1AGgTMw003485: to=<jason@trittonusa.com>, ctladdr=<sxadmin@mail.trittonus.com> (1001/1000), delay=00:00:03, xdelay=00:00:03, mailer=relay, pri=31271, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (k1AGgUwC003487 Message accepted for delivery)
Feb 10 08:42:33 mail sendmail[3498]: k1AGgUwC003487: to=<jason@trittonusa.com>, delay=00:00:01, xdelay=00:00:00, mailer=relay, pri=121416, relay=smtp.sbcglobal.yahoo.com [68.142.198.11], dsn=5.0.0, stat=Service unavailable
Feb 10 08:42:33 mail sendmail[3498]: k1AGgUwC003487: k1AGgXwC003498: DSN: Service unavailable
Feb 10 08:42:37 mail sendmail[3498]: k1AGgXwC003498: to=<sxadmin@mail.trittonus.com>, delay=00:00:04, xdelay=00:00:04, mailer=scalix, pri=32643, relay=any, dsn=2.0.0, stat=Sent (Ok)
Feb 10 08:42:37 mail sendmail[3498]: k1AGgUwC003487: k1AGgXwD003498: postmaster notify: Service unavailable
Feb 10 08:42:38 mail sendmail[3498]: k1AGgXwD003498: to=root, delay=00:00:01, xdelay=00:00:00, mailer=local, pri=30000, dsn=2.0.0, stat=Sent
Feb 10 08:44:11 mail sendmail[3524]: k1AGiAa6003524: from=<jason@trittonus.com>, size=1733, class=0, nrcpts=1, msgid=<H00000670000044f.1139589848.mail.trittonus.com@MHS>, proto=ESMTP, relay=root@localhost
Feb 10 08:44:13 mail sendmail[3541]: k1AGiBe2003541: from=<jason@trittonus.com>, size=1885, class=0, nrcpts=1, msgid=<H00000670000044f.1139589848.mail.trittonus.com@MHS>, proto=ESMTP, daemon=Daemon0, relay=localhost [127.0.0.1]
Feb 10 08:44:13 mail sendmail[3524]: k1AGiAa6003524: to=<jason@trittonusa.com>, delay=00:00:02, xdelay=00:00:02, mailer=relay, pri=31733, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (k1AGiBe2003541 Message accepted for delivery)
Feb 10 08:44:13 mail sendmail[3545]: k1AGiBe2003541: to=<jason@trittonusa.com>, delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=121885, relay=smtp.sbcglobal.yahoo.com [68.142.198.11], dsn=5.0.0, stat=Service unavailable
Feb 10 08:44:13 mail sendmail[3545]: k1AGiBe2003541: k1AGiDe2003545: DSN: Service unavailable
Feb 10 08:44:15 mail sendmail[3545]: k1AGiDe2003545: to=<jason@trittonus.com>, delay=00:00:02, xdelay=00:00:02, mailer=scalix, pri=30000, relay=any, dsn=2.0.0, stat=Sent (Ok)
Feb 10 08:44:16 mail sendmail[3545]: k1AGiBe2003541: k1AGiDe3003545: postmaster notify: Service unavailable
Feb 10 08:44:16 mail sendmail[3545]: k1AGiDe3003545: to=root, delay=00:00:00, xdelay=00:00:00, mailer=local, pri=30000, dsn=2.0.0, stat=Sent


I can easlity telnet into the smtp server on port 25. Sending mail with the smtp server and login info works fine from thunderbird/outlook.

Not really sure how to login to the smtp server though... The AUTH LOGIN appears to do something though....

iceknight

Postby iceknight » Sun Mar 05, 2006 8:23 pm

Im using SBC DSL with the exact same problem. I search on google gave me a link to this mini-howto on Sendmail with SBC DSL that fixed my outbound email on Scalix 10 CE on CentOS4.2.

http://www.urbanophile.com/arenn/hackin ... c-dsl.html


Return to “Scalix Server”



Who is online

Users browsing this forum: No registered users and 9 guests

cron