RE: [vchkpw] vdeliver perimission denied for vadddomain -u
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 vpopmail/vchkpw + userdir - unless of course this is either a bug or those options haven't been fully tested (which I seriously doubt considering the products age). Can anyone from Inter7 officially clarify this please? Thanks,Michael. 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 (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/local/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. qmail-smtpd doesn't run vdelivermail - qmail-local does (which is started via qmail-lspawn, which is started by qmail-send). Running qmail-smtpd as root won't fix this. Unfortunately, I believe you need to make vdelivermail run as root to make this work, possibly via suid, but I can't be certain of that. Josh Joshua Megerman SJGames MIB #5273 - OGRE AI Testing Division You can't win; You can't break even; You can't even quit the game. - Layman's translation of the Laws of Thermodynamics vpopm...@honorablemenschen.com _ Have more than one Hotmail account? Link them together to easily access both http://clk.atdmt.com/UKM/go/186394591/direct/01/ !DSPAM:4b14f55d32711754414332!
Re: Re[10]: [vchkpw] Issues with vpopmail
Kindlly help me in uninstalling vpopmail... Thanks --- On Fri, 11/27/09, Remo Mattei r...@italy1.com wrote: From: Remo Mattei r...@italy1.com Subject: Re: Re[10]: [vchkpw] Issues with vpopmail To: vchkpw@inter7.com Date: Friday, November 27, 2009, 7:42 PM Re: Re[10]: [vchkpw] Issues with vpopmail I am not sure what he is looking for but I have used vpopmail for over 10 years and never had any problems. If you need quota then yes that’s a different story. In the old days you could use and configure vpopmail with OS quota (linux etc) but now with the new version you can use vpopmail integrated function even though I have not use the quota for a while since all my clients do pop and get them down to their client machine so I do not have that problem but I would suggest to read the new readme for the quota. If you do not need it then do not worry just install follow Bill’s direction and you will be up and running in about 1 hour. If you still need help let me know but I will be out of the country (traveling to Italy) and be gone fo 2 weeks. Ciao Remo On 11/27/09 4:12 AM, abc Xyz a_xy...@yahoo.com wrote: i have .qmail-default in /home/vpopmail/~vpopmail/domains/user/example.com directory. and this file contains: | /home/vpopmail/bin/vdelivermail '' bounce-no-mailbox Regards Hello. 1) To use maildirsize files you have to configure vpopmail without --enable-domainquotas option. Then each user with defined quota will have file called maildirsize in his maildir. E.g. /home/vpopmail/domains/example.com/username/Maildir/maildirsize This file contains information about disk space usage and is updated every time user deletes messages via pop3/imap or new message arrives. You can read more about this method here: http://www.inter7.com/courierimap/README.maildirquota.html http://www.inter7.com/courierimap/README.maildirquota.html 2) Regarding messages w/o fields - what is in .qmail-default file in /home/vpopmail/domains/your-domain directory? Could you post all contents of this message (if it's not too big) here? 3) Honestly, I've never uninstalled vpopmail, but I think that if you remove domain name from /var/qmail/control/virtualdomains then mail for this domain will not be processed by vpopmail. But there are no other options for virtual domains with qmail. Vmailmgr is way obsolete imho. Also you could try 'make uninstall' :) Friday, November 27, 2009, 12:28:32 PM, you wrote: can you please explain what do you mean by old-fashioned quotas, which are using maildirsize file in user's directory and how can i set that Any suggestions why i am getting empty mails without sender, recipient, subject and content... what should i look for to rectify this?? thirdly how i can uninstall vpopmail completely from my server. Thanks. !DSPAM:4b15005932711267547131!
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 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 vpopmail/vchkpw + userdir - unless of course this is either a bug or those options haven't been fully tested (which I seriously doubt considering the products age). Can anyone from Inter7 officially clarify this please? The feature continues to work as far as I know. If you would like to post version information for all your software, including any patches to qmail, please feel free. The uid:gid support is handled via qmail-users. Any permissions problems you're having would probably be, well, permissions problems :) - -- /* Matt Brookings m...@inter7.com GnuPG Key FAE0672C Software developer Systems technician Inter7 Internet Technologies, Inc. (815)776-9465 */ -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAksVOSkACgkQIwet2/rgZyyAtwCfeV1HfgpsQQYm/KRKFc2Jg3zl QEYAoI93rtWt5UrwKNXwSFTVpo6rZ+M4 =UNdz -END PGP SIGNATURE-
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 MUST be permission related. As for the versions:- Fedora 12 x86- qmail 1.03 with jms1 combined patch 7.08- maildrop 2.2.0- ezmlm-idx 7.0.2- vpopmail 5.4.28- dovecot 1.2.8- spamassassin 3.3.0 (fedora rpm)- clamav 0.95.2-5 (fedora rpm) Basically I would say I am using the most up-to-date versions of everything.. I believe I am doing the right thing, i.e.: 1. adduser mike42. vadddomain -u mike4 test10.com 123 vpopmail creates ./test10.com directory structure just fine in /home/mike4, with mike4:mike4 ownership all the way down. However, delivery fails which is baffling, since vadddomain assigns ownership and permissions. I have not modified the owenership/permissions in any way. What I don't understand is which part fails - qmail-local unable to invoke vdelivermail? or vdelivermail accessing the userdir? or something else (now that you mentioned qmail-users)? At one point I thought it might be maildrop, so I re-compiled vpopmail without maildrop but this didn't work either. Would you have any directions as to how to enable this feature? And is there any way to debug vdelivermail? If yes, what would be the proper method? And just to show vpopmail works: @40004b153edf0b291bec new msg 206...@40004b153edf0b292b8c info msg 206712: bytes 492 from r...@localhost.localhost qp 3248 uid 0...@40004b153edf0b29335c starting delivery 7: msg 206712 to local test1.com-postmas...@test1.com@40004b153edf0b293b2c status: local 1/10 remote 0/1...@40004b153eef2626edfc delivery 7: success: LibClamAV_Error:_cl_cvdhead:_Can't_open_file_/var/lib/clamav/daily.cvd/maildrop:_non-filtered_mail_delivery/did_0+0+1/@40004b153eef26843cb4 status: local 0/10 remote 0/1...@40004b153eef269386c4 end msg 206712 from the same test script, but sending to test1.com which was created simply as: vadddomain test1.com 123 the directory structure gets created in the vpopmail home (as specified in ./configure), with vpopmail:vchkpw ownership. Thanks,Michael.PS: Ignore the libclamav error, although I would appreciate if anyone knows how to get rid of it. Date: Tue, 1 Dec 2009 09:41:29 -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: 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 vpopmail/vchkpw + userdir - unless of course this is either a bug or those options haven't been fully tested (which I seriously doubt considering the products age). Can anyone from Inter7 officially clarify this please? The feature continues to work as far as I know. If you would like to post version information for all your software, including any patches to qmail, please feel free. The uid:gid support is handled via qmail-users. Any permissions problems you're having would probably be, well, permissions problems :) - -- /* Matt Brookings GnuPG Key FAE0672C Software developer Systems technician Inter7 Internet Technologies, Inc. (815)776-9465 */ -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAksVOSkACgkQIwet2/rgZyyAtwCfeV1HfgpsQQYm/KRKFc2Jg3zl QEYAoI93rtWt5UrwKNXwSFTVpo6rZ+M4 =UNdz -END PGP SIGNATURE- _ Got more than one Hotmail account? Save time by linking them together http://clk.atdmt.com/UKM/go/186394591/direct/01/ !DSPAM:4b1541e432714544420887!
[vchkpw] Committed changes to 5.5 trunk for FreeBSD
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 ChangeLog as follows: 5.5.0 - Current Matt Brookings - Fixed a small build bug with cdb - Updated vusaged subdirectory to use main source tree's copy of storage.h - Fixed a number of issues with FreeBSD detection of endian and handling of 64bit values - Fixed some pthreads detection issues on FreeBSD This was tested on: FreeBSD code 8.0-RELEASE FreeBSD 8.0-RELEASE #0: Sat Nov 21 15:48:17 UTC 2009 r...@almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 Can anyone verify or post other issues they're having with FreeBSD related to compiling? My build commands if I remember correctly: # CFLAGS=-I/usr/local/include LDFLAGS=-L/usr/local/lib ./configure gmake gmake install # cd backends/cdb # CFLAGS=-I/usr/local/include LDFLAGS=-L/usr/local/lib ./configure gmake gmake install I think there were some configure warnings related to detection of libev, but everything was fine. - -- /* Matt Brookings m...@inter7.com GnuPG Key FAE0672C Software developer Systems technician Inter7 Internet Technologies, Inc. (815)776-9465 */ -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAksVg5IACgkQIwet2/rgZyx94ACcDuLypeguPukM9mr/amhRkjwK UmIAnAiHQTd/w2a+nVkPtn49XTWUrZct =aA2K -END PGP SIGNATURE-
[vchkpw] 5.4.29 updated in subversion
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I've also posted a patch that implements similar fixes from 5.5, in 5.4.29. - -- /* Matt Brookings m...@inter7.com GnuPG Key FAE0672C Software developer Systems technician Inter7 Internet Technologies, Inc. (815)776-9465 */ -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAksViz8ACgkQIwet2/rgZyy9VACcDU6SZsacM/dbWtuZz4yTqLLN EoUAmwWg7AidL1p5Ssz3vEpxlf1RdJol =JsGU -END PGP SIGNATURE-
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 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 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 MUST be permission related. As for the versions:- Fedora 12 x86- qmail 1.03 with jms1 combined patch 7.08- maildrop 2.2.0- ezmlm-idx 7.0.2- vpopmail 5.4.28- dovecot 1.2.8- spamassassin 3.3.0 (fedora rpm)- clamav 0.95.2-5 (fedora rpm) Basically I would say I am using the most up-to-date versions of everything.. I believe I am doing the right thing, i.e.: 1. adduser mike42. vadddomain -u mike4 test10.com 123 vpopmail creates ./test10.com directory structure just fine in /home/mike4, with mike4:mike4 ownership all the way down. However, delivery fails which is baffling, since vadddomain assigns ownership and permissions. I have not modified the owenership/permissions in any way. What I don't understand is which part fails - qmail-local unable to invoke vdelivermail? or vdelivermail accessing the userdir? or something else (now that you mentioned qmail-users)? At one point I thought it might be maildrop, so I re-compiled vpopmail without maildrop but this didn't work either. Would you have any directions as to how to enable this feature? And is there any way to debug vdelivermail? If yes, what would be the proper method? And just to show vpopmail works: @40004b153edf0b291bec new msg 206...@40004b153edf0b292b8c info msg 206712: bytes 492 from r...@localhost.localhost qp 3248 uid 0...@40004b153edf0b29335c starting delivery 7: msg 206712 to local test1.com-postmas...@test1.com@40004b153edf0b293b2c status: local 1/10 remote 0/1...@40004b153eef2626edfc delivery 7: success: LibClamAV_Error:_cl_cvdhead:_Can't_open_file_/var/lib/clamav/daily.cvd/m aildrop:_non-filtered_mail_delivery/did_0+0+1/@40004b153eef26843cb4 status: local 0/10 remote 0/1...@40004b153eef269386c4 end msg 206712 from the same test script, but sending to test1.com which was created simply as: vadddomain test1.com 123 the directory structure gets created in the vpopmail home (as specified in ./configure), with vpopmail:vchkpw ownership. Thanks,Michael.PS: Ignore the libclamav error, although I would appreciate if anyone knows how to get rid of it. Date: Tue, 1 Dec 2009 09:41:29 -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: 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 vpopmail/vchkpw + userdir - unless of course this is either a bug or those options haven't been fully tested (which I seriously doubt considering the products age). Can anyone from Inter7 officially clarify this please? The feature continues to work as far as I know. If you would like to post version information for all your software, including any patches to qmail, please feel free. The uid:gid support is handled via qmail-users. Any permissions problems you're having would probably be, well, permissions problems :) - -- /* Matt Brookings GnuPG Key FAE0672C Software developer Systems technician Inter7 Internet Technologies, Inc. (815)776-9465 */ -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAksVOSkACgkQIwet2/rgZyyAtwCfeV1HfgpsQQYm/KRKFc2Jg3zl QEYAoI93rtWt5UrwKNXwSFTVpo6rZ+M4 =UNdz -END PGP SIGNATURE- _ Got more than one Hotmail account? Save time by linking them together http://clk.atdmt.com/UKM/go/186394591/direct/01/ !DSPAM:4b15937832711497310751!
[vchkpw] Committed changes to 5.5 for Solaris
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I've submitted changes to 5.5 so that it will compile and run under Solaris. Many of these changes will need to be made in 5.4.29. That is my next task :) - -- /* Matt Brookings m...@inter7.com GnuPG Key FAE0672C Software developer Systems technician Inter7 Internet Technologies, Inc. (815)776-9465 */ -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAksWD0AACgkQIwet2/rgZyykHwCeMmDBrQnjSDHminuaq0+5YPXm U0IAnAyY1p8o9v1bKYk43aWpRvDZQxO+ =Dpvx -END PGP SIGNATURE-