[vchkpw] pipes in .qmail-files vpopmail 5.3.19
Hi, I am having a problem where if I pipe an email into any of my programs, and then pipe to vdelivermail, vdelivermail core dumps. I have this configuration working flawlessly on two of my other servers. The only difference I can tell is that the working servers are running Solaris 2.7 on an UltraSparc III, and the non-working server is running Solaris 2.8 on a SparcStation-20. I'm running qmail pretty much from LWQ: qmail-1.03 qmail-maildir++.patch (from vpopmail 5.3.19) qmail-tarpit.patch qmail-smtpd-auth-0.31 patch ext_todo-20030105 (www.nrg4u.com) vpopmail 5.3.19 configured with: ./configure --enable-defaultquota=10485760S --enable-many-domains=n --enable -logging=v for example: unix11 cat /home/vpopmail/domains/broadviewnet.net/.qmail-tester |/usr/local/bin/spamc | /home/vpopmail/bin/vdelivermail '' /home/vpopmail/domains/broadviewnet.net/tester unix11 tail -f /var/log/qmail/current [2] 3040 unix11 echo somestuff | /usr/lib/sendmail [EMAIL PROTECTED] @40003e800bbd0edbd734 new msg 46225 @40003e800bbd0ee18c24 info msg 46225: bytes 222 from [EMAIL PROTECTED] qp 3022 uid 0 @40003e800bbd0eea0034 starting delivery 24: msg 46225 to local [EMAIL PROTECTED] @40003e800bbd0eec4254 status: local 1/85 remote 0/70 @40003e800bbd0edbd734 new msg 46225 @40003e800bbd0ee18c24 info msg 46225: bytes 222 from [EMAIL PROTECTED] qp 3022 uid 0 @40003e800bbd0eea0034 starting delivery 24: msg 46225 to local [EMAIL PROTECTED] @40003e800bbd0eec4254 status: local 1/85 remote 0/70 @40003e800bbe31efe9a4 delivery 24: deferral: Segmentation_Fault_-_core_dumped/ @40003e800bbe31f0fefc status: local 0/85 remote 0/70 @40003e800bbe31efe9a4 delivery 24: deferral: Segmentation_Fault_-_core_dumped/ @40003e800bbe31f0fefc status: local 0/85 remote 0/70 and then there is a core file in /home/vpopmail/domains/broadviewnet.net/tester/Maildir/ It acts the same way if i change the .qmail-tester to: | /usr/local/bin/perl -e 'while(){print;}' | /home/vpopmail/bin/vdelivermail '' /home/vpopmail/domains/broadviewnet.net/tester I created my own delivery agent, which i called mydeliver.pl: #!/usr/local/bin/perl use Sys::Hostname; $hostname=hostname(); $file=/home/vpopmail/domains/broadviewnet.net/tester/Maildir; open (P, $file/tmp/$^T.$$.$hostname) || die cannot write: $!\n; while(){ print P; } close P; rename ($file/tmp/$^T.$$.$hostname, $file/new/$^T.$$.$hostname) || die cannot rename: $!\n; ## EOF Not suprising to me at this point, if i make the .qmail-tester: | /usr/local/bin/spamc | mydeliver.pl then all works. Any ideas? This is semi-reminicent of the non-seekable problem of the earlier versions, except that I dont see anything here that would have to be rewound.. Jim
Re: [vchkpw] unable to chdir
Hi Nicola, On Mon, 24 Mar 2003 16:18:09 +0100 Nicola Delbono wrote: cdbdump /var/qmail/users/cdb |tr '\000' '\t' |grep 'domain' give? server-key5:/var/vpopmail/bin# cdbdump /var/qmail/users/cdb |tr '\000' '\t' |grep 'domain1.com' gives: +16,61:!domain1.com -domain1.com10041001 /var/vpopmail/users/domain1.com +16,64:!domain1.com--domain1.com 1004 1001/var/vpopmail/domains/domain1.com - Beside the fact I find it rather unusual you have a value for 'domain1.com' additionally to the usual 'domain1.com-' it shows the path is noted correctly ... - What version of vpopmail are you using? server-key5:/var/vpopmail/bin# ./vadddomain -v version: 4.9.10 Rather old one ... But you're lucky: I still had a 4.9.10 on my harddisk. I was able to do some testing and have to say: there's a bug in vuserinfo of 4.9.10. It's corrected at least in 5.2.1 (the earliest version I was able to check, bigger than 4.9.10). The good news is: there seem to be a work around possible in 4.9.10: vuserinfo -D domain1.com [EMAIL PROTECTED] seems to work. At least it did with /var/qmail/users/cdb file and vpopmail directories and vpasswd.cdb created with 5.3.XX version here on my harddisk. Nevertheless I'd _strongly_ suggest you upgrade to 5.2.1 ASAP, there're a lot of bugs fixed in this version, present in 4.9.10. HTH -- Ciao, Pit
Re: [vchkpw] About to release new devel version 5.3.20
On Tuesday 25 March 2003 01:47, Brian Kolaci wrote: Hi Justin, There are currently ways to limit IMAP. One thing you should remember is that the vlimits API is for full domain limits, not individual users. There are permission bits in the GID field in the password entry for the user. These I believe work. Before actually implementing the API, I sent out a request for all the additional items people wanted to see over and above what I wanted. This way the database schema would only have to be written once, and filled in later. Some limit the qmailadmin app, others go directly into vdelivermail. Others will go into other areas. Overall, I think we have a functional system as is, with placeholders for future features. The wishlist is high, but only so many things can make each release. If you've got the cycles and can crank out some of it tonight, send in a patch. Hm, i tried to explain by mentioning disable_imap as an example. disable_pop, disable_smtp, disable_webmail ... things like that should be cared for in vchkpw. furthermore, vadduser doesn't care for maxpopaccounts, valias ignores maxaliases... I guess it's ok, the way it is now. And: I love it the way it is for a 5.3.20. But: not for 5.4.0. The next stable release shouldn't have placeholders for a very nice system and get some of the features added for every update release. Instead it should have a working system with fully implemented vlimits. But this is just my opinion, and since I've always used the vpopmail-dev versions, the whole 5.4.0 release isn't bothering me that much :) -- Mit internetten Grüßen / Best Regards --- Justin Heesemannionium Technologies [EMAIL PROTECTED]www.ionium.org
Re: [vchkpw] About to release new devel version 5.3.20
On Mon, Mar 24, 2003 at 01:53:58PM -0600, Ken Jones wrote: Does anyone have any patches they would like to submit? Hi Ken, I've a patch at http://romana.now.ie/#vadddomain-maildir which slighly modifies the -e flag to vadddomain. I wanted a way to specify a ``catchall'' in the same way as qmailadmin does: supply a pathname to write directly into the catchall user's Maildir. Using -e as it is currently -- specifying an email address -- means I don't get access to the original envelope recipient in the Delivered-To header line. Applying the patch does not change vaddomain's behaviour when one specifies an email address with -e. But if one specifies a value without an @ symbol it is taken as a user into whose Maildir catchall mail should be delivered (as qmailadmin does). With the patch, I can say: vadddomain -e postmaster maildir.org And get: fridge# cat maildir.org/.qmail-default | /usr/local/vpopmail/bin/vdelivermail '' /usr/local/vpopmail/domains/maildir.org/postmaster ATB, james
Re: [vchkpw] Postgres support?
There already is a working postgres module in vpopmail. Looks like it's not built into the configure script. Look for vpgsql* files. Ken Jones On Tuesday 14 January 2003 07:14 pm, Jay Tortorelli wrote: I for one am very interested in postgresql support in vpopmail and have been quietly waiting for it. I had even inquired about the cost of finishing up the work on this list, but received no replies. Since then I have setup mysql, but would still like to use postgresql someday. If there is anything I can do to help out, let me know. Jay Tortorelli -Original Message- From: Charles J. Boening [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 14, 2003 4:30 PM To: 'Caffeinate The World' Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: RE: [vchkpw] Postgres support? I had done some finishing work with the code that Nels wrote and am currently running vpopmail 5.3.4 in a production environment with a little over 1000 users. It works very well with no hangups that I have noticed. I submitted the code to the vpopmail developers back around May or April of 2002. Since then there has been little interest from the vpopmail community for postgresql support and the vpopmail development team. From the looks of it, postgresql support will not be making it into vpopmail unless someone makes patches for every release. I still have the code and would like to see it integrated into vpopmail. I don't know much about autoconf and haven't had the time to learn or I'd do that part myself. I think that's about all that needs to be done. Once autoconf knows about postgresql, the make file should be generated properly and we'd have postgresql support. Feel free to contact me off list if you'd like to discuss this further. Charlie -Original Message- From: Caffeinate The World [mailto:[EMAIL PROTECTED] Sent: Monday, January 13, 2003 9:49 AM To: [EMAIL PROTECTED] Subject: Re: [vchkpw] Postgres support? --- Andrew Kohlsmith [EMAIL PROTECTED] wrote: Back in April of last year I'd asked about Postgres support in vpopmail and Bill had mentioned that it was in the development version. Has that been abandoned altogether? I didn't see it in the current stable release, and there's been a few releases between 04/02 and now. :-) I checked with the guy who did the original Postgresql patch, but he hacked together the Configure files etc to make it compile. He has not done any work on it and someone else seemed to have taken over the work. What I ended up doing was using qmail-sql available at: http://qmail-sql.digibel.be Then I patched courier-imap for configurable custom SELECT and UPDATE SQL queries for use with IMAP and POP3. I sent the patch back to Sam (author of Courier). Courier IMAP SQL uses its own table schema which is different from qmail-sql. Having customizable SELECT and UPDATE queries allow you to glue the two together. __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com
[vchkpw] vlimits patch [1/??]
this enforces the disable_* vlimits: e.g: if vlimits.disable_imap=1 it is the same as if every user has the NO_IMAP gid flag set. i'm going to post (a very similar one) tomorrow for .qmail-limits files. is there vlimit support being added for postgres/sybase/oracle ? --- vpopmail-orig-5.3.19/vmysql.c 2003-03-05 18:09:47.0 +0100 +++ vpopmail-new-5.3.19/vmysql.c2003-03-25 16:22:13.0 +0100 @@ -327,6 +327,10 @@ uid_t myuid; uid_t uid; gid_t gid; +#ifdef ENABLE_MYSQL_LIMITS + struct vlimits limits; +#endif + vget_assign(domain,NULL,156,uid,gid); myuid = geteuid(); @@ -406,6 +410,35 @@ return(NULL); } mysql_free_result(res_read); +#ifdef ENABLE_MYSQL_LIMITS +if (vget_limits (in_domain,limits) == 0) { + int mask = 0; + if (limits.disable_pop) { +mask += NO_POP; + } + if (limits.disable_smtp) { +mask += NO_SMTP; + } + if (limits.disable_imap) { +mask += NO_IMAP; + } + if (limits.disable_passwordchanging) { +mask += NO_PASSWD_CHNG; + } + if (limits.disable_relay) { +mask += NO_RELAY; + } + if (limits.disable_webmail) { +mask += NO_WEBMAIL; + } + if (limits.disable_dialup) { +mask += NO_DIALUP; + } + + vpw.pw_gid = vpw.pw_gid | mask; +} +#endif + return(vpw); }
Re: [vchkpw] vlimits patch [1/??]
This is very good, however you may want to move this out of vmysql.c and put it directly in vpopmail.c for the add_user routine. vlimits isn't only for mysql. It also uses the .qmailadmin-limits file for non-mysql implementations. So the structure function vget_limits() is valid with or without mysql. Thanks, Brian this enforces the disable_* vlimits: e.g: if vlimits.disable_imap=1 it is the same as if every user has the NO_IMAP gid flag set. i'm going to post (a very similar one) tomorrow for .qmail-limits files. is there vlimit support being added for postgres/sybase/oracle ? --- vpopmail-orig-5.3.19/vmysql.c 2003-03-05 18:09:47.0 +0100 +++ vpopmail-new-5.3.19/vmysql.c2003-03-25 16:22:13.0 +0100 @@ -327,6 +327,10 @@ uid_t myuid; uid_t uid; gid_t gid; +#ifdef ENABLE_MYSQL_LIMITS + struct vlimits limits; +#endif + vget_assign(domain,NULL,156,uid,gid); myuid = geteuid(); @@ -406,6 +410,35 @@ return(NULL); } mysql_free_result(res_read); +#ifdef ENABLE_MYSQL_LIMITS +if (vget_limits (in_domain,limits) == 0) { + int mask = 0; + if (limits.disable_pop) { +mask += NO_POP; + } + if (limits.disable_smtp) { +mask += NO_SMTP; + } + if (limits.disable_imap) { +mask += NO_IMAP; + } + if (limits.disable_passwordchanging) { +mask += NO_PASSWD_CHNG; + } + if (limits.disable_relay) { +mask += NO_RELAY; + } + if (limits.disable_webmail) { +mask += NO_WEBMAIL; + } + if (limits.disable_dialup) { +mask += NO_DIALUP; + } + + vpw.pw_gid = vpw.pw_gid | mask; +} +#endif + return(vpw); }
Re: [vchkpw] Courier-imap not setting open-relay in vpopmail/qmail
I'm just going to steal your thread for a sec here. ;p I saw this in the Courier-IMAP 1.7.1 ChangeLog the other day. It has stopped me from upgrading. * authlib/preauthvchkpw.c (auth_vchkpw_pre): Disable open_smtp_relay() until fixed by authvchkpw devs. Does anyone have any clarification on this? Rob Gridley, System Administrator MHz Design Communications Inc. 10 Four Seasons Place, Suite 900 Toronto, ON M9B 6H7 email: [EMAIL PROTECTED] web: http://www.mhzdesign.com phone: 416.626.1777 x234 fax: 416.626.7227 On 3/25/03 11:35 AM, David Hubbard [EMAIL PROTECTED] confessed: Hello Courier users, just wondering if anyone could point me in the right direction for what to look at. I am building a new mail server with qmail/vpopmail and courier-imap/pop3. I set courier for authvchkpw auth type and it works successfully for imap and pop3 logins. vpopmail never sets the open-relay for the host doing the Courier login. It does set it correctly if I use qmail's pop3 server and vchkpw to authorize the connection. Is this a courier or vpopmail issue? I'm running the latest courier-imap devel version courier-imap-1.7.1.20030319 and vpopmail 5.3.19. Thanks, David
Re: [vchkpw] vlimits patch [1/??]
On Tuesday 25 March 2003 17:34, Brian Kolaci wrote: i'm going to post (a very similar one) tomorrow for .qmail-limits files. :) i think this should stay in the vauth_getpw function (which is in vauth.c). this way, when you later decide to disable_imap=1 you won't have to change it for all the users in that domain. also authvchkpw.c (from courier-imap/authlib) directly calls vauth_getpw. and as i said.. i'm posting a patch vor vcdb.c/vpgsql.c/vsybase.c tomorrow to cover the other auth modules. anyways, i can see that the vpopmail.c:vadduser approach also has a good point: vlimits would then only serve as a default for each domain. one could still enable _single_ users to access their mail via imap/webmail/ ... or disable smtp for others. maybe some others post their opinion on this? brian: is this what vlimits was originally indented to be? a default setting for the users of a domain (well plus some generall max settings..)? -- Mit internetten Grüßen / Best Regards --- Justin Heesemannionium Technologies [EMAIL PROTECTED]www.ionium.org
Re: [vchkpw] Courier-imap not setting open-relay in vpopmail/qmail
Very strange. open_smtp_relay works for me in courier-imap We have 1.5.1 version KenJones On Tuesday 25 March 2003 10:45 am, Rob Gridley wrote: I'm just going to steal your thread for a sec here. ;p I saw this in the Courier-IMAP 1.7.1 ChangeLog the other day. It has stopped me from upgrading. * authlib/preauthvchkpw.c (auth_vchkpw_pre): Disable open_smtp_relay() until fixed by authvchkpw devs. Does anyone have any clarification on this? Rob Gridley, System Administrator MHz Design Communications Inc. 10 Four Seasons Place, Suite 900 Toronto, ON M9B 6H7 email: [EMAIL PROTECTED] web: http://www.mhzdesign.com phone: 416.626.1777 x234 fax: 416.626.7227 On 3/25/03 11:35 AM, David Hubbard [EMAIL PROTECTED] confessed: Hello Courier users, just wondering if anyone could point me in the right direction for what to look at. I am building a new mail server with qmail/vpopmail and courier-imap/pop3. I set courier for authvchkpw auth type and it works successfully for imap and pop3 logins. vpopmail never sets the open-relay for the host doing the Courier login. It does set it correctly if I use qmail's pop3 server and vchkpw to authorize the connection. Is this a courier or vpopmail issue? I'm running the latest courier-imap devel version courier-imap-1.7.1.20030319 and vpopmail 5.3.19. Thanks, David
Re: [vchkpw] vlimits patch [1/??]
Ahh, I think we had different thoughts on that. When I originally sent out the request for comments for the vlimits, I thought the disable_ routines were to be the defaults for new users. This was the original intent from the responses I got. This way you would be able to shut off certain services for users and you can make an exception for one or two users by using vmoduser and only enabling some of the permissions for some of the users. i.e. allow postmaster IMAP access, but no other users in the domain. I guess it could work both ways, however there's no easy way to set a default for new users (which is what the original intent was). Anyone have any comments on this? Do you think we need both domain permissions and default new user permissions for each type of permission? (This is the case for quotas, a domain limit and a default for new users). I like the idea of having both (which just generates more work...). But we didn't take that into account with the original design. I would say that we should do what you were intending by using the current values as domain permissions, and add a field for default_user_permissions that would populate the gid field of the user password entry. What I would also do is encapsulate the code you wrote into a function (you don't need the #ifdefs) and have it return the mask which can be AND'd with the gid field of the password entry. This masking function could go into vlimits.c and called in the vauth_getpw() functions. What do you think? Brian On Tuesday 25 March 2003 17:34, Brian Kolaci wrote: i'm going to post (a very similar one) tomorrow for .qmail-limits files. :) i think this should stay in the vauth_getpw function (which is in vauth.c). this way, when you later decide to disable_imap=1 you won't have to change it for all the users in that domain. also authvchkpw.c (from courier-imap/authlib) directly calls vauth_getpw. and as i said.. i'm posting a patch vor vcdb.c/vpgsql.c/vsybase.c tomorrow to cover the other auth modules. anyways, i can see that the vpopmail.c:vadduser approach also has a good point: vlimits would then only serve as a default for each domain. one could still enable _single_ users to access their mail via imap/webmail/ ... or disable smtp for others. maybe some others post their opinion on this? brian: is this what vlimits was originally indented to be? a default setting for the users of a domain (well plus some generall max settings..)? -- Mit internetten Grüßen / Best Regards --- Justin Heesemannionium Technologies [EMAIL PROTECTED]www.ionium.org
Re: [vchkpw] Courier-imap not setting open-relay in vpopmail/qmail
Works for me in 1.6.0. With the standard distribution, it won't work with authdaemond. I've patched mine to allow it to work with that. I don't see any problem if you use the raw authvchkpw way. Brian Very strange. open_smtp_relay works for me in courier-imap We have 1.5.1 version KenJones On Tuesday 25 March 2003 10:45 am, Rob Gridley wrote: I'm just going to steal your thread for a sec here. ;p I saw this in the Courier-IMAP 1.7.1 ChangeLog the other day. It has stopped me from upgrading. * authlib/preauthvchkpw.c (auth_vchkpw_pre): Disable open_smtp_relay() until fixed by authvchkpw devs. Does anyone have any clarification on this? Rob Gridley, System Administrator MHz Design Communications Inc. 10 Four Seasons Place, Suite 900 Toronto, ON M9B 6H7 email: [EMAIL PROTECTED] web: http://www.mhzdesign.com phone: 416.626.1777 x234 fax: 416.626.7227 On 3/25/03 11:35 AM, David Hubbard [EMAIL PROTECTED] confessed: Hello Courier users, just wondering if anyone could point me in the right direction for what to look at. I am building a new mail server with qmail/vpopmail and courier-imap/pop3. I set courier for authvchkpw auth type and it works successfully for imap and pop3 logins. vpopmail never sets the open-relay for the host doing the Courier login. It does set it correctly if I use qmail's pop3 server and vchkpw to authorize the connection. Is this a courier or vpopmail issue? I'm running the latest courier-imap devel version courier-imap-1.7.1.20030319 and vpopmail 5.3.19. Thanks, David
[vchkpw] Authentication problems
Title: Message Hello, I am experiencing a strange problem and I have been told that it may be a known bug with vpopmail. The environment is Qmail + Vpopmail + Courier-Imap + SquirrelMail.Everything appears to be working fine (I can log in through Outlook client and SquirrelMail) until I switch to a new user (on the same box). Once I do this, the original user can't log in anymore. I get an error that the user ID or password is incorrect. The new user is fine until I try a third user. Again the same thing and now neither of the first two users can log in anymore. If I reboot the server then everything returns to normal until I try to use more than one user again. I have checked all the logs and there is no indication of what is going on. There are a bunch of entries for successful LOGIN and LOGOUT and then all of a sudden a bunch of failures. I am wondering if maybe my server is locking a user to a PC IP address for some strange reason. I have tried checking the logs, restarting imap, restarting qmail and checking for strange entries in the config files. I'm stumped on this one. I've also duplicated this problem just by using the outlook clients and just by using the squirrelmail client so I don't think the problem rests with either of those two. I've also asked this question on the courier-imap list and they indicated it was a known vpopmail bug. Any ideas or suggestions? Is this a know bug and is there a resolution? Thanks in advance, Neil
Re: [vchkpw] Authentication problems
Title: Message Hi Neil, I am running in to something similar and I think there may be a lock somewhere on the account. When my Outlook checks the account it works fine.. but when I try to login through SquirrelMail it gives me an invalid username or password. If I disable the account in my outlook and wait awhile then I am able to login to SquirrelMail without an issue. I am not sure what this is .. but for the most part it does not affect me as I am using squirrelmail for all the people that use my mail server that don't want to use a Mail client to check their email. Regards, Rob G [EMAIL PROTECTED] - Original Message - From: Neil Harrison To: Vpopmail List Sent: Tuesday, March 25, 2003 1:03 PM Subject: [vchkpw] Authentication problems Hello, I am experiencing a strange problem and I have been told that it may be a known bug with vpopmail. The environment is Qmail + Vpopmail + Courier-Imap + SquirrelMail.Everything appears to be working fine (I can log in through Outlook client and SquirrelMail) until I switch to a new user (on the same box). Once I do this, the original user can't log in anymore. I get an error that the user ID or password is incorrect. The new user is fine until I try a third user. Again the same thing and now neither of the first two users can log in anymore. If I reboot the server then everything returns to normal until I try to use more than one user again. I have checked all the logs and there is no indication of what is going on. There are a bunch of entries for successful LOGIN and LOGOUT and then all of a sudden a bunch of failures. I am wondering if maybe my server is locking a user to a PC IP address for some strange reason. I have tried checking the logs, restarting imap, restarting qmail and checking for strange entries in the config files. I'm stumped on this one. I've also duplicated this problem just by using the outlook clients and just by using the squirrelmail client so I don't think the problem rests with either of those two. I've also asked this question on the courier-imap list and they indicated it was a known vpopmail bug. Any ideas or suggestions? Is this a know bug and is there a resolution? Thanks in advance, Neil
[vchkpw] Courier imap and vpopmail
Title: Courier imap and vpopmail Hello, I recently installed courier imap to complement qmail for the use of squirrel mail. the setup is qmail (and it's requirements) vpopmail (using mysql for the database auth), courier imap and vpopmail. The problem i am experiencing is that one domain (currently 2 on the server) will have the .Drafts, .Sent, .Trash folders along with the courierimapsubscribed and courierimapuiddb files created when logging in using IMAP. The other domain does not get this treatement. I can log in a few times to the user on the domain that the imap folders are not created, but this is eventually prevented. Deleting the user and recreating does not help, the folders are never created. Login to all but one account (not the postmaster) is the eventual result (via IMAP). Restarting imapd does then allow access, but the process is eventually repeated (10-60 minutes) I have read the FAQ, I have read the archives of both this list, google groups search and the archives on sourceforge (a pain since their search engine is busted (or I don't know how to use it)) so please do not refer me to those venues. If you need additional information such as config parameters or the like, please let me know what you would like. Thank you, Jamie Jensen
Re: [vchkpw] Courier imap and vpopmail
- Original Message - From: Jamie Jensen [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, March 26, 2003 7:26 AM Subject: [vchkpw] Courier imap and vpopmail Hello, I recently installed courier imap to complement qmail for the use of squirrel mail. the setup is qmail (and it's requirements) vpopmail (using mysql for the database auth), courier imap and vpopmail. Perhaps compare your setup against my vpopmail / mysql / courier-imap / squirrelmail guide at http://www.pipeline.com.au/staff/mbowe/isp/webmail-server.htm In particular note that you need to configure courier-imap with these particular options for reliable operation with vpopmail : --without-authdaemon --with-authvchkpw Michael.
Re: [vchkpw] About to release new devel version 5.3.20
Ken, - Original Message - From: Ken Jones [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, March 24, 2003 7:53 PM Subject: [vchkpw] About to release new devel version 5.3.20 I'm about to release a new 5.3.20 devel version. Does anyone have any patches they would like to submit? No, but would it be difficult to move mysql options from vmysql.h to configure options, e.g. ./configure \ --with-mysql-update-server=servername \ --with-mysql-update-user=username \ --with-mysql-update-password=password \ --with-mysql-read-server=servername \ --with-mysql-read-user=username \ --with-mysql-read-password=password The --with-mysql-read-* options could be optional, i.e. use the update server values if the read server is not present. I'd really like to see this. Cheers, R. --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.463 / Virus Database: 262 - Release Date: 17/03/2003
Re: [vchkpw] Postgres support?
Yup, since I wrote that email (Jan 14th) Andrew Kohlsmith made some changes that made it into 5.3.17. He mentioned that there was some work that still needed to be done on it. Yup. I have backed down on that because we were running into some strange little probelms I didn't have time to get working so we're using vpasswd again but I hope to get these problems cleared up quickly. Obviously it won't make it into the 5.4.0 or whatever is ocming up but perhaps the one after. Regards, Andrew
RE: [vchkpw] Courier-imap not setting open-relay in vpopmail/qmail
List, Is there a problem using the Qmail pop3d and not using the pop3 that comes with Courier IMAP? I seem to be having no problems with it but if there is some sort of problem I would like to know. The open relay seems to get updated just like it did back when I used just Qmail/Vpopmail with .cdb files. Your insight is appreciated. Wil -Original Message- From: David Hubbard [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 25, 2003 8:36 AM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: [vchkpw] Courier-imap not setting open-relay in vpopmail/qmail Hello Courier users, just wondering if anyone could point me in the right direction for what to look at. I am building a new mail server with qmail/vpopmail and courier-imap/pop3. I set courier for authvchkpw auth type and it works successfully for imap and pop3 logins. vpopmail never sets the open-relay for the host doing the Courier login. It does set it correctly if I use qmail's pop3 server and vchkpw to authorize the connection. Is this a courier or vpopmail issue? I'm running the latest courier-imap devel version courier-imap-1.7.1.20030319 and vpopmail 5.3.19. Thanks, David
[vchkpw] test
test
[vchkpw] valias problems
Hi I am having troubles with valias, its not sending correctly and I'm =not sure why. here are some of my logs=20@40003e80fb9107c4078c status: local 3/10 remote 0/20@40003e80fb9107c40b74 new msg 246437@40003e80fb9107c40f5c info msg 246437: bytes 11490 from =[EMAIL PROTECTED] qp 19581 uid 89@40003e80fb9238bf0fbc delivery 277435: success: =/home/vpopmail/domains/portwarellc.com,anonymous,portwarellc.com/@40003e80fb9238bf2344 status: local 2/10 remote 0/20@40003e80fb9238bf272c delivery 277436: success: =/home/vpopmail/domains/portwarellc.com,anonymous,portwarellc.com/@40003e80fb9238bf2efc status: local 1/10 remote 0/20@40003e80fb9238bf32e4 starting delivery 277438: msg 246452 to local =[EMAIL PROTECTED]@40003e80fb9238bf3ab4 status: local 2/10 remote 0/20@40003e80fb9238bf6d7c end msg 246440@40003e80fb9238f513dc end msg 246451@40003e80fb9239272444 starting delivery 277439: msg 246442 to local =[EMAIL PROTECTED]@40003e80fb92392737cc status: local 3/10 remote 0/20@40003e80fb9239273bb4 new msg 246439@40003e80fb9239273f9c info msg 246439: bytes 13905489 from =[EMAIL PROTECTED] qp 19593 uid 89its being sent to [EMAIL PROTECTED][EMAIL PROTECTED] bin]# cat /home/vpopmail/domains/portwarellc.com/.qmail-info=20[EMAIL PROTECTED]
[vchkpw] quota exceeded
i read some code in vpopmain and qmail buat it to difficult for vdeliveries to force qmail to pending an email for some lifetime under qmail. other way i can think of is to make vdeliveries to send email to thrash. but not all web based enable auto purge, sqwebmail with using 0 values, it make disable the feature but if i send to thrash ... pop3 access can get his new mail. perhaps i should stick with find return code from qmail after all. -- thx onOs UPPTI - Universitas Brawijaya
Re: [vchkpw] customizing quota messages
On Mon, 24 Mar 2003 14:48:55 -0600 Nick Harring [EMAIL PROTECTED] wrote: Michael - Thanks for the reply, however it begs a follow up question. If I put full headers in the file, does vpopmail write the quota message directly into the users maildir, or does it use qmail-inject to run the message through the normal local delivery path? Thanks, Nick the easiest way i see that from code is using .quotawarn.msg /* Look in the domain for a .quotawarn.msg */ sprintf(quotawarnmsg, %s/.quotawarn.msg, TheDomainDir); if ( ((fdin=open(quotawarnmsg, O_RDONLY)) 0) || (stat(quotawarnmsg, sb)0)) { /* if that fails look in vpopmail dir */ sprintf(quotawarnmsg, %s/domains/.quotawarn.msg, VPOPMAILDIR); if ( ((fdin=open(quotawarnmsg, O_RDONLY)) 0) || (stat(quotawarnmsg, sb)0)) { return(0); changing all fopen .quotawarn.msg to user side and give user each own quotawarn msg with his to: header the other way is full debug on source to get user address and make some parse message to user -- thx onOs UPPTI - Universitas Brawijaya
[vchkpw] Store and forward using .qmail
hi, Sorry for the cross posting but this is actually relevant to both lists. Firstly i am using the attached maildrop filter to filter spam using the following in my .qmail-default for each domain: | preline /usr/bin/maildrop /etc/spamassassin/mailfilter I have used qmailadmin to setup forwarding for a number of accounts and also keep a copy of the email. Qmailadmin does this by creating a .qmail file in the user's Maildir, not in the domain directory. e.g.: [EMAIL PROTECTED] /home/vpopmail/domains/test.domain.au/forwardtest/Maildir/ Now it seems that with the above .qmail-default file the .qmail file in the user's directory is not processed. It seems that the way to get around this is to move the .qmail file into the domain directory. I don't suppose anyone has written a patch for qmailadmin to achieve this? Can any one see another way around this problem? vpopmail 5.3.18 qmailadmin 1.0.12 cheers, Iain. import EXT import HOST EXT=tolower($EXT) HOST=tolower($HOST) VPOP=| /home/vpopmail/bin/vdelivermail '' bounce-no-mailbox SHELL=/bin/sh # logfile /var/log/maildrop.log # log To: [EMAIL PROTECTED] # Test to see if user exists `/usr/bin/test -d /home/vpopmail/domains/$HOST/$EXT` if( $RETURNCODE != 0 ) { echo 'Sorry, no mailbox here by that name. vpopmail (#5.1.1)' EXITCODE=100 # log bouncing exit } VHOME=`/home/vpopmail/bin/vuserinfo -d [EMAIL PROTECTED] if ($SIZE 262144) { exception { xfilter /usr/bin/spamc -u [EMAIL PROTECTED] } } if ((/^X-Spam-Flag:.*YES/)) { exception { `test -d $VHOME/Maildir/.SPAM` } if( $RETURNCODE == 1 ) { exception { `maildirmake $VHOME/Maildir/.SPAM;chown -R vpopmail.vchkpw $VHOME/Maildir/.SPAM` } } exception { `/usr/local/bin/movespam [EMAIL PROTECTED] } if( $RETURNCODE == 0 ) { exception { to $VHOME/Maildir/.SPAM/ } } exception { to $VPOP } } exception { to $VPOP }
[vchkpw] Courier-imap not setting open-relay in vpopmail/qmail
Hello Courier users, just wondering if anyone could point me in the right direction for what to look at. I am building a new mail server with qmail/vpopmail and courier-imap/pop3. I set courier for authvchkpw auth type and it works successfully for imap and pop3 logins. vpopmail never sets the open-relay for the host doing the Courier login. It does set it correctly if I use qmail's pop3 server and vchkpw to authorize the connection. Is this a courier or vpopmail issue? I'm running the latest courier-imap devel version courier-imap-1.7.1.20030319 and vpopmail 5.3.19. Thanks, David
Re: [vchkpw] Postgres support?
On Tue, 2003-03-25 at 07:53, Ken Jones wrote: There already is a working postgres module in vpopmail. Looks like it's not built into the configure script. Yup, since I wrote that email (Jan 14th) Andrew Kohlsmith made some changes that made it into 5.3.17. He mentioned that there was some work that still needed to be done on it. Charles Boening wrote the code to get postgres support using configure and posted it to http://www.cot.net/~charlieb/vpopmail/ but I haven't seen mention of it making it into a development release yet. I will be upgrading my mail servers again in a month or two, and will move to postgres, so I might do a little hacking to it as well. Jay