Archive for the ‘Misc’ Category


Problem

Error in Squirrel Mail while sending Auto Reply or Vacation Error .

Error :

May 10 13:39:19 griffin sendmail[18610]: o4A3dAFW018583: to=\\dir.yokine, delay=00:00:04, xdelay=00:00:00, mailer=local, pri=104256, dsn=2.0.0, stat=Sent
May 10 13:39:19 griffin smrsh: uid 2913: attempt to use “vacation dir.yokine” (stat failed)
May 10 13:39:19 griffin sendmail[18610]: o4A3dAFW018583: to=”|/usr/bin/vacation dir.yokine”, ctladdr= (2913/2913), delay=00:00:04, xdelay=00:00:00, mailer=prog, pri=104256, dsn=5.0.0, stat=Service unavailable

Solution :

Squirrel use RPM vacation to send an autoreply . Install the rpm called vacation in the server and it should be ok ..

Link for RPM Vacation :

http://rpm.pbone.net/index.php3/stat/4/idpl/555777/dir/redhat_other/com/vacation-1.2.6.1-2.i386.rpm.html

MediaWIKI – Chage Mediawiki Logo

Posted: April 20, 2010 in Misc

How to change my MediaWiki logo image?

In order to change the MediaWiki default logo you should do the following:

1. Create an image for your logo with dimensions of 135×135 pixels.

The recommended format for the image is .png, but other formats like .gif or .jpeg are also ok. Please note that if you upload image with different dimensions it may not be displayed.

2. Upload your logo image somewhere on your web hosting account.

For example you can upload it directly in the public_html folder.

3. Add or edit the $wgLogo line in the LocalSettings.php to contain the path to your logo

The LocalSettings.php file is located under the directory where your MediaWiki is installed. If it is installed directly in the public_html, this file will also be there. If it is installed in a subdirectory of the public_html, the file will be located in the subdirectory.

You should open the LocalSetting.php and look for a line that starts with $wgLogo. If there is no such line you should add it yourself and if there already is such a line you should edit it to contain the path to your logo. For example if we suppose that your logo is named logo.png and you have uploaded it directly in the public_html folder the line should look like:

$wgLogo = “logo.png”

If you have uploaded the logo in a subdirectory of you public_html, be sure to paste the whole path. For example if you have uploaded you logo logo.png in the skins/common/images/ directory the line should look like:

$wgLogo = “skins/common/images/logo.png”

4. If you have followed the instructions above and you still do not see your logo, please make sure that in the LocalSettings.php the image upload is allowed.

To do this open the LocalSettings.php file and change the line

$wgEnableUploads = false;

to

$wgEnableUploads = true;

NB: It is possible to simply overwrite the default logo installed with MediaWiki, but this is strongly advised against, as an upgrade may end up overwriting it or change the default location of this file.


Error message

"Thread View" does not work
ERROR: Bad or malformed request.
Query: THREAD ORDEREDSUBJECT ISO-8859-1 ALL
Server responded: Error in IMAP command UID: ORDEREDSUBJECT threading is currently not supported.

Solution

You need to log into Squirrelmail then click on “Options” then “DisplayPreferences” and make sure that “Enable Thread Sort by References Header” is set to “yes”.


WARNING IMAP Server Da(IMAP Server Pr) 03.02.10 12:21:42
[OM.DMON 2107] Maximum number of IMAP connections exceeded

After googling the error I got the following solution on scalix forum

http://www.scalix.com/forums/viewtopic.php?f=2&t=9370

Basicaly it ask to increase the imap connection limit from 500 .

made the change on the followng file

/var/opt/scalix/gn/s/sys/general.cfg

IMAP_CONNECTION_LIMIT=800 — > changed from 500 to 800
IMAP_CONNRATE_LIMIT=10
# The IMAP_IDLE_TIMEOUT tweak is the maximum time an IMAP connection
# will wait for a command before terminating the connection. The default
# setting, and the minimum required setting, is thirty minutes. Some
# clients will “refresh” their connection once every thirty minutes
# exactly — but if they are a little bit late, the server drops their
# connection. Setting a timeout of 31 minutes avoids this problem.
#IMAP_IDLE_TIMEOUT=31
IMAP_IDLE_TIMEOUT=10 ——> From 31 to 10 Minites .