This is not a virus, but a file that acts like one, used to test antivirus installations and setups, so it does NO harm at all! If either clamav-daemon og clamsmtp is not running you will get failures in the log. Just make sure that postfix, clamsmtpd and clamav-daemon is running! Ok, now everything is configured, and should be working! o smtpd_recipient_restrictions=permit_mynetworks,reject o receive_override_options=no_unknown_recipient_checks,no_header_body_checks #Inject mail into postfix from the netfilter This one is a little more tricky.Īlso make sure that there are no whitespaces between the '=' signs! Recieve_override_options = no_address_mappingsĪfterwards, edit the mater.cf. Insert the following lines into the main.cf file. We need to edit the master.cf and main.cf. Now you should see that ClamAV is updating antivirus definitions.Īctually this is not needed, since it should be default values, but do a check anyway! None, in my case.Ĥ) Select yes, to update the databases on each update.ĥ) Select yes, to remove qurantined packages, when removing packages with the (In my example, this is Denmark)ģ) Proxy informations to access the internet. Just after the installation you will be selected with options, on how you wish to update antivirus definitions.ġ) I select daemon here since the server is always connected to the internetĢ) Choose the mirror closest to your. This will install the clamav daemon, and freshclam as well which we will need! The rest of the source links was already there.ĭeb lenny/volatile main contrib non-freeĪgain, the last two lines, are the ones we want for keeping ClamAV up-to date.Īfter the change/add of the volatile source or squeeze-updates, please update the system. ![]() In the example below, the volatile source is the last link, and the only one that we have added here. If you want to know more about volatile, please follow this link.: The Debian Volatile ProjectĪgain, note volatile have been replaced with squeeze-updates. Of course we will need to update the system manually ! ![]() ![]() This is just my own writeup/rewriteup for getting this to work.Ĭonfiguring the source list Since Debian Squeeze 6.0, volatile have been replaced with squeeze-updates.įor Debian Lenny, it is an absolute must to have volatile in your source.list, and for Debian Squeeze squeeze-updates, since antiviruses definitions and normal revision updates to the application very often occour.īy adding volatile or squeeze-updates to the source list, we make sure that we get these updates as soon as they come. The original post and author can be found here! This works both for incomming and outgoing mails. So I decided to configure an antivirus scanner on my postfix installation. Distroname and release: Debian Squeeze Postfix with Antivirus filter using ClamAVĪctually viruses was not a big problem for me (since my clients are *nix based) ), but it could be for some.Īlso I wanted to make sure that I do not spread the viruses to other computers, in example during backup or similiar!
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |