eric

i downloaded all the SRPMS from
http://mirrors.qmailtoaster.com/current/SRPMS/
 and installed the packages one by one manually in a sequence and it works 
correctly.

i had a few questions

1) spamd, pop3  folders are no longer in supervise folder. also pop3 toaster is 
no longer used. dovecot is used in its place. Is my understanding correct ?

2) qmailadmin-spambox -- what is the use of this ? is this for enabling online 
spam-box via qmail admin ?

3) what is the use of qmailtoaster-release ?

4) i installed qmailtoaster-util-2.0-1.qt.src.rpm but qmail-spam stop/start 
does not work because spamd folder is no longer in supervise folder.

i have documented all the steps below for CENTOS 6, 64 BIT

these steps are for people who are familar with the previous qmailtoaster 
packages

please view these and let me know if i am missing something


wget http://qmailtoaster.com/distro/centos/cnt5064/cnt5064-deps.sh
wget http://qmailtoaster.com/distro/centos/cnt5064/cnt5064-perl.sh
wget http://qmailtoaster.com/distro/centos/cnt5064/cnt5064-svcs.sh

wget 
http://mirrors.qmailtoaster.com/current/SRPMS/autorespond-2.0.5-0.qt.src.rpm
wget http://mirrors.qmailtoaster.com/current/SRPMS/clamav-0.98.4-2.qt.src.rpm
wget 
http://mirrors.qmailtoaster.com/current/SRPMS/control-panel-0.5.1-0.qt.src.rpm
wget http://mirrors.qmailtoaster.com/current/SRPMS/daemontools-0.76-0.qt.src.rpm
wget http://mirrors.qmailtoaster.com/current/SRPMS/dovecot-2.2.7-0.qt.src.rpm
wget http://mirrors.qmailtoaster.com/current/SRPMS/ezmlm-0.53.324-0.qt.src.rpm
wget http://mirrors.qmailtoaster.com/current/SRPMS/isoqlog-2.2.1-1.qt.src.rpm
wget 
http://mirrors.qmailtoaster.com/current/SRPMS/libdomainkeys-0.69-0.qt.src.rpm
wget http://mirrors.qmailtoaster.com/current/SRPMS/libsrs2-1.0.18-0.qt.src.rpm
wget 
http://mirrors.qmailtoaster.com/current/SRPMS/libvpopmail-5.4.33-0.qt.src.rpm
wget http://mirrors.qmailtoaster.com/current/SRPMS/maildrop-2.7.0-0.qt.src.rpm
wget http://mirrors.qmailtoaster.com/current/SRPMS/qmail-1.03-0.qt.src.rpm
wget 
http://mirrors.qmailtoaster.com/current/SRPMS/qmailadmin-1.2.16-0.qt.src.rpm
wget 
http://mirrors.qmailtoaster.com/current/SRPMS/qmailadmin-spambox-1.2.16-0.qt.src.rpm
wget http://mirrors.qmailtoaster.com/current/SRPMS/qmailmrtg-4.2-0.qt.src.rpm
wget 
http://mirrors.qmailtoaster.com/current/SRPMS/qmailtoaster-release-2.0-1.qt.src.rpm
wget 
http://mirrors.qmailtoaster.com/current/SRPMS/qmailtoaster-util-2.0-1.qt.src.rpm
wget http://mirrors.qmailtoaster.com/current/SRPMS/ripmime-1.4.0.10-0.qt.src.rpm
wget 
http://mirrors.qmailtoaster.com/current/SRPMS/send-emails-0.5.1-0.qt.el6.x86_64.rpm
wget http://mirrors.qmailtoaster.com/current/SRPMS/simscan-1.4.0-0.qt.src.rpm
wget 
http://mirrors.qmailtoaster.com/current/SRPMS/spamassassin-3.3.2-2.qt.src.rpm
wget http://mirrors.qmailtoaster.com/current/SRPMS/spamdyke-4.3.1-1.qt.src.rpm
wget http://mirrors.qmailtoaster.com/current/SRPMS/ucspi-tcp-0.88-0.qt.src.rpm
wget http://mirrors.qmailtoaster.com/current/SRPMS/vpopmail-5.4.33-0.qt.src.rpm
wget http://mirrors.qmailtoaster.com/current/SRPMS/vqadmin-2.3.7-0.qt.src.rpm
http://mirror2.qmailtoaster.com/current/CentOS/6/x86_64/send-emails-0.5.1-0.qt.el6.x86_64.rpm


INSTALLATION -- mysql server should be installed and running

sh ./cnt5064-deps.sh
sh ./cnt5064-perl.sh

open cnt5064-svcs.sh
comment the firewall related line at the bottom, put your password and run
sh ./cnt5064-svcs.sh


rpm -Uvh /root/rpmbuild/RPMS/x86_64/daemontools-0.76-0.el6.x86_64.rpm
rpm -Uvh /root/rpmbuild/RPMS/x86_64/ucspi-tcp-0.88-0.el6.x86_64.rpm

rpmbuild --rebuild --with cnt5064 vpopmail-5.4.33-0.qt.src.rpm
rpm -Uvh /root/rpmbuild/RPMS/x86_64/libvpopmail-devel-5.4.33-0.el6.x86_64.rpm


yum install libev-devel
rpm -Uvh /root/rpmbuild/RPMS/x86_64/vpopmail-5.4.33-0.el6.x86_64.rpm
rpmbuild --rebuild --with cnt5064 libdomainkeys-0.69-0.qt.src.rpm
rpm -Uvh /root/rpmbuild/RPMS/x86_64/libdomainkeys-devel-0.69-0.el6.x86_64.rpm

rpmbuild --rebuild --with cnt5064  libsrs2-1.0.18-0.qt.src.rpm
rpm -Uvh /root/rpmbuild/RPMS/x86_64/libsrs2-1.0.18-0.el6.x86_64.rpm
rpm -Uvh /root/rpmbuild/RPMS/x86_64/libsrs2-devel-1.0.18-0.el6.x86_64.rpm


rpmbuild --rebuild --with cnt5064  spamdyke-4.3.1-1.qt.src.rpm
rpm -Uvh /root/rpmbuild/RPMS/x86_64/spamdyke-4.3.1-1.el6.x86_64.rpm

rpmbuild --rebuild --with cnt5064 qmail-1.03-0.qt.src.rpm
rpm -Uvh /root/rpmbuild/RPMS/x86_64/qmail-1.03-0.el6.x86_64.rpm

rpmbuild --rebuild --with cnt5064 autorespond-2.0.5-0.qt.src.rpm
rpm -Uvh /root/rpmbuild/RPMS/x86_64/autorespond-2.0.5-0.el6.x86_64.rpm

NO REBUILDING THIS. DIRECT INSTALL
rpm -Uvh send-emails-0.5.1-0.qt.el6.x86_64.rpm

rpmbuild --rebuild --with cnt5064 control-panel-0.5.1-0.qt.src.rpm
rpm -Uvh /root/rpmbuild/RPMS/x86_64/control-panel-0.5.1-0.el6.x86_64.rpm

rpmbuild --rebuild --with cnt5064 ezmlm-0.53.324-0.qt.src.rpm
rpm -Uvh /root/rpmbuild/RPMS/x86_64/ezmlm-0.53.324-0.el6.x86_64.rpm

rpmbuild --rebuild --with cnt5064 qmailadmin-1.2.16-0.qt.src.rpm
rpm -Uvh /root/rpmbuild/RPMS/x86_64/qmailadmin-1.2.16-0.el6.x86_64.rpm

NOT INSTALLED YET
rpmbuild --rebuild --with cnt5064 qmailadmin-spambox-1.2.16-0.qt.src.rpm
rpm -Uvh /root/rpmbuild/RPMS/x86_64/


rpmbuild --rebuild --with cnt5064 qmailmrtg-4.2-0.qt.src.rpm
rpm -Uvh /root/rpmbuild/RPMS/x86_64/qmailmrtg-4.2-0.el6.x86_64.rpm


rpmbuild --rebuild --with cnt5064 maildrop-2.7.0-0.qt.src.rpm
rpm -Uvh /root/rpmbuild/RPMS/x86_64/maildrop-2.7.0-0.el6.x86_64.rpm


rpmbuild --rebuild --with cnt5064 isoqlog-2.2.1-1.qt.src.rpm
rpm -Uvh /root/rpmbuild/RPMS/x86_64/isoqlog-2.2.1-1.el6.x86_64.rpm


rpmbuild --rebuild --with cnt5064 vqadmin-2.3.7-0.qt.src.rpm
rpm -Uvh /root/rpmbuild/RPMS/x86_64/vqadmin-2.3.7-0.el6.x86_64.rpm

rpmbuild --rebuild --with cnt5064 spamassassin-3.3.2-2.qt.src.rpm
rpm -Uvh /root/rpmbuild/RPMS/x86_64/spamassassin-3.3.2-2.el6.x86_64.rpm

yum install check-devel
yum install  libxml2-devel
rpmbuild --rebuild --with cnt5064 clamav-0.98.4-2.qt.src.rpm
rpm -Uvh /root/rpmbuild/RPMS/x86_64/clamav-0.98.4-2.el6.x86_64.rpm

rpmbuild --rebuild --with cnt5064 ripmime-1.4.0.10-0.qt.src.rpm
rpm -Uvh /root/rpmbuild/RPMS/x86_64/ripmime-1.4.0.10-0.el6.x86_64.rpm

rpmbuild --rebuild --with cnt5064 simscan-1.4.0-0.qt.src.rpm
rpm -Uvh /root/rpmbuild/RPMS/x86_64/simscan-1.4.0-0.el6.x86_64.rpm


yum install sqlite-devel
yum install postgresql-devel
yum install quota-devel
yum install libcap-devel
yum install pam-devel


rpmbuild --rebuild --with cnt5064 dovecot-2.2.7-0.qt.src.rpm
rpm -Uvh /root/rpmbuild/RPMS/x86_64/dovecot-2.2.7-0.el6.x86_64.rpm
rpm -Uvh /root/rpmbuild/RPMS/x86_64/dovecot-pgsql-2.2.7-0.el6.x86_64.rpm
rpm -Uvh /root/rpmbuild/RPMS/x86_64/dovecot-devel-2.2.7-0.el6.x86_64.rpm
rpm -Uvh /root/rpmbuild/RPMS/x86_64/dovecot-pigeonhole-2.2.7-0.el6.x86_64.rpm
rpm -Uvh /root/rpmbuild/RPMS/x86_64/dovecot-mysql-2.2.7-0.el6.x86_64.rpm


rpmbuild --rebuild --with cnt5064 qmailtoaster-release-2.0-1.qt.src.rpm
rpm -Uvh /root/rpmbuild/RPMS/noarch/qmailtoaster-release-2.0-1.el6.noarch.rpm

rpmbuild --rebuild --with cnt5064 qmailtoaster-util-2.0-1.qt.src.rpm
rpm -Uvh /root/rpmbuild/RPMS/noarch/qmailtoaster-util-2.0-1.el6.noarch.rpm



rajesh


----- Original Message -----
From: Eric Shubert [mailto:e...@shubes.net]
To: qmailtoaster-list@qmailtoaster.com
Sent: Sat, 06 Sep 2014 20:25:21 -0700
Subject: [qmailtoaster] Re: install qmailtoaster on centos 6.5 64 bit version

On 09/06/2014 06:57 PM, raj...@corpmailserver.net wrote:
> eric
>
> but i wished to have a clear understanding and document the steps so
> that they can be used by many others.

That will be appreciated, and you're welcome to do this.

Please note though that the objective of the project is to be such that
rebuilding packages will be unnecessary. If someone chooses to build
their own custom version of a package, they are strongly encouraged to
do so on a separate machine, and *not* on a QMT host. Having a compiler
and all the build environment packages on a QMT host is a fairly high
security risk, in addition to being wasteful in other areas.

Packages shouldn't need to be rebuilt in order to change configuration
parameters, as is the case with chkuser. While I appreciate what chkuser
does, I've always been disappointed that Tonino chose to implement
configuration options in the manner that it's done. While this is
undoubtedly most efficient from a run time standpoint, handling
configuration parameters in the manner which spamdyke does it does not
impact performance substantially, and is *much* easier to manage. The
days of hard coding configuration options in C code should be far behind us.

I intend that the next release of qmail will have settings that are
appropriate for everyone, so that rebuilding in order to change
configuration options would be unnecessary. I realize that some messages
can be changed for other languages though. I'd like to see someone
tackle internationalization in its entirety at some point, should that
become a priority.

> what i planned was to download the SRPMS from
> http://mirrors.qmailtoaster.com/current/SRPMS/
>
> and then use the same sequence of steps detailed in the install script
>
> http://qmailtoaster.com/distro/centos/cnt5064/cnt5064-install-script.sh


>
> however in the current/SRPMS/ there are multiple files for the same
> package.
>
> EXAMPLE
>
> clamav-0.98.1-0.qt.src.rpm 08-Apr-2014 15:14
> clamav-0.98.4-1.qt.src.rpm 07-Jul-2014 14:43
> clamav-0.98.4-2.qt.src.rpm 08-Jul-2014 14:04

You want to use the most recent version.

Having more than one version in the current tree is acceptable for yum,
but at some point older versions will be limited to the archives.

Note to mirror operators: This is a good reason why you should be using
the --delete option. Please check that your configuration is doing so.

> comparing with current/CentOS/6/x86_64/ the file that is available for
> clamav is clamav-0.98.1-0.qt.el6.x86_64.rpm
>
> so the corresponding SRPMS package for clamav that i should use should
> be clamav-0.98.1-0.qt.src.rpm

These do correspond, but you want to use clamav-0.98.4-2, as that is the
most recent. You should be able to tell by the highest version number or
the most recent date.

> is my understanding correct ?

I think so, as long as you're getting the latest version.


Note, there might be more recent versions in the /testing/ branch, but
these are not considered stable for production use, but are usually
pretty workable. Every /current/ package spends some time in the
/testing/ branch (where people can install it for testing) before
becoming /current/.

--
-Eric 'shubes'
>
>
> ----- Original Message -----
> From: Eric Shubert [mailto:e...@shubes.net]
> To: qmailtoaster-list@qmailtoaster.com
> Sent: Sat, 06 Sep 2014 06:56:30 -0700
> Subject: [qmailtoaster] Re: install qmailtoaster on centos 6.5 64 bit
> version
>
> You want the packages in the /current/ branch of the repo.
>
> The packages in the repo root are legacy, and are no longer maintained
> in most cases. I hope to actually remove them from the root at some
> point. These *-toaster packages will continue to exist in the /current/
> branch though (as they have for quite some time now). In fact, the
> *-toaster files in the root are the exact same files that are in
> /current/, as they're simply hard links so they don't take up more storage.
>
> The directory entries in the root are only there for backwards
> compatibility for some non-standard scripts that some people have in the
> wild. For those users please get your scripts changed *now*. I might
> remove these root entries any time now.
>
> Thanks.
>




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

Reply via email to