Re: [vchkpw] vpopmail/ezmlm problems

2005-08-29 Thread Bob Hutchinson
On Monday 29 Aug 2005 01:54, James Longstreet wrote:
> On Aug 28, 2005, at 5:51 PM, Ken Jones wrote:
> > You might want to remove the lines for your system users.
> >
> > Then make sure there is a .qmail-listname file in your domain.com
> > directory.
> >
> > Then send it an email and watch your qmail log file to see the
> > status of the delivery.
>
> Ok, I removed all the other lines.
>
> $ echo "test" | /var/qmail/bin/qmail-inject [EMAIL PROTECTED]
>
> qmail-send log:
> @400043125c03080f29ec new msg 162864
> @400043125c03080f35a4 info msg 162864: bytes 220 from
> <[EMAIL PROTECTED]> qp 7420 uid 0
> @400043125c0308c24964 starting delivery 22: msg 162864 to local
> [EMAIL PROTECTED]
> @400043125c0308c3a124 status: local 1/10 remote 0/20
> @400043125c0308d28d74 delivery 22: failure:
> Sorry,_no_mailbox_here_by_that_name._(#5.1.1)/
> @400043125c0308d52584 status: local 0/10 remote 0/20
> @400043125c030a4207ac bounce msg 162864 qp 7422
> @400043125c030a43a1d4 end msg 162864

make sure you used vpopmail/bin/vadddomain to create the virtual domain, then 
use vadduser to create the popbox for listname. 

Then check in vpopmail/domains/domain.com/listname/. Look for Maildir which 
should contain new, tmp and cur. 

Check that everything under vpopmail belongs to user 'vpopmail', then test 
again.

You might find qmailadmin a handy package too.



-- 
-
Bob Hutchinson
Midwales dot com
-


Re: [vchkpw] vpopmail/ezmlm problems

2005-08-29 Thread James Longstreet
On Mon, 29 Aug 2005, Bob Hutchinson wrote:

> make sure you used vpopmail/bin/vadddomain to create the virtual domain, then
> use vadduser to create the popbox for listname.
>
> Then check in vpopmail/domains/domain.com/listname/. Look for Maildir which
> should contain new, tmp and cur.
>
> Check that everything under vpopmail belongs to user 'vpopmail', then test
> again.
>
> You might find qmailadmin a handy package too.

Just to make sure (as I've reinstalled vpopmail several times), I
ran:

# /var/vpopmail/bin/vadddomain -d /var/vpopmail/domains/domain.com \
domain.com postpass
Error: domain already exists

I created the list with qmailadmin, so that should have added the popbox,
right?


Re: [vchkpw] vpopmail/ezmlm problems

2005-08-29 Thread Ken Jones

James Longstreet wrote:

On Mon, 29 Aug 2005, Bob Hutchinson wrote:



make sure you used vpopmail/bin/vadddomain to create the virtual domain, then
use vadduser to create the popbox for listname.

Then check in vpopmail/domains/domain.com/listname/. Look for Maildir which
should contain new, tmp and cur.

Check that everything under vpopmail belongs to user 'vpopmail', then test
again.

You might find qmailadmin a handy package too.



Just to make sure (as I've reinstalled vpopmail several times), I
ran:

# /var/vpopmail/bin/vadddomain -d /var/vpopmail/domains/domain.com \
domain.com postpass
Error: domain already exists

I created the list with qmailadmin, so that should have added the popbox,
right?


You should just do this:
/var/vpopmail/bin/vadddomain domain.com postpass

Let vpopmail figure out where to put the domain directory.
If you want to initialize directory hashing just delete the
/var/vpopmail/domains/.dir-control file.

Ken



Re: [vchkpw] vpopmail/ezmlm problems

2005-08-29 Thread James Longstreet
On Mon, 29 Aug 2005, Ken Jones wrote:

> You should just do this:
> /var/vpopmail/bin/vadddomain domain.com postpass
>
> Let vpopmail figure out where to put the domain directory.
> If you want to initialize directory hashing just delete the
> /var/vpopmail/domains/.dir-control file.
>
> Ken

Well, since nothing was working, I just rm -rf'd the domains/domain.com
directory, and dropped the vpopmail database, effectively starting from
scratch.  Then I recreated the domain and added the mailing list, and it
worked.

Now I should be able to add my normal /etc/passwd users to the domain by:
# vconvert -e -m

However, it skips all the users with:
user username domain domain.com did not add

However, it created all their directories (and maildirs) in the
domains/domain.com directory.

Thanks for all your help.


Re: [vchkpw] vpopmail/ezmlm problems

2005-08-29 Thread Bob Hutchinson
On Monday 29 Aug 2005 19:56, James Longstreet wrote:
> On Mon, 29 Aug 2005, Ken Jones wrote:
> > You should just do this:
> > /var/vpopmail/bin/vadddomain domain.com postpass
> >
> > Let vpopmail figure out where to put the domain directory.
> > If you want to initialize directory hashing just delete the
> > /var/vpopmail/domains/.dir-control file.
> >
> > Ken
>
> Well, since nothing was working, I just rm -rf'd the domains/domain.com
> directory, and dropped the vpopmail database, effectively starting from
> scratch.  Then I recreated the domain and added the mailing list, and it
> worked.
>
> Now I should be able to add my normal /etc/passwd users to the domain by:
> # vconvert -e -m
>
> However, it skips all the users with:
> user username domain domain.com did not add
>
> However, it created all their directories (and maildirs) in the
> domains/domain.com directory.

did it create entries in your mysql db?
if not
Are permissions correct for command line mysql access?
I see that vconvert has a -d parameter for debug info, might help

>
> Thanks for all your help.

-- 
-
Bob Hutchinson
Midwales dot com
-


Re: [vchkpw] vpopmail/ezmlm problems

2005-08-29 Thread James Longstreet
On Mon, 29 Aug 2005, Bob Hutchinson wrote:

> did it create entries in your mysql db?
> if not
> Are permissions correct for command line mysql access?
> I see that vconvert has a -d parameter for debug info, might help

It did create all the entries.  Maybe it said it wasn't adding them since
they were all in users/assign?  Doesn't matter, qmail-inject delivers mail
to domains/domain.com/username/.maildir, which is all I wanted, and
mailing lists work.

Thanks once again for all the suggestions and help, I appreciate it.

James Longstreet
System Administrator
Association for Computing Machinery
University of Illinois at Chicago
http://acm.cs.uic.edu