[vchkpw] vpopmail + whitelist with Spamcontrol
Hi, I'd like to do whitelist receipients for my domains with Spamcontrol. http://www.fehcom.de/qmail/spamcontrol/README_spamcontrol.html In the documentation, it's write we can't use RECIPIENT features with virtuals domains : The RECIPIENTS extension makes qmail-smtpd aware of acceptable local RECIPIENTS. The RECIPIENTS are kept in 'fastforward' compatible cdbs for a case-insensitve quick lookup during the SMTP session. The lookup is done for RECIPIENTS whose domain part match an entry in control/locals and is not applied for virtual domains. But some people say it's possible, so ? When I add a domain in control/locals, mails a not delivred : Unable_to_chdir_to_maildir._(#4.2.1) A lots of spam in send to unexistent address :((, and my server have to manage a lots of bounces. What is the best way in order to avoid this ? Thank you. David.
Re: [vchkpw] vpopmail + whitelist with Spamcontrol
Hi, At 13:15 30.06.04 +0200, you wrote: >Hi, > >I'd like to do whitelist receipients for my domains with Spamcontrol. >http://www.fehcom.de/qmail/spamcontrol/README_spamcontrol.html > >In the documentation, it's write we can't use RECIPIENT features with >virtuals domains : > >The RECIPIENTS extension makes qmail-smtpd aware of acceptable local >RECIPIENTS. The RECIPIENTS are kept in 'fastforward' compatible cdbs for >a case-insensitve quick lookup during the SMTP session. The lookup is >done for RECIPIENTS whose domain part match an entry in control/locals >and is not applied for virtual domains. This is true, unless you've modified (conf-spamcontrol) to allow SPAMCONTROL to do whitelisting on all addresses as per rcpthosts. > >But some people say it's possible, so ? conf-spamcontrol: locals=no ./spamcontrol.sh -u 2212; ./spamcontrol.sh; make; make setup >When I add a domain in control/locals, mails a not delivred : >Unable_to_chdir_to_maildir._(#4.2.1) vpopmail is responsible for virtualdomain deliveries, whereas qmail is for locals. >A lots of spam in send to unexistent address :((, and my server have to >manage a lots of bounces. What is the best way in order to avoid this ? The is no alternative to whitelisting. Whether you use the RECIPIENTS extension (with SPAMCONTROL) or qmail-goodrcptto or whatever. However, it only makes sense if YOU know all recipient addresses. The next release of SPAMCONTROL / RECIPIENTS extension will allow domain-wildlisting - a smart method to control incoming "rcpt to:" addresses. regards. --eh. PS: I should put the next release of RECPIENTS extension next week on my web page. It will coexist with SPAMCONTROL 2.2. Dr. Erwin Hoffmann | FEHCom | http://www.fehcom.de/ Wiener Weg 8, 50858 Cologne | T: +49 221 484 4923 | F: ...24
RE: [vchkpw] SATA NAS for vpop cluster
Title: RE: [vchkpw] SATA NAS for vpop cluster On Tue, 2004-06-29 at 17:52, [EMAIL PROTECTED] wrote: > >> I am looking around for a suitable (ie, reasonably priced and > >> performance) > >> NAS unit in order to convert a bunch of standalone servers > >> into a cluster. > >> SATA RAID units seem to be what I am looking for. > >> > >> I would appreciate those out there who have experience using > >> NAS boxes for > >> this purpose to share your wisdom. > >> > >> What are you using ? > >> How has it been working for you ? > >> Any performance issues during busy times etc ? > >> > >> Thanks a lot. > >> Lu > >> > > > From: Clayton Weise [mailto:[EMAIL PROTECTED]] > > > We use netapps (www.netapp.com) and it works great. One of > > the big things that made me move towards the netapp in place > > of many of the other NAS units out there was the fact that it > > runs a nix based OS. Most of the ones, say.. > > Dell for example just run a stripped down version of windows > > with file sharing for unix. It doesn't give you the ability > > to make any tweaks to the nfs server. We've been using the > > netapps for about 6 months now and it's been awesome. A > > client that hosts in our datacenter turned us on to the > > netapps nas units. He's been using them for I think about 2 > > years now and swears by them. > > > > That's great to hear. > Can you let me know the specific model you are using ? > How many domains are you currently handling with the above unit ? > Also, do you have any redundancy capability in case that box goes down > ? > > Thanks again Clayton > Lu > I'm running a clustered pair of F820s in production, however those are end of lifed models if I'm not mistaken. With NetApps be prepared to spend serious cash, they are not cheap. When I was pricing mine out, a year or so ago, there were no ata based devices, and they said they had no intent to build such units. Procomm has ATA/SATA based devices, and an excellent rep (disclaimer being that a relative of mine used to sell their devices). NetApps are some of the priciest devices around, however their reliability, performance and support are pretty much unmatched. I've had zero hiccups since deploying in production, and the performance absolutely clobbers the previous Solaris/SCSI based solution I was using. I've got about a dozen domains, 85K mailboxes and about 600K messages/day that's only putting about 20% load on my netapps. Hope that Helps, Nick Harring Webley Systems
Re: [vchkpw] vpopmail + whitelist with Spamcontrol
Erwin Hoffmann a ecrit : [...] But some people say it's possible, so ? conf-spamcontrol: locals=no ./spamcontrol.sh -u 2212; ./spamcontrol.sh; make; make setup I have this problem yet, local users can't send email to untrusted user : freezer:# telnet localhost 25 Escape character is '^]'. 220 Spam makes the baby Jesus cry ESMTP mail from:<[EMAIL PROTECTED]> 250 ok rcpt to:<[EMAIL PROTECTED]> 453 sorry, mailbox currently unavailable (#5.2.1) rcpt to:<[EMAIL PROTECTED]> 250 ok Localhost should be trust with tcpserver : freezer:/# cat /etc/tcp.smtp 127.:allow,RELAYCLIENT="" 192.168.10.:allow,RELAYCLIENT="" :allow,QMAILQUEUE="/usr/local/bin/qmail-scanner-queue.pl",MFDNSCHECK="",BADMIMETYPE="" If I remove /var/qmail/control/recipient, I can send email from localhost (but whitelist is unavailable of course) Thank your for your answer Erwin.
[vchkpw] Qmail, Vpopmail, Sqwebmail, Courier-IMAP and Gentoo
Hello, I am trying to setup an email system and use Sqwebmail as a web-based frontend. I am doing this on a Gentoo box. I have installed Qmail, Vpopmail and Courier-IMAP via gentoo's portage system. I have it all configured and sending/receiving email properly (from what I can tell) by following the doc at: http://www.gentoo.org/doc/en/qmail-howto.xml The doc recommends installing "Horde / IMP Webmail" for web-based email but I liked sqwebmail better because it directly accesses the Maildir files instead of going through POP or IMAP. So I went about trying to get sqwebmail installed (an there currently does not exist a portage package for this). I am building sqwebmail without authdeamon support because the Courier-IMAP package already installs the authdeamon with it. The package builds and installs fine. The sqwebmail service starts up and I get the login screen when I execute the CGI script through apache. I type in my login information and it appears to login successfully but gets an error when it tries to find my Maildir folders. The following is the error message I get: Unable to open the maildir for this account -- the maildir doesn't exist or has incorrect ownership or permissions. I was thinking that perhaps this is because gentoo uses the name ".maildir" instead of "Maildir" to store the mail files. I looked in the auth.c file for my error message and found the following line: if (login_maildir(getenv("MAILDIR"))) error("Unable to open the maildir for this account -- the maildir doesn't exist or has incorrect ownership or permissions."); So my thought is to set the MAILDIR environment variable to match Gentoo's setup. So I put the following line in my Apache conf for this particular virtual host: SetEnv MAILDIR .maildir Despite my efforts to point it to the correct place I still get the same error message. So I am stuck. My questions are: 1) Am I even asking this question to the correct group. The sqwebmail docs said to ask any questions that relate to vpopmail to this list. 2) Is there something I am missing. I want it to login to my mailbox under vpopmail. The authentication module it is using is the authvchkpw and it seems to be at least authenticating. 3) Any suggestions? I greatly appreciate any help that I can get (or simply a pointer to the correct place to ask this). Thanks, Eric
Re: [vchkpw] vpopmail + whitelist with Spamcontrol
Salut, At 16:55 30.06.04 +0200, you wrote: >Erwin Hoffmann a ecrit : > >[...] >>>But some people say it's possible, so ? >> >> >> conf-spamcontrol: >> >> locals=no >> >> ./spamcontrol.sh -u 2212; ./spamcontrol.sh; make; make setup > >I have this problem yet, local users can't send email >to untrusted user : > >freezer:# telnet localhost 25 >Escape character is '^]'. >220 Spam makes the baby Jesus cry ESMTP >mail from:<[EMAIL PROTECTED]> >250 ok >rcpt to:<[EMAIL PROTECTED]> >453 sorry, mailbox currently unavailable (#5.2.1) >rcpt to:<[EMAIL PROTECTED]> >250 ok > >Localhost should be trust with tcpserver : Not necessarily. If I telnet on my system to localhost, the TCPREMOTEIP (on which RELAYCLIENT is based) is the defined IP address, not the Loopback address. > >freezer:/# cat /etc/tcp.smtp >127.:allow,RELAYCLIENT="" >192.168.10.:allow,RELAYCLIENT="" >:allow,QMAILQUEUE="/usr/local/bin/qmail-scanner-queue.pl",MFDNSCHECK="",BAD MIMETYPE="" You will see in the qmail-smtpd log what's going on. regards. --eh. Dr. Erwin Hoffmann | FEHCom | http://www.fehcom.de/ Wiener Weg 8, 50858 Cologne | T: +49 221 484 4923 | F: ...24
Re: [vchkpw] SATA NAS for vpop cluster
[EMAIL PROTECTED] wrote: I am looking around for a suitable (ie, reasonably priced and performance) NAS unit in order to convert a bunch of standalone servers into a cluster. SATA RAID units seem to be what I am looking for. I would appreciate those out there who have experience using NAS boxes for this purpose to share your wisdom. What are you using ? How has it been working for you ? Any performance issues during busy times etc ? Thanks a lot. Lu From: Clayton Weise [mailto:[EMAIL PROTECTED] We use netapps (www.netapp.com) and it works great. One of the big things that made me move towards the netapp in place of many of the other NAS units out there was the fact that it runs a nix based OS. Most of the ones, say.. Dell for example just run a stripped down version of windows with file sharing for unix. It doesn't give you the ability to make any tweaks to the nfs server. We've been using the netapps for about 6 months now and it's been awesome. A client that hosts in our datacenter turned us on to the netapps nas units. He's been using them for I think about 2 years now and swears by them. That's great to hear. Can you let me know the specific model you are using ? They recently introduced some lower-end models that cannot be expanded to such a high degree and also may lack clustering-support, depending on the exact model. They run a real-time OS, but can be accessed via ssh and a web-interface. NetApp is really the high-end of storage, but also from a price-viewpoint. But if you have enough customers and/or pretty strict SLAs, there's hardly a choice, unless you want to gamble ;-) How many domains are you currently handling with the above unit ? Also, do you have any redundancy capability in case that box goes down ? The clustering-software is very expensive - and you've got to buy a 2nd NetApp, too. ;-) Ask a local NetApp distributor for more info. Rainer
Re: [vchkpw] vpopmail installation on Mandrake 10
On Jun 29, 2004, at 10:53 PM, Kaan Ertürk wrote: I also typed 'libtoolize --force' and the result is: [EMAIL PROTECTED] vpopmail-5.4.5]# libtoolize --force Remember to add `AC_PROG_LIBTOOL' to `configure.in'. Using `AC_PROG_RANLIB' is rendered obsolete by `AC_PROG_LIBTOOL' You should update your `aclocal.m4' by running aclocal. So, what does all this mean? At this point, run aclocal to update the aclocal.m4 file. You should then be able to ./configure && make && make install. If you don't have automake and autoconf installed, then you could have problems during the build process. If you're going to compile software on that box, you really need to have those tools installed. -- Tom Collins - [EMAIL PROTECTED] QmailAdmin: http://qmailadmin.sf.net/ Vpopmail: http://vpopmail.sf.net/ Info on the Sniffter hand-held Network Tester: http://sniffter.com/
Re: [vchkpw] Qmail, Vpopmail, Sqwebmail, Courier-IMAP and Gentoo
On Wednesday 30 June 2004 09:48 am, Eric Anderson wrote: > Hello, > > I am trying to setup an email system and use Sqwebmail as a web-based > frontend. I am doing this on a Gentoo box. I have installed Qmail, > Vpopmail and Courier-IMAP via gentoo's portage system. I have it all > configured and sending/receiving email properly (from what I can tell) > by following the doc at: > > http://www.gentoo.org/doc/en/qmail-howto.xml eww. don't use that. Gentoo's qmail and qmail-related ebuilds are totally screwed. remove all that crap and install via www.lifewithqmail.org -Jeremy -- Jeremy Kitchen ++ Systems Administrator ++ Inter7 Internet Technologies, Inc. [EMAIL PROTECTED] ++ www.inter7.com ++ 866.528.3530 ++ 847.492.0470 int'l kitchen @ #qmail #gentoo on EFnet ++ scriptkitchen.com/qmail
Re: [vchkpw] Qmail, Vpopmail, Sqwebmail, Courier-IMAP and Gentoo
or use uebimiau http://www.uebimiau.org - Original Message - From: "Jeremy Kitchen" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, June 30, 2004 2:16 PM Subject: Re: [vchkpw] Qmail, Vpopmail, Sqwebmail, Courier-IMAP and Gentoo On Wednesday 30 June 2004 09:48 am, Eric Anderson wrote: Hello, I am trying to setup an email system and use Sqwebmail as a web-based frontend. I am doing this on a Gentoo box. I have installed Qmail, Vpopmail and Courier-IMAP via gentoo's portage system. I have it all configured and sending/receiving email properly (from what I can tell) by following the doc at: http://www.gentoo.org/doc/en/qmail-howto.xml eww. don't use that. Gentoo's qmail and qmail-related ebuilds are totally screwed. remove all that crap and install via www.lifewithqmail.org -Jeremy -- Jeremy Kitchen ++ Systems Administrator ++ Inter7 Internet Technologies, Inc. [EMAIL PROTECTED] ++ www.inter7.com ++ 866.528.3530 ++ 847.492.0470 int'l kitchen @ #qmail #gentoo on EFnet ++ scriptkitchen.com/qmail
Re: [vchkpw] SATA NAS for vpop cluster
On Wed, 2004-06-30 at 08:36, Rainer Duffner wrote: > NetApp is really the high-end of storage, but also from a price-viewpoint. > But if you have enough customers and/or pretty strict SLAs, there's > hardly a choice, unless you want to gamble ;-) > The clustering-software is very expensive - and you've got to buy a 2nd > NetApp, too. ;-) I'll chime in a say that I have had great success setting up Qmail/Vpopmail/etc that stores on an nfs mount from a two machine mirror using drbd/heartbeat to provide mirroring and failover. http://www.drbd.org/ Using commodity hardware, it really does save you a lot of money over the Netapps with clustering and I wouldn't even consider it a gamble...just based on my experiences. Jay
[vchkpw] Re: Qmail, Vpopmail, Sqwebmail, Courier-IMAP and Gentoo
Itamar Reis Peixoto wrote: or use uebimiau http://www.uebimiau.org Looking at the front page it says that this program is POP3/IMAP frontend. I am looking for something that will directly read the Maildir files to keep the performance good. Eric
[vchkpw] Re: Qmail, Vpopmail, Sqwebmail, Courier-IMAP and Gentoo
Jeremy Kitchen wrote: eww. don't use that. Gentoo's qmail and qmail-related ebuilds are totally screwed. That is what I am stuck with. I don't have time to maintain each package on the system individually so ebuilds are the only way I can keep my admin time down. remove all that crap and install via www.lifewithqmail.org If that is the only solution then I would rather install something like Squirrelmail. I was hoping the avoid the IMAP/POP3 layer and access the files directly but if I can't do that "out of the box" then I will just have to axe that goal and change to another email frontend. Are Gentoo's qmail ebuilds that foobared? Perhaps I would be better off using a different mail system if Gentoo's qmail is going to cause me problems down the road. Thanks for the heads up on the ebuilds! Eric
Re: [vchkpw] Re: Qmail, Vpopmail, Sqwebmail, Courier-IMAP and Gentoo
On Wednesday 30 June 2004 01:27 pm, Eric Anderson wrote: > Jeremy Kitchen wrote: > > eww. don't use that. Gentoo's qmail and qmail-related ebuilds are > > totally screwed. > > That is what I am stuck with. I don't have time to maintain each package > on the system individually so ebuilds are the only way I can keep my > admin time down. what's to maintain about qmail? It never changes. It hasn't changed in 6 years. > > remove all that crap and install via www.lifewithqmail.org > > If that is the only solution then I would rather install something like > Squirrelmail. I was hoping the avoid the IMAP/POP3 layer and access the > files directly but if I can't do that "out of the box" then I will just > have to axe that goal and change to another email frontend. well, if you install via LWQ you'll have a sane setup that you can easily add sqwebmail to. > Are Gentoo's qmail ebuilds that foobared? Perhaps I would be better off > using a different mail system if Gentoo's qmail is going to cause me > problems down the road. gentoo's qmail is completely and utterly broken. It also contains a patch that allows mail to be delivered to ~root/ which is a major major security problem. -Jeremy -- Jeremy Kitchen ++ Systems Administrator ++ Inter7 Internet Technologies, Inc. [EMAIL PROTECTED] ++ www.inter7.com ++ 866.528.3530 ++ 847.492.0470 int'l kitchen @ #qmail #gentoo on EFnet ++ scriptkitchen.com/qmail
[vchkpw] Re: Qmail, Vpopmail, Sqwebmail, Courier-IMAP and Gentoo
Jeremy Kitchen wrote: what's to maintain about qmail? It never changes. It hasn't changed in 6 years. HA! Good point! That was the main reason I chose qmail in the first place. It's partly about consistency. I don't really like to install software unless it is part of the package management system. Even for sqwebmail I created my own (crappy) ebuild. I want to have one standard method of maintaining my applications. I don't want to have to learn each programs build environment so that I can maintain my system. I might make a exception for qmail since it is so stable as you correctly pointed out. Or I may look into what makes qmail such a crappy ebuild and modify it to compile how I want. gentoo's qmail is completely and utterly broken. It also contains a patch that allows mail to be delivered to ~root/ which is a major major security problem. Hmm... I defiantly have to look into that. May have to comment out that patch. :) Thanks for the heads up on that also. Eric
[vchkpw] sa-learn & vpopmail
hi i'm using spamassasin with vpopmail (5.4.5). maildrop runs spamc from the users .qmail and uses the -u [EMAIL PROTECTED] for loading the users settings. now that works fine. but if i wanna use sa-learn to train my bayes filter, i can't set it to the right user? how do people solve this problem? thanks for help greets KoS -- Martin Kos +41-76-384-93-33 http://kos.liSay NO to HTML in mail ICQ# 13556143 Proudly running Debian GNU/Linux
[vchkpw] Question about Dir Control (.dir-control)
First, is there a way to disable the Dir Control functionality of vpopmail? If not, is there any downside to just not using it? You may ask why I need to do this. We do our own hashing of directories and usernames here, using our own script systems. I like this because the paths that we are creating are predictable since we are determining them instead of dir control/vadduser. Brian -- Brian Feeny, CCIE #8036 e: [EMAIL PROTECTED] Network Engineerp: 318.213.4709 ShreveNet Inc. f: 318.221.6612
[vchkpw] Hash dir
I need to disable hash dir for domains in vpopmail. when i create a new domain, the directory is /home/vpopmail/domains/0/domain, and don't need the 0 dir hash. Thanks Marcos
Re: [vchkpw] Question about Dir Control (.dir-control)
On Wednesday 30 June 2004 03:37 pm, Brian Feeny wrote: > First, is there a way to disable the Dir Control functionality of > vpopmail? Sure. Use this option --disable-users-big-dir > > If not, is there any downside to just not using it? Just the optimization for keeping the number of directories in a directory to a efficent level. > > You may ask why I need to do this. > > We do our own hashing of directories and usernames here, using our own > script systems. > I like this because the paths that we are creating are predictable > since we are determining them > instead of dir control/vadduser. Since you do your own hashing, no need to use vpopmail's. Cheers, Ken Jones > > Brian > > -- > Brian Feeny, CCIE #8036 e: [EMAIL PROTECTED] > Network Engineer p: 318.213.4709 > ShreveNet Inc.f: 318.221.6612
Re: [vchkpw] Hash dir
On Wednesday 30 June 2004 04:04 pm, [EMAIL PROTECTED] wrote: > I need to disable hash dir for domains in vpopmail. when i create a new > domain, the directory is /home/vpopmail/domains/0/domain, and don't need > the 0 dir hash. configure vpopmail with this option: --disable-users-big-dir Becareful, once you get more than about 300 directories in a directory you'll start to run into efficency issues, unless you are using a filesystem that does not use linear inode scans. Ken Jones > > Thanks > > Marcos
Re: [vchkpw] Hash dir
Hi Ken, I tried configure vpopmail 5.4.5 with option --disable-users-big-dir and didn't work. I have 100 domains in /home/vpopmail/domains after this, vpopmail create /home/vpopmail/domain/0 with more 100 domains, after /home/vpopmail/domains/1 with more 100 domains. I would like put this domains only in /home/vpopmail/domains, not in more subdirectories. If you or another person have any idea to change this, e-mail me :-) Thanks Marcos > On Wednesday 30 June 2004 04:04 pm, [EMAIL PROTECTED] wrote: >> I need to disable hash dir for domains in vpopmail. when i create a new >> domain, the directory is /home/vpopmail/domains/0/domain, and don't need >> the 0 dir hash. > configure vpopmail with this option: > --disable-users-big-dir > > Becareful, once you get more than about 300 directories in a directory > you'll start to run into efficency issues, unless you are using a > filesystem > that does not use linear inode scans. > > Ken Jones > >> >> Thanks >> >> Marcos >
Re: [vchkpw] Hash dir
My mistake, that feature only disables users directory hashing. It doesn't override the domain directory hashing. Ken Jones On Wednesday 30 June 2004 05:59 pm, [EMAIL PROTECTED] wrote: > Hi Ken, > > I tried configure vpopmail 5.4.5 with option --disable-users-big-dir and > didn't work. > I have 100 domains in /home/vpopmail/domains after this, vpopmail create > /home/vpopmail/domain/0 with more 100 domains, after > /home/vpopmail/domains/1 with more 100 domains. I would like put this > domains only in /home/vpopmail/domains, not in more subdirectories. > If you or another person have any idea to change this, e-mail me :-) > > Thanks > > Marcos > > > On Wednesday 30 June 2004 04:04 pm, [EMAIL PROTECTED] wrote: > >> I need to disable hash dir for domains in vpopmail. when i create a new > >> domain, the directory is /home/vpopmail/domains/0/domain, and don't need > >> the 0 dir hash. > > > > configure vpopmail with this option: > > --disable-users-big-dir > > > > Becareful, once you get more than about 300 directories in a directory > > you'll start to run into efficency issues, unless you are using a > > filesystem > > that does not use linear inode scans. > > > > Ken Jones > > > >> Thanks > >> > >> Marcos
Re: [vchkpw] Question about Dir Control (.dir-control)
Ken, Thanks for answering. I did see that disable-users-big-dir option, so I configured with it. It seems to still do the following though: 1. create .dir-control in the domains directory. 2. complain when removing a domain that it can't delete the dir control. [EMAIL PROTECTED] bin]$ ./vadddomain test.com testcom [EMAIL PROTECTED] bin]$ ./vdeldomain test.com Warning: Failed to delete dir_control for test.com Even though /home/cust/vpopmail/domains/test.com is gone, there is a .dir-control file in /home/cust/vpopmail/domains. I manually deleted this file, but every time I add a new domain it creates this file again. Not sure why ./vdeldomain would be complaining when there wasnt a .dir-control in the first place associated with the domain I was deleting. Any ideas? Brian On Jun 30, 2004, at 5:27 PM, Ken Jones wrote: On Wednesday 30 June 2004 03:37 pm, Brian Feeny wrote: First, is there a way to disable the Dir Control functionality of vpopmail? Sure. Use this option --disable-users-big-dir If not, is there any downside to just not using it? Just the optimization for keeping the number of directories in a directory to a efficent level. You may ask why I need to do this. We do our own hashing of directories and usernames here, using our own script systems. I like this because the paths that we are creating are predictable since we are determining them instead of dir control/vadduser. Since you do your own hashing, no need to use vpopmail's. Cheers, Ken Jones Brian -- Brian Feeny, CCIE #8036 e: [EMAIL PROTECTED] Network Engineerp: 318.213.4709 ShreveNet Inc. f: 318.221.6612
Re: [vchkpw] Question about Dir Control (.dir-control)
On Wednesday 30 June 2004 06:13 pm, Brian Feeny wrote: > Ken, > > Thanks for answering. I did see that disable-users-big-dir option, > so I configured with it. > > It seems to still do the following though: > > 1. create .dir-control in the domains directory. > 2. complain when removing a domain that it can't delete the dir control. Yep. Looks like whoever added the Warning message code needed to ifdef it with the big user dir define. > > [EMAIL PROTECTED] bin]$ ./vadddomain test.com testcom > [EMAIL PROTECTED] bin]$ ./vdeldomain test.com > Warning: Failed to delete dir_control for test.com > > Even though /home/cust/vpopmail/domains/test.com is gone, > there is a .dir-control file in /home/cust/vpopmail/domains. I manually > deleted this file, but every time I add a new domain it creates this > file > again. Not sure why ./vdeldomain would be complaining when there > wasnt a .dir-control in the first place associated with the domain I was > deleting. > > Any ideas? Looks like the only way to stop domains from being hashed would be in 2 steps: rm -rf /home/vpopmail/domains/.dir-control vadddomain domainname If the /home/vpopmail/domains/.dir-control file does not exist then it creates a default one and puts the domain in /home/vpopmail/domains. So you can fake it out by deleteing the .dir-control every time. Also looks like we need to fix that warning message. Ken > > Brian > > On Jun 30, 2004, at 5:27 PM, Ken Jones wrote: > > On Wednesday 30 June 2004 03:37 pm, Brian Feeny wrote: > >> First, is there a way to disable the Dir Control functionality of > >> vpopmail? > > > > Sure. Use this option > > > > --disable-users-big-dir > > > >> If not, is there any downside to just not using it? > > > > Just the optimization for keeping the number of directories in > > a directory to a efficent level. > > > >> You may ask why I need to do this. > >> > >> We do our own hashing of directories and usernames here, using our own > >> script systems. > >> I like this because the paths that we are creating are predictable > >> since we are determining them > >> instead of dir control/vadduser. > > > > Since you do your own hashing, no need to use vpopmail's. > > > > Cheers, > > Ken Jones > > > >> Brian > >> > >> -- > >> Brian Feeny, CCIE #8036e: [EMAIL PROTECTED] > >> Network Engineer p: 318.213.4709 > >> ShreveNet Inc. f: 318.221.6612
Re: [vchkpw] Question about Dir Control (.dir-control)
On Jun 30, 2004, at 4:13 PM, Brian Feeny wrote: Thanks for answering. I did see that disable-users-big-dir option, so I configured with it. It seems to still do the following though: 1. create .dir-control in the domains directory. 2. complain when removing a domain that it can't delete the dir control. [EMAIL PROTECTED] bin]$ ./vadddomain test.com testcom [EMAIL PROTECTED] bin]$ ./vdeldomain test.com Warning: Failed to delete dir_control for test.com Even though /home/cust/vpopmail/domains/test.com is gone, there is a .dir-control file in /home/cust/vpopmail/domains. I manually deleted this file, but every time I add a new domain it creates this file again. Not sure why ./vdeldomain would be complaining when there wasnt a .dir-control in the first place associated with the domain I was deleting. What version of vpopmail? I thought we took care of that error message ("Warning: Failed to delete dir_control for test.com") during the development cycle leading up to 5.4.0. It was due to the domain's directory getting deleted before the dir_control file (for user directories) inside of it. Perhaps someone could look into making a patch to add a --disable-domains-big-dir (or would that be enable?) to disable hashing when creating new domains. It shouldn't be too hard to ifdef out the code responsible for hashing. -- Tom Collins - [EMAIL PROTECTED] QmailAdmin: http://qmailadmin.sf.net/ Vpopmail: http://vpopmail.sf.net/ Info on the Sniffter hand-held Network Tester: http://sniffter.com/
Re: [vchkpw] Question about Dir Control (.dir-control)
On Jun 30, 2004, at 6:18 PM, Tom Collins wrote: What version of vpopmail? I thought we took care of that error message ("Warning: Failed to delete dir_control for test.com") during the development cycle leading up to 5.4.0. It was due to the domain's directory getting deleted before the dir_control file (for user directories) inside of it. vpopmail-5.4.0.tar.gz Like Ken mentioned, its trying to delete .dir-control with out first checking if that feature is enabled or not. Perhaps someone could look into making a patch to add a --disable-domains-big-dir (or would that be enable?) to disable hashing when creating new domains. It shouldn't be too hard to ifdef out the code responsible for hashing. I think that feature would be a very welcome one. Brian -- Tom Collins - [EMAIL PROTECTED] QmailAdmin: http://qmailadmin.sf.net/ Vpopmail: http://vpopmail.sf.net/ Info on the Sniffter hand-held Network Tester: http://sniffter.com/
[vchkpw] OpenBSD / vpopmail & ssl???
Hello, Apologies if this question has been asked before, but a search through Google, usenet, and even the archives of this list turned up nothing for me. I am running an OpenBSD 3.x system with qmail/vpopmail installed and running wonderfully. I am worried about POPing my mail from remote locations (wifi @ café’s etc…) and would like to be able to run vpopmail on an SSL protected port. Despite hours of searching, I’ve not found any article or information that would show me how to do this. Can someone on this list point me in the right direction? I’m clueless as of right now. Thanks! -- seth banks - subimage interactive [EMAIL PROTECTED] http://subimage.com
[vchkpw] How to configure mutt
Hello: If this is a faq please let me know the link. Which is the best way to configure mutt to access an email account on a server which uses qmail, vpopmail and an imap server (courier). Any hint will be appreciated. -- Alejandro Aguilar Sierra [EMAIL PROTECTED]
Re: [vchkpw] How to configure mutt
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Alejandro Aguilar Sierra wrote: | Hello: | | If this is a faq please let me know the link. Which is the best way | to configure mutt to access an email account on a server which uses | qmail, vpopmail and an imap server (courier). | | Any hint will be appreciated. | www.free.bsd.com.br []'s Márcio -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.4 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFA45iJENnlSIQoiF0RAvpFAJ9ZYNyTqtvF01FEJMYawOOyRsTVGwCghVEr /zPjCdHCW9hv8+g/Q6URN8U= =tWao -END PGP SIGNATURE-
[vchkpw] Vpopmail 5.4.6 released
http://vpopmail.sf.net/ Release Notes: This release is identical to 5.4.5, but with the addition of all patches included in 5.5.0. These patches, related to the database backends, include code to protect against SQL exploits (where user-entered data isn't escaped before placing it in a query). All queries are built with a modified version of sprintf that escapes dangerous characters from strings. 5.5.0 has been out for over 3 months with some people using it in production environments without any reports of problems. Even so, this will be a devel release until others can do more production testing. ChangeLog: Tom Collins - Consolidate table creation code in vmysql.c and vpgsql.c. - Increase SQL_BUF_SIZE from 600 to 2048 for Oracle, Postgres and Sybase. - Add qnprintf() to vpopmail.c for escaping strings in SQL queries. - Use qnprintf() when building queries in vmysql.c, vpgsql.c, voracle.pc, and vsybase.c. - Multiple fixes to vpgsql.c related to freeing PGresults and attempting to access NULL PGresults when reporting errors.
Re: [vchkpw] Question about Dir Control (.dir-control)
On Jun 30, 2004, at 4:18 PM, Ken Jones wrote: Yep. Looks like whoever added the Warning message code needed to ifdef it with the big user dir define. Added to CVS and scheduled for 5.4.7. --- vpopmail.c 26 Jun 2004 02:20:56 - 1.28.2.4 +++ vpopmail.c 1 Jul 2004 05:29:45 - 1.28.2.5 @@ -262,9 +262,11 @@ fprintf(stderr, "Failed while attempting to delete domain from the qmail control files\n"); } +#ifdef USERS_BIG_DIR if (vdel_dir_control(domain) != 0) { - fprintf (stderr, "Failed while attempting to delete domain from dir_control\n"); + fprintf (stderr, "Warning: Failed to delete dir_control for %s\n", domain); } +#endif /* send a HUP signal to qmail-send process to reread control files */ signal_process("qmail-send", SIGHUP); @@ -379,10 +381,12 @@ */ vdel_limits(domain); +#ifdef USERS_BIG_DIR /* delete the dir control info for this domain */ if (vdel_dir_control(domain) != 0) { fprintf (stderr, "Warning: Failed to delete dir_control for %s\n", domain); } +#endif /* Now remove domain from filesystem */ /* if it's a symbolic link just remove the link */ -- Tom Collins - [EMAIL PROTECTED] QmailAdmin: http://qmailadmin.sf.net/ Vpopmail: http://vpopmail.sf.net/ Info on the Sniffter hand-held Network Tester: http://sniffter.com/
Re: [vchkpw] Re: Qmail, Vpopmail, Sqwebmail, Courier-IMAP and Gentoo
I follow the same procedure to install qmail, and later add qmail-scanner. My vpopmail is V5.2.2 with roaming users. No matter what rules I apply to /etc/tcp.smtp, only incomming email is scanned. You suggest me to drop qmail ebuild and build from scratch using the link you gave. gentoo's qmail is completely and utterly broken. It also contains a patch that allows mail to be delivered to ~root/ which is a major major security problem. -Jeremy _ STOP MORE SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail