RE: [qmailtoaster] Re: Installing on CentOS 6.x

2012-07-24 Thread Amit
No it is still not working.


Amit 


-Original Message-
From: xaf [mailto:x...@abaxe.net] 
Sent: Tuesday, July 24, 2012 11:41 AM
To: qmailtoaster-list@qmailtoaster.com
Subject: Re: [qmailtoaster] Re: Installing on CentOS 6.x

|-- Amit, le 23/07/2012 20:37, a dit :

 @4000500d96de13172754 /var/qmail/bin/qmail-smtpd: error while 
 loading shared libraries: libselinux.so.1: failed to map segment from 
 shared object: Cannot allocate memory
 
 Tried to increase softlimit but didn't worked.SELINUX already disabled.
 

is it a 64bit server?

/var/qmail/supervise/imap4/run
/var/qmail/supervise/imap4-ssl/run
/var/qmail/supervise/pop3/run
/var/qmail/supervise/pop3-ssl/run
/var/qmail/supervise/smtp/run
/var/qmail/supervise/submission/run

increase softlimit to 6400
qmailctl restart

should be ok
xaf

-
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] Re: Installing on CentOS 6.x

2012-07-24 Thread Amit
Now I manually updated ClamAV. But after installing the rpm I get below
error:

sh: /var/qmail/bin/update-simscan: No such file or directory

Is this something need to be taken serious or not?


Amit 


-Original Message-
From: Amit [mailto:a...@ikf.co.in] 
Sent: Tuesday, July 24, 2012 1:08 PM
To: 'Amit'; qmailtoaster-list@qmailtoaster.com
Subject: RE: [qmailtoaster] Re: Installing on CentOS 6.x

Sorry. It resolve after reboot.


Amit 

-Original Message-
From: Amit [mailto:a...@ikf.co.in]
Sent: Tuesday, July 24, 2012 12:06 PM
To: 'qmailtoaster-list@qmailtoaster.com'
Subject: RE: [qmailtoaster] Re: Installing on CentOS 6.x

No it is still not working.


Amit 


-Original Message-
From: xaf [mailto:x...@abaxe.net]
Sent: Tuesday, July 24, 2012 11:41 AM
To: qmailtoaster-list@qmailtoaster.com
Subject: Re: [qmailtoaster] Re: Installing on CentOS 6.x

|-- Amit, le 23/07/2012 20:37, a dit :

 @4000500d96de13172754 /var/qmail/bin/qmail-smtpd: error while 
 loading shared libraries: libselinux.so.1: failed to map segment from 
 shared object: Cannot allocate memory
 
 Tried to increase softlimit but didn't worked.SELINUX already disabled.
 

is it a 64bit server?

/var/qmail/supervise/imap4/run
/var/qmail/supervise/imap4-ssl/run
/var/qmail/supervise/pop3/run
/var/qmail/supervise/pop3-ssl/run
/var/qmail/supervise/smtp/run
/var/qmail/supervise/submission/run

increase softlimit to 6400
qmailctl restart

should be ok
xaf

-
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] Re: Installing on CentOS 6.x

2012-07-24 Thread Dan McAllister

Amit -

I previously had a check to skip around the bad clamav packages, but 
it shouldn't have been affected by the 0.97.5 version... never the less, 
I took out the broken clam workarounds, and there is an update on 
mirror4 (and mirror9 - my other mirror).


Since I have confirmed that the new patch works without the FUZZ change, 
I have removed my ClamAV-for-CentOS6 folders from my mirrors.
That being said, I DID confirm (with my script) that the clamav 0.95.7 
updates just fine on CentOS6... so I'm confused when you say it didn't 
update it...


*Did it error out, or go through the package list and just not update 
the clamav?*


The script provides output as it checks the status of all 23 toaster 
packages (though it - by default - skips the zlib  djbdns packages)...
The output should be in color (rather like CentOS at boot time if you're 
booting in text mode)...
I just did an upgrade to clamav 0.95.7 on a client's system, and this 
was my output:


# ./QMT-CentOS6.sh
Building on CentOS release 6.3 (Final)
Updating existing packagesWarning: RPMDB altered outside of yum.
[ DONE ]
Remove conflicting mail packages[ -OK- ]
Installing QMail Toaster Dependency Packages[ DONE ]
Stopping any current QMail processesBacking up Qmail... [ -OK- ]
Removing potential conflicting packages [ -OK- ]
Checking zlib-1.2.3-1.0.3.src.rpm   [ SKIP ]
Checking vpopmail-toaster-5.4.17-1.3.7.src.rpm  [ -OK- ]
Checking vqadmin-toaster-2.3.4-1.3.6.src.rpm[ -OK- ]
Checking ucspi-tcp-toaster-0.88-1.3.9.src.rpm   [ -OK- ]
Checking libsrs2-toaster-1.0.18-1.3.6.src.rpm   [ -OK- ]
Checking libdomainkeys-toaster-0.68-1.3.6.src.rpm   [ -OK- ]
Checking qmail-toaster-1.03-1.3.22.src.rpm  [ -OK- ]
Checking squirrelmail-toaster-1.4.20-1.3.17.src.rpm [ -OK- ]
Checking spamassassin-toaster-3.2.5-1.3.17.src.rpm  [ -OK- ]
Checking ripmime-toaster-1.4.0.6-1.3.6.src.rpm  [ -OK- ]
Checking clamav-toaster-0.97.5-1.4.1.src.rpm[ DONE ]
Checking simscan-toaster-1.4.0-1.3.8.src.rpm[ -OK- ]
Checking qmailmrtg-toaster-4.2-1.3.6.src.rpm[ -OK- ]
Checking ezmlm-toaster-0.53.324-1.3.6.src.rpm   [ -OK- ]
Checking autorespond-toaster-2.0.4-1.3.6.src.rpm[ -OK- ]
Checking qmailadmin-toaster-1.2.15-1.3.9.src.rpm[ -OK- ]
Checking courier-authlib-toaster-0.59.2-1.3.10.src.rpm  [ -OK- ]
Checking courier-imap-toaster-4.1.2-1.3.10.src.rpm  [ -OK- ]
Checking maildrop-toaster-2.0.3-1.3.8.src.rpm   [ -OK- ]
Checking control-panel-toaster-0.5-1.3.7.src.rpm[ -OK- ]
Checking isoqlog-toaster-2.1-1.3.7.src.rpm  [ -OK- ]
Checking djbdns-1.05-1.0.6.src.rpm  [ SKIP ]
Checking daemontools-toaster-0.76-1.3.6.src.rpm [ -OK- ]
Installing QMail Toaster Plus scripts   [ -OK- ]
Verifying MySQL Installation[ -OK- ]
Verifying VPopMail MySQL Database   [ -OK- ]
Starting qmail-toaster: svscan.

-

Note the [DONE] next to the clamav -- that's an indication that it 
downloaded, built, and installed the clamav package successfully...
Also the [SKIP] next to zlib and djbdns indicates that I didn't find 
them installed, but didn't install them either.


If there is a problem, I am committed to fixing it... please let me know 
the error or other output you experienced...


Thanks,

Dan McAllister



On 7/23/2012 9:59 PM, Amit wrote:

Hi Dan,

I tried QMT-CentOS6.sh script from mirror4, but it didn't update the ClamAV.


--Amit


--

IT4SOHO, LLC
PO Box 507
St. Petersburg, FL 33731-0507

CALL TOLL FREE:
  877-IT4SOHO

We have support plans for QMail!



RE: [qmailtoaster] Re: Installing on CentOS 6.x

2012-07-24 Thread Amit
Ok :)



Amit 


-Original Message-
From: Eric Shubert [mailto:e...@shubes.net] 
Sent: Tuesday, July 24, 2012 8:40 PM
To: qmailtoaster-list@qmailtoaster.com
Subject: [qmailtoaster] Re: Installing on CentOS 6.x

On 07/24/2012 02:48 AM, xaf wrote:
 |-- Amit, le 24/07/2012 09:57, a dit :

 Now I manually updated ClamAV. But after installing the rpm I get 
 below
 error:

 sh: /var/qmail/bin/update-simscan: No such file or directory

 Is this something need to be taken serious or not?

 not so important
 it's to show the correct version of ClamAV in message headers if you 
 want to, take a look here qmail.jms1.net/simscan/#update-simscan

 xaf

 -

I noticed this too, after distributing the rpm. I checked simscan's
reporting, and it's showing the correct version. So you can ignore this
message.

IIRC, the update of simscan is now being handled in a more traditional way
(as a trigger), so this script is now obsolete. I'll take a closer look and
clean this up with the next release.

--
-Eric 'shubes'




-
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] Re: Installing on CentOS 6.x

2012-07-23 Thread Amit
I just managed to install QMT through your script on CentOS 6. Few things to
know:

1) I had installed 3 days back and today there was a ClamAV release. How do
I update the same?
2) SMTP over submission port is not working? Getting below error:

[root@mail ~]# telnet localhost 587
Trying ::1...
telnet: connect to address ::1: Connection refused
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
Connection closed by foreign host.
[root@mail ~]#

3) @Eric, Any chance or update for qmailtoaster-plus for CentOS 6 as
qtp-menu and other scripts are not working.
4) Qcontrol got installed but again it is not working.


Amit 


-Original Message-
From: Ron Pacheco [mailto:r...@pacheco.net] 
Sent: Thursday, July 19, 2012 9:25 PM
To: qmailtoaster-list@qmailtoaster.com
Subject: Re: [qmailtoaster] Re: Installing on CentOS 6.x

Domnick, glad to hear it worked perfectly for you. Eric, yeah, I agree about
using RPMs for the perl modules. I'm out of town until late today, but I'll
update my script to make that change ASAP when I get back.  --Ron

Sent from my iPad

On Jul 18, 2012, at 11:36 PM, Domnick Eger de...@cobercafe.net wrote:

 I can confirm this works on CentOS 6.2 on XenServer 6.0 it took 35 
 minutes, and I was able to go live as soon as the script finished.
 
 I migrated from cents 5.2, and did the backup, and restore took an hour.
 Perfect setup. Thanks a bunch for that script.
 
 On 7/18/12 8:24 PM, Eric Shubert e...@shubes.net wrote:
 
 Just for the record, using RPMs is the preferred method (instead of 
 using CPAN), for several reasons that I don't think I need to expound.
 RPMs will be used in the 'official' version, so doing so now would be 
 prudent.
 --
 -Eric 'shubes'
 
 On 07/18/2012 03:25 PM, Ron Pacheco wrote:
 Oh, actually, looks like I may have interpreted your question backward.
 I suppose it would have been better to find the YUM packages for all 
 the perl modules instead of using CPAN, but again, each of those 
 sections was taken from code that essentially already did the heavy 
 lifting, I simply adapted them to fit into the larger picture, and 
 once it worked, I left it alone. That flow chart that starts Does 
 it work? and later asks Did you f*** with it? comes to mind . . . 
 :D
 
 On Wednesday, July 18, 2012 5:21:18 PM, Ron Pacheco wrote:
 Eric,
 
 Fair question. The short answer is that this script evolved as I 
 tackled each install issue in turn, and being partly pieced from 
 other install procedures and partly from my own code, what worked 
 was simply left alone and kept intact. I believe that particular 
 code that pulls those perl modules using YUM was part of one of the 
 original CentOS 5 install scripts where I borrowed part of the code
from.
 
 Ron
 
 On Wednesday, July 18, 2012 5:07:14 PM, Eric Broch wrote:
 On 7/18/2012 2:03 PM, Ron Pacheco wrote:
 List,
 
 This question appears to come up often enough that a turnkey 
 CentOS 6.x installer script is probably worth sharing in its 
 entirety. It is available for now via a folder on my company's 
 Box account in both 7zip and gzipped tar formats with 
 accompanying MD5 and SHA1 hashes (if someone has a more 
 appropriate hosting location, let me know):
 
 https://www.box.com/shared/de954e52e0816ffc2e93
 
 This is not officially supported for anyone but myself, but as it 
 can make CentOS 6.x installs trivial---I and several colleagues 
 have used it without issue---I will try to respond to any queries 
 about it that are posted here to this list.
 
 If you plan to use this, read the README thoroughly, and as with 
 any unsupported script or software, it is strongly recommended 
 that you browse through the script to be sure you understand it 
 before using it.
 
 Ron
 
 -
 
 To unsubscribe, e-mail:
 qmailtoaster-list-unsubscr...@qmailtoaster.com
 For additional commands, e-mail:
 qmailtoaster-list-h...@qmailtoaster.com
 
 That looks good, Ron. May I ask one question? Why don't you 
 install the perl modules using YUM instead of CPAN as your script 
 installs the rpmforge repo which maintains these modules?
 
 --
 --- 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
 
 
 
 
 
 
 
 -
 To unsubscribe, e-mail: 
 qmailtoaster-list-unsubscr...@qmailtoaster.com

Re: [qmailtoaster] Re: Installing on CentOS 6.x

2012-07-23 Thread Domnick Eger
I did notice a few things broken.  The logging, rrd graphs. Anyone have this 
issue ?  I installed the qtp plus and it won't even run the menu.  But I am 
sure that just a script change on the supported distro listing.  I was able to 
run the qtp plus scripts manually.  

Sent from my iPhone

On Jul 23, 2012, at 10:45 AM, Eric Shubert e...@shubes.net wrote:

 On 07/23/2012 08:03 AM, Amit wrote:
 I just managed to install QMT through your script on CentOS 6. Few things to
 know:
 
 1) I had installed 3 days back and today there was a ClamAV release. How do
 I update the same?
 
 The new clamav should build on COS6 with no modifications now. You'll need to 
 do it 'manually' for the time being though.
 
 2) SMTP over submission port is not working? Getting below error:
 
 [root@mail ~]# telnet localhost 587
 Trying ::1...
 telnet: connect to address ::1: Connection refused
 Trying 127.0.0.1...
 Connected to localhost.
 Escape character is '^]'.
 Connection closed by foreign host.
 [root@mail ~]#
 
 What does your submission log show?
 
 3) @Eric, Any chance or update for qmailtoaster-plus for CentOS 6 as
 qtp-menu and other scripts are not working.
 
 The vpopmail upgrade is a higher priority. Since qmailadmin-toaster is part 
 of that upgrade, I'll see if I can get other COS6 modifications done along 
 with that. Don't hold me to it, but I'd like to finish getting this done by 
 the end of this month. Bharath has done a good deal of the work already.
 
 4) Qcontrol got installed but again it is not working.
 
 Jake will need to answer regarding Qcontrol, as he hasn't open sourced it. 
 FWIW, we're anticipating vqadmin working once again with the vpopmail 
 upgrade, so you may not need Qcontrol once that's available.
 
 -- 
 -Eric 'shubes'
 
 
 
 
 -
 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] Re: Installing on CentOS 6.x

2012-07-23 Thread Amit
 The new clamav should build on COS6 with no modifications now. You'll need
to do it 'manually' for the time being though.

Ok'll try that.

 2) SMTP over submission port is not working? Getting below error:

 [root@mail ~]# telnet localhost 587
 Trying ::1...
 telnet: connect to address ::1: Connection refused Trying 127.0.0.1...
 Connected to localhost.
 Escape character is '^]'.
 Connection closed by foreign host.
 [root@mail ~]#

 What does your submission log show?

Here is error log below: 
@4000500d96de13172754 /var/qmail/bin/qmail-smtpd: error while loading
shared libraries: libselinux.so.1: failed to map segment from shared object:
Cannot allocate memory

Tried to increase softlimit but didn't worked. SELINUX already disabled.

 3) @Eric, Any chance or update for qmailtoaster-plus for CentOS 6 as
qtp-menu and other scripts are not working.

 The vpopmail upgrade is a higher priority. Since qmailadmin-toaster is
part of that upgrade, I'll see if I can get other COS6 modifications done
along with that. Don't hold me to it, but I'd like to finish getting this
done by the end of this month. Bharath has done a good deal of the work
already.

Will wait for the same. Hope to get it soon.

 4) Qcontrol got installed but again it is not working.

 Jake will need to answer regarding Qcontrol, as he hasn't open sourced it.
FWIW, we're anticipating vqadmin working once again with the vpopmail
upgrade, so you may not need Qcontrol once that's available.

Hi Jake. Hope you active on a list. Can you just check for qcontrol?

--Amit


Re: [qmailtoaster] Re: Installing on CentOS 6.x

2012-07-23 Thread Ron Pacheco

Amit,

Just now catching up on the thread.

(1) I have run the update process on the new clamav SRPM and it worked 
perfectly.


(2) The second issue certainly does look like an selinux problem. If 
selinux is truly disabled, then I'm not sure why anything would be 
attempting to load the library.


Ron

On Monday, July 23, 2012 1:49:17 PM, Eric Shubert wrote:

On 07/23/2012 11:37 AM, Amit wrote:

What does your submission log show?


Here is error log below:

@4000500d96de13172754 /var/qmail/bin/qmail-smtpd: error while
loading shared libraries: libselinux.so.1: failed to map segment from
shared object: Cannot allocate memory

Tried to increase softlimit but didn't worked.SELINUX already disabled.



That's odd. I can only guess on this one. Have you rebooted since
disabling selinux? Was selinux enabled when you built the
qmail-toaster rpm?



-
To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com



RE: [qmailtoaster] Re: Installing on CentOS 6.x

2012-07-23 Thread Amit
Yes. Very first thing I done before installing QMT was disabling SELinux.
Please find the selinux config file output below:

# This file controls the state of SELinux on the system.
# SELINUX= can take one of these three values:
#   enforcing - SELinux security policy is enforced.
#   permissive - SELinux prints warnings instead of enforcing.
#   disabled - SELinux is fully disabled.
SELINUX=disabled
# SELINUXTYPE= type of policy in use. Possible values are:
#   targeted - Only targeted network daemons are protected.
#   strict - Full SELinux protection.
SELINUXTYPE=targeted


--Amit 

-Original Message-
From: Eric Shubert [mailto:e...@shubes.net] 
Sent: Tuesday, July 24, 2012 12:19 AM
To: qmailtoaster-list@qmailtoaster.com
Subject: [qmailtoaster] Re: Installing on CentOS 6.x

On 07/23/2012 11:37 AM, Amit wrote:
What does your submission log show?

 Here is error log below:

 @4000500d96de13172754 /var/qmail/bin/qmail-smtpd: error while 
 loading shared libraries: libselinux.so.1: failed to map segment from 
 shared object: Cannot allocate memory

 Tried to increase softlimit but didn't worked.SELINUX already disabled.


That's odd. I can only guess on this one. Have you rebooted since disabling
selinux? Was selinux enabled when you built the qmail-toaster rpm?

--
-Eric 'shubes'




-
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] Re: Installing on CentOS 6.x

2012-07-23 Thread Amit
Yes I had rebooted but still it is not working.


Amit 

-Original Message-
From: Eric Shubert [mailto:e...@shubes.net] 
Sent: Tuesday, July 24, 2012 8:17 AM
To: qmailtoaster-list@qmailtoaster.com
Subject: [qmailtoaster] Re: Installing on CentOS 6.x

There's gotta be some reason qmail-smtpd is trying to load the selinux
object library. Have you rebooted since disabling selinux? You need to
reboot for the configuration to take effect.

I don't recall off hand, I think there are some /proc or /sys settings you
can check to verify that selinux is or is not active.

--
-Eric 'shubes'

On 07/23/2012 06:48 PM, Amit wrote:
 Yes. Very first thing I done before installing QMT was disabling SELinux.
 Please find the selinux config file output below:

 # This file controls the state of SELinux on the system.
 # SELINUX= can take one of these three values:
 #   enforcing - SELinux security policy is enforced.
 #   permissive - SELinux prints warnings instead of enforcing.
 #   disabled - SELinux is fully disabled.
 SELINUX=disabled
 # SELINUXTYPE= type of policy in use. Possible values are:
 #   targeted - Only targeted network daemons are protected.
 #   strict - Full SELinux protection.
 SELINUXTYPE=targeted


 --Amit

 -Original Message-
 From: Eric Shubert [mailto:e...@shubes.net]
 Sent: Tuesday, July 24, 2012 12:19 AM
 To: qmailtoaster-list@qmailtoaster.com
 Subject: [qmailtoaster] Re: Installing on CentOS 6.x

 On 07/23/2012 11:37 AM, Amit wrote:
 What does your submission log show?

 Here is error log below:

 @4000500d96de13172754 /var/qmail/bin/qmail-smtpd: error while 
 loading shared libraries: libselinux.so.1: failed to map segment from 
 shared object: Cannot allocate memory

 Tried to increase softlimit but didn't worked.SELINUX already disabled.


 That's odd. I can only guess on this one. Have you rebooted since 
 disabling selinux? Was selinux enabled when you built the qmail-toaster
rpm?

 --
 -Eric 'shubes'




 -
 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



-
To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com



Re: [qmailtoaster] Re: Installing on CentOS 6.x

2012-07-19 Thread Ron Pacheco
Domnick, glad to hear it worked perfectly for you. Eric, yeah, I agree about 
using RPMs for the perl modules. I'm out of town until late today, but I'll 
update my script to make that change ASAP when I get back.  --Ron

Sent from my iPad

On Jul 18, 2012, at 11:36 PM, Domnick Eger de...@cobercafe.net wrote:

 I can confirm this works on CentOS 6.2 on XenServer 6.0 it took 35
 minutes, and I was able to go live as soon as the script finished.
 
 I migrated from cents 5.2, and did the backup, and restore took an hour.
 Perfect setup. Thanks a bunch for that script.
 
 On 7/18/12 8:24 PM, Eric Shubert e...@shubes.net wrote:
 
 Just for the record, using RPMs is the preferred method (instead of
 using CPAN), for several reasons that I don't think I need to expound.
 RPMs will be used in the 'official' version, so doing so now would be
 prudent.
 -- 
 -Eric 'shubes'
 
 On 07/18/2012 03:25 PM, Ron Pacheco wrote:
 Oh, actually, looks like I may have interpreted your question backward.
 I suppose it would have been better to find the YUM packages for all the
 perl modules instead of using CPAN, but again, each of those sections
 was taken from code that essentially already did the heavy lifting, I
 simply adapted them to fit into the larger picture, and once it worked,
 I left it alone. That flow chart that starts Does it work? and later
 asks Did you f*** with it? comes to mind . . . :D
 
 On Wednesday, July 18, 2012 5:21:18 PM, Ron Pacheco wrote:
 Eric,
 
 Fair question. The short answer is that this script evolved as I
 tackled each install issue in turn, and being partly pieced from other
 install procedures and partly from my own code, what worked was simply
 left alone and kept intact. I believe that particular code that pulls
 those perl modules using YUM was part of one of the original CentOS 5
 install scripts where I borrowed part of the code from.
 
 Ron
 
 On Wednesday, July 18, 2012 5:07:14 PM, Eric Broch wrote:
 On 7/18/2012 2:03 PM, Ron Pacheco wrote:
 List,
 
 This question appears to come up often enough that a turnkey CentOS
 6.x installer script is probably worth sharing in its entirety. It is
 available for now via a folder on my company's Box account in both
 7zip and gzipped tar formats with accompanying MD5 and SHA1 hashes
 (if
 someone has a more appropriate hosting location, let me know):
 
 https://www.box.com/shared/de954e52e0816ffc2e93
 
 This is not officially supported for anyone but myself, but as it can
 make CentOS 6.x installs trivial---I and several colleagues have used
 it without issue---I will try to respond to any queries about it that
 are posted here to this list.
 
 If you plan to use this, read the README thoroughly, and as with any
 unsupported script or software, it is strongly recommended that you
 browse through the script to be sure you understand it before using
 it.
 
 Ron
 
 -
 To unsubscribe, e-mail:
 qmailtoaster-list-unsubscr...@qmailtoaster.com
 For additional commands, e-mail:
 qmailtoaster-list-h...@qmailtoaster.com
 
 That looks good, Ron. May I ask one question? Why don't you install
 the
 perl modules using YUM instead of CPAN as your script installs the
 rpmforge repo which maintains these modules?
 
 -
 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
 
 
 
 
 
 
 
 -
 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] Re: Installing on CentOS 6.x

2012-07-19 Thread Eric Broch
Ron,

The reason I primarily went to RPM's over the CPAN install option had
more to do with convenience and my limited knowledge than anything else.
When I had issues installing perl mods under CPAN, I never really
understood how to resolve the problem or remove and re-install the
modules. Anyway, sorry to create more work for you and I hope I didn't
sound overly critical of your great work which I will probably use in
the near future.

Eric

On 7/19/2012 9:54 AM, Ron Pacheco wrote:
 Domnick, glad to hear it worked perfectly for you. Eric, yeah, I agree about 
 using RPMs for the perl modules. I'm out of town until late today, but I'll 
 update my script to make that change ASAP when I get back.  --Ron

 Sent from my iPad

 On Jul 18, 2012, at 11:36 PM, Domnick Eger de...@cobercafe.net wrote:

 I can confirm this works on CentOS 6.2 on XenServer 6.0 it took 35
 minutes, and I was able to go live as soon as the script finished.

 I migrated from cents 5.2, and did the backup, and restore took an hour.
 Perfect setup. Thanks a bunch for that script.

 On 7/18/12 8:24 PM, Eric Shubert e...@shubes.net wrote:

 Just for the record, using RPMs is the preferred method (instead of
 using CPAN), for several reasons that I don't think I need to expound.
 RPMs will be used in the 'official' version, so doing so now would be
 prudent.
 -- 
 -Eric 'shubes'

 On 07/18/2012 03:25 PM, Ron Pacheco wrote:
 Oh, actually, looks like I may have interpreted your question backward.
 I suppose it would have been better to find the YUM packages for all the
 perl modules instead of using CPAN, but again, each of those sections
 was taken from code that essentially already did the heavy lifting, I
 simply adapted them to fit into the larger picture, and once it worked,
 I left it alone. That flow chart that starts Does it work? and later
 asks Did you f*** with it? comes to mind . . . :D

 On Wednesday, July 18, 2012 5:21:18 PM, Ron Pacheco wrote:
 Eric,

 Fair question. The short answer is that this script evolved as I
 tackled each install issue in turn, and being partly pieced from other
 install procedures and partly from my own code, what worked was simply
 left alone and kept intact. I believe that particular code that pulls
 those perl modules using YUM was part of one of the original CentOS 5
 install scripts where I borrowed part of the code from.

 Ron

 On Wednesday, July 18, 2012 5:07:14 PM, Eric Broch wrote:
 On 7/18/2012 2:03 PM, Ron Pacheco wrote:
 List,

 This question appears to come up often enough that a turnkey CentOS
 6.x installer script is probably worth sharing in its entirety. It is
 available for now via a folder on my company's Box account in both
 7zip and gzipped tar formats with accompanying MD5 and SHA1 hashes
 (if
 someone has a more appropriate hosting location, let me know):

 https://www.box.com/shared/de954e52e0816ffc2e93

 This is not officially supported for anyone but myself, but as it can
 make CentOS 6.x installs trivial---I and several colleagues have used
 it without issue---I will try to respond to any queries about it that
 are posted here to this list.

 If you plan to use this, read the README thoroughly, and as with any
 unsupported script or software, it is strongly recommended that you
 browse through the script to be sure you understand it before using
 it.

 Ron

 -
 To unsubscribe, e-mail:
 qmailtoaster-list-unsubscr...@qmailtoaster.com
 For additional commands, e-mail:
 qmailtoaster-list-h...@qmailtoaster.com

 That looks good, Ron. May I ask one question? Why don't you install
 the
 perl modules using YUM instead of CPAN as your script installs the
 rpmforge repo which maintains these modules?

 -
 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






 -
 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: 

Re: [qmailtoaster] Re: Installing on CentOS 6.x

2012-07-19 Thread Dan McAllister

On 7/18/2012 11:24 PM, Eric Shubert wrote:
Just for the record, using RPMs is the preferred method (instead of 
using CPAN), for several reasons that I don't think I need to expound. 
RPMs will be used in the 'official' version, so doing so now would be 
prudent.


I'm a little Johnny-come-lately on this, but I've been referring people 
to my own CentOS 6 install script located on mirror4.qmailtoaster.com -- 
QMT-CentOS6.sh.
Also, I have a patched clamav package -- unlike Eric's more noble 
intentions, I cheat  manually set the fuzz factor back to 2 in the 
spec file :-)

What can I say... I'm a lazy programmer!

The only issue I've had so far with this install script are 2 things:
 1) You need to fix the default CentOS 6 php.ini file to enable short 
open tags (they're all over the qmailadmin web pages!)
  Just create or change the line in /etc/php.ini to read 
short_open_tag = On
 2) You need to fix (replace) the CLAMAV installation package... there 
is a toaster patch that doesn't quite match the line numbers 
specified... the issue has been around for a while, but the patch 
utility in CentOS 5 had a default FUZZ FACTOR of 2, and that changed to 
a default FUZZ FACTOR of 0 with CentOS 6 (that's a RedHat decision, not 
a CentOS one!) which breaks the build.
  You can download a modified FUZZ factor src rpm also from the 
mirror that I host (mirror4.qmailtoaster.com)... it's in the 
ClamAV-for-CentOS folder.


NOTE: Even though I AM on the development team for QMT, these 2 files 
are NOT officially sanctioned by the QMT team (at least not yet). Thus, 
you must access MY mirror site to get these special files -- to my 
knowledge, none of the other mirrors have these files.


Finally, if you use either and have an issue, please let me know 
off-list (e.g.: e-mail q...@it4soho.com, NOT the list address) and I'll 
address the issue ASAP.


Thanks,

Dan McAllister
QMT DNS/Mirror Admin

--

IT4SOHO, LLC
PO Box 507
St. Petersburg, FL 33731-0507

CALL TOLL FREE:
  877-IT4SOHO

We have support plans for QMail!


-
To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com



Re: [qmailtoaster] Re: Installing on CentOS 6.x

2012-07-19 Thread Ron Pacheco
Dan, you had those issues with my script? It does both of those things 
already. It uses sed (as I recall to edit php.ini), and I rediffed the 
config files for clamav and the install script uses the updated diffs as 
the workaround.  --Ron


On 7/19/2012 11:49 AM, Dan McAllister wrote:

On 7/18/2012 11:24 PM, Eric Shubert wrote:
Just for the record, using RPMs is the preferred method (instead of 
using CPAN), for several reasons that I don't think I need to 
expound. RPMs will be used in the 'official' version, so doing so now 
would be prudent.


I'm a little Johnny-come-lately on this, but I've been referring 
people to my own CentOS 6 install script located on 
mirror4.qmailtoaster.com -- QMT-CentOS6.sh.
Also, I have a patched clamav package -- unlike Eric's more noble 
intentions, I cheat  manually set the fuzz factor back to 2 in the 
spec file :-)

What can I say... I'm a lazy programmer!

The only issue I've had so far with this install script are 2 things:
 1) You need to fix the default CentOS 6 php.ini file to enable short 
open tags (they're all over the qmailadmin web pages!)
  Just create or change the line in /etc/php.ini to read 
short_open_tag = On
 2) You need to fix (replace) the CLAMAV installation package... there 
is a toaster patch that doesn't quite match the line numbers 
specified... the issue has been around for a while, but the patch 
utility in CentOS 5 had a default FUZZ FACTOR of 2, and that changed 
to a default FUZZ FACTOR of 0 with CentOS 6 (that's a RedHat decision, 
not a CentOS one!) which breaks the build.
  You can download a modified FUZZ factor src rpm also from the 
mirror that I host (mirror4.qmailtoaster.com)... it's in the 
ClamAV-for-CentOS folder.


NOTE: Even though I AM on the development team for QMT, these 2 files 
are NOT officially sanctioned by the QMT team (at least not yet). 
Thus, you must access MY mirror site to get these special files -- to 
my knowledge, none of the other mirrors have these files.


Finally, if you use either and have an issue, please let me know 
off-list (e.g.: e-mail q...@it4soho.com, NOT the list address) and I'll 
address the issue ASAP.


Thanks,

Dan McAllister
QMT DNS/Mirror Admin




-
To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com



Re: [qmailtoaster] Re: Installing on CentOS 6.x

2012-07-19 Thread Ron Pacheco
Nah, no problem, Eric (the other one :) ) is right, those modules should 
really be installed from the RPMs. I will fix it this afternoon.  --Ron


On 7/19/2012 11:09 AM, Eric Broch wrote:

Ron,

The reason I primarily went to RPM's over the CPAN install option had
more to do with convenience and my limited knowledge than anything else.
When I had issues installing perl mods under CPAN, I never really
understood how to resolve the problem or remove and re-install the
modules. Anyway, sorry to create more work for you and I hope I didn't
sound overly critical of your great work which I will probably use in
the near future.

Eric

On 7/19/2012 9:54 AM, Ron Pacheco wrote:

Domnick, glad to hear it worked perfectly for you. Eric, yeah, I agree about 
using RPMs for the perl modules. I'm out of town until late today, but I'll 
update my script to make that change ASAP when I get back.  --Ron

Sent from my iPad

On Jul 18, 2012, at 11:36 PM, Domnick Eger de...@cobercafe.net wrote:


I can confirm this works on CentOS 6.2 on XenServer 6.0 it took 35
minutes, and I was able to go live as soon as the script finished.

I migrated from cents 5.2, and did the backup, and restore took an hour.
Perfect setup. Thanks a bunch for that script.

On 7/18/12 8:24 PM, Eric Shubert e...@shubes.net wrote:


Just for the record, using RPMs is the preferred method (instead of
using CPAN), for several reasons that I don't think I need to expound.
RPMs will be used in the 'official' version, so doing so now would be
prudent.
--
-Eric 'shubes'

On 07/18/2012 03:25 PM, Ron Pacheco wrote:

Oh, actually, looks like I may have interpreted your question backward.
I suppose it would have been better to find the YUM packages for all the
perl modules instead of using CPAN, but again, each of those sections
was taken from code that essentially already did the heavy lifting, I
simply adapted them to fit into the larger picture, and once it worked,
I left it alone. That flow chart that starts Does it work? and later
asks Did you f*** with it? comes to mind . . . :D

On Wednesday, July 18, 2012 5:21:18 PM, Ron Pacheco wrote:

Eric,

Fair question. The short answer is that this script evolved as I
tackled each install issue in turn, and being partly pieced from other
install procedures and partly from my own code, what worked was simply
left alone and kept intact. I believe that particular code that pulls
those perl modules using YUM was part of one of the original CentOS 5
install scripts where I borrowed part of the code from.

Ron

On Wednesday, July 18, 2012 5:07:14 PM, Eric Broch wrote:

On 7/18/2012 2:03 PM, Ron Pacheco wrote:

List,

This question appears to come up often enough that a turnkey CentOS
6.x installer script is probably worth sharing in its entirety. It is
available for now via a folder on my company's Box account in both
7zip and gzipped tar formats with accompanying MD5 and SHA1 hashes
(if
someone has a more appropriate hosting location, let me know):

https://www.box.com/shared/de954e52e0816ffc2e93

This is not officially supported for anyone but myself, but as it can
make CentOS 6.x installs trivial---I and several colleagues have used
it without issue---I will try to respond to any queries about it that
are posted here to this list.

If you plan to use this, read the README thoroughly, and as with any
unsupported script or software, it is strongly recommended that you
browse through the script to be sure you understand it before using
it.

Ron

-
To unsubscribe, e-mail:
qmailtoaster-list-unsubscr...@qmailtoaster.com
For additional commands, e-mail:
qmailtoaster-list-h...@qmailtoaster.com


That looks good, Ron. May I ask one question? Why don't you install
the
perl modules using YUM instead of CPAN as your script installs the
rpmforge repo which maintains these modules?

-
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






-
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] Re: Installing on CentOS 6.x

2012-07-18 Thread Domnick Eger
I can confirm this works on CentOS 6.2 on XenServer 6.0 it took 35
minutes, and I was able to go live as soon as the script finished.

I migrated from cents 5.2, and did the backup, and restore took an hour.
Perfect setup. Thanks a bunch for that script.

On 7/18/12 8:24 PM, Eric Shubert e...@shubes.net wrote:

Just for the record, using RPMs is the preferred method (instead of
using CPAN), for several reasons that I don't think I need to expound.
RPMs will be used in the 'official' version, so doing so now would be
prudent.
-- 
-Eric 'shubes'

On 07/18/2012 03:25 PM, Ron Pacheco wrote:
 Oh, actually, looks like I may have interpreted your question backward.
 I suppose it would have been better to find the YUM packages for all the
 perl modules instead of using CPAN, but again, each of those sections
 was taken from code that essentially already did the heavy lifting, I
 simply adapted them to fit into the larger picture, and once it worked,
 I left it alone. That flow chart that starts Does it work? and later
 asks Did you f*** with it? comes to mind . . . :D

 On Wednesday, July 18, 2012 5:21:18 PM, Ron Pacheco wrote:
 Eric,

 Fair question. The short answer is that this script evolved as I
 tackled each install issue in turn, and being partly pieced from other
 install procedures and partly from my own code, what worked was simply
 left alone and kept intact. I believe that particular code that pulls
 those perl modules using YUM was part of one of the original CentOS 5
 install scripts where I borrowed part of the code from.

 Ron

 On Wednesday, July 18, 2012 5:07:14 PM, Eric Broch wrote:
 On 7/18/2012 2:03 PM, Ron Pacheco wrote:
 List,

 This question appears to come up often enough that a turnkey CentOS
 6.x installer script is probably worth sharing in its entirety. It is
 available for now via a folder on my company's Box account in both
 7zip and gzipped tar formats with accompanying MD5 and SHA1 hashes
(if
 someone has a more appropriate hosting location, let me know):

 https://www.box.com/shared/de954e52e0816ffc2e93

 This is not officially supported for anyone but myself, but as it can
 make CentOS 6.x installs trivial---I and several colleagues have used
 it without issue---I will try to respond to any queries about it that
 are posted here to this list.

 If you plan to use this, read the README thoroughly, and as with any
 unsupported script or software, it is strongly recommended that you
 browse through the script to be sure you understand it before using
it.

 Ron

 -
 To unsubscribe, e-mail:
qmailtoaster-list-unsubscr...@qmailtoaster.com
 For additional commands, e-mail:
 qmailtoaster-list-h...@qmailtoaster.com

 That looks good, Ron. May I ask one question? Why don't you install
the
 perl modules using YUM instead of CPAN as your script installs the
 rpmforge repo which maintains these modules?

 -
 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







-
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