Re: [vchkpw] Misc Bugfixes- update, cleanup
On Jun 5, 2006, at 12:07 PM, Michael Krieger wrote: Hey folks, I've submitted a few bugfixes against 5.4.16 to fix: - a crash when there are no names and one is using the cdb module- qmailadmin can cause this one as well as the command line programs - a series of lockfile permissions fixes when using the locking to... 1. comply with the man pages': mode MUST be specified when O_CREAT is in the flags, and is ignored otherwise which suggests that mode should be specified in those cases, and 2. prevents lock files from (on my base Debian system) being created with 000 and then failing on all future attempts after the first one to obtain a lock on the file as a result of a lack of permission. I advise seeing if you have any ~vpopmail/domain/*/.vpasswd.lock files and removing them if they do not have at least some permission. These seem to clear up all of the issues I've noticed with vpopmail-5.4.16 at this time [fortunately that big bugfix last release helped as well]. Think we may be ready for 5.4.17 soon? I want to make sure these get in there. I just added your patch to CVS, and it will be in 5.4.17. One question related to the vpalias.c fix. Why is mydir static? It's always set to NULL before that function exits. Wouldn't making it not static and initializing it to NULL make more sense? -- Tom Collins - [EMAIL PROTECTED] Vpopmail - virtual domains for qmail: http://vpopmail.sf.net/ QmailAdmin - web interface for Vpopmail: http://qmailadmin.sf.net/
[vchkpw] new Installation on Fedora Core 5
We recently purchased an Intel 64 bit Server which i installed with Fedora Core 5 64 bit version. I successfully installed Qmail in about 2 days. So now when i look at the MySQL database i notice that there is a database in there called vpopmail in that database a seperate table is created for each domain that i add, when i compare with my older running installation of Qmail, there is a database called vpopmail and inside that that database is a another table called vpopmail which contains all the information on my domains. Is there any advantage to the new way of doing things, or did i miss something during installation, could someone offer me some advice incase i run the risk of breaking things when i deploy this server over the weekend. Regards Roger
Re: [vchkpw] Misc Bugfixes- update, cleanup
Tom Collins [EMAIL PROTECTED] wrote:One question related to the vpalias.c fix. Why is mydir static? It's always set to NULL before that function exits. Wouldn't making it not static and initializing it to NULL make more sense?mydir was static in vpopmail-5.4.16, so I didn't set that. Looking at it now, I'm not really sure why. From the same token, I'm not sure if it's worth changing. Possibly to ensure that mydir is closed on any second itteration in case it hits one of those returns?-M
[vchkpw] How can I personalize some users in a domain ?
Hello I use vpopmail5.4. I want to personalize some emailaddresses in a domain. Let me explain that case. I have a domain. 5 email addresses of this domain will not able to send and receive any mail from anywhere except that domain. Other email address of this domain can send to everywhere and receive emailfrom everywhere. How can I do this ? Thanks
Re: [vchkpw] new Installation on Fedora Core 5
On Jun 29, 2006, at 4:54 AM, Roger wrote: We recently purchased an Intel 64 bit Server which i installed with Fedora Core 5 64 bit version. I successfully installed Qmail in about 2 days. So now when i look at the MySQL database i notice that there is a database in there called vpopmail in that database a seperate table is created for each domain that i add, when i compare with my older running installation of Qmail, there is a database called vpopmail and inside that that database is a another table called vpopmail which contains all the information on my domains. Is there any advantage to the new way of doing things, or did i miss something during installation, could someone offer me some advice incase i run the risk of breaking things when i deploy this server over the weekend. Two different configure options... You chose --disable-many-domains on the FC5 box and got a table for each domain. The default, --enable-many-domains puts all domains in a single table. -- Tom Collins - [EMAIL PROTECTED] Vpopmail - virtual domains for qmail: http://vpopmail.sf.net/ QmailAdmin - web interface for Vpopmail: http://qmailadmin.sf.net/
Re: [vchkpw] How can I personalize some users in a domain ?
Bulent wrote: Hello I use vpopmail5.4. I want to personalize some emailaddresses in a domain. Let me explain that case. I have a domain. 5 email addresses of this domain will not able to send and receive any mail from anywhere except that domain. Other email address of this domain can send to everywhere and receive email from everywhere. How can I do this ? Thanks You might want to look at EMPF Email Message Policy Framework http://www.inter7.com/?page=empf It was designed to support what you are trying to do. -- Ken Jones
[vchkpw] VpopMail upgrade
I have an older machine that has over 450 email accounts. It has: Vpopmail 4.9.8 QMail 1.03 No IMAP installed. I need to transfer all this stuff over to a new updated server that has: Vpopmail 5.4.13 QMail 2.2.1 QmailAd 1.2.9 VQadmin Squirrel Mail However I dont know how-to do this. I do not know the older servers postmaster password. I can change it by using vQadmin; however I cant install it because vpopmail is not up2date. My plan is this: 1.) Update vpopmail 2.) Install vQadmin 3.) Get/change postmaster password Will I loose emails / domains / accounts if I update Vpopmail? Thanks, Austin Jorden (972) 284-4909 Digitalpath of Texas http://www.dptexas.net/ smime.p7s Description: S/MIME cryptographic signature
Re: [vchkpw] VpopMail upgrade
Austin Jorden wrote: I have an older machine that has over 450 email accounts. It has: Vpopmail 4.9.8 QMail 1.03 No IMAP installed. I need to transfer all this stuff over to a new updated server that has: Vpopmail 5.4.13 QMail 2.2.1 Are you sure you have qmail 2.2.1? QmailAd 1.2.9 VQadmin Squirrel Mail However I don’t know how-to do this. I do not know the older server’s postmaster password. I can change it by using vQadmin; however I can’t install it because vpopmail is not up2date. My plan is this: 1.) Update vpopmail 2.) Install vQadmin 3.) Get/change postmaster password Will I loose emails / domains / accounts if I update Vpopmail? Thanks, Austin Jorden (972) 284-4909 Digitalpath of Texas http://www.dptexas.net/
RE: [vchkpw] VpopMail upgrade
Oh I'm sorry, it's still 1.03 that's installed. Thanks, Austin Jorden (972) 284-4909 Digitalpath of Texas http://www.dptexas.net/ -Original Message- From: Remo Mattei [mailto:[EMAIL PROTECTED] Sent: Thursday, June 29, 2006 11:54 AM To: vchkpw@inter7.com Subject: Re: [vchkpw] VpopMail upgrade Austin Jorden wrote: I have an older machine that has over 450 email accounts. It has: Vpopmail 4.9.8 QMail 1.03 No IMAP installed. I need to transfer all this stuff over to a new updated server that has: Vpopmail 5.4.13 QMail 2.2.1 Are you sure you have qmail 2.2.1? QmailAd 1.2.9 VQadmin Squirrel Mail However I don't know how-to do this. I do not know the older server's postmaster password. I can change it by using vQadmin; however I can't install it because vpopmail is not up2date. My plan is this: 1.) Update vpopmail 2.) Install vQadmin 3.) Get/change postmaster password Will I loose emails / domains / accounts if I update Vpopmail? Thanks, Austin Jorden (972) 284-4909 Digitalpath of Texas http://www.dptexas.net/ smime.p7s Description: S/MIME cryptographic signature
Re: [vchkpw] quotawarn not always working
At 05:58 PM 6/28/2006, Charles Sprickman wrote: Anyone else see this? Any appropriate fixes in vdelivermail dealing with quota warnings since 5.4.10? I noticed vdelivermail does have a few printfs with error messages, but I'm not seeing anything in the mail logs regarding this user or quotas or errros in general... Ideas? i've found that occasionally the 'maildirsize' file will misbehave - somehow getting confused info written into it. deleting it often cleared the problem. Paul Theodoropoulos http://www.anastrophe.com http://www.smileglobal.com http://www.forumgarden.com
Re: [vchkpw] How can I personalize some users in a domain ?
I downloaded empf-toaster-0.8.1.patch as below I tried patch it . But I got an error one line as below; Hunk #2 failed at 371. 1 out of 2 hunks failed--saving rejects to qmail-smtpd.c.rej What shall I do ? Here is the patch operation: mailserver# patch empf-toaster-0.8.1.patch Hmm... Looks like a unified diff to me... The text leading up to this was: -- |--- qmail-smtpd.c 2006-06-19 12:43:14.0 -0300 |+++ ../netqmail-1.05-new/qmail-smtpd.c 2006-06-19 16:33:20.0 -0300 -- Patching file qmail-smtpd.c using Plan A... Hunk #1 succeeded at 336 with fuzz 2 (offset -271 lines). Hunk #2 failed at 371. 1 out of 2 hunks failed--saving rejects to qmail-smtpd.c.rej Hmm... The next patch looks like a unified diff to me... The text leading up to this was: -- |--- Makefile 2006-06-19 12:43:14.0 -0300 |+++ ../netqmail-1.05-new/Makefile 2006-06-19 16:37:44.0 -0300 -- Patching file Makefile using Plan A... Hunk #1 failed at 1663. 1 out of 1 hunks failed--saving rejects to Makefile.rej Hmm... The next patch looks like a unified diff to me... The text leading up to this was: -- |--- conf-policy2006-06-19 16:46:43.0 -0300 |+++ ../netqmail-1.05-new/conf-policy 2006-06-19 16:36:55.0 -0300 -- Patching file conf-policy using Plan A... Hunk #1 succeeded at 1. Hmm... The next patch looks like a unified diff to me... The text leading up to this was: -- |--- policy.c 2006-06-19 16:48:11.0 -0300 |+++ ../netqmail-1.05-new/policy.c 2006-06-19 16:37:01.0 -0300 -- Patching file policy.c using Plan A... Hunk #1 succeeded at 1. Hmm... The next patch looks like a unified diff to me... The text leading up to this was: -- |--- policy.h 2006-06-19 16:48:14.0 -0300 |+++ ../netqmail-1.05-new/policy.h 2006-06-19 16:37:05.0 -0300 -- Patching file policy.h using Plan A... Hunk #1 succeeded at 1. done - Original Message - From: Ken Jones [EMAIL PROTECTED] To: vchkpw@inter7.com Sent: Thursday, June 29, 2006 6:47 PM Subject: Re: [vchkpw] How can I personalize some users in a domain ? Bulent wrote: Hello I use vpopmail5.4. I want to personalize some emailaddresses in a domain. Let me explain that case. I have a domain. 5 email addresses of this domain will not able to send and receive any mail from anywhere except that domain. Other email address of this domain can send to everywhere and receive email from everywhere. How can I do this ? Thanks You might want to look at EMPF Email Message Policy Framework http://www.inter7.com/?page=empf It was designed to support what you are trying to do. -- Ken Jones
Re: [vchkpw] [bug][patch] - vchkpw/vmysql and Mysql 5
This patch is in the upcoming 5.4.17 release. -Tom On May 29, 2006, at 7:05 AM, Ron Gage wrote: Greetings: I don't know if anyone in here is encountering this problem (yet), but it has been affecting me for the past few weeks - ever since I upgraded my MySQL server to 5.0.19. It took quite a bit of digging, but I believe I have found the problem. To describe the problem: when you run vpopmail in MySQL mode, with courier-authdaemond and MySQL v5.0 or later, you will find that for the first 8 hours, everything works just fine, but after 8 hours, nobody will be able to authenticate to the email server and you will see MySQL server has gone away errors in the maillog. The cause of the problem is that in MySQL 5.0 (and probably some 4.1 releases), MySQL implements a new timeout definition for connections, a timeout that ignores traffic. This timeout will shut down the socket thread from the MySQL side. The problem is that the client (vchkpw and friends) do not know/understand about this timeout and socket termination so they continue on in ignorate bliss until they try to send to the socket and find that it's no longer valid - literally the server has gone away. The fix is to simply destroy the internal flags and file handles related to that socket, rebuild a new one, and try again. The included patch (inline and attached) implements this fix. Please note that there doesn't appear to be any way at this time to disable the timeout feature in MySQL. Please feel free to comment, tear apart, beat up, or otherwise rip to shreads my fix! -- Ron Gage (LPIC1 MCP A+ Net+) Westland, Michigan --- vmysql.c~ 2006-05-29 10:17:20.0 -0400 +++ vmysql.c2006-05-29 10:17:20.0 -0400 @@ -465,7 +465,31 @@ ); if (mysql_query(mysql_read,SqlBufRead)) { fprintf(stderr, vmysql: sql error[3]: %s\n, mysql_error(mysql_read)); -return(NULL); +/* Ron Gage - May 29, 2006 - With newer versions of MySQL, there is such a thing +as a connection timeout regardless of activity. By default under MySQL 5, this +timeout is 28800 seconds (8 hours). If your vpopmail system runs fine for the +first 8 hours, then stops authenticating, this timeout is your problem (especially +under authdaemond). + +What this code does is when an error is encountered, it first tries to drop and +rebuild a connection to the SQL server and tries again. If this second attempt +fails, then something other than the connection timeout is the problem. This fix +need to be implemented in other places but in my setup (Slackware 10.2, netqmail, +vpopmail, courier-authdaemond, courier-imapd and a few others), this is always where +the auth attempt died with a SQL server has gone away error. +*/ + +fprintf(stderr, Attempting to rebuild connection to SQL server\n); +vclose(); +verrori = 0; +if ( (err=vauth_open_read()) != 0 ) { + verrori = err; + return(NULL); +} +if (mysql_query(mysql_read, SqlBufRead)) { + fprintf (stderr, vmysql: connection rebuild failed: %s\n, mysql_error(mysql_read)); + return(NULL); +} } if (!(res_read = mysql_store_result(mysql_read))) { This message was sent using IMP, the Internet Messaging Program. vmysql.diff
Re: [vchkpw] make alias domain the main domain?
At 02:23 PM 6/28/2006, Tom Collins wrote: On Jun 28, 2006, at 1:26 PM, Paul Theodoropoulos wrote: so how the heck can i do that? i'm baffled how to change the name of an existing domain. i don't see any options in vqadmin or in the command line interface to accomplish this. Edit /var/qmail/users/assign. You'll find two entries related to the domain, like this: +rfpowerdevices.com-:rfpowerdevices.com:89:89:/home/vpopmail/domains/ rfpowerdevices.com:-:: +hvvi.com-:rfpowerdevices.com:89:89:/home/vpopmail/domains/ rfpowerdevices.com:-:: Change the second field from rfpowerdevices.com to hvvi.com: +rfpowerdevices.com-:hvvi.com:89:89:/home/vpopmail/domains/ rfpowerdevices.com:-:: +hvvi.com-:hvvi.com:89:89:/home/vpopmail/domains/rfpowerdevices.com:-:: Run qmail-newu, HUP qmail-send (you may not need to do that step), and you should be all set. unfortunately, this doesn't work. or at least, i made the change as specified, i created a new user at hvvi.com, then tried setting up an autoresponder in qmailadmin as the user would do - it spits out the 'internal server error' when you click 'modify user' to write the changes. i changed the field back, and it then is able to create the vacation dir etc. Paul Theodoropoulos http://www.anastrophe.com http://www.smileglobal.com http://www.forumgarden.com
Re: [vchkpw] make alias domain the main domain?
just add an alias with valiasdomain and you are set... Ciao Paul Theodoropoulos wrote: At 02:23 PM 6/28/2006, Tom Collins wrote: unfortunately, this doesn't work. or at least, i made the change as specified, i created a new user at hvvi.com, then tried setting up an autoresponder in qmailadmin as the user would do - it spits out the 'internal server error' when you click 'modify user' to write the changes. i changed the field back, and it then is able to create the vacation dir etc. Paul Theodoropoulos http://www.anastrophe.com http://www.smileglobal.com http://www.forumgarden.com
Re: [vchkpw] How can I personalize some users in a domain ?
apply the patch manually. Remo Bulent wrote: I downloaded empf-toaster-0.8.1.patch as below I tried patch it . But I got an error one line as below; Hunk #2 failed at 371. 1 out of 2 hunks failed--saving rejects to qmail-smtpd.c.rej What shall I do ? Here is the patch operation: mailserver# patch empf-toaster-0.8.1.patch Hmm... Looks like a unified diff to me... The text leading up to this was: -- |--- qmail-smtpd.c 2006-06-19 12:43:14.0 -0300 |+++ ../netqmail-1.05-new/qmail-smtpd.c 2006-06-19 16:33:20.0 -0300 -- Patching file qmail-smtpd.c using Plan A... Hunk #1 succeeded at 336 with fuzz 2 (offset -271 lines). Hunk #2 failed at 371. 1 out of 2 hunks failed--saving rejects to qmail-smtpd.c.rej Hmm... The next patch looks like a unified diff to me... The text leading up to this was: -- |--- Makefile 2006-06-19 12:43:14.0 -0300 |+++ ../netqmail-1.05-new/Makefile 2006-06-19 16:37:44.0 -0300 -- Patching file Makefile using Plan A... Hunk #1 failed at 1663. 1 out of 1 hunks failed--saving rejects to Makefile.rej Hmm... The next patch looks like a unified diff to me... The text leading up to this was: -- |--- conf-policy2006-06-19 16:46:43.0 -0300 |+++ ../netqmail-1.05-new/conf-policy 2006-06-19 16:36:55.0 -0300 -- Patching file conf-policy using Plan A... Hunk #1 succeeded at 1. Hmm... The next patch looks like a unified diff to me... The text leading up to this was: -- |--- policy.c 2006-06-19 16:48:11.0 -0300 |+++ ../netqmail-1.05-new/policy.c 2006-06-19 16:37:01.0 -0300 -- Patching file policy.c using Plan A... Hunk #1 succeeded at 1. Hmm... The next patch looks like a unified diff to me... The text leading up to this was: -- |--- policy.h 2006-06-19 16:48:14.0 -0300 |+++ ../netqmail-1.05-new/policy.h 2006-06-19 16:37:05.0 -0300 -- Patching file policy.h using Plan A... Hunk #1 succeeded at 1. done - Original Message - From: Ken Jones [EMAIL PROTECTED] To: vchkpw@inter7.com Sent: Thursday, June 29, 2006 6:47 PM Subject: Re: [vchkpw] How can I personalize some users in a domain ? domain. Let me explain that case. and receive any mail from anywhere except that domain. email from everywhere.
Re: [vchkpw] make alias domain the main domain?
At 01:15 PM 6/29/2006, you wrote: just add an alias with valiasdomain and you are set... there's already an alias domain in place - that's the whole issue. Paul Theodoropoulos http://www.anastrophe.com http://www.smileglobal.com http://www.forumgarden.com
Re: [vchkpw] make alias domain the main domain?
you can have more than one alias per domain. Paul Theodoropoulos wrote: At 01:15 PM 6/29/2006, you wrote: there's already an alias domain in place - that's the whole issue. Paul Theodoropoulos http://www.anastrophe.com http://www.smileglobal.com http://www.forumgarden.com
Re: [vchkpw] make alias domain the main domain?
At 01:25 PM 6/29/2006, you wrote: you can have more than one alias per domain. that's irrelevant to the issue as far as i can tell. existing main domain - rfpowerdevices.com existing alias domain - hvvi.com customer wants to drop appearance of rfpowerdevices.com when users create autoresponders. performed steps specified by tom collins. no go. what, exactly, are you suggesting? i'm baffled. Paul Theodoropoulos wrote: At 01:15 PM 6/29/2006, you wrote: there's already an alias domain in place - that's the whole issue. Paul Theodoropoulos http://www.anastrophe.com http://www.smileglobal.com http://www.forumgarden.com Paul Theodoropoulos http://www.anastrophe.com http://www.smileglobal.com http://www.forumgarden.com
Re: [vchkpw] make alias domain the main domain?
then the way I would do it this: copy the users from the location under the old dir domain rfpowerdevices.com delete the domain create a script that will recreate all the users you can do this very easily by doing an ls -l |grep etc... the run vadduser -n is you have the option in vpopmail to learn passwd then add the new domain and all the users then copy back the users dir with the right permission and you should be fine. You can also just copy the email to their location without any problems. Just my 2 cents. Remo Paul Theodoropoulos wrote: At 01:25 PM 6/29/2006, you wrote: that's irrelevant to the issue as far as i can tell. existing main domain - rfpowerdevices.com existing alias domain - hvvi.com customer wants to drop appearance of rfpowerdevices.com when users create autoresponders. performed steps specified by tom collins. no go. what, exactly, are you suggesting? i'm baffled. Paul Theodoropoulos http://www.anastrophe.com http://www.smileglobal.com http://www.forumgarden.com
Re: [vchkpw] make alias domain the main domain?
At 01:57 PM 6/29/2006, you wrote: then the way I would do it this: copy the users from the location under the old dir domain rfpowerdevices.com delete the domain create a script that will recreate all the users you can do this very easily by doing an ls -l |grep etc... the run vadduser -n is you have the option in vpopmail to learn passwd then add the new domain and all the users then copy back the users dir with the right permission and you should be fine. You can also just copy the email to their location without any problems. thanks. but that's what i was trying to avoid when i originally asked the question. however, i suspect it's the only real option. Paul Theodoropoulos http://www.anastrophe.com http://www.smileglobal.com http://www.forumgarden.com
Re: [vchkpw] make alias domain the main domain?
On Jun 29, 2006, at 1:57 PM, Remo Mattei wrote: copy the users from the location under the old dir domain rfpowerdevices.com delete the domain create a script that will recreate all the users you can do this very easily by doing an ls -l |grep etc... the run vadduser -n is you have the option in vpopmail to learn passwd then add the new domain and all the users then copy back the users dir with the right permission and you should be fine. You can also just copy the email to their location without any problems. But if you have mailing lists or autoresponders you won't be fine, because their files will reference the old directory name. -- Tom Collins - [EMAIL PROTECTED] Vpopmail - virtual domains for qmail: http://vpopmail.sf.net/ QmailAdmin - web interface for Vpopmail: http://qmailadmin.sf.net/
Re: [vchkpw] make alias domain the main domain?
At 03:09 PM 6/29/2006, Tom Collins wrote: On Jun 29, 2006, at 1:07 PM, Paul Theodoropoulos wrote: unfortunately, this doesn't work. or at least, i made the change as specified, i created a new user at hvvi.com, then tried setting up an autoresponder in qmailadmin as the user would do - it spits out the 'internal server error' when you click 'modify user' to write the changes. i changed the field back, and it then is able to create the vacation dir etc. After the change, and running qmail-newu, did vdominfo look correct for the domain? Are you saying that you were able to add a user in QmailAdmin but not add a vacation message for that user? I wonder where it failed. Did the user end up with a .qmail file? Was the autorespond program-deliver line in it? Was the autorespond directory structure set up? If you just changed +hvvi.com-:rfpowerdevices.com: to +hvvi.com-:hvvi.com:, I don't readily see where it would fail. now that i see that i'm a dumbass, i don't see how it could fail either! i completely overlooked the update to the second line for hvvi.com - i only updated the first. so lemme try again and maybe there will be less dumbass involved. Paul Theodoropoulos http://www.anastrophe.com http://www.smileglobal.com http://www.forumgarden.com
Re: [vchkpw] make alias domain the main domain?
At 03:29 PM 6/29/2006, you wrote: At 03:09 PM 6/29/2006, Tom Collins wrote: If you just changed +hvvi.com-:rfpowerdevices.com: to +hvvi.com-:hvvi.com:, I don't readily see where it would fail. now that i see that i'm a dumbass, i don't see how it could fail either! i completely overlooked the update to the second line for hvvi.com - i only updated the first. so lemme try again and maybe there will be less dumbass involved. well, i did it, and it still didn't work. this time, with both lines changed, vqadmin saw hvvi.com as the 'real' domain, and rfpowerdevices as the alias - and showed no users for either. so i had to rapidly switch back for fear of disrupting the account's access. so i'm confused. maybe a confused dumbass, but confused nonetheless. Paul Theodoropoulos http://www.anastrophe.com http://www.smileglobal.com http://www.forumgarden.com
Re: [vchkpw] make alias domain the main domain?
On Jun 29, 2006, at 3:35 PM, Paul Theodoropoulos wrote: well, i did it, and it still didn't work. this time, with both lines changed, vqadmin saw hvvi.com as the 'real' domain, and rfpowerdevices as the alias - and showed no users for either. so i had to rapidly switch back for fear of disrupting the account's access. so i'm confused. maybe a confused dumbass, but confused nonetheless. vqadmin hasn't been maintained in a long time... And before you ask, I have NO plans to even try using it. I just blew about 4-5 hours last night and today working on the vpopmail 5.4.17 release. The last thing I need to do is get sucked into another open source project. ;-) I'd be curious to hear whether the domain worked correctly in qmailadmin or not after making the change. I just ran a test, and it worked fine. Note that I had problems because I forgot to run qmail-newu after making the changes to users/assign. Once I made that change, it was OK. -- Tom Collins - [EMAIL PROTECTED] Vpopmail - virtual domains for qmail: http://vpopmail.sf.net/ QmailAdmin - web interface for Vpopmail: http://qmailadmin.sf.net/
Re: [vchkpw] make alias domain the main domain?
At 03:52 PM 6/29/2006, you wrote: On Jun 29, 2006, at 3:35 PM, Paul Theodoropoulos wrote: well, i did it, and it still didn't work. this time, with both lines changed, vqadmin saw hvvi.com as the 'real' domain, and rfpowerdevices as the alias - and showed no users for either. so i had to rapidly switch back for fear of disrupting the account's access. so i'm confused. maybe a confused dumbass, but confused nonetheless. vqadmin hasn't been maintained in a long time... And before you ask, I have NO plans to even try using it. I just blew about 4-5 hours last night and today working on the vpopmail 5.4.17 release. The last thing I need to do is get sucked into another open source project. ;-) I'd be curious to hear whether the domain worked correctly in qmailadmin or not after making the change. I just ran a test, and it worked fine. Note that I had problems because I forgot to run qmail-newu after making the changes to users/assign. Once I made that change, it was OK. gotcha. since i need to keep vqadmin consistent for various reasons, i think i'll try doing a complete overhaul of the domain the 'old fashioned way'. Paul Theodoropoulos http://www.anastrophe.com http://www.smileglobal.com http://www.forumgarden.com
[vchkpw] starttls crashes on vpopmail with mysql
Title: Ingo Claro Hello list: I can't starttls if I use vpopmail with mysql in another server. [EMAIL PROTECTED] bin]# telnet localhost 25 Trying 127.0.0.1... Connected to localhost.localdomain (127.0.0.1). Escape character is '^]'. 220 smtp.prisa.cl ESMTP starttls Connection closed by foreign host. i'm using vpopmail with mysql and that causes it, if i don't use mysql i get no problems. anyone has seen this behaviour? please help! I use this config for vpopmail: ./configure --enable-auth-module=mysql the mysql is in another server, the file /home/vpopmail/etc/vpopmail.mysql has this: 192.168.1.22|3306|vpopmail|vpopmail|vpopmail (this server has ip: 192.168.1.21) I add domain without problems. The tables and data are created in the database. I'm using Bill Shupp toaster, but this seems more like a vpopmail issue. I'm using vpopmail-5.4.13 More info: fresh install in a centos 4.3 machine. doing the command in command mode: [EMAIL PROTECTED] bin]# ./qmail-smtpd 220 smtp.prisa.cl ESMTP starttls Segmentation fault [EMAIL PROTECTED] control]# ll /var/qmail/control total 56 lrwxrwxrwx 1 root root 33 Jun 28 03:38 clientcert.pem - /var/qmail/control/servercert.pem -rw-r--r-- 1 root root 4 Jun 28 04:27 concurrencyincoming -rw-r--r-- 1 root root 11 Jun 28 03:12 defaultdelivery -rw-r--r-- 1 root root 9 Jun 28 03:11 defaultdomain -rw-r- 1 vpopmail qmail 245 Jun 28 03:39 dh1024.pem -rw-r- 1 vpopmail qmail 156 Jun 28 03:39 dh512.pem -rw-r--r-- 1 root root 15 Jun 28 03:11 locals -rw-r--r-- 1 root root 14 Jun 28 03:11 me -rw-r--r-- 1 root root 9 Jun 28 03:11 plusdomain -rw-r--r-- 1 root root 15 Jun 28 03:11 rcpthosts -rw-r- 1 vpopmail qmail 493 Jun 28 03:39 rsa512.pem -rw-r- 1 vpopmail qmail 1937 Jun 28 03:38 servercert.pem -rw-r--r-- 1 root root 2 Jun 28 03:10 spfbehavior -rw-r--r-- 1 root root 751 Jun 28 03:42 tlsclientciphers -rw-r--r-- 1 root root 751 Jun 28 03:42 tlsserverciphers [EMAIL PROTECTED] control]# rpm -qa | grep -i ssl perl-Crypt-SSLeay-0.51-5 openssl-0.9.7a-43.8 pyOpenSSL-0.6-1.p23 xmlsec1-openssl-1.2.6-3 openssl-devel-0.9.7a-43.8 MySQL-devel-standard-5.0.21-1.rhel4 MySQL-client-standard-5.0.21-1.rhel4 [EMAIL PROTECTED] bin]# ldd /var/qmail/bin/qmail-smtpd libssl.so.4 = /lib/libssl.so.4 (0x00101000) libcrypto.so.4 = /lib/libcrypto.so.4 (0x00cc3000) libresolv.so.2 = /lib/libresolv.so.2 (0x00c0b000) libm.so.6 = /lib/tls/libm.so.6 (0x00b94000) libcrypt.so.1 = /lib/libcrypt.so.1 (0x00bdb000) libc.so.6 = /lib/tls/libc.so.6 (0x00a62000) libgssapi_krb5.so.2 = /usr/lib/libgssapi_krb5.so.2 (0x00dae000) libkrb5.so.3 = /usr/lib/libkrb5.so.3 (0x00c5c000) libcom_err.so.2 = /lib/libcom_err.so.2 (0x00bb9000) libk5crypto.so.3 = /usr/lib/libk5crypto.so.3 (0x00dc4000) libdl.so.2 = /lib/libdl.so.2 (0x00b8e000) libz.so.1 = /usr/lib/libz.so.1 (0x00bc9000) /lib/ld-linux.so.2 (0x00a49000) lrwxrwxrwx 1 root root 16 Apr 20 00:18 libssl.so.4 - libssl.so.0.9.7a lrwxrwxrwx 1 root root 19 Apr 20 00:18 libcrypto.so.4 - libcrypto.so.0.9.7a lrwxrwxrwx 1 root root 17 Apr 20 00:17 libcrypt.so.1 - libcrypt-2.3.4.so run file: #!/bin/sh QMAILDUID=`id -u vpopmail` NOFILESGID=`id -g vpopmail` MAXSMTPD=`cat /var/qmail/control/concurrencyincoming` LOCAL=`head -1 /var/qmail/control/me` exec /usr/local/bin/softlimit -m 800 \ /usr/local/bin/tcpserver -v -H -R -l "$LOCAL" \ -x /home/vpopmail/etc/tcp.smtp.cdb -c "$MAXSMTPD" \ -u "$QMAILDUID" -g "$NOFILESGID" 0 smtp \ /usr/local/bin/recordio /var/qmail/bin/qmail-smtpd \ /home/vpopmail/bin/vchkpw /bin/true 21 regards, -- Ingo Claro F. Gerente de Operaciones [EMAIL PROTECTED] (+56-2) 43 00 155 Certificado ISO 9001:2000
Re: [vchkpw] make alias domain the main domain?
On Jun 29, 2006, at 3:59 PM, Paul Theodoropoulos wrote: gotcha. since i need to keep vqadmin consistent for various reasons, i think i'll try doing a complete overhaul of the domain the 'old fashioned way'. If you're using cdb, here's a sneaky way to do it... First, backup the domain on the off chance that deleting the alias domain messes something up. Stop qmail until you're done making the changes. We'll call the domains old.com and new.com for this process. # delete the old domain ~vpopmail/bin/vdeldomain new.com # add it back, as it's own domain (not an alias) ~vpopmail/bin/vadddomain new.com xyz # use the old domain's files instead rm -rf ~vpopmail/domains/new.com mv ~vpopmail/domains/old.com ~vpopmail/domains/new.com # make an link from the old name to the new name so mailing lists work cd ~vpopmail/domains ln -s new.com old.com Start qmail back up, and you should be in business. Now you can search through the various .qmail files and mailing list configuration files, looking for references to old.com and changing them to new.com. Eventually, you can ditch the link from old.com to new.com in the domains directory. -- Tom Collins - [EMAIL PROTECTED] Vpopmail - virtual domains for qmail: http://vpopmail.sf.net/ QmailAdmin - web interface for Vpopmail: http://qmailadmin.sf.net/
Re: [vchkpw] make alias domain the main domain?
At 04:34 PM 6/29/2006, Tom Collins wrote: If you're using cdb, here's a sneaky way to do it... mysql db backend here. thanks for the writeup though - and i'm certain someone on the list will find it useful at some point, so good to have it out there. what i'm going to do is just write down their user info (i have cleartext pw enabled), tar up the directory, delete both domains in vqadmin, add back the domain we want, then untar back into the dir. something like that. Paul Theodoropoulos http://www.anastrophe.com http://www.smileglobal.com http://www.forumgarden.com
RE: [vchkpw] VpopMail upgrade
What backend is vpopmail using for it's storage (cdb/mysql/ldap)? That will determine what steps need to be taken. In most cases however, moving from one server to another is a fairly painless job as long as you get your bases covered and there should be no loss in emails or accounts when doing the upgrade. For me personally I've moved my current user base across 4 different servers with only a blip of an outage while transferring over the current email store and changing the ip of the new and old boxes. On Thu, 2006-06-29 at 12:00 -0500, Austin Jorden wrote: Oh I'm sorry, it's still 1.03 that's installed. Thanks, Austin Jorden (972) 284-4909 Digitalpath of Texas http://www.dptexas.net/ -Original Message- From: Remo Mattei [mailto:[EMAIL PROTECTED] Sent: Thursday, June 29, 2006 11:54 AM To: vchkpw@inter7.com Subject: Re: [vchkpw] VpopMail upgrade Austin Jorden wrote: I have an older machine that has over 450 email accounts. It has: Vpopmail 4.9.8 QMail 1.03 No IMAP installed. I need to transfer all this stuff over to a new updated server that has: Vpopmail 5.4.13 QMail 2.2.1 Are you sure you have qmail 2.2.1? QmailAd 1.2.9 VQadmin Squirrel Mail However I don't know how-to do this. I do not know the older server's postmaster password. I can change it by using vQadmin; however I can't install it because vpopmail is not up2date. My plan is this: 1.) Update vpopmail 2.) Install vQadmin 3.) Get/change postmaster password Will I loose emails / domains / accounts if I update Vpopmail? Thanks, Austin Jorden (972) 284-4909 Digitalpath of Texas http://www.dptexas.net/ -- Thanks, Ed McLain Sr. Colocation Engineer TekLinks / High Speed Solutions [EMAIL PROTECTED] 205.314.6600
Re: [vchkpw] VpopMail upgrade
I figured out my problem. Thanks anyways! If anybody wants to know what I did, let me know. It's a hassle to explain it for no reason. Thanks, Austin Jorden - Original Message - From: Ed McLain [EMAIL PROTECTED] To: vchkpw@inter7.com Sent: Thursday, June 29, 2006 7:59 PM Subject: RE: [vchkpw] VpopMail upgrade What backend is vpopmail using for it's storage (cdb/mysql/ldap)? That will determine what steps need to be taken. In most cases however, moving from one server to another is a fairly painless job as long as you get your bases covered and there should be no loss in emails or accounts when doing the upgrade. For me personally I've moved my current user base across 4 different servers with only a blip of an outage while transferring over the current email store and changing the ip of the new and old boxes. On Thu, 2006-06-29 at 12:00 -0500, Austin Jorden wrote: Oh I'm sorry, it's still 1.03 that's installed. Thanks, Austin Jorden (972) 284-4909 Digitalpath of Texas http://www.dptexas.net/ -Original Message- From: Remo Mattei [mailto:[EMAIL PROTECTED] Sent: Thursday, June 29, 2006 11:54 AM To: vchkpw@inter7.com Subject: Re: [vchkpw] VpopMail upgrade Austin Jorden wrote: I have an older machine that has over 450 email accounts. It has: Vpopmail 4.9.8 QMail 1.03 No IMAP installed. I need to transfer all this stuff over to a new updated server that has: Vpopmail 5.4.13 QMail 2.2.1 Are you sure you have qmail 2.2.1? QmailAd 1.2.9 VQadmin Squirrel Mail However I don't know how-to do this. I do not know the older server's postmaster password. I can change it by using vQadmin; however I can't install it because vpopmail is not up2date. My plan is this: 1.) Update vpopmail 2.) Install vQadmin 3.) Get/change postmaster password Will I loose emails / domains / accounts if I update Vpopmail? Thanks, Austin Jorden (972) 284-4909 Digitalpath of Texas http://www.dptexas.net/ -- Thanks, Ed McLain Sr. Colocation Engineer TekLinks / High Speed Solutions [EMAIL PROTECTED] 205.314.6600 -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.394 / Virus Database: 268.9.6/378 - Release Date: 6/28/2006