LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 05-09-2008, 05:13 AM   #1
wood
Member
 
Registered: Aug 2003
Posts: 78

Rep: Reputation: 15
SMTP error in Thunderbird


I have a mail server running on a Fedora 6 machine.
We are using Thunderbird as our client mail all the while. It is running well. But lately, we can't send mail out and there is error saying

"An error occured sending mail: The mail server sent an incorrect greeting: Cannot connect to SMTP server XX.XX.X.XX(XX.XX.XX.XX:25), connect error 10061"

I have no clue why suddenly I can't send mail from the thunderbird.
I have squirrelmail client which configure to use sendmail to send the email, it is working well. So, this means that my mail server is functioning well. Only that the thunderbird can't send mail.

Please help.

Thank you.
 
Old 05-09-2008, 05:46 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
You haven't been clear of what you run where, but given that error the first check I'd do is for client and serverside firewalling blocking access. If you can telnet from the client to the mailserver port 25 then it's not that.
 
Old 05-09-2008, 07:31 AM   #3
wood
Member
 
Registered: Aug 2003
Posts: 78

Original Poster
Rep: Reputation: 15
Thanks for guiding.

I tried telnet XX.com 25

The results I get is as below:

Quote:
Trying XX.XX.XX.XX...
Connected to xxx.com (XX.XX.XX.XX).
Escape character is '^]'.
220 XX.com ESMTP Sendmail 8.13.8/8.13.8; Fri, 9 May 2008 20:57:01 +0800

I have checked all my firewall, I have enable port 25 and my router has enable port 25 also.

Is there anything that I am still missing.

My sendmail.mc is as below:
But it is running well last time. So I didn't suspect it is error from here.

Quote:

include(`/usr/share/sendmail-cf/m4/cf.m4')dnl
VERSIONID(`setup for linux')dnl
OSTYPE(`linux')dnl

define(`confDEF_USER_ID', ``8:12'')dnl

define(`confTO_CONNECT', `1m')dnl
define(`confTRY_NULL_MX_LIST', `True')dnl
define(`confDONT_PROBE_INTERFACES', `True')dnl
define(`PROCMAIL_MAILER_PATH', `/usr/bin/procmail')dnl
define(`ALIAS_FILE', `/etc/aliases')dnl
define(`STATUS_FILE', `/var/log/mail/statistics')dnl
define(`UUCP_MAILER_MAX', `2000000')dnl
define(`confUSERDB_SPEC', `/etc/mail/userdb.db')dnl
define(`confPRIVACY_FLAGS', `authwarnings,novrfy,noexpn,restrictqrun')dnl
define(`confAUTH_OPTIONS', `A')dnl

TRUST_AUTH_MECH(`PLAIN LOGIN')dnl
define(`confAUTH_MECHANISMS', `PLAIN LOGIN')dnl

define(`confTO_IDENT', `0')dnl
dnl FEATURE(delay_checks)dnl
FEATURE(`no_default_msa', `dnl')dnl
FEATURE(`smrsh', `/usr/sbin/smrsh')dnl
FEATURE(`mailertable', `hash -o /etc/mail/mailertable.db')dnl
FEATURE(`virtusertable', `hash -o /etc/mail/virtusertable.db')dnl
FEATURE(redirect)dnl
FEATURE(always_add_domain)dnl
FEATURE(use_cw_file)dnl
FEATURE(use_ct_file)dnl

DAEMON_OPTIONS(`Name=MTA-v4, Family=inet, Name=MTA-v6, Family=inet6')dnl

FEATURE(`accept_unresolvable_domains')dnl

LOCAL_DOMAIN(`XX.com')dnl

MAILER(smtp)dnl
MAILER(procmail)dnl

MAILER(local)
MAILER(cyrus)
define(`confLOCAL_MAILER',`cyrus')
LOCAL_RULE_0
R$=N $: $#local $: $1
R$=N < @ $=w . > $: $#local $: $1
Rbb + $+ < @ $=w . > $#cyrusbb $: $1
 
Old 05-09-2008, 07:43 AM   #4
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
If you can connect to the port (remote) and Squirrelmail works (local) then I doubts it's a Sendmail-related problem (check the logs to be certain it's not auth stuff). You said "lately, we can't send mail out". Does this mean you could before? Does the problem apply to all remote clients or some? Different e-mail clients? When did this start happening? Can you trace any configuration changes or updates back to that point in time?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
SMTP on Thunderbird bdavide Linux - Newbie 11 05-01-2008 12:20 PM
how to make thunderbird use exim4 as SMTP? Blyiss Linux - Server 2 04-22-2007 11:31 PM
Thunderbird SMTP Frustration - Can This Work? Ingla Linux - Software 4 01-24-2007 07:36 AM
Thunderbird(smtp not working.) webwolf70 Linux - Software 7 09-03-2005 02:53 AM
Thunderbird .4 smtp authenticationLinux darthtux Linux - Software 2 01-02-2004 10:28 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 04:51 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration