LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   net-qmail(qmail-1.03) not working (https://www.linuxquestions.org/questions/linux-server-73/net-qmail-qmail-1-03-not-working-603563/)

pankajkarde 11-30-2007 01:49 PM

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.

lanart 12-03-2007 03:07 PM

Can you see your message when you list contents of Maildir?
ls /home/pankaj/Maildir/new

pankajkarde 12-15-2007 09:18 PM

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.

lanart 12-17-2007 01:48 AM

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.


All times are GMT -5. The time now is 02:32 PM.