Matthew,

    I tried it out this morning.  I think I have been running a line similar
to this, but I changed it to your suggestion, and hoping for the best.  I am
still not getting any log in, but the mail is being saved correctly.

    Attached is an excerpt from the maillog showing how the log format
differed, but that was simply caused from the recordio implementation.  I
had turned it on to debug after my post to the list last night. (didn't
really help much).

    I guess my main question is, with the one user that can log in, he is
actually a real user within the system, (e.g. An etc/passwd user).  That one
user is also created as a a virtual user, and incoming mail is saved in his
vmail ./Maildir/new and not in his maildir within his home directory.  Now
with this user having a home maildir, could this possibly cause any issues?

E.g. user structure like this

[EMAIL PROTECTED] (virtual user)
g0thic (real user)
[EMAIL PROTECTED] (virtual user owner)
worldvibe (real user)
[EMAIL PROTECTED] (virtual user)

When user g0thic receives mail, it gets directed to the correct virtual
maildir, as with any other virtual user, but user g0thic is the only one
able to check mail.  Not only that, but when he checks mail, it checks from
his home directory maildir, and not the virtual maildir.

    Any ideas to this one or the past one?

Cheers,

Sean

Matthew Patterson wrote:

> 
> Not really sure what some of the stuff is that you're trying to do with your
> tcpserver config, but try this out:
> 
> #!/bin/bash
> /usr/local/bin/tcpserver -v -x /etc/tcpcontrol/pop-3.cdb -R 0 pop3 \
> /var/qmail/bin/qmail-popup worldvibe.org /path_to/checkvpw \
> /var/qmail/bin/qmail-pop3d Maildir 2>&1
> 
> First grep /etc/services or /etc/protocols for pop, and if your pop3 line is
> actually pop-3, change it at the end of line 2. then, replace path_to at the
> end of line 3 with your path to checkvpw. Finally, you have to be using a
> Maildir format mailbox in the home directory that checkvpw will point to.
> 
> Give all this a whirl, and let me know if it still doesn't work.

> On Wed, 17 Jan 2001, Sean Coyle wrote:
>> Matthew and anyone else reading;
>> 
>> Below are the processes currently running on my box right now that are
>> directly related to qmail, another thing I am trying to figure out, is if
>> 'qread' and 'qstat' are actually necessary.  Also below, you will see the
>> line stating "tcpserver -dHRvX -c 20 -x /etc/tcpcontrol/pop-3.cdb 0 pop-3
>> qmail-popup www.worldvibe.org checkvpw qmail"  this points to checkvpw and
>> is using that for qmail-pop authentication.
>> 
>>    Also the checkpassword file in /var/qmail/control/checkpassword
>> contatins the line "checkvpw"
>> 
>>    And the file enclosed is 'run' from /service/pop3d/run this file is used
>> to start up the pop-3 service.
>> 
>> root   136  0.0  1.4  1220  448 ?  S    14:07   0:00 svscan /service
>> root   142  0.0  1.4  1184  432 ?  S    14:07   0:00 supervise vmailmgrd
>> root   143  0.0  1.4  1184  432 ?  S    14:07   0:00 supervise log
>> root   144  0.0  1.4  1184  432 ?  S    14:07   0:00 supervise pop3d
>> root   145  0.0  1.4  1184  432 ?  S    14:07   0:00 supervise log
>> root   146  0.0  1.5  1180  468 ?  S    14:07   0:00 unixserver -v --
>> /var/service/vmailmgrd/socket vmailmgrd -D -V
>> root   147  0.0  2.0  1344  600 ?  S    14:07   0:00 tcpserver -dHRvX -c 20
>> -x /etc/tcpcontrol/pop-3.cdb 0 pop-3 qmail-popup www.worldvibe.org checkvpw
>> qmail
>> root   148  0.0  1.4  1196  432 ?  S    14:07   0:00 multilog t
>> /var/log/vmailmgrd
>> qmaillog   150  0.0  1.7  1204  532 ?   S    14:07   0:00 splogger pop-3
>> root   473  0.0  1.4  1220  448 ?  S    14:07   0:00 svscan
>> root   478  0.0  1.4  1184  432 ?  S    14:07   0:00 supervise qmail
>> root   479  0.0  1.4  1184  432 ?  S    14:07   0:00 supervise log
>> root   480  0.0  1.4  1184  432 ?  S    14:07   0:00 supervise qread
>> root   483  0.0  1.4  1184  432 ?  S    14:07   0:00 supervise qstat
>> qmails 485  0.0  1.4  1176  436 ?  S    14:07   0:00 unixserver -U -q
>> /tmp/.qmail-qread /usr/bin/qmail-qread
>> qmails 487  0.0  1.4  1176  436 ?  S    14:07   0:00 unixserver -U -q
>> /tmp/.qmail-qstat /usr/bin/qmail-qstat
>> qmails 488  0.0  1.7  1248  516 ?  S    14:07   0:00 qmail-send
>> qmaillog 489  0.0  1.7  1204  532 ?  S    14:07   0:00 splogger qmail
>> root   506  0.0  1.8  1252  568 ?  S    14:07   0:00 gpm -t Busmouse
>> root   519  0.0  1.5  1212  468 ?  S    14:07   0:00 qmail-lspawn ./Maildir/
>> qmailr 520  0.0  1.5  1208  456 ?  S    14:07   0:00 qmail-rspawn
>> qmailq 521  0.0  1.5  1188  456 ?  S    14:07   0:00 qmail-clean
>> 
>> 
>> Matthew Patterson wrote:
>> 
>>> remember, whichever password checker you use has to be passed the folder for
>>> qmail-pop3d to look in. so, if you are using djb's checkpassword program, it
>>> will not be able to auth the virtual users. I have very little experience
>>> with
>>> vmailmgr, but if there is a pop password checker in that package, make sure
>>> that you use that. otherwise, code one out similar to vpopmail that will
>>> pass
>>> the correct directory and uid/gid numbers. qmail-pop3d will try to look in
>>> whatever folder it is told as the user it is told by the password checker,
>>> so
>>> you may want to verify your permissions.
>>> 
>>> -- 
>>> ***********************************
>>> Matthew H Patterson
>>> Unix Systems Administrator
>>> National Support Center, LLC
>>> Naperville, Illinois, USA
>>> ***********************************
>>> 
>>> 
>>> On Wed, 17 Jan 2001, Sean Coyle wrote:
>>>> 
>>>> Hey there guys;
>>>> 
>>>>     I have posed to this list before, and I think it got lost amidst much
>>>> more interesting problems.  Below is the problem I am facing:
>>>> 
>>>> Using:
>>>> 
>>>> qmail-1.03+patches-18
>>>> ucspi-tcp-0.88-1
>>>> ucspi-unix-0.34-1
>>>> daemontools-0.70-2
>>>> autorespond-1.0.0
>>>> vmailmgr-0.96.9-1
>>>> supervise-scripts-3.3-1
>>>> omail-admin-0.96pre10
>>>> 
>>>> Here is my problem,
>>>> 
>>>>     I have one existing /etc/passwd (local) user that can check mail via
>>>> POP3.
>>>> 
>>>>     I have 3 virtual users created from vmailmgr that can receive mail from
>>>> external sources, but can not check and receive that mail via POP3.
>>>> 
>>>>     My thoughts are that pop-3 - qmail-popup is simply not looking in the
>>>> correct directory and finding the appropriate passwd.cdb file and users
>>>> folder.  However, SMTP is getting those messages into the correct area, as
>>>> when I look in the respective virtual accounts 'new' and 'cur' folders,
>>>> mail
>>>> is there.
>>>> 
>>>> Below is what the qmail-lint grabs, I don't care about those users, as they
>>>> are not to receive mail anyway:
>>>> 
>>>> Warning: cannot receive mail (does not own home directory): brandon
>>>> Warning: cannot receive mail (does not own home directory): phorum
>>>> Warning: cannot receive mail (does not own home directory): wedding
>>>> Warning: cannot receive mail (does not own home directory): dtlog
>>>> Warning: cannot receive mail (does not own home directory): qmaillog
>>>> 
>>>> Attached is the output from /usr/bin/qmail-showctl, maillog, and the
>>>> vmailmgr current log.
>>>> 
>>>> If anyone has any ideas, I would be very grateful to hear them!
>>>> 
>>>> Cheers,
>>>> 
>>>> Sean
>>>> 
>>>> 
>>> 
>>> ----------------------------------------
>>> Content-Type: multipart/appledouble; name="unnamed"
>>> Content-Transfer-Encoding: 7bit
>>> Content-Description:
>>> ----------------------------------------
>>> 
>>> ----------------------------------------
>>> Content-Type: multipart/appledouble; name="unnamed"
>>> Content-Transfer-Encoding: 7bit
>>> Content-Description:
>>> ----------------------------------------
>>> 
>>> ----------------------------------------
>>> Content-Type: multipart/appledouble; name="unnamed"
>>> Content-Transfer-Encoding: 7bit
>>> Content-Description:
>>> ----------------------------------------
>>> 
> 
> Not really sure what some of the stuff is that you're trying to do with your
> tcpserver config, but try this out:
> 
> #!/bin/bash
> /usr/local/bin/tcpserver -v -x /etc/tcpcontrol/pop-3.cdb -R 0 pop3 \
> /var/qmail/bin/qmail-popup worldvibe.org /path_to/checkvpw \
> /var/qmail/bin/qmail-pop3d Maildir 2>&1
> 
> First grep /etc/services or /etc/protocols for pop, and if your pop3 line is
> actually pop-3, change it at the end of line 2. then, replace path_to at the
> end of line 3 with your path to checkvpw. Finally, you have to be using a
> Maildir format mailbox in the home directory that checkvpw will point to.
> 
> Give all this a whirl, and let me know if it still doesn't work.

This whas the run script I was using, I have since changed it to the line you see in 
the 'ps' exerpt below.
--------------------------------------------------------------
#!/bin/sh
service=pop3d
. /usr/share/qmail/run-functions
hostname="`hostname`"
readdefault concurrency concurrencypop3d 20
readdefault checkpass checkpassword checkpassword
do_ulimits

exec tcpserver -dHRvX -c "$concurrency" \
        -x /etc/tcpcontrol/pop-3.cdb 0 pop-3 recordio qmail-popup "$hostname" \
        $checkpass /usr/bin/qmail-pop3d Maildir/
[EOF]--------------------------------------------------------------


Below are what the processes look like now within my system that have direct 
symbolance to qmail.
--------------------------------------------------------------
root       131  0.0  1.4  1220  448 ?        S    09:51   0:00 svscan /service
root       137  0.0  1.4  1184  432 ?        S    09:51   0:00 supervise vmailmgrd
root       138  0.0  1.4  1184  432 ?        S    09:51   0:00 supervise log
root       139  0.0  1.4  1184  432 ?        S    09:51   0:00 supervise pop3d
root       140  0.0  1.4  1184  432 ?        S    09:51   0:00 supervise log
root       141  0.0  1.5  1180  468 ?        S    09:51   0:00 unixserver -v -- 
/var/service/vmailmgrd/socket recordio vmailmgrd -D -V
root       143  0.0  1.4  1196  432 ?        S    09:51   0:00 multilog t 
/var/log/vmailmgrd
qmaillog   146  0.0  1.7  1204  532 ?        S    09:51   0:00 splogger pop-3
root       148  0.0  2.0  1344  600 ?        S    09:51   0:00 /usr/bin/tcpserver -v 
-x /etc/tcpcontrol/pop-3.cdb -R 0 pop-3 /usr/bin/qmail-popup worldvibe.org 
/usr/bin/checkvpw /usr/bin/qmail-pop3d Maildir 2>&1
root       470  0.0  1.4  1220  448 ?        S    09:52   0:00 svscan
root       471  0.0  1.4  1184  432 ?        S    09:52   0:00 supervise qmail-send
root       472  0.0  1.4  1184  432 ?        S    09:52   0:00 supervise log
root       473 18.7  1.4  1184  432 ?        S    09:52   1:03 supervise smtpd
root       474  0.0  1.4  1184  432 ?        S    09:52   0:00 supervise log
qmails     475  0.0  1.6  1248  500 ?        S    09:52   0:00 qmail-send
qmaill     478  0.0  1.4  1196  432 ?        S    09:52   0:00 /usr/local/bin/multilog 
t /var/log/qmail/smtpd
qmaill     481  0.0  1.4  1196  436 ?        S    09:52   0:00 /usr/local/bin/multilog 
t /var/log/qmail/qmail-send
qmaill     489  0.0  0.6  1188  192 ?        S    09:52   0:00 recordio 
/usr/local/bin/multilog t /var/log/qmail/smtpd
root       490  0.0  1.5  1212  456 ?        S    09:52   0:00 qmail-lspawn ./Maildir
qmailr     491  0.0  1.5  1208  456 ?        S    09:52   0:00 qmail-rspawn
qmailq     492  0.0  1.5  1188  452 ?        S    09:52   0:00 qmail-clean
--------------------------------------------------------------

This is what the maillog used to look like while I was running recordio on the pop3d 
startup line from daemontools,
--------------------------------------------------------------
Jan 18 01:00:57 www pop-3: 979808457.375024 tcpserver: status: 1/20
Jan 18 01:00:57 www pop-3: 979808457.377987 tcpserver: pid 21469 from 24.113.51.254
Jan 18 01:00:57 www pop-3: 979808457.383062 tcpserver: ok 21469 :64.69.78.221:110 
:24.113.51.254::49311
Jan 18 01:00:57 www pop-3: 979808457.428178 21469 > +OK 
<[EMAIL PROTECTED]>? 
Jan 18 01:00:57 www pop-3: 979808457.445899 21469 < USER [EMAIL PROTECTED]? 
Jan 18 01:00:57 www pop-3: 979808457.447553 21469 > +OK ? 
Jan 18 01:00:57 www pop-3: 979808457.464929 21469 < PASS testtest? 
Jan 18 01:00:57 www pop-3: 979808457.538585 21469 > -ERR authorization failed? 
Jan 18 01:00:57 www pop-3: 979808457.541629 tcpserver: end 21469 status 256
Jan 18 01:00:57 www pop-3: 979808457.542500 tcpserver: status: 0/20
Jan 18 01:00:57 www pop-3: 979808457.543659 21469 > [EOF]
Jan 18 01:01:12 www pop-3: 979808472.754358 tcpserver: status: 1/20
Jan 18 01:01:12 www pop-3: 979808472.758476 tcpserver: pid 22582 from 24.113.51.254
Jan 18 01:01:12 www pop-3: 979808472.763775 tcpserver: ok 22582 :64.69.78.221:110 
:24.113.51.254::49312
Jan 18 01:01:12 www pop-3: 979808472.806122 22582 > +OK 
<[EMAIL PROTECTED]>? 
Jan 18 01:01:12 www pop-3: 979808472.910528 22582 < APOP worldvibe@www 
dd035ed1cb9467a9d366a480a485bd4d? 
Jan 18 01:01:12 www pop-3: 979808472.979248 22582 > -ERR authorization failed? 
Jan 18 01:01:12 www pop-3: 979808472.984339 tcpserver: end 22582 status 256
Jan 18 01:01:12 www pop-3: 979808472.985227 tcpserver: status: 0/20
Jan 18 01:01:12 www pop-3: 979808472.986390 22582 > [EOF]
--------------------------------------------------------------
 
 This is what the maillog looks like now.  The service still starts, and I can still 
try and get in, but it still does not let me.
 simply nothign much was diffrent but the recordio line I placed in there.

--------------------------------------------------------------
Jan 18 09:52:01 www pop-3: 979840321.156996 tcpserver: status: 1/40
Jan 18 09:52:01 www pop-3: 979840321.161928 tcpserver: pid 400 from 24.113.51.254
Jan 18 09:52:01 www pop-3: 979840321.611430 tcpserver: ok 400 :64.69.78.221:110 
cr270448-a.crdva1.bc.wave.home.com:24.113.51.254::49160
Jan 18 09:52:03 www pop-3: 979840323.337652 tcpserver: end 400 status 256
Jan 18 09:52:03 www pop-3: 979840323.338500 tcpserver: status: 0/40
Jan 18 09:52:17 www pop-3: 979840337.830227 tcpserver: status: 1/40
Jan 18 09:52:17 www pop-3: 979840337.834216 tcpserver: pid 635 from 24.113.51.254
Jan 18 09:52:17 www pop-3: 979840337.841975 tcpserver: ok 635 :64.69.78.221:110 
cr270448-a.crdva1.bc.wave.home.com:24.113.51.254::49162
Jan 18 09:52:18 www pop-3: 979840338.073970 tcpserver: end 635 status 256
Jan 18 09:52:18 www pop-3: 979840338.076636 tcpserver: status: 0/40
Jan 18 09:52:18 www pop-3: 979840338.275527 tcpserver: status: 1/40
Jan 18 09:52:18 www pop-3: 979840338.286750 tcpserver: pid 641 from 24.113.51.254
Jan 18 09:52:18 www pop-3: 979840338.307013 tcpserver: ok 641 :64.69.78.221:110 
cr270448-a.crdva1.bc.wave.home.com:24.113.51.254::49163
Jan 18 09:52:18 www pop-3: 979840338.366994 tcpserver: end 641 status 256
Jan 18 09:52:18 www pop-3: 979840338.367926 tcpserver: status: 0/40
Jan 18 09:52:18 www pop-3: 979840338.489342 tcpserver: status: 1/40
Jan 18 09:52:18 www pop-3: 979840338.492629 tcpserver: pid 647 from 24.113.51.254
Jan 18 09:52:18 www pop-3: 979840338.500451 tcpserver: ok 647 :64.69.78.221:110 
cr270448-a.crdva1.bc.wave.home.com:24.113.51.254::49164
Jan 18 09:52:18 www pop-3: 979840338.738466 tcpserver: end 647 status 256
Jan 18 09:52:18 www pop-3: 979840338.739447 tcpserver: status: 0/40

Reply via email to