LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
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.

Notices


Closed Thread
  Search this Thread
Old 10-19-2003, 11:09 PM   #1
OtinDaku
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 ...

Stumped,

- 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 anybody@mydomain.com gives:
anybody@mydomain.com... Connecting to [127.0.0.1] via relay...
anybody@mydomain.com... Deferred: Connection refused by [127.0.0.1]


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


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

Help!
 
Old 10-20-2003, 05:41 AM   #2
DavidPhillips
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
nshoboul
Member
 
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
OtinDaku
LQ Newbie
 
Registered: Oct 2003
Posts: 8

Original Poster
Rep: Reputation: 0
nshoboul,

Check out http://en.tldp.org/HOWTO/Cyrus-IMAP.html
 
Old 10-20-2003, 07:39 AM   #5
OtinDaku
LQ Newbie
 
Registered: Oct 2003
Posts: 8

Original Poster
Rep: Reputation: 0
David,

Thanks for the response and just to confirm, are you talking about adding DSISPMailServer to sendmail.cf? 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
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 235Reputation: 235Reputation: 235
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.

http://www.linuxquestions.org/rules.php

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

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 08:31 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration