Re: [vchkpw] Two qmails in same machine
OK then so I could have a box in wich I do... take qmail sources and patch them with johns (great and nice) patch... make setup check and ./config-fast fqdn after this after this change /var/qmail for /var/qmail-scanning-server in conf-local... and again ./config-fast fqdn after this setup proper supervise scripts and I could share between two qmails vpopmail (and his ddbb), tcp.smtp.cdb file and all and only have to be careful that when I add a domain with vpopmail or anything else to rsync files modified by vpopmail in users for Internet qmail... and in internet qmail to have smtproutes file throwing all mail passed rcpt to check (that will be of course on Internet server) to localhost listening qmail server that scans mail... then this is all? am I wrong? and that's it??¿ there's no any known reason because this could crash... I mean there's no specification by John Simpson or Dan Bernstein that this shouldn't done then? Thanks a lot thruthly P.D. If this works great I'll share with you it, make some howto, or scripts for syncing qmail control directories or... :) So I have think that I could compile qmail one time and copy to two different locations for example /var/qmail and /var/qmail-scanning-server... is this possible? and is this possible without having two different vpopmails? two different databases for smtp auth... (Internet qmail scanner will be relay too) two differents tcp rules file... so could I share everything between them? What do you think about this idea have just had? You cannot compile qmail one time and install in two locations. You need to change conf-qmail for the second installation. After make setup check of the first install, do 'echo /var/qmail-scanning-server conf-qmail; make setup check' Nor do you need two different vpopmails. They can share the same databases...the problem really is keeping the configuration files in sync or just symlink /var/qmail-scanning-server/users/assign to /var/qmail/users/assign and other files that vpopmail touches. !DSPAM:473428ac32007128935933!
Re: [vchkpw] Proper server backup
Thanks a lot John... you're work in qmail is excellent truthly... congratulations mate truthly... [EMAIL PROTECTED] wrote: If I had a server hardware failure... and my hardware breaks... so I need to set up a new one qmail server... what should I have backed up in my actual qmail server and how could I recover all data? see http://qmail.jms1.net/backup.shtml ... explained in full. I suppose I should overwrite /home/vpopmail and /var/qmail fully with my backed up version? no. the web page explains exactly what needs to be backed up and restored. the backup scripts i run on my own server and my clients' servers use this list, and i've actually done several recoveries (from dead hard drives and dead servers) where nothing was lost except new mail which arrived after the most recent backup. but this couldn't cause later problems with courier-imap compiled binaries? because they're compiled with just have installed vpopmail libraries and not with backed ones? when courier-imap (or more specifically, courier-authlib) is compiled, it is STATICALLY linked with libvpopmail.a. this means that the libvpopmail.a file needs to be in place while courier-authlib is being compiled, but it doesn't need to be there (or it doesn't need to be the exact same version) when it's running. one of the design goals of vpopmail 6 is to have a dynamic library. when this happens, and if courier-authlib is changed so it uses the dynamic library, the libvpopmail.so file will need to be in place for courier-authlib's authdaemond process to run. however, minor updates to the libvpopmail.so file (re-compiles, minor upgrades to fix bugs, etc... things which don't change the API) will still allow authdaemond (and other programs which dynamically link against the library) to work correctly. the whole point of dynamic libraries is that the functions in the library are found by name at run-time, rather than having an explicit address or function number be hard-coded into the executable. -- | John M. Simpson--- KG4ZOW ---Programmer At Large | | http://www.jms1.net/ [EMAIL PROTECTED] | | http://video.google.com/videoplay?docid=-1656880303867390173 | !DSPAM:4734293b32001891920651!
Re: [vchkpw] Two qmails in same machine
On Friday 09 November 2007 04:52:16 am [EMAIL PROTECTED] wrote: OK then so I could have a box in wich I do... take qmail sources and patch them with johns (great and nice) patch... make setup check and ./config-fast fqdn after this after this change /var/qmail for /var/qmail-scanning-server in conf-local... and again ./config-fast fqdn Close, but this will actually not work. The value in conf-qmail gets compiled in, so you need to do a make clean; make setup check again after changing it. My suggestion is that you actually keep 2 copies of your qmail source tree in case you need to recompile for whatever reason, that way you know you're rebuilding the correct one... after this setup proper supervise scripts and I could share between two qmails vpopmail (and his ddbb), tcp.smtp.cdb file and all and only have to be careful that when I add a domain with vpopmail or anything else to rsync files modified by vpopmail in users for Internet qmail... and in internet qmail to have smtproutes file throwing all mail passed rcpt to check (that will be of course on Internet server) to localhost listening qmail server that scans mail... then this is all? am I wrong? and that's it??¿ there's no any known reason because this could crash... I mean there's no specification by John Simpson or Dan Bernstein that this shouldn't done then? Multiple qmails using one vpopmail isn't something I've done, but multiple qmails on one box is something many people have done, including myself. There's no reason I can think of that sharing vpopmail would be a problem as long as you had all the right config files in place. Josh -- Joshua Megerman SJGames MIB #5273 - OGRE AI Testing Division You can't win; You can't break even; You can't even quit the game. - Layman's translation of the Laws of Thermodynamics [EMAIL PROTECTED] !DSPAM:47345d2932006435332393!
[vchkpw] relay server
Hi I wanted to setup a scanning relay server.. I explain I'm using vpopmail 5.4.13 and qmail-1.03 with john simpson 7 combined patch I add the domains with ./vadddomain domain.com and later add an smtproutes line (in this control file) as domain.com:mail.domain.com but the mail always is treated as local... should be /var/qmail/users/assign file be changed for this purpose? for having users localy for smtp auth purposes but and users to use this machine as relay but the mail incoming for this domains to be delivered as smtproutes line sais? !DSPAM:4734627032009246121266!
Re: [vchkpw] relay server
ed wrote: In order to accept the mail, the domains in question should exist in: /v/q/c/virtualdomains /v/q/c/rcpthosts Then the domains should also exist in /v/q/u/assign Which should also be compiled to a cdb /v/q/u/cdb (check that the two have similar information) Then you should check that ~vpopmail/bin/vdominfo shows appropriate information. Should the domain exist in /v/q/c/smtproutes then the delivery will not be treated as local and the mail will be sent to the next hop. No, if the domain is in /v/q/c/virtualdomains then the smtproutes file will not be looked at. Regards, Rick !DSPAM:47346b9c32001320215767!
[vchkpw] Vpopmail 5.4.25 and Spamassassin
Hi, I just upgraded from VPopmail 5.5.1 to 5.4.25. 5.5.1 was part of the original OpenEFilter package Inter 7 provide which was working fine in terms of calling spamc but had a bug in vchkpw. Now that bug has been fixed but its not calling spamc even though I have compiled it with -enable-spamassassin, I even tried specifying the path to spamc which is in /usr/bin/ Any ideas as to why its now not calling spamc ? Many thanks Matt JPC InfoNet Limited Registered in England No.: 2983145 Registered Office: 2 St George's Works Silver Street Trowbridge Wiltshire BA14 8AA t: +44 (0)1225 776 555 f: +44 (0)1225 774 299 Find us on the web at www.jpci.net - A Head Start for your business == The information transmitted in and/or with this email is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Statements and opinions expressed in this e-mail may not represent those of the company. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender immediately and delete the material from any computer. == !DSPAM:47346c9d32001173614482!
Re: [vchkpw] relay server
On Fri, 09 Nov 2007 09:15:53 -0500 Rick Macdougall [EMAIL PROTECTED] wrote: No, if the domain is in /v/q/c/virtualdomains then the smtproutes file will not be looked at. My mistake -- The cup and string to the moon pop is spiking because of TK421 not being at his post. Verio is playing NFL 2k2. :: http://www.s5h.net/ :: http://www.s5h.net/gpg signature.asc Description: PGP signature !DSPAM:47346d3132001106020555!
Re: [vchkpw] relay server
hi, Hi I wanted to setup a scanning relay server.. I explain I'm using vpopmail 5.4.13 and qmail-1.03 with john simpson 7 combined patch I add the domains with ./vadddomain domain.com and later add an smtproutes line (in this control file) as domain.com:mail.domain.com but the mail always is treated as local... should be /var/qmail/users/assign file be changed for this purpose? for having users localy for smtp auth purposes but and users to use this machine as relay but the mail incoming for this domains to be delivered as smtproutes line sais? your domain is assigned as local, because you added them with ./vadddomain domain.com. make a ./vdeldomain domain.com. take care, ther is no entry in qmail-dir/control/virtualdomains and also none in qmail-dir/control/users/cdb which is the databse-file for assign-file for your domain, saying domain.com, only entries in qmail-dir/control/rcpthosts like domain.com and in file qmail-dir/control/smtproutes, like domain.com:mail.domain.com are needed cu christoph !DSPAM:47346f8032008919732555!
RE: [vchkpw] Vpopmail 5.4.25 and Spamassassin
Hi, I sorted this. It needs to run SPAMD as a daemon now so that spamc can connect to it. Cheers Matt From: Matthew Moore [mailto:[EMAIL PROTECTED] Sent: 09 November 2007 14:20 To: vchkpw@inter7.com Subject: [vchkpw] Vpopmail 5.4.25 and Spamassassin Hi, I just upgraded from VPopmail 5.5.1 to 5.4.25. 5.5.1 was part of the original OpenEFilter package Inter 7 provide which was working fine in terms of calling spamc but had a bug in vchkpw. Now that bug has been fixed but its not calling spamc even though I have compiled it with -enable-spamassassin, I even tried specifying the path to spamc which is in /usr/bin/ Any ideas as to why its now not calling spamc ? Many thanks Matt JPC InfoNet Limited Registered in England No.: 2983145 Registered Office: 2 St George's Works Silver Street Trowbridge Wiltshire BA14 8AA t: +44 (0)1225 776 555 f: +44 (0)1225 774 299 Find us on the web at www.jpci.net - A Head Start for your business == The information transmitted in and/or with this email is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Statements and opinions expressed in this e-mail may not represent those of the company. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender immediately and delete the material from any computer. == JPC InfoNet Limited Registered in England No.: 2983145 Registered Office: 2 St George's Works Silver Street Trowbridge Wiltshire BA14 8AA t: +44 (0)1225 776 555 f: +44 (0)1225 774 299 Find us on the web at www.jpci.net - A Head Start for your business == The information transmitted in and/or with this email is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Statements and opinions expressed in this e-mail may not represent those of the company. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender immediately and delete the material from any computer. == !DSPAM:473479e932005038414557!
[vchkpw] smtp after pop
Hi, I have vpopmail running with smtp-after-pop functionality (--enable-roaming-users). the pop-daemon is from qmail. this works fine for normal (unsecure) connection via port 110. but this doesn't work if connecting via strunnel on port 995. I know, thats correct, because stunnel is connecting to qmail's pop3 daemon from ip 127.0.0.1. Is there any setup known, that results in writing users ip-address to open-smtp file so that smtp-after-pop work's even if connected via stunnel ? best wishes christoph !DSPAM:4734b62832001556753283!
[vchkpw] Possible Quota Bug
I've recently noticed strange behavior with user quotas after an upgrade to vpopmail 5.4.25 from 5.4.18. The upgrade also moved from the cdb backend to the MySQL backend (due to locking issues I was experiencing). When delivering a message, the size of the message is placed twice in maildirsize. When deleting the message, it is removed only once. This causes quota usage to grow over time, disconnected from the actual size of the mailbox. For example, this is the maildirsize for a 100 megabyte mailbox at the initial creation of the quota: 104857600S 356213 62 After that account got a 1.6 megabyte e-mail, this was the same file: 104857600S 356213 62 1725576 1 1725657 1 You will see that there are two entries in the file with slightly different sizes. After deleting the e-mail from the box (POP3 and IMAP both exhibit the same issue), the file read: 104857600S 356213 62 1725576 1 1725657 1 -1725657 -1 Is this a known bug or configuration issue, and if so, is there a fix for it, or a clue someone can smack me with? For reference purposes: vpopmail: 5.4.25 Courier-IMAP: 4.2.1 OS: Slackware Linux 11.0 with kernel 2.6.20.3 Mailboxes are stored on an NFS volume mounted with options noatime,soft,tcp - Michael !DSPAM:4734b8b132002082413612!
Re: [vchkpw] smtp after pop
ckubu wrote: Hi, I have vpopmail running with smtp-after-pop functionality (--enable-roaming-users). the pop-daemon is from qmail. this works fine for normal (unsecure) connection via port 110. but this doesn't work if connecting via strunnel on port 995. I know, thats correct, because stunnel is connecting to qmail's pop3 daemon from ip 127.0.0.1. Is there any setup known, that results in writing users ip-address to open-smtp file so that smtp-after-pop work's even if connected via stunnel ? best wishes christoph As STunnel proxies the connection, it probably looks like a connection on 127.0.0.1 to the SMTP server. You might want to look at using ucspi-ssl (http://www.superscript.com/ucspi-ssl/intro.html) which is an SSL-enabled version of tcpserver. - Michael !DSPAM:4734b96c32001702069144!
[vchkpw] vconvert problem
Hello all; I am trying to move from a qmailrocks server to a newer qmailtoaster-iso server but I am having problems moving the domains over to the qmailtoaster machine. I have the two machines running, qmailrocks is the production machine, qmailtoaster is the new machine. I would like to make sure that the conversion will go smoothly so I am doing a dry run of moving the domains over and seeing if they will import. I have used rsync to copy the /home/vpopmail/domains directory over to the qmailtoaster. Once this is complete the owner of the domain directories and files is the user ID number and group ID number from the original qmailrocks machine. Then I change the ownership of this directory tree to vpopmail:vchkpw. I then have run vconvert -c -m to convert all of the domains, but it explicitly says it fails. Then I have copied the /var/qmail/control/cdb and assign files over to the qmailtoaster machine and run the same vconvert -c -m command and it explicitly says the the domains converted successfully. This I am very happy about. Now, however I am not able to log into any of the accounts that have converted. Not even the postmaster account. I have noticed that if I use an incorrect password with a valid account I get an incorrect username or password error. If I use a valid password I get dropped from a Squirrelmail login or a pop3 telnet session. When I look at the imap4 log I see a permission denied error. I have been wrestling with this for weeks now and the boss is getting impatient. Any help would be greatly appreciated. Ray Webster !DSPAM:4734be0d32001037962888!
Re: [vchkpw] Possible Quota Bug
On Friday 09 November 2007, Michael Johnson wrote: I've recently noticed strange behavior with user quotas after an upgrade to vpopmail 5.4.25 from 5.4.18. The upgrade also moved from the cdb backend to the MySQL backend (due to locking issues I was experiencing). When delivering a message, the size of the message is placed twice in maildirsize. When deleting the message, it is removed only once. This causes quota usage to grow over time, disconnected from the actual size of the mailbox. I am seeing this as well. I haven't had time to track down the issue. Thanks! -- -- Cheers, Steve !DSPAM:4734c26b32001188516162!
Re: [vchkpw] Possible Quota Bug
Steve Cole wrote: On Friday 09 November 2007, Michael Johnson wrote: I've recently noticed strange behavior with user quotas after an upgrade to vpopmail 5.4.25 from 5.4.18. The upgrade also moved from the cdb backend to the MySQL backend (due to locking issues I was experiencing). When delivering a message, the size of the message is placed twice in maildirsize. When deleting the message, it is removed only once. This causes quota usage to grow over time, disconnected from the actual size of the mailbox. I am seeing this as well. I haven't had time to track down the issue. Thanks! What version and backend are you using? The better it can be narrowed, the easier it will be to determine what change broke it. - Michael !DSPAM:4734c62332002121615507!
[vchkpw] compiling 5.4.2[56] on solaris fails
when trying to compile either 5.4.25 or 5.4.26 with: ./configure \ --disable-md5-passwords \ --disable-roaming-users \ --enable-logging=v \ --disable-rebuild-tcpserver-file \ --enable-qmail-ext \ --disable-clear-passwd on Solaris 9, i see: gcc -I. -Icdb -I. -I. -I. -g -O2 -Wall -c vdelivermail.c vdelivermail.c: In function `run_command': vdelivermail.c:910: warning: implicit declaration of function `setenv' gcc -I. -Icdb -I. -I. -I. -g -O2 -Wall -c maildirquota.c gcc -g -O2 -Wall -o vdelivermail vdelivermail.o maildirquota.o libvpopmail.a -lcrypt Undefined first referenced symbol in file setenv vdelivermail.o ld: fatal: Symbol referencing errors. No output written to vdelivermail collect2: ld returned 1 exit status make[2]: *** [vdelivermail] Error 1 make[2]: Leaving directory `/usr/local/src/vpopmail-5.4.25' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/local/src/vpopmail-5.4.25' make: *** [all] Error 2 vpopmail 5.4.10 compiles correctly. I didnt try anything in between. besides the obvious, what's setenv? Who has this and where? Is there a clear way around this ? Thanks, -- Jeremy Kister http://jeremy.kister.net./ !DSPAM:4734ccc232002518212355!
Re: [vchkpw] Possible Quota Bug
Michael Johnson wrote: What version and backend are you using? The better it can be narrowed, the easier it will be to determine what change broke it. For me, 5.4.25 with MySQL 5.0x I started to see this with *.25 but I did jump a number of versions when I took the plunge on .25. !DSPAM:4735074632001316315421!