Re: vpopmail with PHP
You probably already know this but php as an add-in module pays no attention to suexec, it always operates as the user/group of the server. You can get around this supposedly by compiling and running php as a cgi but you also take a pretty serious performance hit. If I were serious about developing a php interface to vpopmail/qmail, I'd start by running a second instance of apache dedicated to the project with the user and group of vpopmail. This should alleviate your permission problems. John - Original Message - From: Paul - Zenith Tech Inc [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, November 11, 2001 12:30 PM Subject: vpopmail with PHP Hi, Has anybody used the vpopmail libraries through a PHP script? When trying to add a domain, I get this error from PHP vpopmail error: Unable to chdir to vpopmail/domains directory I changed the permission on domains (and the subdirs) to 777 but this made no difference. Does anybody know the cause of this? Thanks, Paul
Re: vpopmail with PHP
Just remember if you do this to compile apache with your vpopmail directories under your httpd suexec directory tree or you won't be able to execute any cgi scripts for it. this would be a killer setup for a dedicated email server. John - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, November 12, 2001 11:41 AM Subject: Re: vpopmail with PHP ** Reply to note from CGI Guru [EMAIL PROTECTED] Mon, 12 Nov 2001 12:19:06 -0600 You probably already know this but php as an add-in module pays no attention to suexec, it always operates as the user/group of the server. You can get around this supposedly by compiling and running php as a cgi but you also take a pretty serious performance hit. If I were serious about developing a php interface to vpopmail/qmail, I'd start by running a second instance of apache dedicated to the project with the user and group of vpopmail. This should alleviate your permission problems. Yes. I can confirm all this. Including that the separate instance of apache running as vpopmail:vchkpw works wonders as a way to interact with vpopmail. I may release something after I upgrade my code to the new releases. (Which I am just now starting to install to test.) Rick Rick Widmer Internet Marketing Specialists http://www.developersdesk.com
Re: VQRegister
I'm using the older vpopmail (4.10.? I think) and it created 3 tables in mysql -- dir_control (stores domain info), relay (appears to be pop before smtp info), and vpopmail (all individual user info). I must say that this thing, along with qmadmin, vqregister and vqadmin was a real nightmare to set up and get working properly, but it seems to work flawlessly. Using mysql is expecially nice with something like the mysql server admin in webmin. The only real snag that I see is still vqregister's failure to recognize the existence of aliases. Guess vqregister isn't being upgraded anymore. Even though I run Linux, these toaster howtos were a real lifesaver - http://matt.simerson.net/computing/mail.shtml I believe I followed mainly toater 1.5 with mysql. - Original Message - From: Jason Brunk [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, October 25, 2001 2:02 AM Subject: VQRegister Well, everyone, i am making wonderful progress thanks to your help. Here is a simple question dealing with vqregister, if there is a different place to post this message let me know. I have my website hosted on one machine and my mail server is the other machine. I have the vqregister working great, but i have 2 questions. 1. when it sends the email out to tell someone that they successfully created a new account, it gives the link to go to www.domain.com/cgi-bin/sqwebmail but that actual location should be MAIL.domain.com/cgi-bin/sqwebmail just wondering if someone could help me fix that. 2. in my config file i set up everything for connecting to my MySQL server, but it doesn't seem to be using it at all, it says it will create the databases but i do not quite understand what it uses the mysql for. thank you for your help. jason
Re: vpopmail 4.9.10 stopped -- I'm stumped
I installed it basically like this BSD install http://matt.simerson.net/computing/qmail/qmail.toaster1.5.shtml only on RH Linux 7.1 with TWIG -- so no rpm. I'm going to try adding some users and see if they'll work and maybe a domain or two. I may try upgrading to the new release if that fails. What's the gid uid columns in the mysql vpopmail db for? Mine are all set to 0. Tried setting them to the gid and uid of vpopmail and vchkpw but then couldn't even imap or pop into an account. Thanks - Original Message - From: Tren Blackburn [EMAIL PROTECTED] To: Ken Jones [EMAIL PROTECTED]; CGI Guru [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Thursday, September 06, 2001 6:19 PM Subject: RE: vpopmail 4.9.10 stopped -- I'm stumped Are you using Bruce Guntner (?)'s qmail rpm's? I remember there was a cron job or something like that that would clober one of the files needed by vpopmail. I dunno, I'm trying to remeber the exact issue and it was about a year ago now... Doubt that helps any... Tren. =) -Original Message- From: Ken Jones [mailto:[EMAIL PROTECTED]] Sent: Thursday, September 06, 2001 4:45 PM To: CGI Guru Cc: [EMAIL PROTECTED] Subject: Re: vpopmail 4.9.10 stopped -- I'm stumped On Thu, 2001-09-06 at 17:13, CGI Guru wrote: Thanks for the quick response. All the domains are listed in controls/virtualdomains. users/assign appears fine. Each vdomain has a .qmail-default file under it's domain in vpopmail. Anything else come to mind? Check the permissions, everything under vpopmail's home dir should be owned by vpopmail/vchkpw. Check if you can add and delete new users, and send them email - Original Message - From: Ken Jones [EMAIL PROTECTED] To: CyberXXI [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Thursday, September 06, 2001 5:02 PM Subject: Re: vpopmail 4.9.10 stopped -- I'm stumped On Thu, 2001-09-06 at 16:38, CyberXXI wrote: I've had vpopmail up and running for several weeks with mysql -- ver. 4.9.10. Using all name-based vdomains. Have serveral domains created with a number of users in each. The thing has always worked like a charm. Server froze today and when I rebooted everthing appears to work fine except all mail to any accounts gets returned as Sorry, no mailbox here by that name. (#5.1.1). Using courier-imap and can log in and check accounts OK but something going on with mail delivery that accounts aren't recognized. Any thoughts on where to start to debug this thing. Pulling my hair out and, of course, people are screaming at me. Help before I'm forced to switch back to sendmail and all system accounts or, worse yet, some sort of Win 2000 product. Check your control files, make sure the domain is in there. Then check the qmail/users/assign file and make sure it's in there too. Then check for a .qmail-default file in the domain's directory Ken
Re: vpopmail 4.9.10 stopped -- I'm stumped
Here's the final word on the extent of my predicament. If I send mail to a domain and user that was setup before my crash, I get the mail bounced back saying no user. I added a new domain and a couple of users to it and it works fine on the new one. So, somethings corrupted or out of wack on the old domains. Guess I can delete them all and setup all the accounts again -- what a pain. In reviewing all the files I can find, the mysql db, and all the files in the individual virtual domains, I see no difference in them at all. Any thoughts where the snag might be? Should I upgrade to the new version while I'm at it? Thanks - Original Message - From: CGI Guru [EMAIL PROTECTED] To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Thursday, September 06, 2001 5:13 PM Subject: Re: vpopmail 4.9.10 stopped -- I'm stumped Thanks for the quick response. All the domains are listed in controls/virtualdomains. users/assign appears fine. Each vdomain has a .qmail-default file under it's domain in vpopmail. Anything else come to mind? - Original Message - From: Ken Jones [EMAIL PROTECTED] To: CyberXXI [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Thursday, September 06, 2001 5:02 PM Subject: Re: vpopmail 4.9.10 stopped -- I'm stumped On Thu, 2001-09-06 at 16:38, CyberXXI wrote: I've had vpopmail up and running for several weeks with mysql -- ver. 4.9.10. Using all name-based vdomains. Have serveral domains created with a number of users in each. The thing has always worked like a charm. Server froze today and when I rebooted everthing appears to work fine except all mail to any accounts gets returned as Sorry, no mailbox here by that name. (#5.1.1). Using courier-imap and can log in and check accounts OK but something going on with mail delivery that accounts aren't recognized. Any thoughts on where to start to debug this thing. Pulling my hair out and, of course, people are screaming at me. Help before I'm forced to switch back to sendmail and all system accounts or, worse yet, some sort of Win 2000 product. Check your control files, make sure the domain is in there. Then check the qmail/users/assign file and make sure it's in there too. Then check for a .qmail-default file in the domain's directory Ken
Re: Outbound quota suggestion.
What?? - Original Message - From: Eduardo Augusto Alvarenga [EMAIL PROTECTED] To: Eduardo Augusto Alvarenga [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Tuesday, September 04, 2001 7:58 PM Subject: Re: Outbound quota suggestion. Eduardo Augusto Alvarenga [EMAIL PROTECTED] wrote: [...] roaming users smtping, may be used to put a 'RELAYCLIENT' tag on the [...] Sorry! Correcting: [...] roaming users smtping, may be used to put a 'DATABYTES' tag on the [...] Now it's right. Best Regards, -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Eduardo Augusto Alvarenga - Analista de Suporte - #179653 Blumenau - Santa Catarina. Tel. (47) 9102-3303 http://www.netron.com.br/~eduardo -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
vqadmin vpopmail archives
Is this the correct list for vqadmin or is there another? Also, where are the archives for both of these? Want to search these before posting stupid questions. vpopmail and qmadmin with courier-imap working great but can't get vqadmin running. Acts like it doesn't know where to find interface templates. Thanks.
courier-imap undefined reference
Trying to get courier-imap running with this thing. Pop and mysql working fine. However, whenever I try to compile imap I get a whole string of the following: /usr/src/vpopmail-4.9.10/vauth.c:70: undefined reference to `mysql_init'/usr/src/vpopmail-4.9.10/vauth.c:72: undefined reference to `mysql_real_connect'/usr/src/vpopmail-4.9.10/vauth.c:74: undefined reference to `mysql_real_connect'/usr/src/vpopmail-4.9.10/vauth.c:81: undefined reference to `mysql_query'/usr/src/vpopmail-4.9.10/vauth.c:86: undefined reference to `mysql_store_result'/usr/src/vpopmail-4.9.10/vauth.c:87: undefined reference to `mysql_free_result'/usr/src/vpopmail-4.9.10/vauth.c:88: undefined reference to `mysql_select_db'/home/vpopmail/lib/libvpopmail.a(vauth.o): In function `vauth_adddomain_size':/usr/src/vpopmail-4.9.10/vauth.c:121: undefined reference to `mysql_query'/usr/src/vpopmail-4.9.10/vauth.c:125: undefined reference to `mysql_store_result'/usr/src/vpopmail-4.9.10/vauth.c:126: undefined reference to `mysql_free_result'/home/vpopmail/lib/libvpopmail.a(vauth.o): In function `vauth_adduser_size':/usr/src/vpopmail-4.9.10/vauth.c:186: undefined reference to `mysql_query'/usr/src/vpopmail-4.9.10/vauth.c:189: undefined reference to `mysql_query'/usr/src/vpopmail-4.9.10/vauth.c:194: undefined reference to `mysql_error'/usr/src/vpopmail-4.9.10/vauth.c:199: undefined reference to `mysql_store_result'/usr/src/vpopmail-4.9.10/vauth.c:200: undefined reference to `mysql_free_result'/home/vpopmail/lib/libvpopmail.a(vauth.o): In function `vauth_getpw_size':/usr/src/vpopmail-4.9.10/vauth.c:240: undefined reference to `mysql_query'/usr/src/vpopmail-4.9.10/vauth.c:245: undefined reference to `mysql_store_result'/usr/src/vpopmail-4.9.10/vauth.c:250: undefined reference to `mysql_num_rows'/usr/src/vpopmail-4.9.10/vauth.c:260: undefined reference to `mysql_fetch_row'/usr/src/vpopmail-4.9.10/vauth.c:269: undefined reference to `mysql_free_result'/usr/src/vpopmail-4.9.10/vauth.c:272: undefined reference to `mysql_free_result'/home/vpopmail/lib/libvpopmail.a(vauth.o): In function `vauth_deldomain_size': This is on RH 7.1 with mysql installed by rpm. What's it looking for,where might it be, and how do I tell it how to find it? Thanks.
Archived list?
Is this list archivedanywhere so it can be searched? If so -- where? Thanks