Archive | January, 2008

Email alerts with Sophos virus scanner

I have looked through the Sophos configuration options and below is a list of commands that you can preform to get proper e-mail alerts: /opt/sophos-av/bin/savconfig SendErrorEmail true /opt/sophos-av/bin/savconfig SentThreatEmail true /opt/sophos-av/bin/savconfig EmailNotifier true /opt/sophos-av/bin/savconfig EmailDemandSummaryIfThreat true /opt/sophos-av/bin/savconfig Email your@emailaddress.com To remove an email address from the list: /opt/sophos-av/bin/savconfig delete Email yoursecond@emailaddress.com You can repeat the [...]

I have looked through the Sophos configuration options and below is a list of commands that you can preform to get proper e-mail alerts:

/opt/sophos-av/bin/savconfig SendErrorEmail true
/opt/sophos-av/bin/savconfig SentThreatEmail true
/opt/sophos-av/bin/savconfig EmailNotifier true
/opt/sophos-av/bin/savconfig EmailDemandSummaryIfThreat true
/opt/sophos-av/bin/savconfig Email your@emailaddress.com 

To remove an email address from the list:

/opt/sophos-av/bin/savconfig delete Email yoursecond@emailaddress.com

You can repeat the Email command above with a single email address and until you delete that new email using the delete command it will remain, so you can add multiple addresses at different times (the first time, add your address, then later add another technical addy.)

View Comments Continue Reading →

Disable on-access scanning with Sophos

To disable the on-access scanning in Sophos for now with this command: /opt/sophos-av/bin/savdctl disable It can later be re-enabled with this command: /opt/sophos-av/bin/savdctl enable As for checking for what Sophos has been doing lately, the log files are located in the following path: /opt/sophos-av/log As for further documentation, there are man pages for most of [...]

To disable the on-access scanning in Sophos for now with this command:

/opt/sophos-av/bin/savdctl disable

It can later be re-enabled with this command:

/opt/sophos-av/bin/savdctl enable

As for checking for what Sophos has been doing lately, the log files are located in the following path:

/opt/sophos-av/log

As for further documentation, there are man pages for most of the various Sophos binaries that you can find in /opt/sophos-av/bin so you should be able to view the man page for them with “man savdctl” or whichever binary you need to look at.

View Comments Continue Reading →

Add RBL to Postfix

Add the following line to the bottom of /etc/postfix/main.cf or extend the existing smtpd_client_restrictions line: smtpd_client_restrictions = reject_rbl_client sbl.spamhaus.org, reject_rbl_client bl.spamcop.net Bookmark on Delicious Digg this post Recommend on Facebook share via Reddit Share with Stumblers Tweet about it Subscribe to the comments on this post Print for later Bookmark in Browser Tell a friend

Add the following line to the bottom of /etc/postfix/main.cf or extend the existing smtpd_client_restrictions line:

smtpd_client_restrictions = reject_rbl_client sbl.spamhaus.org, reject_rbl_client bl.spamcop.net
View Comments Continue Reading →