Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Help - can't check mail

Status
Not open for further replies.

channan99

IS-IT--Management
Jan 8, 2003
7
0
0
US
Hello, after struggling for a while, I finally was able to install qmail. I could send an email to my yahoo account as a normal user on my Linux box. However, I could not receive it (message reply from yahoo or other mail is bounced). Did I miss something? Thanks...
(Redhat 8.0, qmail 1.3)

PS. It would be nice if someone could document the whole process. I've read the "Life with qmail" webpage and the INSTALL file many times and still don't quite understand all of it :(
 
are you sure qmail is running properly? what is the output of the command `netstat -ta` ?

you should get lines like:

Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 *:pop3 *:* LISTEN
tcp 0 0 *:smtp *:* LISTEN

This shows that you have ports 110 (pop3) and 25 (smtp) open and listening for traffic. Port 110 will only be open if you have enabled qmail-pop3d. You should however get the smtp port in the netstat output.

 
Thanks for the reply. Yes, I do have all the daemons running.
# qmailctl stat
/service/qmail-send: up (pid 5605) 47008 seconds
/service/qmail-send/log: up (pid 5608) 47008 seconds
/service/qmail-smtpd: up (pid 5612) 47008 seconds
/service/qmail-smtpd/log: down 112656 seconds, normally up
/service/qmail-pop3d: up (pid 5617) 47008 seconds
/service/qmail-pop3d/log: up (pid 744) 136050 seconds
messages in queue: 1
messages in queue but not yet preprocessed: 0

I watched the log and saw messages coming/leaving. However, I could not read the incoming message using client such as Linux "mail" command, Eudora, Mirosoft Outlook, Netscape,...

Here's the two messages from my log:
Sending to yahoo acount is ok:
@400000003e3c4e8716598ccc info msg 1442143: bytes 242 from <root@myhost.com> qp 6214 uid 0
@400000003e3c4e8716a4228c starting delivery 1: msg 1442143 to remote myyahoo@yahoo.com
@400000003e3c4e8716a43de4 status: local 0/10 remote 1/20
@400000003e3c4e8800672c1c delivery 1: success: 64.156.215.5_accepted_message./Remote_host_said:_250_ok_dirdel/
@400000003e3c4e8800674f44 status: local 0/10 remote 0/20
@400000003e3c4e880067532c end msg 1442143


Sending to my email, myhost.com, is successful but I could not retrieve it:
@400000003e3c4ef10eb20bfc new msg 1442143
@400000003e3c4ef10eb22b3c info msg 1442143: bytes 233 from <root@myhost.com> qp 6220 uid 0
@400000003e3c4ef10ee437bc starting delivery 2: msg 1442143 to local myhost.com-channan@myhost.com
@400000003e3c4ef10ee456fc status: local 1/10 remote 0/20
@400000003e3c4ef10f6110ac delivery 2: success: did_0+0+1/
@400000003e3c4ef10f6137bc status: local 0/10 remote 0/20
@400000003e3c4ef10f613ba4 end msg 1442143

Is it a POP problem? Anything with the domain setup? MX record?...

Thanks...
 
Looks like you are trying to receive the message into a virtual user or domain (myhost.com-channan@myhost.com). I can never keep the syntax straight. How did you setup your virtual users/domain? Did you use a program or did you just edit the virtualdomains control file? Can you supply the contents of your virtualdomains control file?

Wes
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top