Click to See Complete Forum and Search --> : qmail and vpopmail
whadmin
10-26-2003, 12:11 PM
I istalled Qmail, and Vpopmail following the intructions on www.qmailrocks.com , I can send mail from my linux box, I can recieve mail on my linux box, but I can't use a pop mailer to recieve it. I get a rejected from the server - wrong password. I can telnet localhost 110, and log in ok. I'm lost now... any ideas?
Walter
qweqwe1
10-26-2003, 03:54 PM
whats the o/p qmailctl and post the qmail-pop run file.
whadmin
10-26-2003, 05:15 PM
qmailctl stat
/service/qmail-send: up (pid 466) 79555 seconds
/service/qmail-send/log: up (pid 468) 79555 seconds
/service/qmail-smtpd: up (pid 464) 7955 seconds
/sevvice/qmail-smtpd/log: up (pid 465) 79555 seconds
messages in queue: 0
messages in queue but not yet preprocessed: 0
./qmail-pop3d
-ERR this user has no $HOME /Maildir
I used the command ./qmail-newu, it created a dir in the /var/qmail/bin directory... when i ran ./qmail-pop3d again it gave the above error again.
Walter
qweqwe1
10-26-2003, 06:46 PM
can u post qmail-pop run file.
whadmin
10-26-2003, 06:55 PM
Can't find it. I have qmail-pop3d and qmail-popup...
Walter
whadmin
10-26-2003, 07:08 PM
here is everything I have in the /var/qmail/bin directory
bouncesaying maildir2mbox preline qmail-local qmail-pw2u
qmail-queue qmail-start condredirect maildirmake qail
qmail-lspawn qmail-qmqpc qmail-remote qmail-tcpok sendmail
datemail maildirwatch qbiff qmail-newmrh qmail-qmqpd
qmail-rspawn qmail-tcpto splogger elq mailsubj qmail-clean qmail-newu qmail-qmtpd qmail-send qmailctl tcp-env
except pinq qmail-getpw qmail-pop3d qmail-qread
qmail-showctl qreceipt forward predate qmail-inject qmail-popup qmail-qstat qmail-smtpd qsmhook
Sorry, it didn't past all that well..
Walter
qweqwe1
10-26-2003, 07:47 PM
this one qmail-pop3d/run
whadmin
10-26-2003, 08:01 PM
./qmail-pop3d
-ERR this user has no $HOME/Maildir
whadmin
10-27-2003, 09:01 PM
Here is the qmail-pop3d/run
#!/bin/sh
PATH=/var/qmail/bin:/usr/local/bin:/usr/bin:/bin
export PATH
exec tcpserver -H -R -v -c100 0 110 qmail-popup MYDOMAIN.COM\
/home/vpopmail/bin/vchkpw qmail-pop3d Maildir 2>&1
Walter
Stuka
10-28-2003, 10:49 AM
Originally posted by whadmin
./qmail-pop3d
-ERR this user has no $HOME /Maildir
You need to run maildirmake for the user in question. qmail, by default, delivers mail in the maildir format, which expects a $HOME/Maildir/ directory for each user. I'm reasonably sure that's what you're missing.
qweqwe1
10-28-2003, 11:16 PM
ur run file looks ok. can u post the o/p of telnet to port 110 both from localhost and from the computer from which are trying use POP (Outlook).
-B
whadmin
10-29-2003, 09:09 PM
Originally posted by Stuka
You need to run maildirmake for the user in question. qmail, by default, delivers mail in the maildir format, which expects a $HOME/Maildir/ directory for each user. I'm reasonably sure that's what you're missing.
Did this, still didn't work... Here is the output from OE:
Your server has unexpectedly terminated the connection. Possible causes for this include server problems, network problems, or a long period of inactivity. Account: 'linserver.no-ip.com', Server: 'linserver.no-ip.com', Protocol: POP3, Port: 110, Secure(SSL): No, Error Number: 0x800CCC0F
Walter
whadmin
10-29-2003, 09:17 PM
Originally posted by qweqwe1
ur run file looks ok. can u post the o/p of telnet to port 110 both from localhost and from the computer from which are trying use POP (Outlook).
-B
Output from telnet localhost 110:
Trying 127.0.0.1...
Connected to linserver.
Escape character is '^]'.
+OK <925.1067448742@MYDOMAIN.com>
user ME@MYDOMAIN.com
+OK
pass #####
-ERR authorization failed
Connection closed by foreign host.
Telnet from M$ box:
telnet 192.168.1.2 110
Trying 192.168.1.2...
Connected to 192.168.1.2.
Escape character is '^]'.
+OK <1006.1067448781@MYDOMAIN.com>
user ME@MYDOMAIN.com
+OK
pass #####
-ERR authorization failed
Connection closed by foreign host.
Thanks for all your help! Please Keep it up! :)
Walter
whadmin
10-30-2003, 12:25 AM
Ok, after some more playing around, I managed to get the qmail server to accept pop connections, BUT, the mail is not getting to the user. Eg:
I send a message to USERX@MYDOMAIN.COM, when I try to use OE to pick up that mail there is nothing there. BUT, if I log on to my linux box and type MAIL, it will allow me to read my messages. Somewhere it is not getting sent to my qmail accounts.....
Anyone?
qweqwe1
10-30-2003, 11:07 PM
First we need to fix this
Trying 127.0.0.1...
Connected to linserver.
Escape character is '^]'.
+OK <925.1067448742@MYDOMAIN.com>
user ME@MYDOMAIN.com
+OK
pass #####
-ERR authorization failed
Connection closed by foreign host.
i want to make sure we are not missing the obvious. did u create this user using vadduser of vpopmail or qmailadmin. i am not sure local login users automatically become vpop users.
Also can u make sure there are no unnecessary 'new line' characters in the 'run' file. i had similar authentication propblem because i had an extra 'new line' character the run file. can u double check that.
-qweqwe
whadmin
10-30-2003, 11:22 PM
Well, I managed to get a pop connection to my server. But, if I send a message to my linux account from a OE account, and then try and pick it up using OE, it doesn't come. When I telnet into linux, I get a message saying I have new mail. If I type mail, I can read the messages. So, I can get the mail to the linux box, I just can't pick it up with pop. For some reason the mail is going to a different mail directory.... I'm almost tempted to start from scratch...:( Too many things are just not working. I can't use Qmailadmin, it won't let me log in. I can't get vqadmin to let me add users. I get all kinds of weird errors all over the place. It gets real frusterating! :) What do you think?
Walter
qweqwe1
11-02-2003, 02:52 PM
yaa try again. i installed three times and third time i was lucky.
All the best.
-qweqwe