LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 12-07-2004, 04:51 PM   #1
inspleak
LQ Newbie
 
Registered: Jul 2003
Location: Michigan
Posts: 21

Rep: Reputation: 15
qmail - SMTP No Response


Hey guys, I've been working on this for 2 days now and I am officially stumpted.

I have qmail setup and running on a debian box. I am able to send and receive emails to and from local users (using qmail-inject)

However if I telnet to 127.0.0.1 port 25 (from the local box or remote box), it connects, however I never get the 220 domain ESMTP response. It simply just sits there. I can type commands at it all day but nothing happens.

Here are bits of the logs (which seem to look good):
/var/log/qmail/current:
@4000000041b672bd29ceb87c new msg 2126985
@4000000041b672bd29d19ac4 info msg 2126985: bytes 211 from <root@my.domain.com> qp 4593 uid 0
@4000000041b672bd2a1838e4 starting delivery 2: msg 2126985 to local testjake@my.domain.com
@4000000041b672bd2a1a212c status: local 1/10 remote 0/20
@4000000041b672bd2ac14e0c delivery 2: success: did_1+0+0/
@4000000041b672bd2ac69984 status: local 0/10 remote 0/20
@4000000041b672bd2ac9c604 end msg 2126985
@4000000041b6790b033f1f94 status: exiting
@4000000041b67923374613ec status: local 0/10 remote 0/20

(BTW: was does local 0/10 and remote 0/20 actually mean?)

/var/log/qmail/smtp/current:
@4000000041b68c971ddb0354 tcpserver: status: 0/0
@4000000041b68f5c0ea71364 tcpserver: status: 0/0

Results from qmailctl stat:
/service/qmail-send: up (pid 12243) 1721 seconds
/service/qmail-send/log: up (pid 1198) 20494 seconds
/service/qmail-smtpd: up (pid 12251) 1721 seconds
/service/qmail-smtpd/log: up (pid 1204) 20494 seconds
messages in queue: 0
messages in queue but not yet preprocessed: 0

I'm not sure if it matters but I have the "me" control file in with the domain name in it and the rcpthosts file has "localhost" in it as well as the domain of the remote box I'm doing the remote mail testing with.

So, I'm kinda stumped. If you guys have any ideas, please let me know, or if you need more info, I will be more than happy to provide that.

Oh, I forgot to mention that this is running on a debian box.

Thanks much!

Last edited by inspleak; 12-07-2004 at 04:52 PM.
 
Old 12-08-2004, 07:40 AM   #2
inspleak
LQ Newbie
 
Registered: Jul 2003
Location: Michigan
Posts: 21

Original Poster
Rep: Reputation: 15
Le Bump?

Everything seems like it should be working, any thoughts?

Thanks again!
 
Old 12-08-2004, 07:58 AM   #3
Donboy
Member
 
Registered: Aug 2003
Location: Little Rock, Arkansas
Distribution: RH, Fedora, Suse, AIX
Posts: 736

Rep: Reputation: 31
I think you want to run /var/qmail/bin/qmail-showctl and post it here for us to see. You may also want to post your /var/qmail/supervise/qmail-smtpd/run file so we can see how you're running qmail-smtpd.

You may also want to try running netstat -nap and be sure your smtp server is actually listening on port 25.

>> BTW: was does local 0/10 and remote 0/20 actually mean?

It means you have zero pending local deliveries and zero pending remote deliveries. Sometimes when you are sending mail, you may see this number jump to 1/20 which means it's waiting to deliver 1 message. Sometimes when you have a spike, it may jump to 10/20 which means you're waiting on 10 different deliveries to be performed. When it drops back to zero again, it means qmail isnt' doing anything right now.
 
  


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
qmail smtp auth maxut Linux - Software 1 03-04-2004 08:24 AM
time out while wating for response from smtp server robmainella Linux - Software 0 09-07-2003 08:22 PM
qmail and smtp ethanchic Linux - Networking 1 04-18-2003 11:36 PM
Qmail SMTP problem deepak_v Linux - Networking 1 04-07-2003 08:21 AM
SMTP Error Qmail madhusurabi Linux - General 1 01-04-2002 02:03 AM


All times are GMT -5. The time now is 03:10 PM.

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