Re: [qmailtoaster] Re: Installing Qmailtoaster on Centos6

2012-01-29 Thread David Milholen
I am with ya there, Been there wearing the T shirt.. Wait a bit to give 
Cent6 to gain some traction.



On 1/26/2012 5:46 PM, Eric Shubert wrote:

On 01/26/2012 02:54 PM, Peter Peltonen wrote:

Hi,

On Thu, Jan 26, 2012 at 11:42 PM, David 
Anderson  wrote:
I am attempting to install Qmailtoaster in a Centos6  32 bit 
environment. I

am using the scripts downloaded from the Qmailtoaster website which I
realise were written to be run in a Centos5 environment.


CentOS6 is not supported, CentOS5 is. If you want to keep it simple,
install on C5.

But if you feel adventurous, search the list archives, I remember
there being some posts about people trying to get their toaster
working with C6. And if you get it running, please report here and add
your installation notes in the Wiki!

Best,
Peter

- 




Welcome to the community, David.

By all means you're welcome to give it a try, but it won't work 
entirely until some PHP fixing is done. As Peter says, check the list 
archives for details.


CentOS5 has a long life yet, and should do fine. It's quite solid.

FWIW, the error message you've seen are because dependent packages 
must be built *and installed* prior to building subsequent packages. 
Also, qmail-pop3 is a separate binary rpm that's built as part of the 
qmail-toaster package. That source rpm produces 2 binary rpms. If you 
decide to go with COS5, I'd recommend installing the qmailtoaster-plus 
package first, then use qtp-newmodel to build and install the 
packages. It's pretty simple that way.





--

David Milholen
Project Engineer
P:501-318-1300


[qmailtoaster] Problems building vpopmail on CentOS 6

2012-01-29 Thread Angus McIntyre
I'm trying to build qmailtoaster on a CentOS 6 box, and I've made reasonable 
progress so far (I'll post my install notes when done, in the hope that they 
may help someone).

However, I've run up against a blocker that I don't know how to solve.

Using the install script, the build of 'vpopmail' fails with a spray of 
warnings and a linker error. Here's the relevant part:

gcc  -g -O2 -Wall   -o vchkpw  vchkpw.o md5.o hmac_md5.o libvpopmail.a 
-L/usr/lib64/mysql  -lmysqlclient -lz -lm -lcrypt 
/usr/lib64/mysql/libmysqlclient.a(charset.c.o): In function `get_charset_name':
/pb2/build/sb_0-4575859-1324066572.98/rpm/BUILD/mysql-5.5.20/mysql-5.5.20/mysys/charset.c:533:
 undefined reference to `pthread_once'
/usr/lib64/mysql/libmysqlclient.a(charset.c.o): In function 
`get_charset_number':
/pb2/build/sb_0-4575859-1324066572.98/rpm/BUILD/mysql-5.5.20/mysql-5.5.20/mysys/charset.c:522:
 undefined reference to `pthread_once'
/usr/lib64/mysql/libmysqlclient.a(charset.c.o): In function 
`get_charset_by_csname':
/pb2/build/sb_0-4575859-1324066572.98/rpm/BUILD/mysql-5.5.20/mysql-5.5.20/mysys/charset.c:644:
 undefined reference to `pthread_once'
/usr/lib64/mysql/libmysqlclient.a(charset.c.o): In function `get_charset':
/pb2/build/sb_0-4575859-1324066572.98/rpm/BUILD/mysql-5.5.20/mysql-5.5.20/mysys/charset.c:597:
 undefined reference to `pthread_once'
/usr/lib64/mysql/libmysqlclient.a(charset.c.o): In function 
`get_collation_number':

[ … snip … ]

/pb2/build/sb_0-4575859-1324066572.98/rpm/BUILD/mysql-5.5.20/mysql-5.5.20/mysys/my_thr_init.c:424:
 undefined reference to `pthread_setspecific'
/usr/lib64/mysql/libmysqlclient.a(my_thr_init.c.o): In function 
`_my_thread_var':
/pb2/build/sb_0-4575859-1324066572.98/rpm/BUILD/mysql-5.5.20/mysql-5.5.20/mysys/my_thr_init.c:429:
 undefined reference to `pthread_getspecific'
/usr/lib64/mysql/libmysqlclient.a(thr_mutex.c.o): In function 
`my_pthread_fastmutex_lock':
/pb2/build/sb_0-4575859-1324066572.98/rpm/BUILD/mysql-5.5.20/mysql-5.5.20/mysys/thr_mutex.c:481:
 undefined reference to `pthread_mutex_trylock'
collect2: ld returned 1 exit status

My reading of this is that the attempt to build 'vchkpw' is blowing up, 
possibly because … based on some Googling around for similar errors … I don't 
have '-lpthread -ldl' included in my arguments to the linker.

You will notice that I'm building against mysql-5.5.20 which was a custom 
install: the current CentOS 6 package lags behind, so I went ahead and did an 
RPM installation from the current stable distribution with:

rpm -i --replacefiles MySQL-server-5.5.20-1.linux2.6.x86_64.rpm
rpm -i MySQL-client-5.5.20-1.linux2.6.x86_64.rpm 
rpm -i MySQL-devel-5.5.20-1.linux2.6.x86_64.rpm 
rpm -i MySQL-shared-5.5.20-1.linux2.6.x86_64.rpm 

There is a 'libpthread.so.0' library in '/lib64', incidentally.

Can anyone suggest a way that I can work around this and get the compiler and 
linker to find the correct libraries?

Alternatively, is there another way to build the required components of 
vpopmail that doesn't use the QMT RPMs?

Thanks in advance for any help,

Angus


-
Qmailtoaster is sponsored by Vickers Consulting Group 
(www.vickersconsulting.com)
Vickers Consulting Group offers Qmailtoaster support and installations.
  If you need professional help with your setup, contact them today!
-
 Please visit qmailtoaster.com for the latest news, updates, and packages.

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




[qmailtoaster] Re: rpmforge-release spec not found

2012-01-29 Thread Eric Shubert

On 01/28/2012 10:09 AM, Maxwell Smart wrote:

Eric,

I am running the newmodel script and I'm getting this error, .
rpmforge-release spec not found. Do I need to update my repositories?

CJ



Try updating your qmailtoaster-plus package via yum, then try again.

rpmforge repos were reorganized a while back. I'm not sure if we've 
released a new package with those changes in it or not. I would hope so.


--
-Eric 'shubes'


-
Qmailtoaster is sponsored by Vickers Consulting Group 
(www.vickersconsulting.com)
   Vickers Consulting Group offers Qmailtoaster support and installations.
 If you need professional help with your setup, contact them today!
-
Please visit qmailtoaster.com for the latest news, updates, and packages.

 To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com

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




[qmailtoaster] Re: delete log qmail

2012-01-29 Thread Eric Shubert

Welcome to the community, Guiseppe.

On 01/28/2012 02:11 AM, Giuseppe Perna wrote:

Thanks Eric,
i have this version: qmailtoaster-plus-0.2.14-1.3.17
you could tell me how to do maintenance and inspections of this version?


That appears to be current for QTP.

The qtp-ami-up2date command will tell you if there are newer versions of 
any *-toaster packages available.


The qtp-newmodel script will help you to upgrade any packages which have 
newer versions available. Simply run the command, and it will guide you 
through the process.



I would like to save space by removing the spam emails.
Could you help me?


Spamdyke is the best thing available for reducing spam, but it's not yet 
in the 'stock' packages. You can run the qtp-install-spamdyke script to 
install spamdyke.


Is there anyone here who speaks Italian who might be able to help 
Guiseppe in his native language?


--
-Eric 'shubes'


-
Qmailtoaster is sponsored by Vickers Consulting Group 
(www.vickersconsulting.com)
   Vickers Consulting Group offers Qmailtoaster support and installations.
 If you need professional help with your setup, contact them today!
-
Please visit qmailtoaster.com for the latest news, updates, and packages.

 To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com

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