LinuxQuestions.org
Help answer threads with 0 replies.
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-04-2007, 04:50 AM   #1
kginige
LQ Newbie
 
Registered: Apr 2007
Posts: 14

Rep: Reputation: 1
Cool sendmail deferred: Connection refused


Hi

I'm posting this again because the previous post seems to not have appeared.

I've setup my email system on fedora 5 with the following: sendmail, dovecot, squirrelmail with authentication against w2k3 active directory.

Email works fine except for inbound mail from the internet. They come into the mail queue (/var/spool/mqueue) and don't seem to get distributed to the mailboxes.

sendmail -q -v gives:
... Deferred: Connection refused by abc.com

/var/log/maillog shows:

May 4 09:31:49 mailgate2 sendmail[24266]: l3UB91eZ003231: to=<abc@abc.com>, delay=3+21:22:48, xdelay=00:00:00, mailer=esmtp, pri=10952815, relay=abc.com., dsn=4.0.0, stat=Deferred: Connection refused by abc.com.

Any help would be appreciated
 
Old 05-04-2007, 06:14 AM   #2
kginige
LQ Newbie
 
Registered: Apr 2007
Posts: 14

Original Poster
Rep: Reputation: 1
Cool

Hello

I've isolated the above problem to be a name resolution thing. If I send a mail to myself@abc.com, (assuming abc.com is my domain) the mail gets to the queue and no further. If I send to myself@hostname.abc.com, then the mail is delivered.

Also, if I open squirrelmail and send a mail to "myself" (without the @abc.com), then the mail is delivered, but the From field says myself@hostname.abc.com.

However, I'd appreciate suggestions. Thanks
 
Old 05-04-2007, 06:34 AM   #3
kginige
LQ Newbie
 
Registered: Apr 2007
Posts: 14

Original Poster
Rep: Reputation: 1
Just to let you know the problem seems to be sorted. I had to put my domain name in /etc/mail/local-host-names

That was it! Thanks for looking.
 
1 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
sendmail - Connection timed out [dsn=4.0.0 stat=Deferred: Connection timed out] ananthak Linux - Software 0 04-24-2007 08:28 AM
SendMail Not Sending, Messages Stuck In Queue As: Deferred: Connection JustinK101 Linux - Software 43 03-30-2007 01:21 AM
sendmail: stat=Deferred: Connection timed out with email.mydomain.com intranet_man Linux - Software 1 07-19-2005 12:04 PM
sendmail Deferred: Connection refused by localhost.localdomain. 360 Linux - Software 6 03-31-2003 02:07 PM
Pine: Deferred: Connection refused .... katana Linux - General 4 08-09-2001 10:07 AM


All times are GMT -5. The time now is 09:30 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration