Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


Closed Thread
  Search this Thread
Old 10-19-2003, 11:09 PM   #1
LQ Newbie
Registered: Oct 2003
Posts: 8

Rep: Reputation: 0
SMTP & IMAP OK but Sendmail Connection refused

Tried this in the networking forum with no luck so thought I'd try here ...


- RH9 behind a firewall and using an alternate smtp port as 25 is blocked by my isp
- Both IMAP and SMTP mail work fine to either local or internet recipients... can send and receive using IMAP and SMTP to myport using Outlook on a wintel client ... can send and receive using local mailbox and SMTP to myport using Evolution right on the server ... also have SquirrelMail sending and receiving using SMTP to myport

The issue is that sendmail doesn't work...

sendmail -v gives: Connecting to [] via relay... Deferred: Connection refused by []

And the log shows:
Oct 18 11:28:09 myserver sendmail[18528]: h9IFS4qI018528: from=root, size=5, class
=0, nrcpts=1, msgid=<>, relay=root@
Oct 18 11:28:09 myserver sendmail[18528]: h9IFS4qI018528:, ctla
ddr=root (0/0), delay=00:00:05, xdelay=00:00:00, mailer=relay, pri=30005, relay=
[] [], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.

Linux firewall is NOT enabled. And telnets to myport using any of hostname, localhost, and work fine.

Old 10-20-2003, 05:41 AM   #2
LQ Guru
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
You sould try setting it up to relay through your ISP's mail server, then it should be ok.
Old 10-20-2003, 07:05 AM   #3
Registered: Sep 2003
Posts: 30

Rep: Reputation: 15
could you help me by giving me all the steps to set up an imap server ?

thanx in advance
Old 10-20-2003, 07:36 AM   #4
LQ Newbie
Registered: Oct 2003
Posts: 8

Original Poster
Rep: Reputation: 0

Check out
Old 10-20-2003, 07:39 AM   #5
LQ Newbie
Registered: Oct 2003
Posts: 8

Original Poster
Rep: Reputation: 0

Thanks for the response and just to confirm, are you talking about adding DSISPMailServer to If so, I've had that in there all along. It resolved my initial setup problem of not being able to send mail at all. After adding it, smtp mail started working, although sendmail still won't work.

What's interesting is that even using sendmail to a local recipient gives the errors described above.

Other thoughts?
Old 10-20-2003, 07:49 AM   #6
LQ Guru
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 245Reputation: 245Reputation: 245
Please do not post the same thread in more than one forum. Picking the most relevant forum and posting it once there makes it easier for other members to help you and keeps the discussion all in one place.

You also posted this earlier in Networking which it can be replied to there.

Closed Thread

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 On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Error connecting to IMAP server 111 : Connection refused dolay Linux - Newbie 2 03-02-2010 05:09 AM
Postfix SMTP config problems, connection refused yallu Linux - Software 1 04-12-2005 04:49 AM
SMTP & IMAP OK but Sendmail Connection refused OtinDaku Linux - Networking 5 10-22-2003 11:02 AM
Connection refused on port 110...IMAP trouble jordan0 Linux - Networking 8 10-03-2003 05:09 AM
IMAP connection refused shameless Linux - General 4 05-25-2003 06:09 AM > Forums > Linux Forums > Linux - General

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

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