[qmailtoaster] QMT Install on CentOS 6 firewall ssh and httpd bug

2015-07-08 Thread Edwin C
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

Re: [qmailtoaster] Messages in local queue: 764

2015-07-08 Thread Eric Broch
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]:

Re: [qmailtoaster] [vqadmin rpmbuild error]

2015-07-08 Thread Eric Broch
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

[qmailtoaster] [vqadmin rpmbuild error]

2015-07-08 Thread Noriyuki Hayashi
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

[qmailtoaster] Forward to a Different Server

2015-07-08 Thread Gilbert T. Gutierrez, Jr.
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

Re: [qmailtoaster] Forward to a Different Server

2015-07-08 Thread Gilbert T. Gutierrez, Jr.
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

RE: [qmailtoaster] Forward to a Different Server

2015-07-08 Thread Edwin C
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

RE: [qmailtoaster] Forward to a Different Server

2015-07-08 Thread Helmut Fritz
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

Re: [qmailtoaster] Forward to a Different Server

2015-07-08 Thread Eric Broch
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

Re: [qmailtoaster] Forward to a Different Server

2015-07-08 Thread Tonix - Antonio Nati
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

Re: [qmailtoaster] Forward to a Different Server

2015-07-08 Thread Gilbert T. Gutierrez, Jr.
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

Re: [qmailtoaster] Forward to a Different Server

2015-07-08 Thread Eric Broch
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

Re: [qmailtoaster] Forward to a Different Server

2015-07-08 Thread Sebastian Grewe
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

Re: [qmailtoaster] Forward to a Different Server

2015-07-08 Thread Sebastian Grewe
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

Re: [qmailtoaster] COS 6 /webmail: 454 oops, problem with child and I can't auth (#4.3.0)

2015-07-08 Thread Eric Broch
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

Re: [qmailtoaster] Vpopmail include / lib files

2015-07-08 Thread Eric Broch
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

Re: [qmailtoaster] Forward to a Different Server

2015-07-08 Thread Tonix - Antonio Nati
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

Re: [qmailtoaster] Forward to a Different Server

2015-07-08 Thread Eric Broch
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

Re: [qmailtoaster] Vpopmail include / lib files

2015-07-08 Thread Eric Broch
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

Re: [qmailtoaster] COS 6 /webmail: 454 oops, problem with child and I can't auth (#4.3.0)

2015-07-08 Thread aal
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

Re: [qmailtoaster] Messages in local queue: 764

2015-07-08 Thread Giuseppe Perna
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

Re: [qmailtoaster] Vpopmail include / lib files

2015-07-08 Thread fsantiago
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

Re: [qmailtoaster] Vpopmail include / lib files

2015-07-08 Thread fsantiago
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

Re: [qmailtoaster] Vpopmail include / lib files

2015-07-08 Thread Eric Broch
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

Re: [qmailtoaster] Vpopmail include / lib files

2015-07-08 Thread fsantiago
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

Re: [qmailtoaster] Vpopmail include / lib files

2015-07-08 Thread fsantiago
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...

Re: [qmailtoaster] Vpopmail include / lib files

2015-07-08 Thread Eric Broch
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

Re: [qmailtoaster] Vpopmail include / lib files

2015-07-08 Thread Eric Broch
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

Re: [qmailtoaster] Vpopmail include / lib files

2015-07-08 Thread Eric Broch
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

Re: [qmailtoaster] Vpopmail include / lib files

2015-07-08 Thread Eric Broch
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

Re: [qmailtoaster] Vpopmail include / lib files

2015-07-08 Thread fsantiago
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:

Re: [qmailtoaster] Vpopmail include / lib files

2015-07-08 Thread fsantiago
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

Re: [qmailtoaster] Vpopmail include / lib files

2015-07-08 Thread Eric Broch
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

Re: [qmailtoaster] Vpopmail include / lib files

2015-07-08 Thread fsantiago
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

Re: [qmailtoaster] Vpopmail include / lib files

2015-07-08 Thread fsantiago
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

Re: [qmailtoaster] [vqadmin rpmbuild error]

2015-07-08 Thread NoriyukiHayashi
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

Re: [qmailtoaster] Vpopmail include / lib files

2015-07-08 Thread fsantiago
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

Re: [qmailtoaster] Vpopmail include / lib files

2015-07-08 Thread fsantiago
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,

Re: [qmailtoaster] Vpopmail include / lib files

2015-07-08 Thread Eric Broch
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

Re: [qmailtoaster] [vqadmin rpmbuild error]

2015-07-08 Thread Eric Broch
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