Re: [qmailtoaster] Re: vqadmin

2012-08-05 Thread Maxwell Smart

Eric Shubert wrote:


On 08/05/2012 11:24 PM, Maxwell Smart wrote:


Maybe a simple modification of the admin-toaster and e mail-toaster
files is a better way to go so QMT is compliant and not required to be
backward compatible.



That is my intention.
Stay tuned on the devel list for details.


OK

I just changed the short tags to the proper ones, but it still didn't 
work as expected.  I then changed the short_open_tags option to on and 
everything works as expected.  I am not a php guru and don't know why it 
wouldn't work.


I also noticed that the admin-toaster index.php already has the correct 
 tag but the email index.php did not. 

With short tags on everything seems to be working.  I have not tested 
vqadmin for functionality, but all the graphs and pages appear correctly.


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



Re: [qmailtoaster] Re: vqadmin

2012-08-05 Thread Maxwell Smart




Eric Shubert wrote:
On
08/05/2012 11:24 PM, Maxwell Smart wrote:
  
  Maybe a simple modification of the
admin-toaster and e mail-toaster

files is a better way to go so QMT is compliant and not required to be

backward compatible.

  
  
That is my intention.
  
Stay tuned on the devel list for details.
  
  



-- 





[qmailtoaster] Re: vqadmin

2012-08-05 Thread Eric Shubert

On 08/05/2012 11:24 PM, Maxwell Smart wrote:

Maybe a simple modification of the admin-toaster and e mail-toaster
files is a better way to go so QMT is compliant and not required to be
backward compatible.


That is my intention.
Stay tuned on the devel list for details.

--
-Eric 'shubes'




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



Re: [qmailtoaster] Re: vqadmin

2012-08-05 Thread Maxwell Smart




Maxwell Smart wrote:

  
  
Eric Shubert wrote:
  On
08/05/2012 10:50 PM, Maxwell Smart wrote: 
Eric Shubert wrote: 
  
  On 08/05/2012 08:49 PM, Maxwell Smart
wrote: 

FWIW, vqadmin still doesn't work.  This
is all I get when going to 
/admin-toaster 
  


Please post this to the users list. 

Have you done any customization to apache which might affect this? 

  
It's pretty much a stock Apache installation.  I have upgraded to
php5.3 
though and that's when it stopped working.  I upgraded today and can 
access vqadmin, qmlog-toaster and mrtg directly, but admin-toaster and
e 
mail is not showing anything.  I am guessing that's it php related, but
  
haven't looked into the logs yet. 
  
- 


I'm betting it's php53 related. I think that's the same issue we have
with COS6, related to short tags or something of that nature. Since
control-panel (aka admin-toaster) has no upstream, we can simply modify
the code at will w/out messing with patch files. Just need to be sure
it remains backward compatible. I think Bharath already did a little of
this fixing up. 


  
You're right.  I went back through some e mails and found a note from
Dan about short tags in php.ini file.  By default it's off in php5.3
install.  It needs to be on according to Dan.  I switched it on,
restarted Apache and everything works as expected.
  
Is there any security issue with having shot tags set to on?
  
  
  

According to the php.ini comments:

; This directive determines whether or not PHP will recognize code
between
;  tags as PHP source which should be processed as such.
It's been
; recommended for several years that you not use the short tag "short
cut" and
; instead to use the full  tag combination. With the
wide spread use
; of XML and use of these tags by other languages, the server can
become easily
; confused and end up parsing the wrong code in the wrong context. But
because
; this short cut has been a feature for such a long time, it's
currently still
; supported for backwards compatibility, but we recommend you don't use
them.
; Default Value: On
; Development Value: Off
; Production Value: Off
; http://www.php.net/manual/en/ini.core.php#ini.short-open-tag

Maybe a simple modification of the admin-toaster and e mail-toaster
files is a better way to go so QMT is compliant and not required to be
backward compatible.



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



Re: [qmailtoaster] Re: vqadmin

2012-08-05 Thread Maxwell Smart




Eric Shubert wrote:
On
08/05/2012 10:50 PM, Maxwell Smart wrote:
  
  Eric Shubert wrote:


On 08/05/2012 08:49 PM, Maxwell Smart
wrote:
  
  
  FWIW, vqadmin still doesn't work.  This
is all I get when going to

/admin-toaster


  
  
Please post this to the users list.
  
  
Have you done any customization to apache which might affect this?
  
  

It's pretty much a stock Apache installation.  I have upgraded to
php5.3

though and that's when it stopped working.  I upgraded today and can

access vqadmin, qmlog-toaster and mrtg directly, but admin-toaster and
e

mail is not showing anything.  I am guessing that's it php related, but

haven't looked into the logs yet.


-

  
  
I'm betting it's php53 related. I think that's the same issue we have
with COS6, related to short tags or something of that nature. Since
control-panel (aka admin-toaster) has no upstream, we can simply modify
the code at will w/out messing with patch files. Just need to be sure
it remains backward compatible. I think Bharath already did a little of
this fixing up.
  
  
  

You're right.  I went back through some e mails and found a note from
Dan about short tags in php.ini file.  By default it's off in php5.3
install.  It needs to be on according to Dan.  I switched it on,
restarted Apache and everything works as expected.

Is there any security issue with having shot tags set to on?



-- 





[qmailtoaster] Re: vqadmin

2012-08-05 Thread Eric Shubert

On 08/05/2012 10:50 PM, Maxwell Smart wrote:

Eric Shubert wrote:


On 08/05/2012 08:49 PM, Maxwell Smart wrote:


FWIW, vqadmin still doesn't work.  This is all I get when going to
/admin-toaster



Please post this to the users list.

Have you done any customization to apache which might affect this?


It's pretty much a stock Apache installation.  I have upgraded to php5.3
though and that's when it stopped working.  I upgraded today and can
access vqadmin, qmlog-toaster and mrtg directly, but admin-toaster and e
mail is not showing anything.  I am guessing that's it php related, but
haven't looked into the logs yet.

-


I'm betting it's php53 related. I think that's the same issue we have 
with COS6, related to short tags or something of that nature. Since 
control-panel (aka admin-toaster) has no upstream, we can simply modify 
the code at will w/out messing with patch files. Just need to be sure it 
remains backward compatible. I think Bharath already did a little of 
this fixing up.



--
-Eric 'shubes'




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



[qmailtoaster] Re: vqadmin

2012-08-05 Thread Maxwell Smart

Eric Shubert wrote:


On 08/05/2012 08:49 PM, Maxwell Smart wrote:


FWIW, vqadmin still doesn't work.  This is all I get when going to
/admin-toaster



Please post this to the users list.

Have you done any customization to apache which might affect this?

It's pretty much a stock Apache installation.  I have upgraded to php5.3 
though and that's when it stopped working.  I upgraded today and can 
access vqadmin, qmlog-toaster and mrtg directly, but admin-toaster and e 
mail is not showing anything.  I am guessing that's it php related, but 
haven't looked into the logs yet.


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



[qmailtoaster] Re: qtp-newmodel and non-standard packages

2012-08-05 Thread Eric Shubert

On 08/05/2012 04:00 PM, Angus McIntyre wrote:

The release of the new toaster (thank you, Eric) has made me eager to
upgrade to the latest and greatest.

But ... I have upgraded a couple of packages (ssh, php) past their
expected/approved version for CentOS 5. As a result, when I try to
install, I get:

Missing Dependency: php-common = 5.1.6-39.el5_8 is needed by package
php-ldap-5.1.6-39.el5_8.x86_64

and

Missing Dependency: openssh = 4.3p2-82.el5 is needed by package
openssh-askpass-4.3p2-82.el5.x86_64

and

Error: mysql55 conflicts with mysql

I currently have:

php-common.x86_64   5.3.15-1.w5
openssh.x86_64  5.9p1-1

There will now be a brief pause while you all shake your heads sadly and
say "Well, that's why we told you not to do that. You have only yourself
to blame."

Which is true, but my questions are:

a. Am I totally screwed, or is there a workaround that will allow me to
install anyway? (FWIW, everything in QMT works just fine with my
non-standard system currently).

b. Is there a safe/easy way to move back to earlier versions? (this is
more a yum/rpm question than a QMT question, but I thought I'd ask
anyway).

Any helpful hints and advice gratefully received. Thanks,

Angus

-


These shouldn't be a show stopper for you, at least as far as I can see. 
The QTP scripts do a few general things (like updating packages) that 
are ok in most situations, but may not work on hosts that aren't stock 
in some ways, and this is one of them.


It'd be nice to see a little context around where the error messages are 
thrown, but I think I know where/why this is happening to you.


If you edit /opt/qmailtoaster-plus/bin/qtp-dependencies, comment out 
line #214 like such:

# yum -y install $baselist
I expect it'll work for you.

Let us know how this does for you. Perhaps someone will think of a way 
to skip doing base dependencies when they're not needed. I could always 
add a flag to qtp-config that would cause this to be skipped. It'd be 
nicer though if the scripts would check to see if there is a newer 
version is installed and leave those packages alone.


--
-Eric 'shubes'




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



[qmailtoaster] qtp-newmodel and non-standard packages

2012-08-05 Thread Angus McIntyre
The release of the new toaster (thank you, Eric) has made me eager to
upgrade to the latest and greatest.

But ... I have upgraded a couple of packages (ssh, php) past their
expected/approved version for CentOS 5. As a result, when I try to
install, I get:

   Missing Dependency: php-common = 5.1.6-39.el5_8 is needed by package
php-ldap-5.1.6-39.el5_8.x86_64

and

   Missing Dependency: openssh = 4.3p2-82.el5 is needed by package
openssh-askpass-4.3p2-82.el5.x86_64

and

   Error: mysql55 conflicts with mysql

I currently have:

   php-common.x86_64   5.3.15-1.w5
   openssh.x86_64  5.9p1-1

There will now be a brief pause while you all shake your heads sadly and
say "Well, that's why we told you not to do that. You have only yourself
to blame."

Which is true, but my questions are:

a. Am I totally screwed, or is there a workaround that will allow me to
install anyway? (FWIW, everything in QMT works just fine with my
non-standard system currently).

b. Is there a safe/easy way to move back to earlier versions? (this is
more a yum/rpm question than a QMT question, but I thought I'd ask
anyway).

Any helpful hints and advice gratefully received. Thanks,

Angus


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



[qmailtoaster] Re: vpopmail-5.4.33, qmailadmin-1.2.16, vqadmin-2.3.7 upgrades

2012-08-05 Thread Eric Shubert

On 08/05/2012 02:52 PM, Philip Nix Guru wrote:


On 08/05/2012 09:55 PM, Eric Shubert wrote:

The subject software upgrades for QMT are now available. These long
awaited upgrades are seriously overdue, as QMT has been using the same
version of vpopmail since I built my first QMT over 6 years ago.

I'm happy to say that this brings QMT up to date with all of the
upstream software (TTBOMK - someone please notify if something newer
is out there), and completes work on v1.4.x until such time as another
upstream update becomes available. If I'm lucky, QMT v1.5.0 (CentOS
6.x compatibility) will be available before then.

The recommended upgrade procedure is as follows:
# yum update qmailtoaster-plus
# qtp-newmodel

If you're running the QTP version of dovecot:
# yum update dovecot

If you're running spamdyke (you should be if you're not):
# qtp-install-spamdyke
# service qmail restart


If you choose to do things the hard way (manually), here are some
notes off the top of my head.

In addition to the 3 vpopmail related packages, the following packages
should be rebuilt and reinstalled (qtp-newmodel will do this
automatically):
qmail-toaster
courier-authlib-toaster
courier-imap-toaster

If you're running a dovecot version that you built yourself, you
should rebuild and reinstall this as well after installing vpopmail.

There are vpopmail database changes required by vpopmail-5.4.18+. You
should run the qtp-convert script which will do them for you
(qtp-newmodel does this as well).


TTBOMK, all problems with vqadmin have been fixed. If you have a
problem with it, let us know and we'll see if it can't be fixed.
Likewise with vpopmail and quotas. There might be some database fixing
that needs to be done to put things in sync for you, but we can cross
those bridges as they come.

As always, if you have any problems with this, please post here.

Thanks to everyone who's helped along the way with this, especially
our own Bharath, and Matt at inter7 (the present vpopmail maintainer).


That's great
usually I do compile all manually or even mod a bit the spec files
but for once I just started the qtp-newmodel
was for updating a "normal" not modified qmt

Well I guess I ll have to do it manually :)
.
qtp-build-rpms v0.3.5
qtp-remove-pkgs v0.3.1
REMOVED control-panel-toaster from sandbox (not for real)
Building daemontools-toaster-0.76-1.3.6 ...
Installing daemontools-toaster-0.76-1.3.6 in the sandbox ...
qtp-build-rpms - binary rpm not found for daemontools-toaster-0.76-1.3.6
qtp-build-rpms - Script Error - aborting.

Build failed, Exiting.

Wrote: /root/src/rpm/RPMS/x86_64/daemontools-toaster-0.76-1.3.6.x86_64.rpm
Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.97447
+ umask 022
+ cd /root/src/rpm/BUILD
+ cd daemontools-0.76
+ '[' -n /var/tmp/daemontools-toaster-0.76 -a
/var/tmp/daemontools-toaster-0.76 '!=' / ']'
+ rm -rf /var/tmp/daemontools-toaster-0.76
+ '[' -d /root/src/rpm/BUILD/daemontools-0.76 ']'
+ rm -rf /root/src/rpm/BUILD/daemontools-0.76
+ exit 0
Executing(--clean): /bin/sh -e /var/tmp/rpm-tmp.97447
+ umask 022
+ cd /root/src/rpm/BUILD
+ rm -rf daemontools-0.76
+ exit 0
Installing daemontools-toaster-0.76-1.3.6 in the sandbox ...


Conclusion
Then script is not handling .rpmmacros env variables
that's a fault in my opinion



Any idea why it put the rpm in /root/src/ instead of /usr/src/?
That's appears to me to be the problem.

What does
# qtp-whatami
show?

It shouldn't be tough to fix this, even though your setup isn't 
apparently typical.



--
-Eric 'shubes'




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



Re: [qmailtoaster] vpopmail-5.4.33, qmailadmin-1.2.16, vqadmin-2.3.7 upgrades

2012-08-05 Thread Philip Nix Guru


On 08/05/2012 09:55 PM, Eric Shubert wrote:
The subject software upgrades for QMT are now available. These long 
awaited upgrades are seriously overdue, as QMT has been using the same 
version of vpopmail since I built my first QMT over 6 years ago.


I'm happy to say that this brings QMT up to date with all of the 
upstream software (TTBOMK - someone please notify if something newer 
is out there), and completes work on v1.4.x until such time as another 
upstream update becomes available. If I'm lucky, QMT v1.5.0 (CentOS 
6.x compatibility) will be available before then.


The recommended upgrade procedure is as follows:
# yum update qmailtoaster-plus
# qtp-newmodel

If you're running the QTP version of dovecot:
# yum update dovecot

If you're running spamdyke (you should be if you're not):
# qtp-install-spamdyke
# service qmail restart


If you choose to do things the hard way (manually), here are some 
notes off the top of my head.


In addition to the 3 vpopmail related packages, the following packages 
should be rebuilt and reinstalled (qtp-newmodel will do this 
automatically):

qmail-toaster
courier-authlib-toaster
courier-imap-toaster

If you're running a dovecot version that you built yourself, you 
should rebuild and reinstall this as well after installing vpopmail.


There are vpopmail database changes required by vpopmail-5.4.18+. You 
should run the qtp-convert script which will do them for you 
(qtp-newmodel does this as well).



TTBOMK, all problems with vqadmin have been fixed. If you have a 
problem with it, let us know and we'll see if it can't be fixed. 
Likewise with vpopmail and quotas. There might be some database fixing 
that needs to be done to put things in sync for you, but we can cross 
those bridges as they come.


As always, if you have any problems with this, please post here.

Thanks to everyone who's helped along the way with this, especially 
our own Bharath, and Matt at inter7 (the present vpopmail maintainer).



That's great
usually I do compile all manually or even mod a bit the spec files
but for once I just started the qtp-newmodel
was for updating a "normal" not modified qmt

Well I guess I ll have to do it manually :)
.
qtp-build-rpms v0.3.5
qtp-remove-pkgs v0.3.1
REMOVED control-panel-toaster from sandbox (not for real)
Building daemontools-toaster-0.76-1.3.6 ...
Installing daemontools-toaster-0.76-1.3.6 in the sandbox ...
qtp-build-rpms - binary rpm not found for daemontools-toaster-0.76-1.3.6
qtp-build-rpms - Script Error - aborting.

Build failed, Exiting.

Wrote: /root/src/rpm/RPMS/x86_64/daemontools-toaster-0.76-1.3.6.x86_64.rpm
Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.97447
+ umask 022
+ cd /root/src/rpm/BUILD
+ cd daemontools-0.76
+ '[' -n /var/tmp/daemontools-toaster-0.76 -a 
/var/tmp/daemontools-toaster-0.76 '!=' / ']'

+ rm -rf /var/tmp/daemontools-toaster-0.76
+ '[' -d /root/src/rpm/BUILD/daemontools-0.76 ']'
+ rm -rf /root/src/rpm/BUILD/daemontools-0.76
+ exit 0
Executing(--clean): /bin/sh -e /var/tmp/rpm-tmp.97447
+ umask 022
+ cd /root/src/rpm/BUILD
+ rm -rf daemontools-0.76
+ exit 0
Installing daemontools-toaster-0.76-1.3.6 in the sandbox ...


Conclusion
Then script is not handling .rpmmacros env variables
that's a fault in my opinion








[qmailtoaster] vpopmail-5.4.33, qmailadmin-1.2.16, vqadmin-2.3.7 upgrades

2012-08-05 Thread Eric Shubert
The subject software upgrades for QMT are now available. These long 
awaited upgrades are seriously overdue, as QMT has been using the same 
version of vpopmail since I built my first QMT over 6 years ago.


I'm happy to say that this brings QMT up to date with all of the 
upstream software (TTBOMK - someone please notify if something newer is 
out there), and completes work on v1.4.x until such time as another 
upstream update becomes available. If I'm lucky, QMT v1.5.0 (CentOS 6.x 
compatibility) will be available before then.


The recommended upgrade procedure is as follows:
# yum update qmailtoaster-plus
# qtp-newmodel

If you're running the QTP version of dovecot:
# yum update dovecot

If you're running spamdyke (you should be if you're not):
# qtp-install-spamdyke
# service qmail restart


If you choose to do things the hard way (manually), here are some notes 
off the top of my head.


In addition to the 3 vpopmail related packages, the following packages 
should be rebuilt and reinstalled (qtp-newmodel will do this automatically):

qmail-toaster
courier-authlib-toaster
courier-imap-toaster

If you're running a dovecot version that you built yourself, you should 
rebuild and reinstall this as well after installing vpopmail.


There are vpopmail database changes required by vpopmail-5.4.18+. You 
should run the qtp-convert script which will do them for you 
(qtp-newmodel does this as well).



TTBOMK, all problems with vqadmin have been fixed. If you have a problem 
with it, let us know and we'll see if it can't be fixed. Likewise with 
vpopmail and quotas. There might be some database fixing that needs to 
be done to put things in sync for you, but we can cross those bridges as 
they come.


As always, if you have any problems with this, please post here.

Thanks to everyone who's helped along the way with this, especially our 
own Bharath, and Matt at inter7 (the present vpopmail maintainer).


--
-Eric 'shubes'



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