Re: [vchkpw] vdeliver perimission denied for vadddomain -u

2009-12-22 Thread Matt Brookings
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Michael Mussulis wrote: > The solution is vadddomain -g 516 which creates the domain skeleton with > vpopmail:mike4 owner and group. This ensures vpopmail can authenticate > whilst maintaining group rights for file system quotas via group quotas. The

RE: [vchkpw] vdeliver perimission denied for vadddomain -u

2009-12-22 Thread Michael Mussulis
om > To: vchkpw@inter7.com > Subject: Re: [vchkpw] vdeliver perimission denied for vadddomain -u > > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Michael Mussulis wrote: > > I am back, and I want to thank you ALL for all your help and assistance, > > you've

RE: [vchkpw] vdeliver perimission denied for vadddomain -u

2009-12-21 Thread Michael Mussulis
inter7.com > To: vchkpw@inter7.com > Subject: Re: [vchkpw] vdeliver perimission denied for vadddomain -u > > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Michael Mussulis wrote: > > I am back, and I want to thank you ALL for all your help and assistance, >

Re: [vchkpw] vdeliver perimission denied for vadddomain -u

2009-12-21 Thread Matt Brookings
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Michael Mussulis wrote: > I am back, and I want to thank you ALL for all your help and assistance, > you've all been very kind, patient and helpful. Sorry I've dropped off > the map these last couple of weeks, but I underwent an operation to > remove a

RE: [vchkpw] vdeliver perimission denied for vadddomain -u

2009-12-21 Thread Michael Mussulis
te: Sat, 5 Dec 2009 02:37:13 +0200 > From: jukka.kurk...@tjc.fi > To: vchkpw@inter7.com > Subject: Re: [vchkpw] vdeliver perimission denied for vadddomain -u > > dovecot, to get around the uid 0 error. > > Michael Mussulis wrote: > > sorry modify exactly which user_q

RE: [vchkpw] vdeliver perimission denied for vadddomain -u

2009-12-04 Thread Michael Mussulis
2:37:13 +0200 > From: jukka.kurk...@tjc.fi > To: vchkpw@inter7.com > Subject: Re: [vchkpw] vdeliver perimission denied for vadddomain -u > > dovecot, to get around the uid 0 error. > > Michael Mussulis wrote: > > sorry modify exactly which user_query? vopm

Re: [vchkpw] vdeliver perimission denied for vadddomain -u

2009-12-04 Thread Jukka Kurkela
dovecot, to get around the uid 0 error. Michael Mussulis wrote: sorry modify exactly which user_query? vopmail or dovecot? that one: > > user_query = SELECT pw_dir as home, pw_uid AS uid, pw_gid AS gid FROM > > vpopmail WHERE pw_name = '%n' AND pw_domain = '%d' and a side note: > > A

RE: [vchkpw] vdeliver perimission denied for vadddomain -u

2009-12-04 Thread Michael Mussulis
or did u mean the sql query used in dovecot-sql.conf? > Date: Sat, 5 Dec 2009 02:18:13 +0200 > From: jukka.kurk...@tjc.fi > To: vchkpw@inter7.com > Subject: Re: [vchkpw] vdeliver perimission denied for vadddomain -u > > you could hard code vpopmail's uid and vchkpw

RE: [vchkpw] vdeliver perimission denied for vadddomain -u

2009-12-04 Thread Michael Mussulis
sorry modify exactly which user_query? vopmail or dovecot? mike > Date: Sat, 5 Dec 2009 02:18:13 +0200 > From: jukka.kurk...@tjc.fi > To: vchkpw@inter7.com > Subject: Re: [vchkpw] vdeliver perimission denied for vadddomain -u > > you could hard code vpopmail's uid

Re: [vchkpw] vdeliver perimission denied for vadddomain -u

2009-12-04 Thread Jukka Kurkela
e with the real uid/gid values? Thanks, Michael. (PS: I know part of the question is about dovecot, but it's closely tied to vpopmail authentication). > Date: Fri, 4 Dec 2009 09:46:37 -0600 > From: m...@inter7.com > To: vchkpw@inter7.com > Subject: Re: [vchkpw] vdeliver

RE: [vchkpw] vdeliver perimission denied for vadddomain -u

2009-12-04 Thread Michael Mussulis
tand that for any domain I create with -u, I then have to update vpopmail table with the real uid/gid values? Thanks,Michael.(PS: I know part of the question is about dovecot, but it's closely tied to vpopmail authentication). > Date: Fri, 4 Dec 2009 09:46:37 -0600 > From: m...@inter7.com

Re: [vchkpw] vdeliver perimission denied for vadddomain -u

2009-12-04 Thread Matt Brookings
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Pavel V. Yanchenko wrote: > Could it be that vdelivermail ignores groups? Is it possible at all? The groups file is not read by uid selection or execution system calls. - -- /* Matt BrookingsGnuPG Key FAE0672C Software developer

Re: [vchkpw] vdeliver perimission denied for vadddomain -u

2009-12-04 Thread Rick Macdougall
Matt Brookings wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Michael Mussulis wrote: Furthermore, having followed the instructions to the letter, I would expect it to simply work - unless there's something silly I've missed (or perhaps undocumented). If other people have -u to work perha

RE: [vchkpw] vdeliver perimission denied for vadddomain -u

2009-12-04 Thread Michael Mussulis
ject: Re: [vchkpw] vdeliver perimission denied for vadddomain -u > > Thats kind of odd.. did you make sure the user (mike4 i guess) is in > that group? > > ++jukka > > Michael Mussulis wrote:

RE: [vchkpw] vdeliver perimission denied for vadddomain -u

2009-12-04 Thread Michael Mussulis
Yup... see output of id: [r...@vmfc12 ~]# id mike4uid=516(mike4) gid=516(mike4) groups=516(mike4),502(vchkpw) Mike. > Date: Fri, 4 Dec 2009 15:45:30 +0200 > From: jukka.kurk...@tjc.fi > To: vchkpw@inter7.com > Subject: Re: [vchkpw] vdeliver perimission denied for vadddomain -u >

Re: [vchkpw] vdeliver perimission denied for vadddomain -u

2009-12-04 Thread Jukka Kurkela
mysql:_can't_read_settings_from_/usr/local/hcp/vpopmail/etc/vpopmail.mysql/vdelivermail:_deferred,_database_down/ Any other ideas? Thanks, Michael. > Date: Fri, 4 Dec 2009 10:09:44 +0200 > From: jukka.kurk...@tjc.fi > To: vchkpw@inter7.com > Subject: Re: [vchkpw] vdeliver perimission

RE: [vchkpw] vdeliver perimission denied for vadddomain -u

2009-12-04 Thread Michael Mussulis
ther ideas? Thanks,Michael. > Date: Fri, 4 Dec 2009 10:09:44 +0200 > From: jukka.kurk...@tjc.fi > To: vchkpw@inter7.com > Subject: Re: [vchkpw] vdeliver perimission denied for vadddomain -u > > rather change the group of vpopmail.mysql to vchkpw and let it be in > mode 640.. i

Re: [vchkpw] vdeliver perimission denied for vadddomain -u

2009-12-04 Thread Jukka Kurkela
kpw@inter7.com > Subject: Re: [vchkpw] vdeliver perimission denied for vadddomain -u > > Sorry to just jump in at a random point in the conversation, but here are some thoughts. > > If you su to the mike4 user, can you run ~vpopmail/bin/vdelivermail (i.e., do you have execute acc

RE: [vchkpw] vdeliver perimission denied for vadddomain -u

2009-12-03 Thread Michael Mussulis
/local/hcp/vpopmail"#define VPOPUSER "vpopmail" Any other paths I may have missed? Thanks,Michael. > Date: Thu, 3 Dec 2009 17:14:34 -0600 > From: m...@inter7.com > To: vchkpw@inter7.com > Subject: Re: [vchkpw] vdeliver perimission denied for vadddomain -u > > -BEGIN

RE: [vchkpw] vdeliver perimission denied for vadddomain -u

2009-12-03 Thread Michael Mussulis
, 3 Dec 2009 15:25:05 -0800 > To: vchkpw@inter7.com > Subject: Re: [vchkpw] vdeliver perimission denied for vadddomain -u > > Sorry to just jump in at a random point in the conversation, but here are > some thoughts. > > If you su to the mike4 user, can you run ~vpopmail/bin/

RE: [vchkpw] vdeliver perimission denied for vadddomain -u

2009-12-03 Thread Michael Mussulis
m > Subject: Re: [vchkpw] vdeliver perimission denied for vadddomain -u > > Sorry to just jump in at a random point in the conversation, but here are > some thoughts. > > If you su to the mike4 user, can you run ~vpopmail/bin/vdelivermail (i.e., do > you have execute access

Re: [vchkpw] vdeliver perimission denied for vadddomain -u

2009-12-03 Thread Tom Collins
Sorry to just jump in at a random point in the conversation, but here are some thoughts. If you su to the mike4 user, can you run ~vpopmail/bin/vdelivermail (i.e., do you have execute access on the file)? It needs to be able to do that. Can you cd into the directory with email for that domain

RE: [vchkpw] vdeliver perimission denied for vadddomain -u

2009-12-03 Thread Michael Mussulis
spamassassin was already disabled in vlimits.default, but I recompiled again without it.Same problem. Mike. Date: Thu, 3 Dec 2009 15:16:45 -0800 From: t...@eotnetworks.com To: vchkpw@inter7.com Subject: Re: [vchkpw] vdeliver perimission denied for vadddomain -u Try disabling

Re: [vchkpw] vdeliver perimission denied for vadddomain -u

2009-12-03 Thread Tren Blackburn
Try disabling spamassassin support as well. t From: Michael Mussulis To: vchkpw@inter7.com Sent: Thu Dec 03 15:13:25 2009 Subject: RE: [vchkpw] vdeliver perimission denied for vadddomain -u Matt, Just to make sure we're on the page, I've do

Re: [vchkpw] vdeliver perimission denied for vadddomain -u

2009-12-03 Thread Matt Brookings
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Michael Mussulis wrote: > Matt, > > Just to make sure we're on the page, I've done a brand new build using > version 5.4.29 you recently released, without maildrop as shown below. > Installed, restarted qmail, still getting permission denied. Check c

RE: [vchkpw] vdeliver perimission denied for vadddomain -u

2009-12-03 Thread Michael Mussulis
: vchkpw@inter7.com > Subject: Re: [vchkpw] vdeliver perimission denied for vadddomain -u > > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Tren Blackburn wrote: > > Excuse my interjection but could the issue be with maildrop being called > > during the delivery

RE: [vchkpw] vdeliver perimission denied for vadddomain -u

2009-12-03 Thread Michael Mussulis
Tren, No need to apologize, and I thought of the exact same thing, so I did two tests: 1. disable maildrop in ./etc/vlimits.default2. recompiled vpopmail without maildrop Still got the same error. I even went as far as renaming the maildroprc file, but still no go. Thanks,Michael. -- Exc

Re: [vchkpw] vdeliver perimission denied for vadddomain -u

2009-12-03 Thread Matt Brookings
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Tren Blackburn wrote: > Excuse my interjection but could the issue be with maildrop being called > during the delivery process? What do your maildroprc file have in it? > Does maildrop have permission to delivery to that directory? Ah. Also, does vde

Re: [vchkpw] vdeliver perimission denied for vadddomain -u

2009-12-03 Thread Tren Blackburn
15:00:16 2009 Subject: Re: [vchkpw] vdeliver perimission denied for vadddomain -u -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Michael Mussulis wrote: > Matt, > > I am running version 5.4.28 downloaded from sourceforge and compiled with: > > #!/bin/sh > > ./configure

Re: [vchkpw] vdeliver perimission denied for vadddomain -u

2009-12-03 Thread Matt Brookings
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Michael Mussulis wrote: > Matt, > > Is there any way to manually debug vdelivermail? Of course. Look at the qmail-command manpage. - -- /* Matt BrookingsGnuPG Key FAE0672C Software developer Systems technician

Re: [vchkpw] vdeliver perimission denied for vadddomain -u

2009-12-03 Thread Matt Brookings
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Michael Mussulis wrote: > Matt, > > I am running version 5.4.28 downloaded from sourceforge and compiled with: > > #!/bin/sh > > ./configure \ > --prefix=/usr/local/hcp \ > --enable-qmaildir=/usr/local/hcp/var/qmail \ > --enable-qmail-ne

RE: [vchkpw] vdeliver perimission denied for vadddomain -u

2009-12-03 Thread Michael Mussulis
Matt, Is there any way to manually debug vdelivermail? Cheers,Michael. > Date: Thu, 3 Dec 2009 16:45:56 -0600 > From: m...@inter7.com > To: vchkpw@inter7.com > Subject: Re: [vchkpw] vdeliver perimission denied for vadddomain -u > > -BEGIN PGP SIGNED MESSAGE- > Ha

RE: [vchkpw] vdeliver perimission denied for vadddomain -u

2009-12-03 Thread Michael Mussulis
/local/hcp/bin/maildrop Thanks,Michael. > Date: Thu, 3 Dec 2009 16:45:56 -0600 > From: m...@inter7.com > To: vchkpw@inter7.com > Subject: Re: [vchkpw] vdeliver perimission denied for vadddomain -u > > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Michael Mussulis wro

Re: [vchkpw] vdeliver perimission denied for vadddomain -u

2009-12-03 Thread Matt Brookings
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Michael Mussulis wrote: > Furthermore, having followed the instructions to the letter, I would > expect it to simply work - unless there's something silly I've missed > (or perhaps undocumented). If other people have -u to work perhaps they > can shed

RE: [vchkpw] vdeliver perimission denied for vadddomain -u

2009-12-03 Thread Michael Mussulis
ec 2009 16:00:23 -0600 > From: m...@inter7.com > To: vchkpw@inter7.com > Subject: Re: [vchkpw] vdeliver perimission denied for vadddomain -u > > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Michael Mussulis wrote: > > It looks like I am talking partly nonsense

Re: [vchkpw] vdeliver perimission denied for vadddomain -u

2009-12-03 Thread Matt Brookings
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Michael Mussulis wrote: > It looks like I am talking partly nonsense, apologies for that. I've had > another stab at the code, and it looks like the sql insert command > statement has gid hardcoded to '0', and uid is the 'apop' value - which > from wha

RE: [vchkpw] vdeliver perimission denied for vadddomain -u

2009-12-03 Thread Michael Mussulis
ould look? Thanks,Michael. From: mike_at...@hotmail.com To: vchkpw@inter7.com Date: Wed, 2 Dec 2009 11:12:50 + Subject: RE: [vchkpw] vdeliver perimission denied for vadddomain -u By the way, as a sideline question - related to the same issue, why do the fields pw_uid and pw_gid always end up

RE: [vchkpw] vdeliver perimission denied for vadddomain -u

2009-12-03 Thread Michael Mussulis
ould look? Thanks,Michael. From: mike_at...@hotmail.com To: vchkpw@inter7.com Date: Wed, 2 Dec 2009 11:12:50 + Subject: RE: [vchkpw] vdeliver perimission denied for vadddomain -u By the way, as a sideline question - related to the same issue, why do the fields pw_uid and pw_gid always end up

RE: [vchkpw] vdeliver perimission denied for vadddomain -u

2009-12-02 Thread Michael Mussulis
problem through Squirrelmail + Dovecot + IMAP with custom SQL authdb in dovecot_sql.conf. Regards,Micahel. From: mike_at...@hotmail.com To: vchkpw@inter7.com Date: Wed, 2 Dec 2009 10:31:17 + Subject: RE: [vchkpw] vdeliver perimission denied for vadddomain -u Tren, It's definitel

RE: [vchkpw] vdeliver perimission denied for vadddomain -u

2009-12-02 Thread Michael Mussulis
vchkpw@inter7.com > Subject: RE: [vchkpw] vdeliver perimission denied for vadddomain -u > > In your example the thing that pops out is the user you add is "mike42" > however the user you're assigning the domain to is "mike4". Is this a > typo? Or d

RE: [vchkpw] vdeliver perimission denied for vadddomain -u

2009-12-01 Thread Tren Blackburn
8:19 AM To: vchkpw@inter7.com Subject: RE: [vchkpw] vdeliver perimission denied for vadddomain -u Hi Matt, Thanks for your reply, which is what I suspected all along - I am more than certain something is wrong on my end, but for the life of me I can't figure it out yet. And yes, I agree, it M

RE: [vchkpw] vdeliver perimission denied for vadddomain -u

2009-12-01 Thread Michael Mussulis
: vchkpw@inter7.com > Subject: Re: [vchkpw] vdeliver perimission denied for vadddomain -u > > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Michael Mussulis wrote: >> Guys, >> >> There's one thing I don't understand - why does vadddomain have the -u

Re: [vchkpw] vdeliver perimission denied for vadddomain -u

2009-12-01 Thread Matt Brookings
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Michael Mussulis wrote: > Guys, > > There's one thing I don't understand - why does vadddomain have the -u and > -i/-g options in the first place, if they don't seem to work fully? > > Perhaps I am missing something for which I apologize, but I can'

RE: [vchkpw] vdeliver perimission denied for vadddomain -u

2009-12-01 Thread Michael Mussulis
> Date: Mon, 30 Nov 2009 13:27:00 -0500 > From: vpopm...@honorablemenschen.com > To: vchkpw@inter7.com > Subject: RE: [vchkpw] vdeliver perimission denied for vadddomain -u > >> Of-course. Restarted several times just to make sure.I've even rebooted >> the machine (

RE: [vchkpw] vdeliver perimission denied for vadddomain -u

2009-11-30 Thread Michael Mussulis
o: vchkpw@inter7.com > Subject: RE: [vchkpw] vdeliver perimission denied for vadddomain -u > >> Of-course. Restarted several times just to make sure.I've even rebooted >> the machine (just in case). >> the process starts with uid/gid 0 (root): >>  1349 ?        S  

RE: [vchkpw] vdeliver perimission denied for vadddomain -u

2009-11-30 Thread Joshua Megerman
> Of-course. Restarted several times just to make sure.I've even rebooted > the machine (just in case). > the process starts with uid/gid 0 (root): >  1349 ?        S      0:00 /usr/local/bin/tcpserver -v -R -l localhost -x > /usr/local/hcp/vpopmail/etc/tcp.smtp.cdb -c 30 -u 0 -g 0 0 smtp > /usr/lo

RE: [vchkpw] vdeliver perimission denied for vadddomain -u

2009-11-30 Thread Michael Mussulis
l/hcp/var/qmail/bin/qmail-smtpd localhost /usr/local/hcp/vpopmail/bin/vchkpw /usr/bin/true Still no go. Any other things to look at? Cheers,Michael. > Date: Mon, 30 Nov 2009 11:37:28 -0600 > From: m...@inter7.com > To: vchkpw@inter7.com > Subject: Re: [vchkpw] vdeliver perimission deni

Re: [vchkpw] vdeliver perimission denied for vadddomain -u

2009-11-30 Thread Matt Brookings
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Michael Mussulis wrote: > Hi Matt, > > Many thanks for the quick reply. > > Unfortunately running qmail-smtpd as root has not solved the problem, > still getting permission denied. > Any other suggestions please? Did you restart the service under su

RE: [vchkpw] vdeliver perimission denied for vadddomain -u

2009-11-30 Thread Michael Mussulis
Subject: Re: [vchkpw] vdeliver perimission denied for vadddomain -u > > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Michael Mussulis wrote: > > [r...@vmfc12 qmail-smtpd]# cat run > > #!/bin/sh > > QMAILDUID=`id -u vpopmail` > > NOFILESGID=`id -g vpo

Re: [vchkpw] vdeliver perimission denied for vadddomain -u

2009-11-30 Thread Matt Brookings
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Michael Mussulis wrote: > [r...@vmfc12 qmail-smtpd]# cat run > #!/bin/sh > QMAILDUID=`id -u vpopmail` > NOFILESGID=`id -g vpopmail` Change to: QMAILUID=0 NOFILESGID=0 The vpopmail user can't change UIDs. - -- /* Matt BrookingsGnuPG Key F