Perl/PHP webmail
We're using a few servers running qmail+vpopmai+qmailadmin and of course, sqwebmail. Although sqwebmail is one nice package, with lots of complex stuff inside--we are looking for a recommendation for other cool webmail that uses Perl or PHP. Direct access to maildir is good, but not necessary. We also prefer a package that interface nicely with vpopmail's (simple--as Ken said : -) filtering mechanism. Any suggestion is welcome. -kman
Re: Message Less Than 1K --- REPOST
Ken Jones writes: > Sure, depends on how you want to set things up. > > But I would worry about something else. Mail Bombs. Your supervisor > is worried about being mail bombed. I would worry more about being > able to detect that then vpopmail allowing the machine to fill up. That's the term! Mailbomb. > Think about it: > It would take 1,000 messages of 1K each to eat up 1M of disk space. > Presumably you have more than 10M free space. So it would take, > 10,000 messages to create 10M of disk space. > Your admin's should be able to detect such a spike in email > traffic long before your disk space is eaten up. How do the admin detect that? Our site does not have any IDS mechanism. Any other mailserver side control or filter (apart from the individual mailbox filter)? > I suggest your boss concentrates on where the problems are instead > of trying to kludge together solutions that he has never experienced. Such as ... > Becareful, don't design around emotions. Check facts, get statistics, > then create your design. OK, thanks for the valuable advice. --- Any opinions, explicit or implied, are solely those of the author and do not necessarily represent those of PANSAR ---
Re: Perl/PHP webmail
-BEGIN PGP SIGNED MESSAGE- Hello KMAN, Monday, June 11, 2001, 9:19:11 AM, you wrote: > We're using a few servers running qmail+vpopmai+qmailadmin and of > course, sqwebmail. Although sqwebmail is one nice package, with > lots of complex stuff inside--we are looking for a recommendation > for other cool webmail that uses Perl or PHP. Direct access to > maildir is good, but not necessary. We also prefer a package that > interface nicely with vpopmail's (simple--as Ken said : -) > filtering mechanism. > Any suggestion is welcome. IMP and Squirrelmail are both PHP and not bad. But they obviously won't support filtering provided by vpopmail. If you like to have something more fully blown as to groupware features, take a look into phpgroupware (thought I'm not so sure whether they ever get it stable or working with different domains out of one DB, which is vital for a hosting environment IMNSHO) which also uses squirrel as mail client. Best regards, Gabriel KKT -BEGIN PGP SIGNATURE- Version: PGP 6.5i iQEVAwUBOyRqc8Za2WpymlDxAQH8gQf+ORm7TXk+yrHnXoorFR4r0svq/DD2t18w NBQngIu7vFiY+woOM6iHHpsGRR+5dUJKswGiN48I3af552ZRXSgNSw10krKE4TF/ 5mq1kkSGgMsICLs/ukJ2ct1X4AOCYEOG78cZBdtVkIcFQmxO/1rRLf4mhIeTmezn RXlAT2aX+thi826lTvxMwAIQM5YBxVE0VtPX58zPPUZo05DJe22Z/V1yQ+5KoLAe qJytjW0WWyJRjPVd89w7lDfu3RJ3pOX7Pc7JwOVhaFrU30BawLjlzSNl9mvL/OAu sB3KuSS7clm0+LrMvr0WfH0wzL1uigvu2+SFSHhQPCWyq0yTTd+dKg== =7aMn -END PGP SIGNATURE-
Re[2]: Message Less Than 1K --- REPOST
-BEGIN PGP SIGNED MESSAGE- Hello Francis, Monday, June 11, 2001, 9:29:17 AM, you wrote: >> Your admin's should be able to detect such a spike in email >> traffic long before your disk space is eaten up. > How do the admin detect that? Our site does not have any IDS > mechanism. Any other mailserver side control or filter (apart from > the individual mailbox filter)? What about using some log analyzer? Guilty as charge I am, I admit it, but then again, our mail servers don't run anywhere near a tenth of their capacity. Best regards, Gabriel ¬Íüæ -BEGIN PGP SIGNATURE- Version: PGP 6.5i iQEVAwUBOyRtvMZa2WpymlDxAQGUqgf/bFpJLUmX08RipTDp6zOiBik9Cu7sx/hF r2pwhOJqEG0V+QxcJHb8V9FpfyYad+TC/zU56rjsPG15T7Su4PuhmaG5p/Gt/GcT lq2eKIcZT2HnRnCPaVDOYCo0d1GYSoMzbANgakTwS08xFelj/7jQIopSkZGRIx/K 8amOJlod4fTM6xUEk8O80t+cAypMmhaAILWBIlsloXoehcfzDH93DT+Nxs1O6nWx eeoDT7uHOuTkdNq/svHneWSK1burqlrco6ZAUiKKb+QNdcjW/rm49ElKRv9DlowX nS4y/Z/o5szDV4YoHzPwd1nmHLYHA4faKqKo9ew8GeyV3iHhhslYIA== =rQ3K -END PGP SIGNATURE-
Re: Perl/PHP webmail
Thanks a lot Gabriel. I've heard of that squirrelmail for some time, and even have spent little time trying it out. Like you said, it doesn't support vpopmail's filtering, which is kind of important to me at this point. So if no futher suggestion coming in, I might need to do small hacking to get it work. (Yack!) -kman - Original Message - From: "Gabriel Ambuehl" <[EMAIL PROTECTED]> > IMP and Squirrelmail are both PHP and not bad. But they obviously > won't > support filtering provided by vpopmail. If you like to have something > more fully blown as to groupware features, take a look into > phpgroupware (thought I'm not so sure whether they ever get it > stable or working with different domains out of one DB, > which is vital for a hosting environment IMNSHO) which also uses > squirrel as mail client.
Re[2]: Perl/PHP webmail
-BEGIN PGP SIGNED MESSAGE- Hello KMAN, Monday, June 11, 2001, 10:23:47 AM, you wrote: > Thanks a lot Gabriel. I've heard of that squirrelmail for some > time, and even have spent little time trying it out. Like you > said, it > doesn't support vpopmail's filtering, which is kind of important to > me at this point. So if no futher suggestion coming in, I might > need to do small hacking to get it work. (Yack!) As Ken said, they'll implement the filtering into qmailadmin as soon as they find the time. This might help you... (hacking squirrel doesn't appear to be really easy to me as this would mean that you need to have apache running under vpopmail uid so it can even access the data!) Best regards, Gabriel B -BEGIN PGP SIGNATURE- Version: PGP 6.5i iQEVAwUBOyRz6MZa2WpymlDxAQF4VggAzFSeSwMfV9jfos07CeEwDQ2BAvSeypX0 +GPMPbAWhXdVdAoeIh1QpBK71xkngqEYVefvk1z2135SX1wu0nt/6bgAfACJaJXQ 6esS64QrmZM5pgeUPz2oFCBaTvktdmqTep6rqvZNWEM0B9sltb4+SrAFxBa6XPxx b3TTNwgAH4H4SHnW2/orrDSjvapPR2ycEqsEd28Dqau9zA6zkVNobTSBmO59yDc9 C8pVMeNwbHXdgs4IIyV6oG+qWE2yP5d9wi06KF8VUfu++BOLEVyrOpy6hz7mF0GL dWRV28PstFtzTxAoQY7aZLAVhPaRHKI2fnv/THMiItGiyPOaoXr9Eg== =c34T -END PGP SIGNATURE-
RE: Problems Compiling 4.10.17.
Hi - I dont think FreeBSD has an fdatasync() function but you can replace this call directly for an fsync() function call (although it is slightly slower). Just change the word fdatasync to fsync. Marcus > -Original Message- > From: Ryan Duda [mailto:[EMAIL PROTECTED]] > Subject: Problems Compiling 4.10.17. > > > Under FreeBSD 4.3-S > > gcc -I. -I/usr/local/include/mysql -g -O2 -Wall -c > vdelivermail.c > vdelivermail.c: In function `deliver_mail': > vdelivermail.c:454: warning: long unsigned int format, > unsigned int arg (arg 4) > vdelivermail.c:454: warning: long unsigned int format, > different type arg > (arg 7) > vdelivermail.c:456: warning: long unsigned int format, > unsigned int arg (arg 4) > vdelivermail.c:456: warning: long unsigned int format, > different type arg > (arg 7) > vdelivermail.c:536: warning: implicit declaration of > function `fdatasync' [snip]
A bit off vpopmail topic but would appreciate some feedback please
Roger Arnold wrote: Hi everyone, I sent this email to the qmailadmin group but as yet have had no replies that helped so I wondered if anyone here had some idea's on the subject to get me going please? I have just finished getting "Qmail & Vpopmail" to work (thanks to Ken) but have now run into a strange problem/problems with Qmailadmin, and am hoping someone can help me as quickly as possible please. Qmailadmin compiled and installed alright, but that's where it stopped. If I try and access qmailadmin over the web with the qmail default domain/user qmailadmin displays fine, but won't allow anyone to log on, which is reasonable considering it has not been setup as a vpopmail domain. However if a domain that has been setup with vpopmail using "vadddomain" tries to access Qmailadmin over the web, all that displays is the text without any graphics, even though the default domain had full graphics displayed. The more serious problem came next, when I tried to log in to Qmailadmin. It simply rejected any attempt to gain access (domain name and password were checked against the name and password the domain was installed as). Master Account: postmaster Domain Name: totalauto.com.au Password: aircon All thats returned is "Invalid Login" This happens for any and all domains installed on this machine, that have been setup with "vadddomain", I just can't get past that "invalid logon". I'm hoping that someone with experience with Qmailadmin will have some idea's how to solve this problem Any and all help to fix this would be very appreciated Thanks in advance Roger
Re: A bit off vpopmail topic but would appreciate some feedback please
burrett wrote: > > Roger Arnold wrote: > > Hi everyone, > I sent this email to the qmailadmin group but as yet have had no replies > that helped > so I wondered if anyone here had some idea's on the subject to get me > going please? > > I have just finished getting "Qmail & Vpopmail" to work (thanks to Ken) > but have now run into a strange problem/problems with Qmailadmin, and am > > hoping someone can help me as quickly as possible please. > > Qmailadmin compiled and installed alright, but that's where it stopped. > If I try and access qmailadmin over the web with the qmail default > domain/user qmailadmin displays fine, but won't allow anyone to log on, > which is reasonable considering it has not been setup as a vpopmail > domain. > > However if a domain that has been setup with vpopmail using "vadddomain" > > tries to access Qmailadmin over the web, all that displays is the text > without any graphics, even though the default domain had full graphics > displayed. Sounds like a httpd configuration issue. The graphics directory, images/qmailadmin has to be available. > > The more serious problem came next, when I tried to log in to > Qmailadmin. > It simply rejected any attempt to gain access (domain name and password > were checked against the name and password the domain was installed as). > > Master Account: postmaster > Domain Name: totalauto.com.au > Password: aircon > > All thats returned is "Invalid Login" > > This happens for any and all domains installed on this machine, that > have been setup with "vadddomain", I just can't get past that "invalid > logon". > I'm hoping that someone with experience with Qmailadmin will have some > idea's how to solve this problem Looks like either a httpd configuration issue, permissions/ownership of the qmailadmin binary, or where a mysql issue. Can you authenticate with pop? Ken Jones
Re: Problems Compiling 4.10.17.
I have a fix for this in 4.10.18. In configure.in around line 792 AC_CHECK_FUNCS(getcwd mkdir strdup strstr fdatasync ) This will create a #define HAVE_FDATASYNC 1 in config.h if it is on the system. Then in vdelivermail.c around line 538: #ifdef HAVE_FDATASYNC if ( fdatasync(write_fd) == 0 #else if ( fsync(write_fd) == 0 #endif && close(write_fd) == 0 ) { If you want to test it, you can pick up a copy from: http://www.inter7.com/vpopmail/vpopmail-4.10.18.tar.gz Ken Marcus Williams wrote: > > Hi - > > I dont think FreeBSD has an fdatasync() function but you can replace > this call directly for an fsync() function call (although it is > slightly slower). Just change the word fdatasync to fsync. > > Marcus > > > -Original Message- > > From: Ryan Duda [mailto:[EMAIL PROTECTED]] > > Subject: Problems Compiling 4.10.17. > > > > > > Under FreeBSD 4.3-S > > > > gcc -I. -I/usr/local/include/mysql -g -O2 -Wall -c > > vdelivermail.c > > vdelivermail.c: In function `deliver_mail': > > vdelivermail.c:454: warning: long unsigned int format, > > unsigned int arg (arg 4) > > vdelivermail.c:454: warning: long unsigned int format, > > different type arg > > (arg 7) > > vdelivermail.c:456: warning: long unsigned int format, > > unsigned int arg (arg 4) > > vdelivermail.c:456: warning: long unsigned int format, > > different type arg > > (arg 7) > > vdelivermail.c:536: warning: implicit declaration of > > function `fdatasync' > [snip]
RE: Autoresponder for catchall
I would copy my ~vpopmail/domain.com/.qmail-postmaster to ~vpopmail/domain.com/.qmail-default That would do it. Anyone know a cleaner way to do it. Last time I tried qmailadmin didnt like altering the "default" user. Maybe it was just me. Regards,Kieran BarnesSignum 1226 LtdUse our Web site at... http://www.1226.netPhone us on... 01772 622889Fax us on... 01772 622558 -Original Message-From: Vpop [mailto:[EMAIL PROTECTED]]Sent: 11 June 2001 10:06To: [EMAIL PROTECTED]Cc: [EMAIL PROTECTED]Subject: Autoresponder for catchall Hi All there, Have any body used autoresponder for catchall account I tried to does it,But it doesn't work out. I am using vpopmail,qmailadmin and configure an catchall account [EMAIL PROTECTED] and configure Autoresponder for its When I send mail directly to [EMAIL PROTECTED] the sender receives autoresponder mail, But when any anonymous user send mail to domain.com, mails get received at [EMAIL PROTECTED] but the anonymous user doesn't receive any autorespond mail. Does any one have done it before or what and where changes had to be made Pls help me out. Thanks & Regards
Re: vpopmail and maildrop
Ken Jones writes: > > I don't think the maildrop idea is consistant with vpopmail. > With the vpopmail-4.10 developement release you could enable > valias's and create an alias for every user to call maildrop. > > Question: What functionality of maildrop do you need? > > Ken Jones The reason to my question is that I would like mailfilter and autoresponse functionality in my sqwebmail. I read that maildrop has to be installed for that. Is this possible with my components: qmail, vpopmail and qmailadmin ? Regards Kim
Re: vpopmail and maildrop
Kim Christensen wrote: > > Ken Jones writes: > > > > > I don't think the maildrop idea is consistant with vpopmail. > > With the vpopmail-4.10 developement release you could enable > > valias's and create an alias for every user to call maildrop. > > > > Question: What functionality of maildrop do you need? > > > > Ken Jones > > The reason to my question is that I would like mailfilter and autoresponse > functionality in my sqwebmail. I read that maildrop has to be installed for > that. Is this possible with my components: > qmail, vpopmail and qmailadmin ? If you are trying to use the autoreponse and mailfilter features of sqwebmail you will need to run the courier MTA. These features are not consistant with vpopmail. Ken
Aborted Mysql Connections (4.10.x)
FreeBSD 4.3-S Has anyone noticed an abundance of Aborted connections with 4.10.x in the mysqld log. I just upgraded one of my machines from 4.9.10 to 4.10.17 and noticed that these Aborted connection messages are being logged 5 or 6 times a minute. I also updated mysql from 3.22.x to 3.23.x which may be part of the problem. Aborted connection 188 to db: 'vpopmail' user: 'vpopmail' host: `localhost' (Got an error reading communication packets) I haven't noticed any service affecting problems because of this, it just looks like a minor cosmetic error. Thanks, -Ryan
Re: A bit off vpopmail topic but would appreciate some feedback please
Roger Arnold wrote: Part of this problem is now fixed, all I had to do is create a symlink in each of the domains to the qmailadmin images directory in the web tree. Thanks for the help, all I have to do now is find out why I can't gain access to qmailadmin and I am home free :) Thanks again Regards Roger Ken Jones wrote: > burrett wrote: > > > > Roger Arnold wrote: > > > > Hi everyone, > > I sent this email to the qmailadmin group but as yet have had no replies > > that helped > > so I wondered if anyone here had some idea's on the subject to get me > > going please? > > > > I have just finished getting "Qmail & Vpopmail" to work (thanks to Ken) > > but have now run into a strange problem/problems with Qmailadmin, and am > > > > hoping someone can help me as quickly as possible please. > > > > Qmailadmin compiled and installed alright, but that's where it stopped. > > If I try and access qmailadmin over the web with the qmail default > > domain/user qmailadmin displays fine, but won't allow anyone to log on, > > which is reasonable considering it has not been setup as a vpopmail > > domain. > > > > However if a domain that has been setup with vpopmail using "vadddomain" > > > > tries to access Qmailadmin over the web, all that displays is the text > > without any graphics, even though the default domain had full graphics > > displayed. > > Sounds like a httpd configuration issue. The graphics directory, > images/qmailadmin has to be available. > > > > > The more serious problem came next, when I tried to log in to > > Qmailadmin. > > It simply rejected any attempt to gain access (domain name and password > > were checked against the name and password the domain was installed as). > > > > Master Account: postmaster > > Domain Name: totalauto.com.au > > Password: aircon > > > > All thats returned is "Invalid Login" > > > > This happens for any and all domains installed on this machine, that > > have been setup with "vadddomain", I just can't get past that "invalid > > logon". > > I'm hoping that someone with experience with Qmailadmin will have some > > idea's how to solve this problem > > Looks like either a httpd configuration issue, permissions/ownership > of the qmailadmin binary, or where a mysql issue. > > Can you authenticate with pop? > > Ken Jones
vpopmail stress testing
Thought you folks might be interested. I am doing some stress testing of mysql and mysql replication add/del 57,000 domains add/del 100,000 users spread across the 57,000 domains No problems so far. Ken Jones
RE: vpopmail stress testing
Ken, whats your mysql site layout? --enable-large-site=y or --enable-large-site=n ? Regards, Kieran Barnes Signum 1226 Ltd Use our Web site at... http://www.1226.net Phone us on... 01772 622889 Fax us on... 01772 622558 > -Original Message- > From: Ken Jones [mailto:[EMAIL PROTECTED]] > Sent: 11 June 2001 14:39 > To: [EMAIL PROTECTED] > Subject: vpopmail stress testing > > > Thought you folks might be interested. I am doing some > stress testing of mysql and mysql replication > > add/del 57,000 domains > add/del 100,000 users spread across the 57,000 domains > > No problems so far. > > Ken Jones >
Re: vpopmail stress testing
For replication I am using: ./configure --enable-mysql=y --enable-mysql-replication=y \ --enable-clear-passwd=y --enable-valias=y --enable-auth-logging=y \ --enable-passwd=n --enable-hardquota=5000 --enable-file-locking=n and for non replication: ./configure --enable-mysql=y \ --enable-clear-passwd=y --enable-valias=y --enable-auth-logging=y \ --enable-passwd=n --enable-hardquota=5000 --enable-file-locking=n So it is using the default --enable-large-site=n --enable-large-site=y is only good for sites with one or two domains. table optimization = many domains --enable-large-site=n default Ken Kieran Barnes wrote: > > Ken, whats your mysql site layout? > --enable-large-site=y or --enable-large-site=n ? > > Regards, > > Kieran Barnes > Signum 1226 Ltd > Use our Web site at... http://www.1226.net > Phone us on... 01772 622889 > Fax us on... 01772 622558 > > > -Original Message- > > From: Ken Jones [mailto:[EMAIL PROTECTED]] > > Sent: 11 June 2001 14:39 > > To: [EMAIL PROTECTED] > > Subject: vpopmail stress testing > > > > > > Thought you folks might be interested. I am doing some > > stress testing of mysql and mysql replication > > > > add/del 57,000 domains > > add/del 100,000 users spread across the 57,000 domains > > > > No problems so far. > > > > Ken Jones > >
Re: vpopmail stress testing
> Thought you folks might be interested. I am doing some > stress testing of mysql and mysql replication > > add/del 57,000 domains > add/del 100,000 users spread across the 57,000 domains > > No problems so far. Doing my own stress tests on 4.10.15 here: 5,000 domains, 200 users each + postmaster, for 1,005,000 users total. Using MySQL, but not the large site option or replication. I'm using a program called "postal" to test it, by sending 4,000 e-mail messages to a random e-mail address out of the 1,000,000 non-postmaster address. I'll let you all know the results. > > Ken Jones > Dave W
How can I check a pop3 server to a virtual domain authentication
Roger Arnold wrote: Hello All, I need to check that pop3 is authenticating passwords properly to temporary domains, however I am not sure of how email travels through qmail - vpopmail. I know this is documented, and I will read up on it, but I need a quicker way if there is one. Mail sent to the temporary domains is being received and is lodged in the domains directory, however I have spent so long getting qmail and vpopmail running, that I have omitted to learn how to connect to the server from the outside world with an email client to receive email (I know the username is the full email address and not just the name). What I need now is a quick way to confirm pop3 is being authenticated properly? Any direct pointers to this information which is documented would also be appreciated Thanks for any and all help Regards Roger
Re: How can I check a pop3 server to a virtual domain authentication
burrett wrote: > > Roger Arnold wrote: > > Hello All, > > I need to check that pop3 is authenticating passwords properly to > temporary domains, however I am not sure of how email travels through > qmail - vpopmail. These are two different things 1) pop authentication telnet hostname 110 user "enter your user@domain here" pass "enter your password" If it says OK each time then it authentication. 2) Email delivery echo "to: user@domain" | /var/qmail/bin/qmail-inject It should show up in the users Maildir/new directory. If not, look at your qmail-send log file for answers. 3) Mail delivery from the outside world. This depends on your DNS. Which is another issue :) Ken > I know this is documented, and I will read up on it, but I need a > quicker way if there is one. > Mail sent to the temporary domains is being received and is lodged in > the domains directory, however I have spent so long getting qmail and > vpopmail running, that I have omitted to learn how to connect to the > server from the outside world with an email client to receive email (I > know the username is the full email address and not just the name). > > What I need now is a quick way to confirm pop3 is being authenticated > properly? > > Any direct pointers to this information which is documented would also > be appreciated > > Thanks for any and all help > > Regards > Roger
Re: How can I check a pop3 server to a virtual domain authentication
Roger Arnold wrote: Hello Ken, Thanks for the reply and help, please find results below Ken Jones wrote: > burrett wrote: > > > > Roger Arnold wrote: > > > > Hello All, > > > > I need to check that pop3 is authenticating passwords properly to > > temporary domains, however I am not sure of how email travels through > > qmail - vpopmail. > > These are two different things > 1) pop authentication > telnet hostname 110 > user "enter your user@domain here" > pass "enter your password" > If it says OK each time then it authentication. OK, this is working and I am able to telnet in using the above parrameters > > > 2) Email delivery > echo "to: user@domain" | /var/qmail/bin/qmail-inject This is also working, so I guess authentication is functioning and mail is being delivered internally > > > It should show up in the users Maildir/new directory. > If not, look at your qmail-send log file for answers. > > 3) Mail delivery from the outside world. >This depends on your DNS. Which is another issue :) Mail delivery from the outside world is also working, as the mail sent is arriving in the users Maildir directory So now I am really stuck, Qmailadmin still will not let anyone in, and basically says that username/password is wrong, even though I have just confirmed it works. Should I try reinstalling Qmailadmin and see if that works? As far as httpd.conf is concerned what configuration for qmailadmin would be in there? Also what permissions would stop qmailadmin authenticating a user? I have just done a straight install, however does it make any difference if the install is performed by an ordinary user or by root, because thats the only thing I can think of that would alter permissions? Again thanks for your help Regards Roger > > > Ken > > > I know this is documented, and I will read up on it, but I need a > > quicker way if there is one. > > Mail sent to the temporary domains is being received and is lodged in > > the domains directory, however I have spent so long getting qmail and > > vpopmail running, that I have omitted to learn how to connect to the > > server from the outside world with an email client to receive email (I > > know the username is the full email address and not just the name). > > > > What I need now is a quick way to confirm pop3 is being authenticated > > properly? > > > > Any direct pointers to this information which is documented would also > > be appreciated > > > > Thanks for any and all help > > > > Regards > > Roger
vchkpw: setgid 0 failed errno 1
I've got vpopmail/qmailadmin installed on a Debian 2.2 system and am having a problem with vchkpw. I have done this install on other Debian systems configured the same way, and didn't have this problem. When I telnet into port 110, and put in my username and password, the connection immediately closes. No explaination is given by the host. In the logs, I get this: mail vpopmail[19213]: vchkpw: setgid 0 failed errno 1 user@domain:IP This is how I'm invoking qmail-pop3d: /usr/bin/tcpserver -g89 -u89 0 110 /usr/sbin/qmail-popup HOSTNAME \/home/vpopmail/bin/vchkpw /usr/sbin/qmail-pop3d Maildir & 89 is the GID and the UID for the vpopmail user. The group is vchkpw. Mail is delivered to the Maildirs OK. I have also checked to make sure qmail-pop3d is working by invoking it with checkpassword and checking a POP account for a local user. Only when vchkpw is used do I have a problem. Any help would be much appreciated. Trey Nolen [EMAIL PROTECTED]
Cannot start vpopmail?
Hello. I'm trying to use vpopmail along with qmail, but there are some difficulties that I cannot explain to myself. I've installed and configured vpopmail following the installation instructions contained in the file http://www.inter7.com/vpopmail/INSTALL. Note that I configured vpopmail with the fast default install (./configure; make; make install-strip) of point 4 of this document, neglecting point 5 as I didn't configured with the option --enable-roaming-users=y. After having added a new domain test.it and a new user of this new domain, I reached point 12 of the installation instructions, but the command env - PATH="/var/qmail/bin:/usr/local/bin" tcpserver -H -R 0 pop3 /var/qmail/bin/qmail-popup linuxmag.test.it /home/vpopmail/bin/vchkpw /var/qmail/bin/qmail-pop3d Maildir & (linuxmag is the hostname of this experimental linuxbox) gives back the following error message: "tcpserver: fatal: unable to bind: address already used" This is for the server side of the game. Then I tried (just for checking purposes) to configure a pop client in another computer to get the mail from the new user and domain of vpopmail but, obviously enough, I obtained the error message "authorization failed" from the server. Any suggestion? Thanks in advance Franco Vecchiato
Re: Cannot start vpopmail?
Franco, Do a "netstat -nap | grep LISTEN" to see if the port's already bound. You might have pop or smtp bound already through inet or another service. (edit /etc/inetd.conf if you have it running through inet). Hope this helps David Gartner > Hello. I'm trying to use vpopmail along with qmail, but there are some > difficulties that I cannot explain to myself. > > I've installed and configured vpopmail following the installation > instructions contained in the file http://www.inter7.com/vpopmail/INSTALL. > Note that I configured vpopmail with the fast default install (./configure; > make; make install-strip) of point 4 of this document, neglecting point 5 as > I didn't configured with the option --enable-roaming-users=y. > > After having added a new domain test.it and a new user of this new domain, I > reached point 12 of the installation instructions, but the command > > env - PATH="/var/qmail/bin:/usr/local/bin" tcpserver -H -R 0 pop3 > /var/qmail/bin/qmail-popup linuxmag.test.it /home/vpopmail/bin/vchkpw > /var/qmail/bin/qmail-pop3d Maildir & > > (linuxmag is the hostname of this experimental linuxbox) gives back the > following error message: > > "tcpserver: fatal: unable to bind: address already used" > > This is for the server side of the game. > > Then I tried (just for checking purposes) to configure a pop client in > another computer to get the mail from the new user and domain of vpopmail > but, obviously enough, I obtained the error message "authorization failed" > from the server. > > Any suggestion? > > Thanks in advance > > Franco Vecchiato
Re: vchkpw: setgid 0 failed errno 1
Try the new vpopmail-4.10.18.tar.gz I just updated it. This problem was reported this morning and looks like it was fixed. http://www.inter7.com/vpopmail/vpopmail-4.10.18.tar.gz Ken > Trey Nolen wrote: > > I've got vpopmail/qmailadmin installed on a Debian 2.2 system and am > having a problem with vchkpw. I have done this install on other > Debian systems configured the same way, and didn't have this problem. > When I telnet into port 110, and put in my username and password, the > connection immediately closes. No explaination is given by the host. > In the logs, I get this: > > mail vpopmail[19213]: vchkpw: setgid 0 failed errno 1 user@domain:IP > > This is how I'm invoking qmail-pop3d: > > /usr/bin/tcpserver -g89 -u89 0 110 /usr/sbin/qmail-popup HOSTNAME \ > /home/vpopmail/bin/vchkpw /usr/sbin/qmail-pop3d Maildir & > > 89 is the GID and the UID for the vpopmail user. The group is vchkpw. > > Mail is delivered to the Maildirs OK. I have also checked to make sure > qmail-pop3d is working by invoking it with checkpassword and checking > a POP account for a local user. Only when vchkpw is used do I have a > problem. Any help would be much appreciated. > > Trey Nolen > [EMAIL PROTECTED] >
Re: Cannot start vpopmail?
On Mon, Jun 11, 2001 at 06:28:12PM +0200, Franco Vecchiato wrote: > "tcpserver: fatal: unable to bind: address already used" > > This is for the server side of the game. > > Then I tried (just for checking purposes) to configure a pop client in > another computer to get the mail from the new user and domain of vpopmail > but, obviously enough, I obtained the error message "authorization failed" > from the server. You have some other pop server already running on the box. -Ben -- Ben Beuchler There is no spoon. [EMAIL PROTECTED]-- The Matrix
Re: Cannot start vpopmail?
Franco Vecchiato wrote: > > Hello. I'm trying to use vpopmail along with qmail, but there are some > difficulties that I cannot explain to myself. > > I've installed and configured vpopmail following the installation > instructions contained in the file http://www.inter7.com/vpopmail/INSTALL. > Note that I configured vpopmail with the fast default install (./configure; > make; make install-strip) of point 4 of this document, neglecting point 5 as > I didn't configured with the option --enable-roaming-users=y. > > After having added a new domain test.it and a new user of this new domain, I > reached point 12 of the installation instructions, but the command > > env - PATH="/var/qmail/bin:/usr/local/bin" tcpserver -H -R 0 pop3 > /var/qmail/bin/qmail-popup linuxmag.test.it /home/vpopmail/bin/vchkpw > /var/qmail/bin/qmail-pop3d Maildir & > > (linuxmag is the hostname of this experimental linuxbox) gives back the > following error message: > > "tcpserver: fatal: unable to bind: address already used" > > This is for the server side of the game. > > Then I tried (just for checking purposes) to configure a pop client in > another computer to get the mail from the new user and domain of vpopmail > but, obviously enough, I obtained the error message "authorization failed" > from the server. > > Any suggestion? Cehck your /etc/inetd.conf or /etc/xinet.d diretories, You probablly already have a pop server setup and running. The error message is saying some other program already has port 110 open and listening. port 110 is the pop port. Ken
Re: How can I check a pop3 server to a virtual domain authentication
Roger Arnold wrote: The authentication tests you supplied worked. Qmailadmin still dosen't work :( My Apache was installed by Redhat RPM on installation, I take it that you recommend installing apache from scratch? Still, thanks to you I am half way to a complete installation, and I am gratefull to you for that. One last thing is, do you know what all the settings are to access vpopmail-qmail from a windows PC running Eudora5.1. I note the username should be " user%virtual_domain_name@pophost " of which most I understand except for "pophost" which I don't understand. Also I take it that the "dots" in the domain name are replaced with underscores, but again I am not sure? I would have thought the following would work: Login Name : totalauto%totalauto_com_au Mail Account Password: aircon Incoming mail Server: totalauto.com.au (pop3) Outgoing mail Server: totalauto.com.au (pop3) But it doesn't, any idea's please? Again thanks in advance for all your help Regards Roger Ken Jones wrote: > burrett wrote: > > > > So now I am really stuck, Qmailadmin still will not let anyone in, and > > basically says that username/password is wrong, even though I have just > > confirmed it works. > > You confirmd qmailadmin works or the above things worked? > > > Should I try reinstalling Qmailadmin and see if that works? > > That's what I always do. > > > As far as httpd.conf is concerned what configuration for qmailadmin would be > > in there? > > If you install apache from source code it works. With all the defaults. > That's what I always do. > > > Also what permissions would stop qmailadmin authenticating a user? > > I have just done a straight install, however does it make any difference if > > the install is performed by an ordinary user or by root, because thats the > > only thing I can think of that would alter permissions? > it has to be by root, or it can't set the permissions correctly. > > > > > Again thanks for your help > > No problem.
Re: vchkpw: setgid 0 failed errno 1
Just updated it. Same problem is still there. What version was this broken in? Maybe I could go BACK a few. Trey Nolen [EMAIL PROTECTED] - Original Message - From: "Ken Jones" <[EMAIL PROTECTED]> To: "Trey Nolen" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Monday, June 11, 2001 11:30 AM Subject: Re: vchkpw: setgid 0 failed errno 1 > Try the new vpopmail-4.10.18.tar.gz > I just updated it. This problem was reported this morning > and looks like it was fixed. > > http://www.inter7.com/vpopmail/vpopmail-4.10.18.tar.gz > > Ken > > > Trey Nolen wrote: > > > > I've got vpopmail/qmailadmin installed on a Debian 2.2 system and am > > having a problem with vchkpw. I have done this install on other > > Debian systems configured the same way, and didn't have this problem. > > When I telnet into port 110, and put in my username and password, the > > connection immediately closes. No explaination is given by the host. > > In the logs, I get this: > > > > mail vpopmail[19213]: vchkpw: setgid 0 failed errno 1 user@domain:IP > > > > This is how I'm invoking qmail-pop3d: > > > > /usr/bin/tcpserver -g89 -u89 0 110 /usr/sbin/qmail-popup HOSTNAME \ > > /home/vpopmail/bin/vchkpw /usr/sbin/qmail-pop3d Maildir & > > > > 89 is the GID and the UID for the vpopmail user. The group is vchkpw. > > > > Mail is delivered to the Maildirs OK. I have also checked to make sure > > qmail-pop3d is working by invoking it with checkpassword and checking > > a POP account for a local user. Only when vchkpw is used do I have a > > problem. Any help would be much appreciated. > > > > Trey Nolen > > [EMAIL PROTECTED] > > >
vqadmin problem
hi iam trying to install vqadmin i was able to configure properly, i was gone through the file INSTALL its done properly make and make install i was created Directory under cgibin also and created user also iam try to access http://domain.com/cgi-bin/vqadmin iam getting following error Internal Server ErrorThe server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, root@localhost and inform them of the time the error occurred, and anything you might have done that may have caused the error. More information about this error may be available in the server error log. in the log file of Apache iam getting like this [Mon Jun 11 22:04:38 2001] [alert] [client 201.44.117.114] /home/httpd/cgi-bin/vqadmin/.htaccess: deny not allowed here[Mon Jun 11 22:15:52 2001] [alert] [client 201.44.117.114] /home/httpd/cgi-bin/vqadmin/.htaccess: deny not allowed here then i have checked the permission of .httpaccess file 1 nobody nobody 122 Jun 11 20:55 .htaccess then i changed to permission to vpopmail:vchkpw and tried root:root i try to access the from browser iam getting the below problem Forbidden You don't have permission to access /cgi-bin/vqadmin on this server. then i checked the log of apache looks like below [Mon Jun 11 22:18:45 2001] [crit] [client 201.44.117.114] (13)Permission denied: /home/httpd/cgi-bin/vqadmin/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable i tried lot of combinations no luck any help will appriciate. thanks in advance
Re: vchkpw: setgid 0 failed errno 1
On Mon, 11 Jun 2001, Trey Nolen wrote: > I've got vpopmail/qmailadmin installed on a Debian 2.2 system and am > having a problem with vchkpw. I have done this install on other > Debian systems configured the same way, and didn't have this problem. > When I telnet into port 110, and put in my username and password, the > connection immediately closes. No explaination is given by the host. > In the logs, I get this: > > mail vpopmail[19213]: vchkpw: setgid 0 failed errno 1 user@domain:IP I bet it actually says "setgid() failed". :-) > This is how I'm invoking qmail-pop3d: > > /usr/bin/tcpserver -g89 -u89 0 110 /usr/sbin/qmail-popup HOSTNAME \ > /home/vpopmail/bin/vchkpw /usr/sbin/qmail-pop3d Maildir & > > 89 is the GID and the UID for the vpopmail user. The group is vchkpw. Try removing -g89 -u89, so that vchkpw can run as root. -- Daniel Biddle <[EMAIL PROTECTED]>
Re: vchkpw: setgid 0 failed errno 1
> > > > mail vpopmail[19213]: vchkpw: setgid 0 failed errno 1 user@domain:IP > > I bet it actually says "setgid() failed". :-) > Nope. It says what I put in the message. I cut and pasted it from my logs excpet for the user@domain part. I found the error you are referring to in the archives of this list and tried running it as root, but it didn't fix the problem. Apparently, the newest version(s) of vpopmail are broken. I was using 4.10.17 and Ken thought that updating to 4.10.18 would fix it, but it didn't, so there must still be a problem. I think I'm going to go back to 4.10.1, because I have that one working on another box very similar to this one. Trey Nolen [EMAIL PROTECTED] > > This is how I'm invoking qmail-pop3d: > > > > /usr/bin/tcpserver -g89 -u89 0 110 /usr/sbin/qmail-popup HOSTNAME \ > > /home/vpopmail/bin/vchkpw /usr/sbin/qmail-pop3d Maildir & > > > > 89 is the GID and the UID for the vpopmail user. The group is vchkpw. > > Try removing -g89 -u89, so that vchkpw can run as root. > > -- > Daniel Biddle <[EMAIL PROTECTED]> > > >
RE: Port of Matt SImerson's Mysql Relay + cdb auth patchtovpopm ail-4.9.10
Oh, _that's_ what you did. Yes, you were correct. You should probably refer to the version of my toaster recipe when you specify what you did. Then I can figure it out better. I have systems that use each type of recipe (full mysql & relay only mysql) and once the replication is all sorted out for MySQL authentication I'll convert my CDB based systems over and stop maintenance of the .cdb version. If you plan to maintain using the .cdb format with MySQL relay, I can link to your pages. Matt > -Original Message- > From: javier [mailto:[EMAIL PROTECTED]] > Sent: Saturday, June 09, 2001 8:23 PM > To: [EMAIL PROTECTED] > Cc: [EMAIL PROTECTED] > Subject: RE: Port of Matt SImerson's Mysql Relay + cdb auth patch > tovpopm ail-4.9.10 > > > Either am going crazy.. or the difference between your 4.9.8 versus > the 4.9.10 patch is that with the 4.9.8 patch you could have the mysql > open relay table, and have cdb auth. In your 4.9.10 patch, you can > only have the mysql relay table IF you use mysql auth. Am I correct > on the 4.9.10 patch? > > The ported patch allows for cdb + mysql relay on 4.9.10, > versus your current 4.9.10 patch, which only allows mysql relay > when people use mysql auth. > > am I goign crazy? > > ( more than I am already hehe ) ;) > > -Jav > >
Re: vchkpw: setgid 0 failed errno 1
On Mon, 11 Jun 2001, Trey Nolen wrote: > > I bet it actually says "setgid() failed". :-) > Nope. It says what I put in the message. I cut and pasted it from my logs > excpet for the user@domain part. Ah, I was looking at an old version of the code. I don't know why vchkpw would be trying to set the gid to 0, unless it's not reading it from the database for some reason. good luck, -- Daniel Biddle <[EMAIL PROTECTED]>
Re: vqadmin problem
Good Morning Hari: There is a problem in your .htaccess file. You have to take out the line that contain the words allow, deny. And then it will work. Thank you: Wagner Garcia Campagner- Original Message - From: hari_bhr To: [EMAIL PROTECTED] Sent: Monday, June 11, 2001 3:16 PM Subject: vqadmin problem hi iam trying to install vqadmin i was able to configure properly, i was gone through the file INSTALL its done properly make and make install i was created Directory under cgibin also and created user also iam try to access http://domain.com/cgi-bin/vqadmin iam getting following error Internal Server ErrorThe server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, root@localhost and inform them of the time the error occurred, and anything you might have done that may have caused the error. More information about this error may be available in the server error log. in the log file of Apache iam getting like this [Mon Jun 11 22:04:38 2001] [alert] [client 201.44.117.114] /home/httpd/cgi-bin/vqadmin/.htaccess: deny not allowed here[Mon Jun 11 22:15:52 2001] [alert] [client 201.44.117.114] /home/httpd/cgi-bin/vqadmin/.htaccess: deny not allowed here then i have checked the permission of .httpaccess file 1 nobody nobody 122 Jun 11 20:55 .htaccess then i changed to permission to vpopmail:vchkpw and tried root:root i try to access the from browser iam getting the below problem Forbidden You don't have permission to access /cgi-bin/vqadmin on this server. then i checked the log of apache looks like below [Mon Jun 11 22:18:45 2001] [crit] [client 201.44.117.114] (13)Permission denied: /home/httpd/cgi-bin/vqadmin/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable i tried lot of combinations no luck any help will appriciate. thanks in advance
ezmlm with vpopmail?
Does anything special need to be done to get ezmlm to work with a virtual domain? Or are lists created normally? Thanks, Steven
Need to know in what directories qmailadmin is located please
Roger Arnold wrote: Hello All, I wonder if someone knows what all the directories that parts of Qmailadmin are in and what permissions each part should have assigned to it, please? I am still having trouble getting Qmailadmin to authenticate anyone, although the graphics problem I had earlier is now solved. Any help someone can give me would be much appreciated Thanks in advance Regards Roger
[Smtpauth] smtp-auth + vpopmail + outlook 2000?
Hi all, I have sucessfully installed the smtp-auth(0.30) patch to qmail I can authenticate using AUTH PLAIN: $perl encode '\0user%domainname.com\0test' AHRlc3Qlc2dtbG9wZW4uY29tAHRlc3Q= $telnet 0 25 Trying 0.0.0.0... Connected to 0. Escape character is '^]'. 220 mail.domainname.com ESMTP auth plain 334 ok, go on AHRlc3Qlc2dtbG9wZW4uY29tAHRlc3Q= 235 ok, go ahead (#2.0.0) quit so, I try to use outlook2000 ( i setup outlook correctly ) but I get the usual: "553 sorry, that domain isn't in my list of allowed rcpthosts (#5.7.1)" According to the docs @: http://members.elysium.pl/brush/smtp-auth/client.html Outlook98 supports LOGIN and PLAIN So is the problem that outlook2k doesn't support PLAIN or am I missing some key info? Any tips, pointers, or smacks on the bald head (benny hill style) would be appreciated. -- - Sean P. Scanlon perl -e 'print pack("h*", "3707370426c6575646f647e2e65647"), "\n"' -
Re: vpopmail stress testing
Ken: Hope this doesn't take a long time? -kman - Original Message - From: "Ken Jones" <[EMAIL PROTECTED]> > Thought you folks might be interested. I am doing some > stress testing of mysql and mysql replication > > add/del 57,000 domains > add/del 100,000 users spread across the 57,000 domains > > No problems so far. >
Re: error when vadddomain, what's wrong ?
Thanks Roger, i think the problem is i don't have liblresolve files. before make at vpopmail source directory i had modified Makefile file (delete all -lresolve word). any body know where i can find liblresolve files ? TIA, ~madrus - Original Message - From: burrett <[EMAIL PROTECTED]> To: Said Madrus <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Monday, June 11, 2001 11:11 AM Subject: Re: error when vadddomain, what's wrong ? > Roger Arnold wrote: > > Hello Said, > > I am not sure but I think you will find this to be a permission problem. > > I had a similar problem when I installed Vpopmail as "root" because the > install directories had "root's" permissions and an ordinary user (such > as Qmail etc) could not enter the directories or put anything in them. > I just went through all the Vpopmail directories and changed their > permissions to either "vchkpw or vpopmail" respectively. > The same goes with Qmail. > If I am wrong about any of this can someone on the list please correct > me, as I am only just starting to help others, as I have been helped :) > > Regards > Roger > > Said Madrus wrote: > > > Dear all,i have already install vpopmail+ldap, when try tovadddomain > > then error message appear like this :Error: Unable to chdir to > > vpopmail/users directoryanybody know what does it mean ?thanks in > > advance ~madrus > >
Roaming User cant relay mail
Hi, can somebody help me? I reinstalled vpopmail and I think I miss out on something. currently my /home/vpopmail/etc dir is as follow -rw-r--r--1 vpopmail vchkpw 25 Jun 12 12:54 inc_deps -rw-r--r--1 vpopmail vchkpw 32 Jun 12 12:54 lib_deps -rw-r--r--1 root root 1918 Jun 12 13:08 open-smtp -rw-r--r--1 vpopmail vchkpw 0 Jun 12 13:08 open-smtp.lock -rw-r--r--1 vpopmail vchkpw 30 May 4 17:46 tcp.smtp -rw-r--r--1 vpopmail vchkpw 3207 Jun 3 22:54 tcp.smtp.cdb I am not too sure why open-smtp is under root now. which i think is the reason that tcp.smtp.cdb never get updated. I config my vpopmail with the following line ./configure --enable-roaming-users=y --enable-qmail-ext=n --enable-tcprules-prog=/usr/local/bin/tcprules --enable-tcpserver-file=/home/vpopmail/etc/tcp.smtp Please advice
Autoresponder for catchall
Hi All there, Have any body used autoresponder for catchall account I tried to does it,But it doesn't work out. I am using vpopmail,qmailadmin and configure an catchall account [EMAIL PROTECTED] and configure Autoresponder for its When I send mail directly to [EMAIL PROTECTED] the sender receives autoresponder mail, But when any anonymous user send mail to domain.com, mails get received at [EMAIL PROTECTED] but the anonymous user doesn't receive any autorespond mail. Does any one have done it before or what and where changes had to be made Pls help me out. Thanks & Regards