LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
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 11-30-2007, 01:49 PM   #1
pankajkarde
Member
 
Registered: Jan 2007
Posts: 41

Rep: Reputation: 15
Question net-qmail(qmail-1.03) not working


hi friends,
i have installed netqmail-1.05(ref to life with qmail)on my RHEL4 system but when i tried to send mail i am not getting that mail in the respective Maildir.

#ps -ef|grep qmail

root 2616 2614 0 02:34 ? 00:00:00 supervise qmail-pop3d
root 2618 2614 0 02:34 ? 00:00:00 supervise qmail-smtpd
root 2620 2614 0 02:34 ? 00:00:00 supervise qmail-send
root 2622 2616 0 02:34 ? 00:00:00 /usr/local/bin/tcpserver -v -R -H -l 0 0 110 /var/qmail/bin/qmail-popup pankaj.vashi.com /bin/checkpassword /var/qmail/bin/qmail-pop3d Maildir
qmaill 2623 2617 0 02:34 ? 00:00:00 /usr/local/bin/multilog t /var/log/qmail/pop3d
qmaild 2624 2618 0 02:34 ? 00:00:00 /usr/local/bin/tcpserver -v -R -l pankaj.vashi.com -x /etc/tcp.smtp.cdb -c 20 -u 11194 -g 11193 0 smtp /var/qmail/bin/qmail-smtpd
qmails 2625 2620 0 02:34 ? 00:00:00 qmail-send
qmaill 2626 2619 0 02:34 ? 00:00:00 /usr/local/bin/multilog t /var/log/qmail/smtpd
qmaill 2627 2621 0 02:34 ? 00:00:00 /usr/local/bin/multilog t /var/log/qmail
root 2633 2625 0 02:34 ? 00:00:00 qmail-lspawn ./Maildir/
qmailr 2634 2625 0 02:34 ? 00:00:00 qmail-rspawn
qmailq 2635 2625 0 02:34 ? 00:00:00 qmail-clean

When i send the mail using telnet, there was no error but i am unable to get that mail in the respective Maildir.
[telnet 192.168.0.20 25]
with this i am tring to send mail from pankaj@pankaj.vashi.com to pankaj@pankaj.vashi.com(pankaj is a valid linux user with home dir /home/pankaj)

this is related log generated.

"tail -f /var/log/qmail/current

@40000000474b34fb0fd05124 status: local 0/10 remote 0/20
@40000000474b3a95156351a4 new msg 96766
@40000000474b3a95156808ac info msg 96766: bytes 228 from <> qp 2978 uid 11194
@40000000474b3a9515c2d6c4 starting delivery 4: msg 96766 to local @pankaj.vashi.com
@40000000474b3a9515c4ea04 status: local 1/10 remote 0/20
@40000000474b3a9515d604ec delivery 4: success:
@40000000474b3a9515dbcd64 status: local 0/10 remote 0/20
@40000000474b3a9515e44944 end msg 96766"

when i am trying to access Maildir of any user by trying to login via telnet as,
[telnet 192.168.0.20 110]

iam getting following response on the screen.

"[root@pankaj ~]# telnet 192.168.0.20 110
Trying 192.168.0.20...
Connected to pankaj.vashi.com (192.168.0.20).
Escape character is '^]'.
+OK <2883.1196111924@pankaj.vashi.com>
user pankaj
+OK
pass pankaj
-ERR unable to scan $HOME/Maildir
Connection closed by foreign host.

[root@pankaj ~]# telnet 192.168.0.20 110
Trying 192.168.0.20...
Connected to sagar.vashi.com (192.168.0.20).
Escape character is '^]'.
+OK <2887.1196111986@pankaj.vashi.com>
user root
+OK
pass pankaj
+OK
list
+OK
.


this is the related log generated.

"tail -f /var/log/qmail/pop3d/current"

@40000000474b3c36388aa1dc tcpserver: pid 3070 from 192.168.0.20
@40000000474b3c36388aad94 tcpserver: ok 3070 0:192.168.0.20:110 :192.168.0.20::1031
@40000000474b3c3d2754c384 tcpserver: end 3070 status 256
@40000000474b3c3d2754e2c4 tcpserver: status: 0/40

Will you pls help me to solve this issue.
 
Old 12-03-2007, 03:07 PM   #2
lanart
LQ Newbie
 
Registered: Dec 2007
Distribution: Slackware
Posts: 13

Rep: Reputation: 0
Can you see your message when you list contents of Maildir?
ls /home/pankaj/Maildir/new
 
Old 12-15-2007, 09:18 PM   #3
pankajkarde
Member
 
Registered: Jan 2007
Posts: 41

Original Poster
Rep: Reputation: 15
There are no messages in /home/pankaj/maildir/new
There are no messages in /home/pankaj/maildir/current
There are no messages in /home/pankaj/maildir/tmp
All the three mentioned directories are empty.
 
Old 12-17-2007, 01:48 AM   #4
lanart
LQ Newbie
 
Registered: Dec 2007
Distribution: Slackware
Posts: 13

Rep: Reputation: 0
Line:
@40000000474b3a9515c2d6c4 starting delivery 4: msg 96766 to local @pankaj.vashi.com

should be:
@40000000474b3a9515c2d6c4 starting delivery 4: msg 96766 to local pankaj@pankaj.vashi.com

if not, it will be delivered to qmail-postmaster.

Who is postmaster for your host? Look if your message arrived to postmaster's Maildir.

Last edited by lanart; 12-17-2007 at 01:50 AM.
 
  


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
Open Webmail / Mailfront / smtpfront-qmail / qmail-smtpd Apollo77 Linux - Software 2 01-20-2009 03:33 AM
qmail /service/qmail-send: unable to open supervise mangueJOE Linux - Networking 19 12-13-2008 06:14 PM
applying c.k. davis qmail buffer patch to live qmail server baronsam Linux - Server 4 04-22-2007 02:02 PM
Qmail (Qmail-pop3d) pop login problem Punker51 Linux - Software 2 07-22-2004 02:52 PM
qmail +qmail-qfilter + qmail-scanner-queue+qmail-user-masq.pl problem countcobolt Linux - Networking 0 07-08-2004 11:29 AM


All times are GMT -5. The time now is 07:09 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