Re: [qmailtoaster] Re: qtp-backup glitch

2010-08-23 Thread David Milholen


  
  
On 8/17/2010 10:31 AM, David Milholen wrote:

  
  On 08/16/2010 08:57 AM, Jake Vickers wrote:
  

On 08/16/2010 09:45 AM, David Milholen wrote:

  
  
  On 08/15/2010 10:38 AM, Jake Vickers wrote:
  On
08/15/2010 12:10 AM, David Milholen wrote: 
On 8/14/2010 10:56 PM, Jake Vickers
  wrote: 
  On 08/14/2010 11:42 PM, David
Milholen
wrote: 
I dont like answering my self
  but
  just wanted to post an update on this. 
  I retried the backup/restore and all seemed to be
  restored perfectly
  this time. 
  Accept vqadmin is broke when viewing domains. It will
  only see one
  which is the most recent one 
  I submitted. 
  The other domains have been with us for a while. 
  I like using vqadmin to manage the domains and be able
  to see on the
  fly when users have logged in. 
  
  This is what I get in the HTTPD error_log 
  
  Premature end of script headers: toaster.vqadmin,
  referer: http://63.147.8.12/mail/vqadmin/toaster.vqadmin
  
  
  8.12 is the temp ip this machine has. 
  


Search back in the archives - you need to edit the
database to get
vqadmin to work correctly again. It lists the numebr of
users as
21469839587 or something silly like that, and you need
to change it to
0 

  
  I did this and the above was the result.. What is weird
  is that only
  the most recent domain is fine. The others will return
  this error. 
  
  If I use qcontrol to view them the one domain is fine but
  the rest are
  not present. 
  
  Ugh.. Ive been at it for a while and dont know where else
  to look. 



You'll need to look at your database structure to compare it
against
the "working" one and the restored. Something is different
there - I've
used the script to backup/restore 20+ servers without issue.


  
  I fixed the issue with the backup portion and everything
  restores but
  for some reason the domains when being displayed in vqadmin
  will give a
  500 error on the page. All except one..
  I did some looking at the database and did some comparing and
  cannot
  find any differences than what you spoke about.
  I corrected these and made it look like the working domain but
  still
  same issue.
  
  Is there is a dump you want me to perform to show the errors
  when I try
  to display the page?



Seeing some logs will be helpful.
Are you doing anything else not mentioned? Going from an older
version
to a new? From 32-bit to 64-bit?
Does the uid/gid of vpopmail match on both servers?
  
  Ok, 
  Both machine have similar hardware. 
  This is the new machine:
  # uname -a
  Linux ns4 2.6.18-194.8.1.el5 #1 SMP Thu Jul 1 19:07:06 EDT 2010
  i686
  i686 i386 GNU/Linux
  
  This is the Old machine:
  uname -a
  Linux ns2.wletc.com 2.6.9-89.0.23.ELsmp #1 SMP Wed Mar 17 06:55:21
  EDT
  2010 i686 i686 i386 GNU/Linux
  
  Both UID/GID are the same at 89.
  
  Here is the httpd.error_log from the new machine. This occurs as
  soon
  as you attempt to view any domain.
  
  [Sun Aug 15 10:44:34 2010] [error] [client 63.144.48.2] PHP
  Notice:
  Undefined index: file in /usr/share/toaster/include/admin.inc.php
  on
  line 5
  [Sun Aug 15 10:44:34 2010] [error] [client 63.144.48.2] PHP
  Notice:
  Undefined variable: PHP_SELF in
  /usr/share/toaster/htdocs/admin/index.php on line 55
  [Sun Aug 15 10:44:34 2010] [error] [client 63.144.48.2] PHP
  Notice:
  Undefined index: oldpasswd in
  /usr/share/toaster/htdocs/admin/index.php on line 81
  [Sun Aug 15 10:44:34 2010] [error] [client 63.144.48.2] PHP
  Notice:
  Undefined index: newpasswd in
  /usr/share/toaster/htdocs/admin/index.php on line 81
  [Sun Aug 15 10:44:34 2010] [error] [client 63.144.48.2] PHP
  Notice:
  Undefined index: newpasswd2 in
  

[qmailtoaster] fail2ban config w/ spamdyke

2010-08-23 Thread Eric Shubert

Here's an interesting post from the spamdyke list:
http://www.spamdyke.org/mailman/private/spamdyke-users/2010q3/002961.html

Would someone like to update the wiki with the contents?
I presume we have wiki page about fail2ban somewhere - if not we should.

Been pretty quiet here lately. Nice. Things must be working! :)

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




Re: [qmailtoaster] Re: qmail toaster webmail/admin page

2010-08-23 Thread Fransiska Ike
On Tue, Aug 24, 2010 at 11:37 AM, Eric Shubert e...@shubes.net wrote:

 Did you use the firewall.sh script? If so, did you adjust it so it doesn't
 block private (192.168.) addresses?

 --
 -Eric 'shubes'



Hi Eric,

No, I didn't touch / modify anything in firewall.sh script unless
explicitly mentioned in the Guide on the qmailtoaster site e.g change
mysql password.

Sorry for being so noob, I'm still clueless... this is completely new
thing for me.
---
Suppose I throw a coin enough times, will it ever, someday, land on its edge?

-
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