[vchkpw] vdeliver perimission denied for vadddomain -u

2009-11-30 Thread Michael Mussulis
Hi, vpopmail works fine under normal circumstances, except for when I add a domain with a different user as in: vadddomain -u mike4 test10.com 123 I am doing this in order to enable os quotas for the entire domain. Testing sending a simple message fails with @40004b13d1b11ddaad64 status:

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

2009-11-30 Thread Michael Mussulis
: [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 vpopmail` Change to: QMAILUID=0 NOFILESGID=0 The vpopmail user

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

2009-11-30 Thread Michael Mussulis
-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

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

2009-11-30 Thread Michael Mussulis
Hi Joshua, Thanks for the reply. Can you please expand on making vdelivermail run as root via suid?Are you implying modifying qmail source code? Thanks,Michael. Date: Mon, 30 Nov 2009 13:27:00 -0500 From: vpopm...@honorablemenschen.com To:

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

2009-12-01 Thread Michael Mussulis
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't imagine those options having been implemented to partially support non

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

2009-12-01 Thread Michael Mussulis
@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 and -i/-g options in the first place, if they don't seem

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

2009-12-02 Thread Michael Mussulis
: [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 deliberate? t. -Original Message- From: Michael Mussulis [mailto:mike_at

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

2009-12-02 Thread Michael Mussulis
the user you're assigning the domain to is mike4. Is this a typo? Or deliberate? t. -Original Message- From: Michael Mussulis [mailto:mike_at...@hotmail.com] Sent: December-01-09 8:19 AM To: vchkpw@inter7.com Subject: RE: [vchkpw] vdeliver perimission denied for vadddomain -u

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

2009-12-03 Thread Michael Mussulis
: [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 deliberate? t. -Original Message- From: Michael Mussulis [mailto:mike_at

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

2009-12-03 Thread Michael Mussulis
: [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 deliberate? t. -Original Message- From: Michael Mussulis [mailto:mike_at

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

2009-12-03 Thread Michael Mussulis
perimission denied for vadddomain -u -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

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 wrote: Furthermore, having followed

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- Hash: SHA1 Michael Mussulis

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. --

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

2009-12-03 Thread Michael Mussulis
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. Mike. configure: creating ./config.statusconfig.status: creating

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 Michael Mussulis
Tom, I reckon you might be on to something. I did su to mike4, and couldn't even list the ~vpopmail/bin directory, let alone execute vdelivermail - in fact I got Permission denied! And I fixed it! I changed permissions as follows: ~vpopmail/ - to mode 2755~vpopmail/etc/ - to mode

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

2009-12-03 Thread Michael Mussulis
Tom/Matt, I recompiled with spamassassin and maildrop, reinstalled, and vpopmail.mysql went back to mode 640, which caused this error: @40004b184f6a0be9e37c new msg 207...@40004b184f6a0be9ef34 info msg 207176: bytes 496 from r...@localhost.localhost qp 15404 uid

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

2009-12-03 Thread Michael Mussulis
denied for vadddomain -u -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

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

2009-12-04 Thread Michael Mussulis
Jukka, Good point, but vpopmail.mysql is already group vchkpw and mode 640 doesn't work. I tried and it gives: @40004b19000104a3957c delivery 37: deferral: vmysql:_can't_read_settings_from_/usr/local/hcp/vpopmail/etc/vpopmail.mysql/vdelivermail:_deferred,_database_down/ Any other ideas?

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

2009-12-04 Thread Michael Mussulis
.. did you make sure the user (mike4 i guess) is in that group? ++jukka Michael Mussulis wrote: Jukka, Good point, but vpopmail.mysql is already group vchkpw and mode 640 doesn't work. I tried and it gives: @40004b19000104a3957c delivery 37: deferral: vmysql

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

2009-12-04 Thread Michael Mussulis
Hi Pavel, It already is, see output of id: [r...@vmfc12 ~]# id mike4uid=516(mike4) gid=516(mike4) groups=516(mike4),502(vchkpw) Mike. Date: Fri, 4 Dec 2009 16:36:46 +0300 From: bal...@msmu.ru To: vchkpw@inter7.com Subject: Re[2]: [vchkpw] vdeliver perimission denied for vadddomain -u

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

2009-12-04 Thread Michael Mussulis
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: _ Have more than one Hotmail account

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

2009-12-04 Thread Michael Mussulis
Pavel, Didn't work, I got this: @40004b1996a62056cd0c status: local 0/10 remote 0/1...@40004b19970325ce2f3c starting delivery 92: msg 206456 to local test10.com-postmas...@test10.com@40004b19970325ce42c4 status: local 1/10 remote 0/1...@40004b1997071b92096c delivery 92:

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

2009-12-04 Thread Michael Mussulis
Hmm... so basically so far from everything that's been said, it looks like the uid/gid values are being used for domain creation purposes, but not stored in the sql backend, which brings me to the issue of dovecot authentication via IMAP. As mentioned before, I did a bog standard vpopmail

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

2009-12-04 Thread Michael Mussulis
.. not quite sure if that will do what you're looking for though. ++jukka Michael Mussulis wrote: Hmm... so basically so far from everything that's been said, it looks like the uid/gid values are being used for domain creation purposes, but not stored in the sql backend, which brings me

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 gid in that user_query.. not quite

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

2009-12-04 Thread Michael Mussulis
: 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? vopmail or dovecot? snip that one: user_query = SELECT

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

2009-12-21 Thread Michael Mussulis
...@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? vopmail or dovecot? snip that one: user_query = SELECT pw_dir as home

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

2009-12-21 Thread Michael Mussulis
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 all been very kind, patient and helpful. Sorry I've dropped off the map

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

2009-12-22 Thread Michael Mussulis
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 all been very kind, patient and helpful. Sorry I've dropped off the map

[vchkpw] deleting domains and dir_control

2010-01-19 Thread Michael Mussulis
Hi Guys, I have a simple question. I created a domain test65.com and my dir_control table looks like this: test65.com103000616161024000 dom_507103000616161024000 I then deleted the domain which was removed from dir_control, but the dom_507 record was not.Is this the way it's supposed to work?

RE: [vchkpw] deleting domains and dir_control

2010-01-19 Thread Michael Mussulis
Hi Matt, Thanks for the quick reply. Yes, it was meant to work this way. If you're running a newer version of vpopmail, this entry will be re-used by a new domain. Do you mean in the newer versions of vpopmail, newly added domains reuse the same entry? Also, is there any documentation

[vchkpw] disable postmaster account?

2010-01-19 Thread Michael Mussulis
Hi again, For every mail domain created, a postmaster account is created by default. Is this neccessary?Is it possible to add a domain through vadddomain without a default postmaster account? Many thanks,Michael.

RE: [vchkpw] disable postmaster account?

2010-01-19 Thread Michael Mussulis
? -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Michael Mussulis wrote: Hi again, For every mail domain created, a postmaster account is created by default. Is this neccessary? Is it possible to add a domain through vadddomain without a default postmaster account? RFCs state

RE: [vchkpw] disable postmaster account?

2010-01-19 Thread Michael Mussulis
: [vchkpw] disable postmaster account? -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Michael Mussulis wrote: Hi Matt, So am I to understand it is created by vadddomain just to satisfy the RFC, and deleting it will not break vpopmail/qmail in any way? Generally, the answer to your

RE: [vchkpw] disable postmaster account?

2010-01-19 Thread Michael Mussulis
Ok, thanks Matt. Date: Tue, 19 Jan 2010 16:46:54 -0600 From: m...@inter7.com To: vchkpw@inter7.com Subject: Re: [vchkpw] disable postmaster account? -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Michael Mussulis wrote: Ok, great. So I've added the domain, deleted the postmaster

RE: [vchkpw] disable postmaster account?

2010-01-19 Thread Michael Mussulis
Subject: Re: [vchkpw] disable postmaster account? -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Michael Mussulis wrote: Ok, great. So I've added the domain, deleted the postmaster account, but now dir_control shows 1 users for the newly added domain. If I reset this to 0, would it impact

RE: [vchkpw] disable postmaster account?

2010-01-19 Thread Michael Mussulis
@inter7.com Subject: Re: [vchkpw] disable postmaster account? -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Michael Mussulis wrote: Matt, Sorry for being a pain, but although I've removed the postmaster account from the vpopmail table, I'm still left with the postmaster Maildir

[vchkpw] DSPAM configuration usage? (vpopmail + simscan + maildrop + clamav)

2010-08-12 Thread Michael Mussulis
Hi All, First of, apologies if this is a silly question, but I am VERY VERY confused with regards to DSPAM configuration/usage.I am mostly used to SpamAssassin, and have configured it many times before, with the result of it working more or less straight out of the box. However, SA is no

FW: [vchkpw] DSPAM configuration usage? (vpopmail + simscan + maildrop + clamav)

2010-08-12 Thread Michael Mussulis
Hi Tren, Thanks for the quick reply. No I have not done any spam training whatsoever; I only caught on to this fact recently upon re-reading the documentation. Up until now I kept thinking my configuration was wrong somehow, or lacking a certain option. Ok, so now we've established it needs

RE: [vchkpw] DSPAM configuration usage? (vpopmail + simscan + maildrop + clamav)

2010-08-13 Thread Michael Mussulis
might want to subscribe to the dspam mailing list since your questions are dspam specific. Corpus training requires you have a large sample of both spam and ham messages. Webui is for the messages that have come in since you turned dspam live. Hope that helps a bit, Tren From: Michael