Archive forApril, 2009

Way to block Incoming/Outgoing spam email

You can configure the rule at /etc/cpanel_exim_system_filter to block for Incoming/outgoing spam email

As tested, it work perfect to stop those email.

Sample Log:
2009-04-18 14:06:42 1Lv3hK-0001Y9-64 Message FROM hploh@rv.iluvbear.com TO test@test,cim is PHISHING – SUBJECT: banking online

Drawback is
-if configure to send the response to the sender, it might cause failed loop and create more work to the mail system, without the response, users might complaint :(

-second, some of the user might define the send from as other email account such as, test@yahoo.com. with the new configuration, it reject the outgoing mail from yahoo, hotmail, etc

Anyway, to prevent upcp revert the cpanel_exim_system_filter setting, you could touch a file with a new name and include it at WHM > Exim Configuration Editor> System Filter File

For the old cpanel version (cpanel 10), you shall look for this file:
/etc/antivirus.exim

*http://www.webhostgear.com/338.html

Comments

logrotate

logrotate is designed to ease administration of systems that generate large numbers of log files.  It allows automatic rotation, compression, removal, and mailing of log files.  Each log file may be handled daily, weekly, monthly, or when it grows too large.

To check the logrotate status, you can tail the log at /var/lib/logrotate.status

example:
“/var/log/cron” 2009-4-12
“/var/log/yum.log” 2009-4-3
“/var/log/wtmp” 2008-10-23
“/var/log/exim_mainlog” 2009-4-12

logrotate configuration file at /etc/logrotate.conf

As usual, man logrotate to find out more

Or you could try to check it out at WHM > Main >> Service Configuration >> cPanel Log Rotation Configuration.

Tried to check the crontab, but not sure how cpanel include this task to be running.

Comments

Gud 。。O Bad

My broth is going on a company trip to US!! Glad to hear that!

When I will have this chances? :D

Congrats, brot!!

Besides this gud new, there was a bad new from ah girl, she quit from his Hairstyling course, is this a good decision?? I dunno!!Hope that she knew what she had done and wont feel regret in the future. I believe my and I will always support her! BUT,girl, you have to learn to grow!!

Comments