[qmailtoaster] QMT Install on CentOS 6 firewall ssh and httpd bug
Hi Guys, I just tried installed QMT on CentOS 6 on a VPS and it has been giving me problems not being able to login to the server after reboot. #1 - SSH problem / install bug The reason is the firewall settings in /etc/sysconfig/iptables has no provision to accept port 22 ssh. Just add -A INPUT -p tcp -m tcp --dport 22 --tcp-flags FIN,SYN,RST,ACK SYN -j ACCEPT before the port 25 line to allow ssh login. #2 - httpd problem / install bug After installing QMT with qt-install you will not be able to /webmail or /qmailadmin simply because httpd has not yet been restarted to have the changes in configuration files take effect. So please have an httpd restart installed at the end of qt-install Just adding my 2 cents to QMT on CentOS 6. Best wishes,Edwin Date: Tue, 23 Jun 2015 06:41:13 -0600 From: ebr...@whitehorsetc.com To: qmailtoaster-list@qmailtoaster.com Subject: Re: [qmailtoaster] Qmaintoaster-plus error The qmailtoaster-plus is no longer maintained. If this is a fresh install move to CentOS 6 and install as follows: Installation Instructions (pre-wiki) .) install CentOS minimal # curl https://raw.githubusercontent.com/QMailToaster/qmailtoaster-util/master/qt-bootstrap-1 qt-bootstrap-1 # sh qt-bootstrap-1 (system will reboot) # curl https://raw.githubusercontent.com/QMailToaster/qmailtoaster-util/master/qt-bootstrap-2 qt-bootstrap-2 # sh qt-bootstrap-2 # qt-install (script will complete the installation) If you want updates for CentOS 5, I have them here: ftp://ftp.whitehorsetc.com/pub/qmail/CentOS5/qmt/rpms/x86_64/ Be mindful that I haven't installed the latest Dovecot on a production machine, but I have installed the latest Spamassassin (3.4.1) and ClamAV in (98.7) in a production environment. EricB. On 6/23/2015 2:53 AM, Biju Jose wrote: Hi I was trying to install QTP repository, I am getting the following error in Cent OS 64 5.10 # rpm -Uvh http://qtp.qmailtoaster.com/trac/downloads/1 Retrieving http://qtp.qmailtoaster.com/trac/downloads/1 error: skipping http://qtp.qmailtoaster.com/trac/downloads/1 - transfer failed - Unknown or unexpected error warning: u 0x25824b0 ctrl 0x2583850 nrefs != 0 (qtp.qmailtoaster.com http) Is there any workaround or should I wait till someone fixes the error? TIA Biju Jose Mobile # 9895990272
Re: [qmailtoaster] Messages in local queue: 764
Giuseppe, See |idle-timeout-secs in this page |http://www.spamdyke.org/documentation/README.html and maybe adjust your setting. Eric On 7/8/2015 12:34 AM, Giuseppe Perna wrote: Hello, smtp logs I see also some time out as below, there 's something I can do? 07-08 08:24:33 spamdyke[31925]: TIMEOUT from: x.xxxrd...@xx.it to: o...@miodomino.it origin_ip: 195.94.186.57 origin_rdns: smtp.xx.it auth: (unknown) encryption: (none) reason: TIMEOUT 07-08 08:24:36 spamdyke[32002]: TIMEOUT from: xx...@lc.org to: ute...@miodominio.it origin_ip: 5.196.95.111 origin_rdns: xx.ip-5-196-95.eu auth: (unknown) encryption: TLS reason: TIMEOUT thanks 2015-07-07 14:55 GMT+02:00 Giuseppe Perna gpe...@csait.eu: Thanks Eric for you replay, but my problem is not DNS or RBL, I have two servers with the same configuration and there are these problems. this is my configuration, what should I check? the problem occurs during peak hours, thanks this my configuration i have 1000 mailbox and spamdyke configured : cat /etc/spamdyke/spamdyke.conf #dns-blacklist-entry=zombie.dnsbl.sorbs.net #dns-blacklist-entry=dul.dnsbl.sorbs.net #dns-blacklist-entry=bogons.cymru.com dns-blacklist-entry=zen.spamhaus.org dns-blacklist-entry=psbl.surriel.com #dns-blacklist-entry=bl.spamcop.net graylist-dir=/var/spamdyke/graylist #graylist-level=always graylist-level=always-create-dir graylist-max-secs=2678400 graylist-min-secs=60 greeting-delay-secs=4 header-blacklist-entry=From:*,** idle-timeout-secs=60 ip-blacklist-file=/etc/spamdyke/blacklist_ip ip-in-rdns-keyword-blacklist-file=/etc/spamdyke/blacklist_keywords ip-in-rdns-keyword-whitelist-file=/etc/spamdyke/whitelist_keywords ip-whitelist-file=/etc/spamdyke/whitelist_ip local-domains-file=/var/qmail/control/rcpthosts local-domains-file=/var/qmail/control/morercpthosts log-level=verbose log-target=stderr max-recipients=50 #policy-url=http://my.policy.explanation.url/ rdns-blacklist-file=/etc/spamdyke/blacklist_rdns rdns-whitelist-file=/etc/spamdyke/whitelist_rdns recipient-blacklist-file=/etc/spamdyke/blacklist_recipients recipient-whitelist-file=/etc/spamdyke/whitelist_recipients reject-empty-rdns #reject-ip-in-cc-rdns reject-missing-sender-mx reject-unresolvable-rdns sender-blacklist-file=/etc/spamdyke/blacklist_senders sender-whitelist-file=/etc/spamdyke/whitelist_senders tls-certificate-file=/var/qmail/control/servercert.pem tls-level=smtp 2015-07-07 14:09 GMT+02:00 Eric Broch ebr...@whitehorsetc.com: On 7/7/2015 5:00 AM, Giuseppe Perna wrote: Hello everyone, some days I have serious problems with qmailtoaster, in particular with the queue The server becomes very slow and very slow webmail. Please give me the info to see what to check? commands qmHandle -a, qmailctrl doqueue not empty the queue. thanks # rpm -qa | grep toaster control-panel-toaster-0.5-1.3.4 courier-authlib-toaster-0.59.2-1.3.6 avvertimento: only V3 signatures can be verified, skipping V4 signature ezmlm-cgi-toaster-0.53.324-1.3.3 qmailtoaster-plus.repo-0.2-2 ripmime-toaster-1.4.0.6-1.3.3 ucspi-tcp-toaster-0.88-1.3.5 isoqlog-toaster-2.1-1.3.4 vpopmail-toaster-5.4.17-1.3.4 vqadmin-toaster-2.3.4-1.3.3 avvertimento: only V3 signatures can be verified, skipping V4 signature libdomainkeys-toaster-0.68-1.3.3 ezmlm-toaster-0.53.324-1.3.3 squirrelmail-toaster-1.4.9a-1.3.6 libsrs2-toaster-1.0.18-1.3.3 spamassassin-toaster-3.1.8-1.3.8 clamav-toaster-0.95.2-1.3.30 qmailmrtg-toaster-4.2-1.3.3 qmail-toaster-1.03-1.3.15 qmailadmin-toaster-1.2.11-1.3.4 simscan-toaster-1.3.1-1.3.6 daemontools-toaster-0.76-1.3.3 maildrop-toaster-devel-2.0.3-1.3.5 maildrop-toaster-2.0.3-1.3.5 qmail-pop3d-toaster-1.03-1.3.15 autorespond-toaster-2.0.4-1.3.3 courier-imap-toaster-4.1.2-1.3.7 qmailtoaster-plus-0.3.2-1.4.21 spamdyke 4.3.1 Please help me Hi Giuseppe, I've never experienced your problem with qmail first hand, but have done some searching on the internet, and some indicate that this could be slow DNS lookups, slow RBL lookup, full /var directory. I found this in the list archives: https://www.mail-archive.com/qmailtoaster-list@qmailtoaster.com/msg14666.html and http://qtp.qmailtoaster.com/trac/browser/bin/qtp-check-rbls?order=size and this page http://www.mikespicer.net/wp/linux/qmail-gets-stuck-qmail-gets-slow-and-finally-qmail-gets-fixed/ I hope this helps and keep us posted. Eric - To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com -- - To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com
Re: [qmailtoaster] [vqadmin rpmbuild error]
Noriyuki, 1) Why are you creating source and binary on CentOS 6 with the --with cnt5064 (CentOS 5) option? 2) Why are you creating CentOS 6 source and binary with a CentOS 5 spec file? 3) You can also get rid of the --target x86_64 option if you're already on an x86_64 architecture, right? For CentOS 6 you need this RPM that has been tailored for it by Eric Shubert: http://mirrors.qmailtoaster.com/current/SRPMS/vqadmin-2.3.7-0.qt.src.rpm Build it with this option: rpmbuild --rebuild --define dist .qt.el6 vqadmin-2.3.7-0.qt.src.rpm Eric On 7/8/2015 8:16 AM, Noriyuki Hayashi wrote: Hi Environment CentOS-6.6 x86_64 I tried rpmbuild as follow. rpmbuild -ba --sign --with cnt5064 --target x86_64 --define dist .cs6 vqadmin-toaster-2.3.7-1.4.1.spec spec file is original. Then happen this error... checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes /home/wats/centos/BUILD/vqadmin-2.3.7/missing: Unknown `--run' option Try `/home/wats/centos/BUILD/vqadmin-2.3.7/missing --help' for more information configure: WARNING: `missing' script is too old or missing checking for gawk... gawk checking whether make sets $(MAKE)... yes checking build system type... Invalid configuration `x86_64-redhat-linux-gnu': machine `x86_64-redhat-linux' not recognized configure: error: /bin/sh ./config.sub x86_64-redhat-linux-gnu failed error: Bad exit status from /var/tmp/rpm-tmp.5rFN0P (%build) Would you please advice or hints ? Thank you so much. Nori(WATS) /_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ WATS CO.,LTD. /_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ - To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com - To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com
[qmailtoaster] [vqadmin rpmbuild error]
Hi Environment CentOS-6.6 x86_64 I tried rpmbuild as follow. rpmbuild -ba --sign --with cnt5064 --target x86_64 --define dist .cs6 vqadmin-toaster-2.3.7-1.4.1.spec spec file is original. Then happen this error... checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes /home/wats/centos/BUILD/vqadmin-2.3.7/missing: Unknown `--run' option Try `/home/wats/centos/BUILD/vqadmin-2.3.7/missing --help' for more information configure: WARNING: `missing' script is too old or missing checking for gawk... gawk checking whether make sets $(MAKE)... yes checking build system type... Invalid configuration `x86_64-redhat-linux-gnu': machine `x86_64-redhat-linux' not recognized configure: error: /bin/sh ./config.sub x86_64-redhat-linux-gnu failed error: Bad exit status from /var/tmp/rpm-tmp.5rFN0P (%build) Would you please advice or hints ? Thank you so much. Nori(WATS) /_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ WATS CO.,LTD. /_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ - To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com
[qmailtoaster] Forward to a Different Server
I have a domain on my Qmail Server that I am migrating to another server. I want both servers to be up as I am transitioning the domain. My question is, how do I keep the old server up and have it just forward new email destined to the domain to the new server and not try to capture it locally? Gilbert Gutierrez
Re: [qmailtoaster] Forward to a Different Server
The MX records are changed. Some of the users are still using the old server for snmp and therefore their email goes into the accounts on the old server. Qmailtoaster looks locally before hitting DNS, right? Gilbert On 7/8/2015 9:13 AM, Edwin C wrote: Just change your MX entry to the new email server. Date: Wed, 8 Jul 2015 08:18:14 -0700 From: mailing-li...@phoenixinternet.net To: qmailtoaster-list@qmailtoaster.com Subject: [qmailtoaster] Forward to a Different Server I have a domain on my Qmail Server that I am migrating to another server. I want both servers to be up as I am transitioning the domain. My question is, how do I keep the old server up and have it just forward new email destined to the domain to the new server and not try to capture it locally? Gilbert Gutierrez
RE: [qmailtoaster] Forward to a Different Server
Just change your MX entry to the new email server. Date: Wed, 8 Jul 2015 08:18:14 -0700 From: mailing-li...@phoenixinternet.net To: qmailtoaster-list@qmailtoaster.com Subject: [qmailtoaster] Forward to a Different Server I have a domain on my Qmail Server that I am migrating to another server. I want both servers to be up as I am transitioning the domain. My question is, how do I keep the old server up and have it just forward new email destined to the domain to the new server and not try to capture it locally? Gilbert Gutierrez
RE: [qmailtoaster] Forward to a Different Server
Put the domain in your smtproutes file with an entry like this: domain.com newserver.domain.com then all mail for that domain will be forwarded to the new server. I believe this will work for you. From: Gilbert Gutierrez [mailto:mailing-li...@phxinternet.com] On Behalf Of Gilbert T. Gutierrez, Jr. Sent: Wednesday, July 08, 2015 9:28 AM To: qmailtoaster-list@qmailtoaster.com Subject: Re: [qmailtoaster] Forward to a Different Server The MX records are changed. Some of the users are still using the old server for snmp and therefore their email goes into the accounts on the old server. Qmailtoaster looks locally before hitting DNS, right? Gilbert On 7/8/2015 9:13 AM, Edwin C wrote: Just change your MX entry to the new email server. _ Date: Wed, 8 Jul 2015 08:18:14 -0700 From: mailing-li...@phoenixinternet.net To: qmailtoaster-list@qmailtoaster.com Subject: [qmailtoaster] Forward to a Different Server I have a domain on my Qmail Server that I am migrating to another server. I want both servers to be up as I am transitioning the domain. My question is, how do I keep the old server up and have it just forward new email destined to the domain to the new server and not try to capture it locally? Gilbert Gutierrez
Re: [qmailtoaster] Forward to a Different Server
On 7/8/2015 9:18 AM, Gilbert T. Gutierrez, Jr. wrote: I have a domain on my Qmail Server that I am migrating to another server. I want both servers to be up as I am transitioning the domain. My question is, how do I keep the old server up and have it just forward new email destined to the domain to the new server and not try to capture it locally? Gilbert Gutierrez Hi Gilbert, I don't think you can do this with at least a small amount of down time for the new domain, but... In order to forward mail to the new server from the old ( I think that's what you're asking) without removing the domain from your old server you can comment out the migrated domain in /var/qmail/control/virtualdomains, and put a route to it in /var/qmail/control/smtproutes and restart qmail or reload qmail. Please investigate to your satisfaction first. I tried this once on my server and it worked. Of course the domain must be created with all the users on the new server in order for it to receive mail and for your IMAP (or POP) clients to work. In order to sync the two hosts you can use unison, rysnc, or scp. I've used all three. I use unison mostly, and here's a link to it, which setup can be tailored for replication of only one domain (http://wiki.qmailtoaster.com/index.php/QMT_Failover_replication_Setup). How big is this domain? Eric
Re: [qmailtoaster] Forward to a Different Server
Have also to delete/comment entry for that domain in users. Tonino Il 08/07/2015 18:50, Helmut Fritz ha scritto: Put the domain in your smtproutes file with an entry like this: domain.com newserver.domain.com then all mail for that domain will be forwarded to the new server. I believe this will work for you. *From:*Gilbert Gutierrez [mailto:mailing-li...@phxinternet.com] *On Behalf Of *Gilbert T. Gutierrez, Jr. *Sent:* Wednesday, July 08, 2015 9:28 AM *To:* qmailtoaster-list@qmailtoaster.com *Subject:* Re: [qmailtoaster] Forward to a Different Server The MX records are changed. Some of the users are still using the old server for snmp and therefore their email goes into the accounts on the old server. Qmailtoaster looks locally before hitting DNS, right? Gilbert On 7/8/2015 9:13 AM, Edwin C wrote: Just change your MX entry to the new email server. Date: Wed, 8 Jul 2015 08:18:14 -0700 From: mailing-li...@phoenixinternet.net mailto:mailing-li...@phoenixinternet.net To: qmailtoaster-list@qmailtoaster.com mailto:qmailtoaster-list@qmailtoaster.com Subject: [qmailtoaster] Forward to a Different Server I have a domain on my Qmail Server that I am migrating to another server. I want both servers to be up as I am transitioning the domain. My question is, how do I keep the old server up and have it just forward new email destined to the domain to the new server and not try to capture it locally? Gilbert Gutierrez -- Inter@zioniInterazioni di Antonio Nati http://www.interazioni.it to...@interazioni.it
Re: [qmailtoaster] Forward to a Different Server
I will try what you suggested. There are actually several domains (6) and they each have about 30 users each spread over multiple office locations. Gilbert On 7/8/2015 10:05 AM, Eric Broch wrote: On 7/8/2015 9:18 AM, Gilbert T. Gutierrez, Jr. wrote: I have a domain on my Qmail Server that I am migrating to another server. I want both servers to be up as I am transitioning the domain. My question is, how do I keep the old server up and have it just forward new email destined to the domain to the new server and not try to capture it locally? Gilbert Gutierrez Hi Gilbert, I don't think you can do this with at least a small amount of down time for the new domain, but... In order to forward mail to the new server from the old ( I think that's what you're asking) without removing the domain from your old server you can comment out the migrated domain in /var/qmail/control/virtualdomains, and put a route to it in /var/qmail/control/smtproutes and restart qmail or reload qmail. Please investigate to your satisfaction first. I tried this once on my server and it worked. Of course the domain must be created with all the users on the new server in order for it to receive mail and for your IMAP (or POP) clients to work. In order to sync the two hosts you can use unison, rysnc, or scp. I've used all three. I use unison mostly, and here's a link to it, which setup can be tailored for replication of only one domain (http://wiki.qmailtoaster.com/index.php/QMT_Failover_replication_Setup). How big is this domain? Eric
Re: [qmailtoaster] Forward to a Different Server
I suppose I'd do it in this order 1) Create the domain and all the users on the new server. Given that it's such a small domain, I'd do it by hand you could dump the db but then you'd have to drop the unnecessary tables. I'm not sure of a way to extract one table in mysql. 2) Point the email clients POP or IMAP to the new server. This would be easy if your using a domain name. 3) Route email to the new server. (Mail would not be received between the last two steps). 4) Copy the mail for the domain over. I would not use unison for this. Recently, I used 'scp' with the recurse option for each user in the domain but had to change the permissions on the new files to vpopmail.vchkpw. Eric On 7/8/2015 11:28 AM, Gilbert T. Gutierrez, Jr. wrote: I will try what you suggested. There are actually several domains (6) and they each have about 30 users each spread over multiple office locations. Gilbert On 7/8/2015 10:05 AM, Eric Broch wrote: On 7/8/2015 9:18 AM, Gilbert T. Gutierrez, Jr. wrote: I have a domain on my Qmail Server that I am migrating to another server. I want both servers to be up as I am transitioning the domain. My question is, how do I keep the old server up and have it just forward new email destined to the domain to the new server and not try to capture it locally? Gilbert Gutierrez Hi Gilbert, I don't think you can do this with at least a small amount of down time for the new domain, but... In order to forward mail to the new server from the old ( I think that's what you're asking) without removing the domain from your old server you can comment out the migrated domain in /var/qmail/control/virtualdomains, and put a route to it in /var/qmail/control/smtproutes and restart qmail or reload qmail. Please investigate to your satisfaction first. I tried this once on my server and it worked. Of course the domain must be created with all the users on the new server in order for it to receive mail and for your IMAP (or POP) clients to work. In order to sync the two hosts you can use unison, rysnc, or scp. I've used all three. I use unison mostly, and here's a link to it, which setup can be tailored for replication of only one domain (http://wiki.qmailtoaster.com/index.php/QMT_Failover_replication_Setup). How big is this domain? Eric
Re: [qmailtoaster] Forward to a Different Server
Two additions: 1) Don't do it by hand since users have to change their password if you don't have plain text enabled: http://dba.stackexchange.com/questions/9306/how-do-you-mysqldump-specific-tables 4) use rsync -var Sent from my iPhone On 08 Jul 2015, at 19:54, Eric Broch ebr...@whitehorsetc.com wrote: I suppose I'd do it in this order 1) Create the domain and all the users on the new server. Given that it's such a small domain, I'd do it by hand you could dump the db but then you'd have to drop the unnecessary tables. I'm not sure of a way to extract one table in mysql. 2) Point the email clients POP or IMAP to the new server. This would be easy if your using a domain name. 3) Route email to the new server. (Mail would not be received between the last two steps). 4) Copy the mail for the domain over. I would not use unison for this. Recently, I used 'scp' with the recurse option for each user in the domain but had to change the permissions on the new files to vpopmail.vchkpw. Eric On 7/8/2015 11:28 AM, Gilbert T. Gutierrez, Jr. wrote: I will try what you suggested. There are actually several domains (6) and they each have about 30 users each spread over multiple office locations. Gilbert On 7/8/2015 10:05 AM, Eric Broch wrote: On 7/8/2015 9:18 AM, Gilbert T. Gutierrez, Jr. wrote: I have a domain on my Qmail Server that I am migrating to another server. I want both servers to be up as I am transitioning the domain. My question is, how do I keep the old server up and have it just forward new email destined to the domain to the new server and not try to capture it locally? Gilbert Gutierrez Hi Gilbert, I don't think you can do this with at least a small amount of down time for the new domain, but... In order to forward mail to the new server from the old ( I think that's what you're asking) without removing the domain from your old server you can comment out the migrated domain in /var/qmail/control/virtualdomains, and put a route to it in /var/qmail/control/smtproutes and restart qmail or reload qmail. Please investigate to your satisfaction first. I tried this once on my server and it worked. Of course the domain must be created with all the users on the new server in order for it to receive mail and for your IMAP (or POP) clients to work. In order to sync the two hosts you can use unison, rysnc, or scp. I've used all three. I use unison mostly, and here's a link to it, which setup can be tailored for replication of only one domain (http://wiki.qmailtoaster.com/index.php/QMT_Failover_replication_Setup). How big is this domain? Eric
Re: [qmailtoaster] Forward to a Different Server
And here the way I did migrations: 1) Dump and import the Database using mysqldump 2) rsync the email data to the new server 3) Change MX entry 4) during DNS propagation run rsync often to resync new mail files to the new sever Have migrated two servers that way without down times. Disabled qmail and all services on the old machine once DNS propagated to ensure all clients have switched (all had since I have a whopping 6 users ;-)). Things get even easier with a separated DB since you can just move the data files and make sure the new server connects to the same DB. If you can add a NFS storage for mail data too, you can even take that out of the picture. Works well enough for smaller setups. Anything bigger would need a clustered file system (which I still want to at with [ceph]). I guess that's for another day though ;-) Sent from my iPhone On 08 Jul 2015, at 20:06, Sebastian Grewe sebast...@grewe.ca wrote: Two additions: 1) Don't do it by hand since users have to change their password if you don't have plain text enabled: http://dba.stackexchange.com/questions/9306/how-do-you-mysqldump-specific-tables 4) use rsync -var Sent from my iPhone On 08 Jul 2015, at 19:54, Eric Broch ebr...@whitehorsetc.com wrote: I suppose I'd do it in this order 1) Create the domain and all the users on the new server. Given that it's such a small domain, I'd do it by hand you could dump the db but then you'd have to drop the unnecessary tables. I'm not sure of a way to extract one table in mysql. 2) Point the email clients POP or IMAP to the new server. This would be easy if your using a domain name. 3) Route email to the new server. (Mail would not be received between the last two steps). 4) Copy the mail for the domain over. I would not use unison for this. Recently, I used 'scp' with the recurse option for each user in the domain but had to change the permissions on the new files to vpopmail.vchkpw. Eric On 7/8/2015 11:28 AM, Gilbert T. Gutierrez, Jr. wrote: I will try what you suggested. There are actually several domains (6) and they each have about 30 users each spread over multiple office locations. Gilbert On 7/8/2015 10:05 AM, Eric Broch wrote: On 7/8/2015 9:18 AM, Gilbert T. Gutierrez, Jr. wrote: I have a domain on my Qmail Server that I am migrating to another server. I want both servers to be up as I am transitioning the domain. My question is, how do I keep the old server up and have it just forward new email destined to the domain to the new server and not try to capture it locally? Gilbert Gutierrez Hi Gilbert, I don't think you can do this with at least a small amount of down time for the new domain, but... In order to forward mail to the new server from the old ( I think that's what you're asking) without removing the domain from your old server you can comment out the migrated domain in /var/qmail/control/virtualdomains, and put a route to it in /var/qmail/control/smtproutes and restart qmail or reload qmail. Please investigate to your satisfaction first. I tried this once on my server and it worked. Of course the domain must be created with all the users on the new server in order for it to receive mail and for your IMAP (or POP) clients to work. In order to sync the two hosts you can use unison, rysnc, or scp. I've used all three. I use unison mostly, and here's a link to it, which setup can be tailored for replication of only one domain (http://wiki.qmailtoaster.com/index.php/QMT_Failover_replication_Setup). How big is this domain? Eric
Re: [qmailtoaster] COS 6 /webmail: 454 oops, problem with child and I can't auth (#4.3.0)
Hi Abel, This is what Life with Qmail has to say, *Note: *The memory limit specified in the softlimit command may need to be raised depending upon your operating system and hardware platform. If attempts to connect to port 25 fail or remote systems are unable to send you mail, or you see a message like /usr/local/bin/tcpserver: error while loading shared libraries: libc.so.6: failed to map segment from shared object: Cannot allocate memory try raising it to 300 or 400. Softlimit merely puts new memory limits on a program, softlimit - runs another program with new resource limits. If anyone has anything else to add PLEASE jump in. EricB On 7/8/2015 3:34 PM, a...@globalgate.com.ar wrote: Hi Eric sorry for the delay to answer, i've mixed some folders i guess. Indeed, qmailctl {stop|start} has very different results that qmailctl restart I'm trying to understand in this moment: - why the old 'svc -d/-u' supervise command are not enough now. and - why do I need now to bump up soflimit to values so significant like 100MB or more. best regards, -- Abel Lucano a...@globalgate.com.ar GlobalGate Ingeniería (011) 5218 4242/44 On Tue, 16 Jun 2015, Eric Broch wrote: Date: Tue, 16 Jun 2015 16:03:06 -0600 From: Eric Broch ebr...@whitehorsetc.com Reply-To: qmailtoaster-list@qmailtoaster.com To: qmailtoaster-list@qmailtoaster.com Subject: Re: [qmailtoaster] COS 6 /webmail: 454 oops, problem with child and I can't auth (#4.3.0) Hi Abel, There have been a couple others with the same issue which were resolved by bumping up the soft-limit to 1 as you have done. Did you restart qmail. 1) qmailctl stop 2) qmailctl start ? If you have, you might want to bump the soft-limit up a little more. Eric On 6/16/2015 2:44 PM, a...@globalgate.com.ar wrote: Hello there, testing a new fresh QMT installation, sending a test message with squirrel webmail failed with: 454 oops, problem with child and I can't auth error message /var/log/messages with this line Jun 16 17:27:44 sksrv2 kernel: vchkpw[20169]: segfault at 0 ip 0037aa128366 sp 7fff756f4c18 error 4 in libc-2.12.so[37aa00+18a000] extra info: - CentOS 6.6 x64 full updated qt-whatami v1.0 Tue Jun 16 17:34:31 ART 2015 This machine's OS is supported REAL_DIST=CentOS DISTRO=CentOS OSVER=6.6 QTARCH=x86_64 QTKERN=2.6.32-504.23.4.el6.x86_64 - installed following: https://github.com/QMailToaster/qmailtoaster-util/blob/master/README.install - I've already raised up softlimit to 1.. /usr/bin/softlimit -m 1 for smtp and submission; no changes. I'll appreciate very much any hints to begin to deal with this issue. Thanks in advance -- Abel Lucano a...@globalgate.com.ar GlobalGate Ingeniería (011) 5218 4242/44 - To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com - To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com - To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com
Re: [qmailtoaster] Vpopmail include / lib files
Fabe, I just compiled vqregister (make all), with no install or clean, on CentOS6/QMT with the following settings ( minus the '-lz' at the end of the LIBS line, which you had***): begin Makefile VDIR = /home/vpopmail CC = gcc BIN = vqregister DEFS = -I$(VDIR)/include -I/usr/include/mysql LINKDEFS = LIBS = -L$(VDIR)/lib -lvpopmail -lcrypt -L/usr/lib64/mysql -lmysqlclient OBJS = main.o cgi.o template.o global.o misc.o config.o register.o password.o \ vpopmail.o db.o field.o badhosts.o INSTALL_DIR = /usr/local/apache/cgi-bin/vqregister INSTALL_BIN = vqregister.cgi INSTALL_UID = vpopmail INSTALL_GID = vchkpw end Makefile Why do you want a create vqregister with a partial install of vpopmail and not the full install? *** Your LIBS LINE: LIBS = -L$(VDIR)/lib -lvpopmail -lcrypt -L/usr/lib64/mysql -lmysqlclient -lz My LIBS Line: LIBS = -L$(VDIR)/lib -lvpopmail -lcrypt -L/usr/lib64/mysql -lmysqlclient Eric On 7/6/2015 9:22 AM, fsanti...@deviltracks.net wrote: I should add that the reason I ask is I'm trying to make us of vqregister and at compile time I get this error: /usr/bin/ld: cannot find -lvpopmail I installed my QMT using the latest github scripted method. Will vqregister simply not work for me or is there a way to tweak my Makefile to make it work? Makefile attached. Thanks. - Fabe On 2015-07-06 11:09, fsanti...@deviltracks.net wrote: Hello, Is there a way for me to take the vpopmail srpm file and run a modified compilation / install sequence that will simply place the vpopmail include and lib files in the correct locations for me but do nothing else? or a manual way to do this correctly? - Fabe - To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com - To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com
Re: [qmailtoaster] Forward to a Different Server
Il 08/07/2015 18:58, Tonix - Antonio Nati ha scritto: Have also to delete/comment entry for that domain in users. Just to correct my quick (and wrong) answer, after modifying smtproutes, you must be sure that domain is not in /var/qmail/control/virtualdomains and locals. This is the best way to route safetly messages to a new server. Regards, Tonino Tonino Il 08/07/2015 18:50, Helmut Fritz ha scritto: Put the domain in your smtproutes file with an entry like this: domain.com newserver.domain.com then all mail for that domain will be forwarded to the new server. I believe this will work for you. *From:*Gilbert Gutierrez [mailto:mailing-li...@phxinternet.com] *On Behalf Of *Gilbert T. Gutierrez, Jr. *Sent:* Wednesday, July 08, 2015 9:28 AM *To:* qmailtoaster-list@qmailtoaster.com *Subject:* Re: [qmailtoaster] Forward to a Different Server The MX records are changed. Some of the users are still using the old server for snmp and therefore their email goes into the accounts on the old server. Qmailtoaster looks locally before hitting DNS, right? Gilbert On 7/8/2015 9:13 AM, Edwin C wrote: Just change your MX entry to the new email server. Date: Wed, 8 Jul 2015 08:18:14 -0700 From: mailing-li...@phoenixinternet.net mailto:mailing-li...@phoenixinternet.net To: qmailtoaster-list@qmailtoaster.com mailto:qmailtoaster-list@qmailtoaster.com Subject: [qmailtoaster] Forward to a Different Server I have a domain on my Qmail Server that I am migrating to another server. I want both servers to be up as I am transitioning the domain. My question is, how do I keep the old server up and have it just forward new email destined to the domain to the new server and not try to capture it locally? Gilbert Gutierrez -- Inter@zioniInterazioni di Antonio Nati http://www.interazioni.it to...@interazioni.it -- Inter@zioniInterazioni di Antonio Nati http://www.interazioni.it to...@interazioni.it
Re: [qmailtoaster] Forward to a Different Server
Thanks, Sebastian! This way looks much better. EricB On 7/8/2015 12:12 PM, Sebastian Grewe wrote: And here the way I did migrations: 1) Dump and import the Database using mysqldump 2) rsync the email data to the new server 3) Change MX entry 4) during DNS propagation run rsync often to resync new mail files to the new sever Have migrated two servers that way without down times. Disabled qmail and all services on the old machine once DNS propagated to ensure all clients have switched (all had since I have a whopping 6 users ;-)). Things get even easier with a separated DB since you can just move the data files and make sure the new server connects to the same DB. If you can add a NFS storage for mail data too, you can even take that out of the picture. Works well enough for smaller setups. Anything bigger would need a clustered file system (which I still want to at with [ceph]). I guess that's for another day though ;-) Sent from my iPhone On 08 Jul 2015, at 20:06, Sebastian Grewe sebast...@grewe.ca mailto:sebast...@grewe.ca wrote: Two additions: 1) Don't do it by hand since users have to change their password if you don't have plain text enabled: http://dba.stackexchange.com/questions/9306/how-do-you-mysqldump-specific-tables 4) use rsync -var Sent from my iPhone On 08 Jul 2015, at 19:54, Eric Broch ebr...@whitehorsetc.com mailto:ebr...@whitehorsetc.com wrote: I suppose I'd do it in this order 1) Create the domain and all the users on the new server. Given that it's such a small domain, I'd do it by hand you could dump the db but then you'd have to drop the unnecessary tables. I'm not sure of a way to extract one table in mysql. 2) Point the email clients POP or IMAP to the new server. This would be easy if your using a domain name. 3) Route email to the new server. (Mail would not be received between the last two steps). 4) Copy the mail for the domain over. I would not use unison for this. Recently, I used 'scp' with the recurse option for each user in the domain but had to change the permissions on the new files to vpopmail.vchkpw. Eric On 7/8/2015 11:28 AM, Gilbert T. Gutierrez, Jr. wrote: I will try what you suggested. There are actually several domains (6) and they each have about 30 users each spread over multiple office locations. Gilbert On 7/8/2015 10:05 AM, Eric Broch wrote: On 7/8/2015 9:18 AM, Gilbert T. Gutierrez, Jr. wrote: I have a domain on my Qmail Server that I am migrating to another server. I want both servers to be up as I am transitioning the domain. My question is, how do I keep the old server up and have it just forward new email destined to the domain to the new server and not try to capture it locally? Gilbert Gutierrez Hi Gilbert, I don't think you can do this with at least a small amount of down time for the new domain, but... In order to forward mail to the new server from the old ( I think that's what you're asking) without removing the domain from your old server you can comment out the migrated domain in /var/qmail/control/virtualdomains, and put a route to it in /var/qmail/control/smtproutes and restart qmail or reload qmail. Please investigate to your satisfaction first. I tried this once on my server and it worked. Of course the domain must be created with all the users on the new server in order for it to receive mail and for your IMAP (or POP) clients to work. In order to sync the two hosts you can use unison, rysnc, or scp. I've used all three. I use unison mostly, and here's a link to it, which setup can be tailored for replication of only one domain (http://wiki.qmailtoaster.com/index.php/QMT_Failover_replication_Setup). How big is this domain? Eric
Re: [qmailtoaster] Vpopmail include / lib files
Fabe, I got the error /usr/bin/ld: cannot find -lmysqlclient Did you have a look here: http://qmr.madkom.pl/extra/vqregister.htm Eric On 7/6/2015 9:22 AM, fsanti...@deviltracks.net wrote: I should add that the reason I ask is I'm trying to make us of vqregister and at compile time I get this error: /usr/bin/ld: cannot find -lvpopmail I installed my QMT using the latest github scripted method. Will vqregister simply not work for me or is there a way to tweak my Makefile to make it work? Makefile attached. Thanks. - Fabe On 2015-07-06 11:09, fsanti...@deviltracks.net wrote: Hello, Is there a way for me to take the vpopmail srpm file and run a modified compilation / install sequence that will simply place the vpopmail include and lib files in the correct locations for me but do nothing else? or a manual way to do this correctly? - Fabe - To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com - To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com
Re: [qmailtoaster] COS 6 /webmail: 454 oops, problem with child and I can't auth (#4.3.0)
Hi Eric sorry for the delay to answer, i've mixed some folders i guess. Indeed, qmailctl {stop|start} has very different results that qmailctl restart I'm trying to understand in this moment: - why the old 'svc -d/-u' supervise command are not enough now. and - why do I need now to bump up soflimit to values so significant like 100MB or more. best regards, -- Abel Lucano a...@globalgate.com.ar GlobalGate Ingeniería (011) 5218 4242/44 On Tue, 16 Jun 2015, Eric Broch wrote: Date: Tue, 16 Jun 2015 16:03:06 -0600 From: Eric Broch ebr...@whitehorsetc.com Reply-To: qmailtoaster-list@qmailtoaster.com To: qmailtoaster-list@qmailtoaster.com Subject: Re: [qmailtoaster] COS 6 /webmail: 454 oops, problem with child and I can't auth (#4.3.0) Hi Abel, There have been a couple others with the same issue which were resolved by bumping up the soft-limit to 1 as you have done. Did you restart qmail. 1) qmailctl stop 2) qmailctl start ? If you have, you might want to bump the soft-limit up a little more. Eric On 6/16/2015 2:44 PM, a...@globalgate.com.ar wrote: Hello there, testing a new fresh QMT installation, sending a test message with squirrel webmail failed with: 454 oops, problem with child and I can't auth error message /var/log/messages with this line Jun 16 17:27:44 sksrv2 kernel: vchkpw[20169]: segfault at 0 ip 0037aa128366 sp 7fff756f4c18 error 4 in libc-2.12.so[37aa00+18a000] extra info: - CentOS 6.6 x64 full updated qt-whatami v1.0 Tue Jun 16 17:34:31 ART 2015 This machine's OS is supported REAL_DIST=CentOS DISTRO=CentOS OSVER=6.6 QTARCH=x86_64 QTKERN=2.6.32-504.23.4.el6.x86_64 - installed following: https://github.com/QMailToaster/qmailtoaster-util/blob/master/README.install - I've already raised up softlimit to 1.. /usr/bin/softlimit -m 1 for smtp and submission; no changes. I'll appreciate very much any hints to begin to deal with this issue. Thanks in advance -- Abel Lucano a...@globalgate.com.ar GlobalGate Ingeniería (011) 5218 4242/44 - To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com - To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com - To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com
Re: [qmailtoaster] Messages in local queue: 764
Hello, smtp logs I see also some time out as below, there 's something I can do? 07-08 08:24:33 spamdyke[31925]: TIMEOUT from: x.xxxrd...@xx.it to: o...@miodomino.it origin_ip: 195.94.186.57 origin_rdns: smtp.xx.it auth: (unknown) encryption: (none) reason: TIMEOUT 07-08 08:24:36 spamdyke[32002]: TIMEOUT from: xx...@lc.org to: ute...@miodominio.it origin_ip: 5.196.95.111 origin_rdns: xx.ip-5-196-95.eu auth: (unknown) encryption: TLS reason: TIMEOUT thanks 2015-07-07 14:55 GMT+02:00 Giuseppe Perna gpe...@csait.eu: Thanks Eric for you replay, but my problem is not DNS or RBL, I have two servers with the same configuration and there are these problems. this is my configuration, what should I check? the problem occurs during peak hours, thanks this my configuration i have 1000 mailbox and spamdyke configured : cat /etc/spamdyke/spamdyke.conf #dns-blacklist-entry=zombie.dnsbl.sorbs.net #dns-blacklist-entry=dul.dnsbl.sorbs.net #dns-blacklist-entry=bogons.cymru.com dns-blacklist-entry=zen.spamhaus.org dns-blacklist-entry=psbl.surriel.com #dns-blacklist-entry=bl.spamcop.net graylist-dir=/var/spamdyke/graylist #graylist-level=always graylist-level=always-create-dir graylist-max-secs=2678400 graylist-min-secs=60 greeting-delay-secs=4 header-blacklist-entry=From:*,** idle-timeout-secs=60 ip-blacklist-file=/etc/spamdyke/blacklist_ip ip-in-rdns-keyword-blacklist-file=/etc/spamdyke/blacklist_keywords ip-in-rdns-keyword-whitelist-file=/etc/spamdyke/whitelist_keywords ip-whitelist-file=/etc/spamdyke/whitelist_ip local-domains-file=/var/qmail/control/rcpthosts local-domains-file=/var/qmail/control/morercpthosts log-level=verbose log-target=stderr max-recipients=50 #policy-url=http://my.policy.explanation.url/ rdns-blacklist-file=/etc/spamdyke/blacklist_rdns rdns-whitelist-file=/etc/spamdyke/whitelist_rdns recipient-blacklist-file=/etc/spamdyke/blacklist_recipients recipient-whitelist-file=/etc/spamdyke/whitelist_recipients reject-empty-rdns #reject-ip-in-cc-rdns reject-missing-sender-mx reject-unresolvable-rdns sender-blacklist-file=/etc/spamdyke/blacklist_senders sender-whitelist-file=/etc/spamdyke/whitelist_senders tls-certificate-file=/var/qmail/control/servercert.pem tls-level=smtp 2015-07-07 14:09 GMT+02:00 Eric Broch ebr...@whitehorsetc.com: On 7/7/2015 5:00 AM, Giuseppe Perna wrote: Hello everyone, some days I have serious problems with qmailtoaster, in particular with the queue The server becomes very slow and very slow webmail. Please give me the info to see what to check? commands qmHandle -a, qmailctrl doqueue not empty the queue. thanks # rpm -qa | grep toaster control-panel-toaster-0.5-1.3.4 courier-authlib-toaster-0.59.2-1.3.6 avvertimento: only V3 signatures can be verified, skipping V4 signature ezmlm-cgi-toaster-0.53.324-1.3.3 qmailtoaster-plus.repo-0.2-2 ripmime-toaster-1.4.0.6-1.3.3 ucspi-tcp-toaster-0.88-1.3.5 isoqlog-toaster-2.1-1.3.4 vpopmail-toaster-5.4.17-1.3.4 vqadmin-toaster-2.3.4-1.3.3 avvertimento: only V3 signatures can be verified, skipping V4 signature libdomainkeys-toaster-0.68-1.3.3 ezmlm-toaster-0.53.324-1.3.3 squirrelmail-toaster-1.4.9a-1.3.6 libsrs2-toaster-1.0.18-1.3.3 spamassassin-toaster-3.1.8-1.3.8 clamav-toaster-0.95.2-1.3.30 qmailmrtg-toaster-4.2-1.3.3 qmail-toaster-1.03-1.3.15 qmailadmin-toaster-1.2.11-1.3.4 simscan-toaster-1.3.1-1.3.6 daemontools-toaster-0.76-1.3.3 maildrop-toaster-devel-2.0.3-1.3.5 maildrop-toaster-2.0.3-1.3.5 qmail-pop3d-toaster-1.03-1.3.15 autorespond-toaster-2.0.4-1.3.3 courier-imap-toaster-4.1.2-1.3.7 qmailtoaster-plus-0.3.2-1.4.21 spamdyke 4.3.1 Please help me Hi Giuseppe, I've never experienced your problem with qmail first hand, but have done some searching on the internet, and some indicate that this could be slow DNS lookups, slow RBL lookup, full /var directory. I found this in the list archives: https://www.mail-archive.com/qmailtoaster-list@qmailtoaster.com/msg14666.html and http://qtp.qmailtoaster.com/trac/browser/bin/qtp-check-rbls?order=size and this page http://www.mikespicer.net/wp/linux/qmail-gets-stuck-qmail-gets-slow-and-finally-qmail-gets-fixed/ I hope this helps and keep us posted. Eric - To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com -- - To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com
Re: [qmailtoaster] Vpopmail include / lib files
I would have gotten that same error but I updated the mysql includes path to match my server in the makefile. yes i checked that site but not helpful in this problem case. I was trying to follow it's directions though. - Fabe On 2015-07-08 16:48, Eric Broch wrote: Fabe, I got the error /usr/bin/ld: cannot find -lmysqlclient Did you have a look here: http://qmr.madkom.pl/extra/vqregister.htm [1] Eric On 7/6/2015 9:22 AM, fsanti...@deviltracks.net wrote: I should add that the reason I ask is I'm trying to make us of vqregister and at compile time I get this error: /usr/bin/ld: cannot find -lvpopmail I installed my QMT using the latest github scripted method. Will vqregister simply not work for me or is there a way to tweak my Makefile to make it work? Makefile attached. Thanks. - Fabe On 2015-07-06 11:09, fsanti...@deviltracks.net wrote: Hello, Is there a way for me to take the vpopmail srpm file and run a modified compilation / install sequence that will simply place the vpopmail include and lib files in the correct locations for me but do nothing else? or a manual way to do this correctly? - Fabe - To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com - To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com Links: -- [1] http://qmr.madkom.pl/extra/vqregister.htm
Re: [qmailtoaster] Vpopmail include / lib files
well, after all that it doesn't work anyway. suppose it's due to its age so not surprised really. it creates the new account fine but it doesn't send the temporary password email nor does it populate my sql db with the user data from the registration. oh well. do you have any insight to other working user self-registration methods aside from writing something custom myself (as if that were even possible for me)? Maybe a round cube plugin? - Fabe On 2015-07-08 20:51, Eric Broch wrote: Fabe, What is even stranger is that your install seems correct and mine seems incorrect according to the output of the following two rpm listings... # rpm -q --list libvpopmail-devel # rpm -q --list vpopmail Now I have no idea why /home/vpopmail/lib exists on my two toasters. According to the output (from the above commands) it was put their by neither rpm, vpopmail nor libvpopmail-devel . EricB On 7/8/2015 6:21 PM, fsanti...@deviltracks.net wrote: I agree. i followed the instructions for a COS 6.x install with the github scripted installation. so i have no clue.. strange. - Fabe On 2015-07-08 20:17, Eric Broch wrote: Your install seems strange to me at this point as both my CentOS 5 and 6 (x86_64) installs have /home/vpopmail/lib/libvpopmail.a on the disk. On 7/8/2015 6:01 PM, fsanti...@deviltracks.net wrote: Tried that. no luck. same error. On 2015-07-08 19:51, Eric Broch wrote: I'm running the same architecture. Can you change the LIBS option -L$(VDIR)/lib to -L/usr/lib64/? On 7/8/2015 5:36 PM, fsanti...@deviltracks.net wrote: Eric, still doesn't work. i installed the rpm but my a file shows under /usr/lib64. difference in architecture a problem? i am running centos 6.6 64-bit. - Fabe On 2015-07-08 19:20, Eric Broch wrote: Do you have this... http://mirrors.qmailtoaster.com/current/CentOS/6/x86_64/libvpopmail-devel-5.4.33-0.qt.el6.x86_64.rpm [1] installed? On 7/8/2015 4:32 PM, fsanti...@deviltracks.net wrote: Eric, No dice: [root@mail vqregister-2.5]# make all gcc -o vqregister main.o cgi.o template.o global.o misc.o config.o register.o password.o vpopmail.o db.o field.o badhosts.o -L/home/vpopmail/lib -lvpopmail -lcrypt -L/usr/lib64/mysql -lmysqlclient /usr/bin/ld: cannot find -lvpopmail collect2: ld returned 1 exit status make: *** [vqregister] Error 1 [root@mail vqregister-2.5]# what do you mean by Why do you want a create vqregister with a partial install of vpopmail and not the full install? - Fabe On 2015-07-08 17:32, Eric Broch wrote: Fabe, I just compiled vqregister (make all), with no install or clean, on CentOS6/QMT with the following settings ( minus the '-lz' at the end of the LIBS line, which you had***): begin Makefile VDIR = /home/vpopmail CC = gcc BIN = vqregister DEFS = -I$(VDIR)/include -I/usr/include/mysql LINKDEFS = LIBS = -L$(VDIR)/lib -lvpopmail -lcrypt -L/usr/lib64/mysql -lmysqlclient OBJS = main.o cgi.o template.o global.o misc.o config.o register.o password.o \ vpopmail.o db.o field.o badhosts.o INSTALL_DIR = /usr/local/apache/cgi-bin/vqregister INSTALL_BIN = vqregister.cgi INSTALL_UID = vpopmail INSTALL_GID = vchkpw end Makefile Why do you want a create vqregister with a partial install of vpopmail and not the full install? *** Your LIBS LINE: LIBS = -L$(VDIR)/lib -lvpopmail -lcrypt -L/usr/lib64/mysql -lmysqlclient -lz My LIBS Line: LIBS = -L$(VDIR)/lib -lvpopmail -lcrypt -L/usr/lib64/mysql -lmysqlclient Eric On 7/6/2015 9:22 AM, fsanti...@deviltracks.net wrote: I should add that the reason I ask is I'm trying to make us of vqregister and at compile time I get this error: /usr/bin/ld: cannot find -lvpopmail I installed my QMT using the latest github scripted method. Will vqregister simply not work for me or is there a way to tweak my Makefile to make it work? Makefile attached. Thanks. - Fabe On 2015-07-06 11:09, fsanti...@deviltracks.net wrote: Hello, Is there a way for me to take the vpopmail srpm file and run a modified compilation / install sequence that will simply place the vpopmail include and lib files in the correct locations for me but do nothing else? or a manual way to do this correctly? - Fabe - To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com - To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com Links: -- [1] http://mirrors.qmailtoaster.com/current/CentOS/6/x86_64/libvpopmail-devel-5.4.33-0.qt.el6.x86_64.rpm
Re: [qmailtoaster] Vpopmail include / lib files
Do you have this... http://mirrors.qmailtoaster.com/current/CentOS/6/x86_64/libvpopmail-devel-5.4.33-0.qt.el6.x86_64.rpm installed? On 7/8/2015 4:32 PM, fsanti...@deviltracks.net wrote: Eric, No dice: [root@mail vqregister-2.5]# make all gcc -o vqregister main.o cgi.o template.o global.o misc.o config.o register.o password.o vpopmail.o db.o field.o badhosts.o -L/home/vpopmail/lib -lvpopmail -lcrypt -L/usr/lib64/mysql -lmysqlclient /usr/bin/ld: cannot find -lvpopmail collect2: ld returned 1 exit status make: *** [vqregister] Error 1 [root@mail vqregister-2.5]# what do you mean by Why do you want a create vqregister with a partial install of vpopmail and not the full install? - Fabe On 2015-07-08 17:32, Eric Broch wrote: Fabe, I just compiled vqregister (make all), with no install or clean, on CentOS6/QMT with the following settings ( minus the '-lz' at the end of the LIBS line, which you had***): begin Makefile VDIR = /home/vpopmail CC = gcc BIN = vqregister DEFS = -I$(VDIR)/include -I/usr/include/mysql LINKDEFS = LIBS = -L$(VDIR)/lib -lvpopmail -lcrypt -L/usr/lib64/mysql -lmysqlclient OBJS = main.o cgi.o template.o global.o misc.o config.o register.o password.o \ vpopmail.o db.o field.o badhosts.o INSTALL_DIR = /usr/local/apache/cgi-bin/vqregister INSTALL_BIN = vqregister.cgi INSTALL_UID = vpopmail INSTALL_GID = vchkpw end Makefile Why do you want a create vqregister with a partial install of vpopmail and not the full install? *** Your LIBS LINE: LIBS = -L$(VDIR)/lib -lvpopmail -lcrypt -L/usr/lib64/mysql -lmysqlclient -lz My LIBS Line: LIBS = -L$(VDIR)/lib -lvpopmail -lcrypt -L/usr/lib64/mysql -lmysqlclient Eric On 7/6/2015 9:22 AM, fsanti...@deviltracks.net wrote: I should add that the reason I ask is I'm trying to make us of vqregister and at compile time I get this error: /usr/bin/ld: cannot find -lvpopmail I installed my QMT using the latest github scripted method. Will vqregister simply not work for me or is there a way to tweak my Makefile to make it work? Makefile attached. Thanks. - Fabe On 2015-07-06 11:09, fsanti...@deviltracks.net wrote: Hello, Is there a way for me to take the vpopmail srpm file and run a modified compilation / install sequence that will simply place the vpopmail include and lib files in the correct locations for me but do nothing else? or a manual way to do this correctly? - Fabe - To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com - To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com
Re: [qmailtoaster] Vpopmail include / lib files
Eric, there's something newno .a file present on my system. in fact, i don't have a /lib folder under my /home/vpopmail path. i also see i'm missing /usr/lib64/ files or links as well, compared to your results. my search results are: /etc/dovecot/conf.d/auth-vpopmail.conf.ext /usr/share/doc/dovecot-2.2.7/example-config/conf.d/auth-vpopmail.conf.ext /usr/share/logwatch/default.conf/services/vpopmail.conf /usr/share/logwatch/scripts/services/vpopmail /usr/bin/qt-mysql-secure-vpopmail /home/vpopmail /home/vpopmail/doc/doc_html/vpopmail.html /home/vpopmail/doc/doc_html/vpopmailapi.png /home/vpopmail/doc/doc_html/vpopmail5.abw /home/vpopmail/etc/vpopmail.mysql /home/vpopmail/etc/vpopmail.mysql.dist /home/vpopmail/bin/vpopmaild /var/lib/yum/yumdb/v/a0c3b1b30420c55ae62c2e29044b7f6157268fc1-vpopmail-5.4.33-0.qt.el6-x86_64 /var/lib/mysql/vpopmail /var/www/html/rc/plugins/password/drivers/vpopmaild.php /opt/qmailtoaster-util/bin/qt-mysql-secure-vpopmail - Fabe PS excuse my lack of knowledge here but how did you deduce it's looking for that file as it's not referenced in the makefile or in my error output during make all? On 2015-07-08 19:05, Eric Broch wrote: If I do a find of the vpopmail files, find / -name *vpopmail* I get... /usr/bin/qt-mysql-secure-vpopmail /usr/lib64/libvpopmail /usr/lib64/libvpopmail/libvpopmail.a /usr/include/libvpopmail /usr/include/libvpopmail/vpopmail.h /usr/include/libvpopmail/vpopmail_config.h /etc/dovecot/conf.d/auth-vpopmail.conf.ext /etc/libvpopmail /var/lib/mysql/vpopmail /opt/qmailtoaster-util/bin/qt-mysql-secure-vpopmail /home/vpopmail /home/vpopmail/include/vpopmail.h /home/vpopmail/include/vpopmail_config.h /home/vpopmail/etc/vpopmail.mysql.dist /home/vpopmail/etc/vpopmail.mysql /HOME/VPOPMAIL/LIB/LIBVPOPMAIL.A /home/vpopmail/doc/doc_html/vpopmail5.abw /home/vpopmail/doc/doc_html/vpopmailapi.png /home/vpopmail/doc/doc_html/vpopmail.html /home/vpopmail/bin/vpopmaild do you get the same thing? It should link against /HOME/VPOPMAIL/LIB/LIBVPOPMAIL.A EricB. On 7/8/2015 4:32 PM, fsanti...@deviltracks.net wrote: Eric, No dice: [root@mail vqregister-2.5]# make all gcc -o vqregister main.o cgi.o template.o global.o misc.o config.o register.o password.o vpopmail.o db.o field.o badhosts.o -L/home/vpopmail/lib -lvpopmail -lcrypt -L/usr/lib64/mysql -lmysqlclient /usr/bin/ld: cannot find -lvpopmail collect2: ld returned 1 exit status make: *** [vqregister] Error 1 [root@mail vqregister-2.5]# what do you mean by Why do you want a create vqregister with a partial install of vpopmail and not the full install? - Fabe On 2015-07-08 17:32, Eric Broch wrote: Fabe, I just compiled vqregister (make all), with no install or clean, on CentOS6/QMT with the following settings ( minus the '-lz' at the end of the LIBS line, which you had***): begin Makefile VDIR = /home/vpopmail CC = gcc BIN = vqregister DEFS = -I$(VDIR)/include -I/usr/include/mysql LINKDEFS = LIBS = -L$(VDIR)/lib -lvpopmail -lcrypt -L/usr/lib64/mysql -lmysqlclient OBJS = main.o cgi.o template.o global.o misc.o config.o register.o password.o \ vpopmail.o db.o field.o badhosts.o INSTALL_DIR = /usr/local/apache/cgi-bin/vqregister INSTALL_BIN = vqregister.cgi INSTALL_UID = vpopmail INSTALL_GID = vchkpw end Makefile Why do you want a create vqregister with a partial install of vpopmail and not the full install? *** Your LIBS LINE: LIBS = -L$(VDIR)/lib -lvpopmail -lcrypt -L/usr/lib64/mysql -lmysqlclient -lz My LIBS Line: LIBS = -L$(VDIR)/lib -lvpopmail -lcrypt -L/usr/lib64/mysql -lmysqlclient Eric On 7/6/2015 9:22 AM, fsanti...@deviltracks.net wrote: I should add that the reason I ask is I'm trying to make us of vqregister and at compile time I get this error: /usr/bin/ld: cannot find -lvpopmail I installed my QMT using the latest github scripted method. Will vqregister simply not work for me or is there a way to tweak my Makefile to make it work? Makefile attached. Thanks. - Fabe On 2015-07-06 11:09, fsanti...@deviltracks.net wrote: Hello, Is there a way for me to take the vpopmail srpm file and run a modified compilation / install sequence that will simply place the vpopmail include and lib files in the correct locations for me but do nothing else? or a manual way to do this correctly? - Fabe - To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com - To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com
Re: [qmailtoaster] Vpopmail include / lib files
Eric, still doesn't work. i installed the rpm but my a file shows under /usr/lib64. difference in architecture a problem? i am running centos 6.6 64-bit. - Fabe On 2015-07-08 19:20, Eric Broch wrote: Do you have this... http://mirrors.qmailtoaster.com/current/CentOS/6/x86_64/libvpopmail-devel-5.4.33-0.qt.el6.x86_64.rpm [1] installed? On 7/8/2015 4:32 PM, fsanti...@deviltracks.net wrote: Eric, No dice: [root@mail vqregister-2.5]# make all gcc -o vqregister main.o cgi.o template.o global.o misc.o config.o register.o password.o vpopmail.o db.o field.o badhosts.o -L/home/vpopmail/lib -lvpopmail -lcrypt -L/usr/lib64/mysql -lmysqlclient /usr/bin/ld: cannot find -lvpopmail collect2: ld returned 1 exit status make: *** [vqregister] Error 1 [root@mail vqregister-2.5]# what do you mean by Why do you want a create vqregister with a partial install of vpopmail and not the full install? - Fabe On 2015-07-08 17:32, Eric Broch wrote: Fabe, I just compiled vqregister (make all), with no install or clean, on CentOS6/QMT with the following settings ( minus the '-lz' at the end of the LIBS line, which you had***): begin Makefile VDIR = /home/vpopmail CC = gcc BIN = vqregister DEFS = -I$(VDIR)/include -I/usr/include/mysql LINKDEFS = LIBS = -L$(VDIR)/lib -lvpopmail -lcrypt -L/usr/lib64/mysql -lmysqlclient OBJS = main.o cgi.o template.o global.o misc.o config.o register.o password.o \ vpopmail.o db.o field.o badhosts.o INSTALL_DIR = /usr/local/apache/cgi-bin/vqregister INSTALL_BIN = vqregister.cgi INSTALL_UID = vpopmail INSTALL_GID = vchkpw end Makefile Why do you want a create vqregister with a partial install of vpopmail and not the full install? *** Your LIBS LINE: LIBS = -L$(VDIR)/lib -lvpopmail -lcrypt -L/usr/lib64/mysql -lmysqlclient -lz My LIBS Line: LIBS = -L$(VDIR)/lib -lvpopmail -lcrypt -L/usr/lib64/mysql -lmysqlclient Eric On 7/6/2015 9:22 AM, fsanti...@deviltracks.net wrote: I should add that the reason I ask is I'm trying to make us of vqregister and at compile time I get this error: /usr/bin/ld: cannot find -lvpopmail I installed my QMT using the latest github scripted method. Will vqregister simply not work for me or is there a way to tweak my Makefile to make it work? Makefile attached. Thanks. - Fabe On 2015-07-06 11:09, fsanti...@deviltracks.net wrote: Hello, Is there a way for me to take the vpopmail srpm file and run a modified compilation / install sequence that will simply place the vpopmail include and lib files in the correct locations for me but do nothing else? or a manual way to do this correctly? - Fabe - To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com - To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com Links: -- [1] http://mirrors.qmailtoaster.com/current/CentOS/6/x86_64/libvpopmail-devel-5.4.33-0.qt.el6.x86_64.rpm
Re: [qmailtoaster] Vpopmail include / lib files
Is libvpopmail.a in /usr/lib64/libvpopmail ? If so change -L$(VDIR)/lib to -L/usr/lib64/libvpopmail On 7/8/2015 6:01 PM, fsanti...@deviltracks.net wrote: Tried that. no luck. same error. On 2015-07-08 19:51, Eric Broch wrote: I'm running the same architecture. Can you change the LIBS option -L$(VDIR)/lib to -L/usr/lib64/? On 7/8/2015 5:36 PM, fsanti...@deviltracks.net wrote: Eric, still doesn't work. i installed the rpm but my a file shows under /usr/lib64. difference in architecture a problem? i am running centos 6.6 64-bit. - Fabe On 2015-07-08 19:20, Eric Broch wrote: Do you have this... http://mirrors.qmailtoaster.com/current/CentOS/6/x86_64/libvpopmail-devel-5.4.33-0.qt.el6.x86_64.rpm installed? On 7/8/2015 4:32 PM, fsanti...@deviltracks.net wrote: Eric, No dice: [root@mail vqregister-2.5]# make all gcc -o vqregister main.o cgi.o template.o global.o misc.o config.o register.o password.o vpopmail.o db.o field.o badhosts.o -L/home/vpopmail/lib -lvpopmail -lcrypt -L/usr/lib64/mysql -lmysqlclient /usr/bin/ld: cannot find -lvpopmail collect2: ld returned 1 exit status make: *** [vqregister] Error 1 [root@mail vqregister-2.5]# what do you mean by Why do you want a create vqregister with a partial install of vpopmail and not the full install? - Fabe On 2015-07-08 17:32, Eric Broch wrote: Fabe, I just compiled vqregister (make all), with no install or clean, on CentOS6/QMT with the following settings ( minus the '-lz' at the end of the LIBS line, which you had***): begin Makefile VDIR = /home/vpopmail CC = gcc BIN = vqregister DEFS = -I$(VDIR)/include -I/usr/include/mysql LINKDEFS = LIBS = -L$(VDIR)/lib -lvpopmail -lcrypt -L/usr/lib64/mysql -lmysqlclient OBJS = main.o cgi.o template.o global.o misc.o config.o register.o password.o \ vpopmail.o db.o field.o badhosts.o INSTALL_DIR = /usr/local/apache/cgi-bin/vqregister INSTALL_BIN = vqregister.cgi INSTALL_UID = vpopmail INSTALL_GID = vchkpw end Makefile Why do you want a create vqregister with a partial install of vpopmail and not the full install? *** Your LIBS LINE: LIBS = -L$(VDIR)/lib -lvpopmail -lcrypt -L/usr/lib64/mysql -lmysqlclient -lz My LIBS Line: LIBS = -L$(VDIR)/lib -lvpopmail -lcrypt -L/usr/lib64/mysql -lmysqlclient Eric On 7/6/2015 9:22 AM, fsanti...@deviltracks.net wrote: I should add that the reason I ask is I'm trying to make us of vqregister and at compile time I get this error: /usr/bin/ld: cannot find -lvpopmail I installed my QMT using the latest github scripted method. Will vqregister simply not work for me or is there a way to tweak my Makefile to make it work? Makefile attached. Thanks. - Fabe On 2015-07-06 11:09, fsanti...@deviltracks.net wrote: Hello, Is there a way for me to take the vpopmail srpm file and run a modified compilation / install sequence that will simply place the vpopmail include and lib files in the correct locations for me but do nothing else? or a manual way to do this correctly? - Fabe - To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com - To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com
Re: [qmailtoaster] Vpopmail include / lib files
Fabe, What is even stranger is that your install seems correct and mine seems incorrect according to the output of the following two rpm listings... # rpm -q --list libvpopmail-devel # rpm -q --list vpopmail Now I have no idea why /home/vpopmail/lib exists on my two toasters. According to the output (from the above commands) it was put their by neither rpm, vpopmail nor libvpopmail-devel . EricB On 7/8/2015 6:21 PM, fsanti...@deviltracks.net wrote: I agree. i followed the instructions for a COS 6.x install with the github scripted installation. so i have no clue.. strange. - Fabe On 2015-07-08 20:17, Eric Broch wrote: Your install seems strange to me at this point as both my CentOS 5 and 6 (x86_64) installs have /home/vpopmail/lib/libvpopmail.a on the disk. On 7/8/2015 6:01 PM, fsanti...@deviltracks.net wrote: Tried that. no luck. same error. On 2015-07-08 19:51, Eric Broch wrote: I'm running the same architecture. Can you change the LIBS option -L$(VDIR)/lib to -L/usr/lib64/? On 7/8/2015 5:36 PM, fsanti...@deviltracks.net wrote: Eric, still doesn't work. i installed the rpm but my a file shows under /usr/lib64. difference in architecture a problem? i am running centos 6.6 64-bit. - Fabe On 2015-07-08 19:20, Eric Broch wrote: Do you have this... http://mirrors.qmailtoaster.com/current/CentOS/6/x86_64/libvpopmail-devel-5.4.33-0.qt.el6.x86_64.rpm installed? On 7/8/2015 4:32 PM, fsanti...@deviltracks.net wrote: Eric, No dice: [root@mail vqregister-2.5]# make all gcc -o vqregister main.o cgi.o template.o global.o misc.o config.o register.o password.o vpopmail.o db.o field.o badhosts.o -L/home/vpopmail/lib -lvpopmail -lcrypt -L/usr/lib64/mysql -lmysqlclient /usr/bin/ld: cannot find -lvpopmail collect2: ld returned 1 exit status make: *** [vqregister] Error 1 [root@mail vqregister-2.5]# what do you mean by Why do you want a create vqregister with a partial install of vpopmail and not the full install? - Fabe On 2015-07-08 17:32, Eric Broch wrote: Fabe, I just compiled vqregister (make all), with no install or clean, on CentOS6/QMT with the following settings ( minus the '-lz' at the end of the LIBS line, which you had***): begin Makefile VDIR = /home/vpopmail CC = gcc BIN = vqregister DEFS = -I$(VDIR)/include -I/usr/include/mysql LINKDEFS = LIBS = -L$(VDIR)/lib -lvpopmail -lcrypt -L/usr/lib64/mysql -lmysqlclient OBJS = main.o cgi.o template.o global.o misc.o config.o register.o password.o \ vpopmail.o db.o field.o badhosts.o INSTALL_DIR = /usr/local/apache/cgi-bin/vqregister INSTALL_BIN = vqregister.cgi INSTALL_UID = vpopmail INSTALL_GID = vchkpw end Makefile Why do you want a create vqregister with a partial install of vpopmail and not the full install? *** Your LIBS LINE: LIBS = -L$(VDIR)/lib -lvpopmail -lcrypt -L/usr/lib64/mysql -lmysqlclient -lz My LIBS Line: LIBS = -L$(VDIR)/lib -lvpopmail -lcrypt -L/usr/lib64/mysql -lmysqlclient Eric On 7/6/2015 9:22 AM, fsanti...@deviltracks.net wrote: I should add that the reason I ask is I'm trying to make us of vqregister and at compile time I get this error: /usr/bin/ld: cannot find -lvpopmail I installed my QMT using the latest github scripted method. Will vqregister simply not work for me or is there a way to tweak my Makefile to make it work? Makefile attached. Thanks. - Fabe On 2015-07-06 11:09, fsanti...@deviltracks.net wrote: Hello, Is
Re: [qmailtoaster] Vpopmail include / lib files
On 7/8/2015 4:32 PM, fsanti...@deviltracks.net wrote: Is there a way for me to take the vpopmail srpm file and run a modified compilation / install sequence that will simply place the vpopmail include and lib files in the correct locations for me but do nothing else? or a manual way to do this correctly? From the above email^^ - To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com
Re: [qmailtoaster] Vpopmail include / lib files
Your install seems strange to me at this point as both my CentOS 5 and 6 (x86_64) installs have /home/vpopmail/lib/libvpopmail.a on the disk. On 7/8/2015 6:01 PM, fsanti...@deviltracks.net wrote: Tried that. no luck. same error. On 2015-07-08 19:51, Eric Broch wrote: I'm running the same architecture. Can you change the LIBS option -L$(VDIR)/lib to -L/usr/lib64/? On 7/8/2015 5:36 PM, fsanti...@deviltracks.net wrote: Eric, still doesn't work. i installed the rpm but my a file shows under /usr/lib64. difference in architecture a problem? i am running centos 6.6 64-bit. - Fabe On 2015-07-08 19:20, Eric Broch wrote: Do you have this... http://mirrors.qmailtoaster.com/current/CentOS/6/x86_64/libvpopmail-devel-5.4.33-0.qt.el6.x86_64.rpm installed? On 7/8/2015 4:32 PM, fsanti...@deviltracks.net wrote: Eric, No dice: [root@mail vqregister-2.5]# make all gcc -o vqregister main.o cgi.o template.o global.o misc.o config.o register.o password.o vpopmail.o db.o field.o badhosts.o -L/home/vpopmail/lib -lvpopmail -lcrypt -L/usr/lib64/mysql -lmysqlclient /usr/bin/ld: cannot find -lvpopmail collect2: ld returned 1 exit status make: *** [vqregister] Error 1 [root@mail vqregister-2.5]# what do you mean by Why do you want a create vqregister with a partial install of vpopmail and not the full install? - Fabe On 2015-07-08 17:32, Eric Broch wrote: Fabe, I just compiled vqregister (make all), with no install or clean, on CentOS6/QMT with the following settings ( minus the '-lz' at the end of the LIBS line, which you had***): begin Makefile VDIR = /home/vpopmail CC = gcc BIN = vqregister DEFS = -I$(VDIR)/include -I/usr/include/mysql LINKDEFS = LIBS = -L$(VDIR)/lib -lvpopmail -lcrypt -L/usr/lib64/mysql -lmysqlclient OBJS = main.o cgi.o template.o global.o misc.o config.o register.o password.o \ vpopmail.o db.o field.o badhosts.o INSTALL_DIR = /usr/local/apache/cgi-bin/vqregister INSTALL_BIN = vqregister.cgi INSTALL_UID = vpopmail INSTALL_GID = vchkpw end Makefile Why do you want a create vqregister with a partial install of vpopmail and not the full install? *** Your LIBS LINE: LIBS = -L$(VDIR)/lib -lvpopmail -lcrypt -L/usr/lib64/mysql -lmysqlclient -lz My LIBS Line: LIBS = -L$(VDIR)/lib -lvpopmail -lcrypt -L/usr/lib64/mysql -lmysqlclient Eric On 7/6/2015 9:22 AM, fsanti...@deviltracks.net wrote: I should add that the reason I ask is I'm trying to make us of vqregister and at compile time I get this error: /usr/bin/ld: cannot find -lvpopmail I installed my QMT using the latest github scripted method. Will vqregister simply not work for me or is there a way to tweak my Makefile to make it work? Makefile attached. Thanks. - Fabe On 2015-07-06 11:09, fsanti...@deviltracks.net wrote: Hello, Is there a way for me to take the vpopmail srpm file and run a modified compilation / install sequence that will simply place the vpopmail include and lib files in the correct locations for me but do nothing else? or a manual way to do this correctly? - Fabe - To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com - To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com
Re: [qmailtoaster] Vpopmail include / lib files
that did it. thanks for the help and lessons learned. - Fabe now to try it out. On 2015-07-08 20:13, Eric Broch wrote: Is libvpopmail.a in /usr/lib64/libvpopmail ? If so change -L$(VDIR)/lib to -L/usr/lib64/libvpopmail On 7/8/2015 6:01 PM, fsanti...@deviltracks.net wrote: Tried that. no luck. same error. On 2015-07-08 19:51, Eric Broch wrote: I'm running the same architecture. Can you change the LIBS option -L$(VDIR)/lib to -L/usr/lib64/? On 7/8/2015 5:36 PM, fsanti...@deviltracks.net wrote: Eric, still doesn't work. i installed the rpm but my a file shows under /usr/lib64. difference in architecture a problem? i am running centos 6.6 64-bit. - Fabe On 2015-07-08 19:20, Eric Broch wrote: Do you have this... http://mirrors.qmailtoaster.com/current/CentOS/6/x86_64/libvpopmail-devel-5.4.33-0.qt.el6.x86_64.rpm [1] installed? On 7/8/2015 4:32 PM, fsanti...@deviltracks.net wrote: Eric, No dice: [root@mail vqregister-2.5]# make all gcc -o vqregister main.o cgi.o template.o global.o misc.o config.o register.o password.o vpopmail.o db.o field.o badhosts.o -L/home/vpopmail/lib -lvpopmail -lcrypt -L/usr/lib64/mysql -lmysqlclient /usr/bin/ld: cannot find -lvpopmail collect2: ld returned 1 exit status make: *** [vqregister] Error 1 [root@mail vqregister-2.5]# what do you mean by Why do you want a create vqregister with a partial install of vpopmail and not the full install? - Fabe On 2015-07-08 17:32, Eric Broch wrote: Fabe, I just compiled vqregister (make all), with no install or clean, on CentOS6/QMT with the following settings ( minus the '-lz' at the end of the LIBS line, which you had***): begin Makefile VDIR = /home/vpopmail CC = gcc BIN = vqregister DEFS = -I$(VDIR)/include -I/usr/include/mysql LINKDEFS = LIBS = -L$(VDIR)/lib -lvpopmail -lcrypt -L/usr/lib64/mysql -lmysqlclient OBJS = main.o cgi.o template.o global.o misc.o config.o register.o password.o \ vpopmail.o db.o field.o badhosts.o INSTALL_DIR = /usr/local/apache/cgi-bin/vqregister INSTALL_BIN = vqregister.cgi INSTALL_UID = vpopmail INSTALL_GID = vchkpw end Makefile Why do you want a create vqregister with a partial install of vpopmail and not the full install? *** Your LIBS LINE: LIBS = -L$(VDIR)/lib -lvpopmail -lcrypt -L/usr/lib64/mysql -lmysqlclient -lz My LIBS Line: LIBS = -L$(VDIR)/lib -lvpopmail -lcrypt -L/usr/lib64/mysql -lmysqlclient Eric On 7/6/2015 9:22 AM, fsanti...@deviltracks.net wrote: I should add that the reason I ask is I'm trying to make us of vqregister and at compile time I get this error: /usr/bin/ld: cannot find -lvpopmail I installed my QMT using the latest github scripted method. Will vqregister simply not work for me or is there a way to tweak my Makefile to make it work? Makefile attached. Thanks. - Fabe On 2015-07-06 11:09, fsanti...@deviltracks.net wrote: Hello, Is there a way for me to take the vpopmail srpm file and run a modified compilation / install sequence that will simply place the vpopmail include and lib files in the correct locations for me but do nothing else? or a manual way to do this correctly? - Fabe - To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com - To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com Links: -- [1] http://mirrors.qmailtoaster.com/current/CentOS/6/x86_64/libvpopmail-devel-5.4.33-0.qt.el6.x86_64.rpm
Re: [qmailtoaster] Vpopmail include / lib files
Eric, No dice: [root@mail vqregister-2.5]# make all gcc -o vqregister main.o cgi.o template.o global.o misc.o config.o register.o password.o vpopmail.o db.o field.o badhosts.o -L/home/vpopmail/lib -lvpopmail -lcrypt -L/usr/lib64/mysql -lmysqlclient /usr/bin/ld: cannot find -lvpopmail collect2: ld returned 1 exit status make: *** [vqregister] Error 1 [root@mail vqregister-2.5]# what do you mean by Why do you want a create vqregister with a partial install of vpopmail and not the full install? - Fabe On 2015-07-08 17:32, Eric Broch wrote: Fabe, I just compiled vqregister (make all), with no install or clean, on CentOS6/QMT with the following settings ( minus the '-lz' at the end of the LIBS line, which you had***): begin Makefile VDIR = /home/vpopmail CC = gcc BIN = vqregister DEFS = -I$(VDIR)/include -I/usr/include/mysql LINKDEFS = LIBS = -L$(VDIR)/lib -lvpopmail -lcrypt -L/usr/lib64/mysql -lmysqlclient OBJS = main.o cgi.o template.o global.o misc.o config.o register.o password.o \ vpopmail.o db.o field.o badhosts.o INSTALL_DIR = /usr/local/apache/cgi-bin/vqregister INSTALL_BIN = vqregister.cgi INSTALL_UID = vpopmail INSTALL_GID = vchkpw end Makefile Why do you want a create vqregister with a partial install of vpopmail and not the full install? *** Your LIBS LINE: LIBS = -L$(VDIR)/lib -lvpopmail -lcrypt -L/usr/lib64/mysql -lmysqlclient -lz My LIBS Line: LIBS = -L$(VDIR)/lib -lvpopmail -lcrypt -L/usr/lib64/mysql -lmysqlclient Eric On 7/6/2015 9:22 AM, fsanti...@deviltracks.net wrote: I should add that the reason I ask is I'm trying to make us of vqregister and at compile time I get this error: /usr/bin/ld: cannot find -lvpopmail I installed my QMT using the latest github scripted method. Will vqregister simply not work for me or is there a way to tweak my Makefile to make it work? Makefile attached. Thanks. - Fabe On 2015-07-06 11:09, fsanti...@deviltracks.net wrote: Hello, Is there a way for me to take the vpopmail srpm file and run a modified compilation / install sequence that will simply place the vpopmail include and lib files in the correct locations for me but do nothing else? or a manual way to do this correctly? - Fabe - To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com - To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com
Re: [qmailtoaster] Vpopmail include / lib files
If I do a find of the vpopmail files, find / -name *vpopmail* I get... /usr/bin/qt-mysql-secure-vpopmail /usr/lib64/libvpopmail /usr/lib64/libvpopmail/libvpopmail.a /usr/include/libvpopmail /usr/include/libvpopmail/vpopmail.h /usr/include/libvpopmail/vpopmail_config.h /etc/dovecot/conf.d/auth-vpopmail.conf.ext /etc/libvpopmail /var/lib/mysql/vpopmail /opt/qmailtoaster-util/bin/qt-mysql-secure-vpopmail /home/vpopmail /home/vpopmail/include/vpopmail.h /home/vpopmail/include/vpopmail_config.h /home/vpopmail/etc/vpopmail.mysql.dist /home/vpopmail/etc/vpopmail.mysql _*/home/vpopmail/lib/libvpopmail.a*_ /home/vpopmail/doc/doc_html/vpopmail5.abw /home/vpopmail/doc/doc_html/vpopmailapi.png /home/vpopmail/doc/doc_html/vpopmail.html /home/vpopmail/bin/vpopmaild do you get the same thing? It should link against _*/home/vpopmail/lib/libvpopmail.a*_ EricB. On 7/8/2015 4:32 PM, fsanti...@deviltracks.net wrote: Eric, No dice: [root@mail vqregister-2.5]# make all gcc -o vqregister main.o cgi.o template.o global.o misc.o config.o register.o password.o vpopmail.o db.o field.o badhosts.o -L/home/vpopmail/lib -lvpopmail -lcrypt -L/usr/lib64/mysql -lmysqlclient /usr/bin/ld: cannot find -lvpopmail collect2: ld returned 1 exit status make: *** [vqregister] Error 1 [root@mail vqregister-2.5]# what do you mean by Why do you want a create vqregister with a partial install of vpopmail and not the full install? - Fabe On 2015-07-08 17:32, Eric Broch wrote: Fabe, I just compiled vqregister (make all), with no install or clean, on CentOS6/QMT with the following settings ( minus the '-lz' at the end of the LIBS line, which you had***): begin Makefile VDIR = /home/vpopmail CC = gcc BIN = vqregister DEFS = -I$(VDIR)/include -I/usr/include/mysql LINKDEFS = LIBS = -L$(VDIR)/lib -lvpopmail -lcrypt -L/usr/lib64/mysql -lmysqlclient OBJS = main.o cgi.o template.o global.o misc.o config.o register.o password.o \ vpopmail.o db.o field.o badhosts.o INSTALL_DIR = /usr/local/apache/cgi-bin/vqregister INSTALL_BIN = vqregister.cgi INSTALL_UID = vpopmail INSTALL_GID = vchkpw end Makefile Why do you want a create vqregister with a partial install of vpopmail and not the full install? *** Your LIBS LINE: LIBS = -L$(VDIR)/lib -lvpopmail -lcrypt -L/usr/lib64/mysql -lmysqlclient -lz My LIBS Line: LIBS = -L$(VDIR)/lib -lvpopmail -lcrypt -L/usr/lib64/mysql -lmysqlclient Eric On 7/6/2015 9:22 AM, fsanti...@deviltracks.net wrote: I should add that the reason I ask is I'm trying to make us of vqregister and at compile time I get this error: /usr/bin/ld: cannot find -lvpopmail I installed my QMT using the latest github scripted method. Will vqregister simply not work for me or is there a way to tweak my Makefile to make it work? Makefile attached. Thanks. - Fabe On 2015-07-06 11:09, fsanti...@deviltracks.net wrote: Hello, Is there a way for me to take the vpopmail srpm file and run a modified compilation / install sequence that will simply place the vpopmail include and lib files in the correct locations for me but do nothing else? or a manual way to do this correctly? - Fabe - To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com - To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com
Re: [qmailtoaster] Vpopmail include / lib files
I agree. i followed the instructions for a COS 6.x install with the github scripted installation. so i have no clue.. strange. - Fabe On 2015-07-08 20:17, Eric Broch wrote: Your install seems strange to me at this point as both my CentOS 5 and 6 (x86_64) installs have /home/vpopmail/lib/libvpopmail.a on the disk. On 7/8/2015 6:01 PM, fsanti...@deviltracks.net wrote: Tried that. no luck. same error. On 2015-07-08 19:51, Eric Broch wrote: I'm running the same architecture. Can you change the LIBS option -L$(VDIR)/lib to -L/usr/lib64/? On 7/8/2015 5:36 PM, fsanti...@deviltracks.net wrote: Eric, still doesn't work. i installed the rpm but my a file shows under /usr/lib64. difference in architecture a problem? i am running centos 6.6 64-bit. - Fabe On 2015-07-08 19:20, Eric Broch wrote: Do you have this... http://mirrors.qmailtoaster.com/current/CentOS/6/x86_64/libvpopmail-devel-5.4.33-0.qt.el6.x86_64.rpm [1] installed? On 7/8/2015 4:32 PM, fsanti...@deviltracks.net wrote: Eric, No dice: [root@mail vqregister-2.5]# make all gcc -o vqregister main.o cgi.o template.o global.o misc.o config.o register.o password.o vpopmail.o db.o field.o badhosts.o -L/home/vpopmail/lib -lvpopmail -lcrypt -L/usr/lib64/mysql -lmysqlclient /usr/bin/ld: cannot find -lvpopmail collect2: ld returned 1 exit status make: *** [vqregister] Error 1 [root@mail vqregister-2.5]# what do you mean by Why do you want a create vqregister with a partial install of vpopmail and not the full install? - Fabe On 2015-07-08 17:32, Eric Broch wrote: Fabe, I just compiled vqregister (make all), with no install or clean, on CentOS6/QMT with the following settings ( minus the '-lz' at the end of the LIBS line, which you had***): begin Makefile VDIR = /home/vpopmail CC = gcc BIN = vqregister DEFS = -I$(VDIR)/include -I/usr/include/mysql LINKDEFS = LIBS = -L$(VDIR)/lib -lvpopmail -lcrypt -L/usr/lib64/mysql -lmysqlclient OBJS = main.o cgi.o template.o global.o misc.o config.o register.o password.o \ vpopmail.o db.o field.o badhosts.o INSTALL_DIR = /usr/local/apache/cgi-bin/vqregister INSTALL_BIN = vqregister.cgi INSTALL_UID = vpopmail INSTALL_GID = vchkpw end Makefile Why do you want a create vqregister with a partial install of vpopmail and not the full install? *** Your LIBS LINE: LIBS = -L$(VDIR)/lib -lvpopmail -lcrypt -L/usr/lib64/mysql -lmysqlclient -lz My LIBS Line: LIBS = -L$(VDIR)/lib -lvpopmail -lcrypt -L/usr/lib64/mysql -lmysqlclient Eric On 7/6/2015 9:22 AM, fsanti...@deviltracks.net wrote: I should add that the reason I ask is I'm trying to make us of vqregister and at compile time I get this error: /usr/bin/ld: cannot find -lvpopmail I installed my QMT using the latest github scripted method. Will vqregister simply not work for me or is there a way to tweak my Makefile to make it work? Makefile attached. Thanks. - Fabe On 2015-07-06 11:09, fsanti...@deviltracks.net wrote: Hello, Is there a way for me to take the vpopmail srpm file and run a modified compilation / install sequence that will simply place the vpopmail include and lib files in the correct locations for me but do nothing else? or a manual way to do this correctly? - Fabe - To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com - To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com Links: -- [1] http://mirrors.qmailtoaster.com/current/CentOS/6/x86_64/libvpopmail-devel-5.4.33-0.qt.el6.x86_64.rpm
Re: [qmailtoaster] Vpopmail include / lib files
Tried that. no luck. same error. On 2015-07-08 19:51, Eric Broch wrote: I'm running the same architecture. Can you change the LIBS option -L$(VDIR)/lib to -L/usr/lib64/? On 7/8/2015 5:36 PM, fsanti...@deviltracks.net wrote: Eric, still doesn't work. i installed the rpm but my a file shows under /usr/lib64. difference in architecture a problem? i am running centos 6.6 64-bit. - Fabe On 2015-07-08 19:20, Eric Broch wrote: Do you have this... http://mirrors.qmailtoaster.com/current/CentOS/6/x86_64/libvpopmail-devel-5.4.33-0.qt.el6.x86_64.rpm [1] installed? On 7/8/2015 4:32 PM, fsanti...@deviltracks.net wrote: Eric, No dice: [root@mail vqregister-2.5]# make all gcc -o vqregister main.o cgi.o template.o global.o misc.o config.o register.o password.o vpopmail.o db.o field.o badhosts.o -L/home/vpopmail/lib -lvpopmail -lcrypt -L/usr/lib64/mysql -lmysqlclient /usr/bin/ld: cannot find -lvpopmail collect2: ld returned 1 exit status make: *** [vqregister] Error 1 [root@mail vqregister-2.5]# what do you mean by Why do you want a create vqregister with a partial install of vpopmail and not the full install? - Fabe On 2015-07-08 17:32, Eric Broch wrote: Fabe, I just compiled vqregister (make all), with no install or clean, on CentOS6/QMT with the following settings ( minus the '-lz' at the end of the LIBS line, which you had***): begin Makefile VDIR = /home/vpopmail CC = gcc BIN = vqregister DEFS = -I$(VDIR)/include -I/usr/include/mysql LINKDEFS = LIBS = -L$(VDIR)/lib -lvpopmail -lcrypt -L/usr/lib64/mysql -lmysqlclient OBJS = main.o cgi.o template.o global.o misc.o config.o register.o password.o \ vpopmail.o db.o field.o badhosts.o INSTALL_DIR = /usr/local/apache/cgi-bin/vqregister INSTALL_BIN = vqregister.cgi INSTALL_UID = vpopmail INSTALL_GID = vchkpw end Makefile Why do you want a create vqregister with a partial install of vpopmail and not the full install? *** Your LIBS LINE: LIBS = -L$(VDIR)/lib -lvpopmail -lcrypt -L/usr/lib64/mysql -lmysqlclient -lz My LIBS Line: LIBS = -L$(VDIR)/lib -lvpopmail -lcrypt -L/usr/lib64/mysql -lmysqlclient Eric On 7/6/2015 9:22 AM, fsanti...@deviltracks.net wrote: I should add that the reason I ask is I'm trying to make us of vqregister and at compile time I get this error: /usr/bin/ld: cannot find -lvpopmail I installed my QMT using the latest github scripted method. Will vqregister simply not work for me or is there a way to tweak my Makefile to make it work? Makefile attached. Thanks. - Fabe On 2015-07-06 11:09, fsanti...@deviltracks.net wrote: Hello, Is there a way for me to take the vpopmail srpm file and run a modified compilation / install sequence that will simply place the vpopmail include and lib files in the correct locations for me but do nothing else? or a manual way to do this correctly? - Fabe - To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com - To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com Links: -- [1] http://mirrors.qmailtoaster.com/current/CentOS/6/x86_64/libvpopmail-devel-5.4.33-0.qt.el6.x86_64.rpm
Re: [qmailtoaster] [vqadmin rpmbuild error]
Hi, Eric Thank you for your advice. I did not know the qt.src version. As you know that I checked spec file then there is no cnt6064 route. So, I tried cnt5064 by the way. This was easy way, I just change the Buildrequire... etc. Anyway I will try to use qt.src.rpm Other SRPMS has many modified for Japanese. Oh...Dear! Thank you so much. Nori Noriyuki, 1) Why are you creating source and binary on CentOS 6 with the --with cnt5064 (CentOS 5) option? 2) Why are you creating CentOS 6 source and binary with a CentOS 5 spec file? 3) You can also get rid of the --target x86_64 option if you're already on an x86_64 architecture, right? For CentOS 6 you need this RPM that has been tailored for it by Eric Shubert: http://mirrors.qmailtoaster.com/current/SRPMS/vqadmin-2.3.7-0.qt.src.rpm Build it with this option: rpmbuild --rebuild --define dist .qt.el6 vqadmin-2.3.7-0.qt.src.rpm Eric On 7/8/2015 8:16 AM, Noriyuki Hayashi wrote: Hi Environment CentOS-6.6 x86_64 I tried rpmbuild as follow. rpmbuild -ba --sign --with cnt5064 --target x86_64 --define dist .cs6 vqadmin-toaster-2.3.7-1.4.1.spec spec file is original. Then happen this error... checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes /home/wats/centos/BUILD/vqadmin-2.3.7/missing: Unknown `--run' option Try `/home/wats/centos/BUILD/vqadmin-2.3.7/missing --help' for more information configure: WARNING: `missing' script is too old or missing checking for gawk... gawk checking whether make sets $(MAKE)... yes checking build system type... Invalid configuration `x86_64-redhat-linux-gnu': machine `x86_64-redhat-linux' not recognized configure: error: /bin/sh ./config.sub x86_64-redhat-linux-gnu failed error: Bad exit status from /var/tmp/rpm-tmp.5rFN0P (%build) Would you please advice or hints ? Thank you so much. Nori(WATS) /_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ WATS CO.,LTD. /_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ - To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com - To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com -- NoriyukiHayashinhaya...@wats.gr.jp ibisMailで送信! - To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com
Re: [qmailtoaster] Vpopmail include / lib files
Oh, i just meant that i thought maybe since it wouldn't compile, that i was missing some files on my server that would be present had i compiled/installed vpopmail from source rather than using the github rpm package of it. could that be the case? - Fabe PS when you say why not the full install, is there a better way to do it rather than using the github QMT rpm's? On 2015-07-08 18:54, Eric Broch wrote: On 7/8/2015 4:32 PM, fsanti...@deviltracks.net wrote: Is there a way for me to take the vpopmail srpm file and run a modified compilation / install sequence that will simply place the vpopmail include and lib files in the correct locations for me but do nothing else? or a manual way to do this correctly? From the above email^^ - To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com - To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com
Re: [qmailtoaster] Vpopmail include / lib files
eric, no i don't. i bet that's the missing link here isn't it? let me try.. On 2015-07-08 19:20, Eric Broch wrote: Do you have this... http://mirrors.qmailtoaster.com/current/CentOS/6/x86_64/libvpopmail-devel-5.4.33-0.qt.el6.x86_64.rpm [1] installed? On 7/8/2015 4:32 PM, fsanti...@deviltracks.net wrote: Eric, No dice: [root@mail vqregister-2.5]# make all gcc -o vqregister main.o cgi.o template.o global.o misc.o config.o register.o password.o vpopmail.o db.o field.o badhosts.o -L/home/vpopmail/lib -lvpopmail -lcrypt -L/usr/lib64/mysql -lmysqlclient /usr/bin/ld: cannot find -lvpopmail collect2: ld returned 1 exit status make: *** [vqregister] Error 1 [root@mail vqregister-2.5]# what do you mean by Why do you want a create vqregister with a partial install of vpopmail and not the full install? - Fabe On 2015-07-08 17:32, Eric Broch wrote: Fabe, I just compiled vqregister (make all), with no install or clean, on CentOS6/QMT with the following settings ( minus the '-lz' at the end of the LIBS line, which you had***): begin Makefile VDIR = /home/vpopmail CC = gcc BIN = vqregister DEFS = -I$(VDIR)/include -I/usr/include/mysql LINKDEFS = LIBS = -L$(VDIR)/lib -lvpopmail -lcrypt -L/usr/lib64/mysql -lmysqlclient OBJS = main.o cgi.o template.o global.o misc.o config.o register.o password.o \ vpopmail.o db.o field.o badhosts.o INSTALL_DIR = /usr/local/apache/cgi-bin/vqregister INSTALL_BIN = vqregister.cgi INSTALL_UID = vpopmail INSTALL_GID = vchkpw end Makefile Why do you want a create vqregister with a partial install of vpopmail and not the full install? *** Your LIBS LINE: LIBS = -L$(VDIR)/lib -lvpopmail -lcrypt -L/usr/lib64/mysql -lmysqlclient -lz My LIBS Line: LIBS = -L$(VDIR)/lib -lvpopmail -lcrypt -L/usr/lib64/mysql -lmysqlclient Eric On 7/6/2015 9:22 AM, fsanti...@deviltracks.net wrote: I should add that the reason I ask is I'm trying to make us of vqregister and at compile time I get this error: /usr/bin/ld: cannot find -lvpopmail I installed my QMT using the latest github scripted method. Will vqregister simply not work for me or is there a way to tweak my Makefile to make it work? Makefile attached. Thanks. - Fabe On 2015-07-06 11:09, fsanti...@deviltracks.net wrote: Hello, Is there a way for me to take the vpopmail srpm file and run a modified compilation / install sequence that will simply place the vpopmail include and lib files in the correct locations for me but do nothing else? or a manual way to do this correctly? - Fabe - To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com - To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com Links: -- [1] http://mirrors.qmailtoaster.com/current/CentOS/6/x86_64/libvpopmail-devel-5.4.33-0.qt.el6.x86_64.rpm
Re: [qmailtoaster] Vpopmail include / lib files
I'm running the same architecture. Can you change the LIBS option -L$(VDIR)/lib to -L/usr/lib64/? On 7/8/2015 5:36 PM, fsanti...@deviltracks.net wrote: Eric, still doesn't work. i installed the rpm but my a file shows under /usr/lib64. difference in architecture a problem? i am running centos 6.6 64-bit. - Fabe On 2015-07-08 19:20, Eric Broch wrote: Do you have this... http://mirrors.qmailtoaster.com/current/CentOS/6/x86_64/libvpopmail-devel-5.4.33-0.qt.el6.x86_64.rpm installed? On 7/8/2015 4:32 PM, fsanti...@deviltracks.net wrote: Eric, No dice: [root@mail vqregister-2.5]# make all gcc -o vqregister main.o cgi.o template.o global.o misc.o config.o register.o password.o vpopmail.o db.o field.o badhosts.o -L/home/vpopmail/lib -lvpopmail -lcrypt -L/usr/lib64/mysql -lmysqlclient /usr/bin/ld: cannot find -lvpopmail collect2: ld returned 1 exit status make: *** [vqregister] Error 1 [root@mail vqregister-2.5]# what do you mean by Why do you want a create vqregister with a partial install of vpopmail and not the full install? - Fabe On 2015-07-08 17:32, Eric Broch wrote: Fabe, I just compiled vqregister (make all), with no install or clean, on CentOS6/QMT with the following settings ( minus the '-lz' at the end of the LIBS line, which you had***): begin Makefile VDIR = /home/vpopmail CC = gcc BIN = vqregister DEFS = -I$(VDIR)/include -I/usr/include/mysql LINKDEFS = LIBS = -L$(VDIR)/lib -lvpopmail -lcrypt -L/usr/lib64/mysql -lmysqlclient OBJS = main.o cgi.o template.o global.o misc.o config.o register.o password.o \ vpopmail.o db.o field.o badhosts.o INSTALL_DIR = /usr/local/apache/cgi-bin/vqregister INSTALL_BIN = vqregister.cgi INSTALL_UID = vpopmail INSTALL_GID = vchkpw end Makefile Why do you want a create vqregister with a partial install of vpopmail and not the full install? *** Your LIBS LINE: LIBS = -L$(VDIR)/lib -lvpopmail -lcrypt -L/usr/lib64/mysql -lmysqlclient -lz My LIBS Line: LIBS = -L$(VDIR)/lib -lvpopmail -lcrypt -L/usr/lib64/mysql -lmysqlclient Eric On 7/6/2015 9:22 AM, fsanti...@deviltracks.net wrote: I should add that the reason I ask is I'm trying to make us of vqregister and at compile time I get this error: /usr/bin/ld: cannot find -lvpopmail I installed my QMT using the latest github scripted method. Will vqregister simply not work for me or is there a way to tweak my Makefile to make it work? Makefile attached. Thanks. - Fabe On 2015-07-06 11:09, fsanti...@deviltracks.net wrote: Hello, Is there a way for me to take the vpopmail srpm file and run a modified compilation / install sequence that will simply place the vpopmail include and lib files in the correct locations for me but do nothing else? or a manual way to do this correctly? - Fabe - To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com - To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com
Re: [qmailtoaster] [vqadmin rpmbuild error]
Noriyuki, I hope everything works out for you. EricB. On 7/8/2015 6:49 PM, NoriyukiHayashi wrote: Hi, Eric Thank you for your advice. I did not know the qt.src version. As you know that I checked spec file then there is no cnt6064 route. So, I tried cnt5064 by the way. This was easy way, I just change the Buildrequire... etc. Anyway I will try to use qt.src.rpm Other SRPMS has many modified for Japanese. Oh...Dear! Thank you so much. Nori Noriyuki, 1) Why are you creating source and binary on CentOS 6 with the --with cnt5064 (CentOS 5) option? 2) Why are you creating CentOS 6 source and binary with a CentOS 5 spec file? 3) You can also get rid of the --target x86_64 option if you're already on an x86_64 architecture, right? For CentOS 6 you need this RPM that has been tailored for it by Eric Shubert: http://mirrors.qmailtoaster.com/current/SRPMS/vqadmin-2.3.7-0.qt.src.rpm Build it with this option: rpmbuild --rebuild --define dist .qt.el6 vqadmin-2.3.7-0.qt.src.rpm Eric On 7/8/2015 8:16 AM, Noriyuki Hayashi wrote: Hi Environment CentOS-6.6 x86_64 I tried rpmbuild as follow. rpmbuild -ba --sign --with cnt5064 --target x86_64 --define dist .cs6 vqadmin-toaster-2.3.7-1.4.1.spec spec file is original. Then happen this error... checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes /home/wats/centos/BUILD/vqadmin-2.3.7/missing: Unknown `--run' option Try `/home/wats/centos/BUILD/vqadmin-2.3.7/missing --help' for more information configure: WARNING: `missing' script is too old or missing checking for gawk... gawk checking whether make sets $(MAKE)... yes checking build system type... Invalid configuration `x86_64-redhat-linux-gnu': machine `x86_64-redhat-linux' not recognized configure: error: /bin/sh ./config.sub x86_64-redhat-linux-gnu failed error: Bad exit status from /var/tmp/rpm-tmp.5rFN0P (%build) Would you please advice or hints ? Thank you so much. Nori(WATS) /_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ WATS CO.,LTD. /_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ - To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com - To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com -- NoriyukiHayashinhaya...@wats.gr.jp ibisMailで送信! - To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com - To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com