We have dedicated server with Godaddy running Postfix as a mail sever and SpamAssassin as a mail filter. There are some contact mails specified on our websites, which were getting 1000’s of spam mails daily. SpamAssassin is active on our server but it was just adding extra [SPAM] in the subject of the emails. I was looking for how to discard these mails, instead of just modifying the subject of the mails.

Here is the solution which I found.

1. You should have SpamAssassin active on your server, which will analyze the mails coming in and mark them as SPAM. If SpamAssassin is not active, then you can activate on Godaddy dedicated server using the Simple Control Panel.
2. Next, edit the /etc/postfix/header_checks file, which uses a regular expression to check the header of the email message and then apply a rule to the message accordingly.

3. add the following lines to the bottom of the header_checks file:

/^X-Spam-Flag: YES/ DISCARD SpamAssassin Confirmed Spam Content
/^(Subject: \[SPAM\])(.+)$/ DISCARD Spam Content
/^X-Spam-Level: \*{15,}.*/ DISCARD

You can checkout more header_checks rules here : http://www.techiepark.com/wp-content/uploads/2009/09/header_checks.txt

4. In /etc/postfix/main.cf, add header_checks = regexp:/etc/postfix/header_checks

5. Now reload postfix configuration using the following command
postfix reload or service postfix restart

What this does is, it will check for the rules specified in the header_checks file and effectively discard the spam emails from forwarding into your users email accounts.

More Information :
http://www.akadia.com/services/postfix_uce.html

Post to Twitter Post to Yahoo Buzz Post to Delicious Post to Digg Post to Reddit Post to StumbleUpon

Share or Bookmark This Post With :

Compression is a simple and effective way to speed up your site. Modern browsers supports gzip compressed content and are capable of uncompressing gzip data into plain text.

The gzip module configuration depends on your Apache Server version:
Apache 1.3 uses mod_gzip while Apache 2.x uses mod_deflate.

mod_gzip configuration for Apache 1.3.x:

<IfModule mod_gzip.c>
mod_gzip_on Yes
mod_gzip_dechunk Yes
mod_gzip_item_include file \.(html?|txt|css|js|php)$
mod_gzip_item_include handler ^cgi-script$
mod_gzip_item_include mime ^text/.*
mod_gzip_item_include mime ^application/x-javascript.*
mod_gzip_item_exclude mime ^image/.*
mod_gzip_item_exclude rspheader ^Content-Encoding:.*gzip.*
</IfModule>

Read more

Post to Twitter Post to Yahoo Buzz Post to Delicious Post to Digg Post to Reddit Post to StumbleUpon

Share or Bookmark This Post With :

What will seem familiar is the need to access information very quickly – often with just a few minutes to spare. The problem we face is that the notebook PCs on which that information is stored may take that much time or more just to boot up and launch the applications you need to get to the information.

HP QuickLook3 and QuickWeb are innovative software solutions that sit outside your computer’s operating system, enabling you to access the web without having to boot into Windows. With a single touch of a button, you can enjoy a fast connection to your Outlook Contacts/eMail/Tasks or the Internet in under 20 seconds from a power-off state. (HP QuickLook3 and QuickWeb are included with select HP Business notebook PCs)

Read more

Post to Twitter Post to Yahoo Buzz Post to Delicious Post to Digg Post to Reddit Post to StumbleUpon

Share or Bookmark This Post With :

Page 1 of 291234» ... Last »
Subscribe to RSS Feeds Follow me on Twitter Add to Favourite
 
Sponsors
 
Tags
 
Network [+]
 
© Copyright 2009 - 2011 TechiePark.com. All Rights Reserved | Powered by WordPress
This work is licensed under a Creative Commons Attribution 3.0 Unported License
Php5 powered    Mysql powered    Apache powered   Best viewed with  Spread Firefox Affiliate Button