Archive for July, 2006

Patch Apache 2.0.58 to 2.0.59

apache mod_rewrite vulnerability, patch to latest version to avoid buffer overflow attack.

Why Microsoft Office is Expensive

Yesterday, my friend said he wants to buy Microsoft Office 2003 for his office uses, and he asked me wether I know what is the price of the software. I told him it’s expensive, may be he can try to use Open Office, it’s Open Source Software and free.

Open Office has the functions that normal word processing software has. He said, why not check out the price first and decide what to choose later. I told him, a Microsoft Office Pro is RM1070, and he needs 2, one for him and another for the secretary. So, the total would be RM2140.

He reaction was, “Wow, so expensive, I can buy another AMD PC isn’t it?”. I said yes, it’s expensive, because…

Tags: , , , , ,

Exim, refused: too many connections

One of our mailserver having problem last week. It’s caused by the massive connections connected into the server sending out newsletter(large database unstoppable loops) from one host.

2006-06-15 08:50:06 Connection from [201.xx.xx.xx] refused: too many connections
2006-06-15 08:50:20 Connection from [201.xx.xx.xx] refused: too many connections
2006-06-15 08:50:24 Connection from [201.xx.xx.xx] refused: too many connections
2006-06-15 08:50:28 Connection from [201.xx.xx.xx] refused: too many connections
2006-06-15 08:50:32 Connection from [201.xx.xx.xx] refused: too many connections

Exim default allow maximum 20 connections from a host. You can increase the connection in the main configuration file by adding in this line;

smtp_accept_max = 50

For more information, visit Exim’s documentation site.

Exim: Backup/Archive your email

Loitering around Google and finding a way to archive/backup incoming email in Exim email server. I went through the documentation in Exim offical website and found out a solution to do that with $tod_log, substr and shadow_transport.

The below transport rule will backup copy of email into /mail/backup/datetime/domainname/userid


save_incoming_email:
driver = appendfile
file = /mail/backup/${substr_0_10:$tod_log}/$domain/$local_part
delivery_date_add
envelope_to_add
return_path_add
group = paulooieximing
user = paulooieximing


local_delivery:
driver = appendfile
file = /mail/$domain/$local_part/inbox
create_directory
delivery_date_add
envelope_to_add
return_path_add
group = paulooieximing
user = paulooieximing
shadow_transport = save_incoming_email

This rules will backup all incoming email in local_delivery router. For you information;

$local_part = email userid
$domain = domain name
$tod_log = date time for log files
${substr_0_10:$tod_log} = substring 10 char for date “2006-07-01″

Exim: Backup/Archive your email

Loitering around Google and finding a way to archive/backup incoming email in Exim email server. I went through the documentation in Exim offical website and found out a solution to do that with $tod_log, substr and shadow_transport.

The below transport rule will backup copy of email into /mail/backup/datetime/domainname/userid


save_incoming_email:
driver = appendfile
file = /mail/backup/${substr_0_10:$tod_log}/$domain/$local_part
delivery_date_add
envelope_to_add
return_path_add
group = paulooieximing
user = paulooieximing


local_delivery:
driver = appendfile
file = /mail/$domain/$local_part/inbox
create_directory
delivery_date_add
envelope_to_add
return_path_add
group = paulooieximing
user = paulooieximing
shadow_transport = save_incoming_email

This rules will backup all incoming email in local_delivery router. For you information;

$local_part = email userid
$domain = domain name
$tod_log = date time for log files
${substr_0_10:$tod_log} = substring 10 char for date “2006-07-01″

Tags: ,

Next Page »