Søren Schimkat wrote:

Thanks .. that was just what I needed.

Sergey wrote:

On Friday 03 December 2004 12:01, Søren Schimkat wrote:



Im using Clamav with sendmail, and i've chosen to quarantine infected mail. My question is - what can I do with the files / emails that has been quarantined? Could they be resend somehow - or used i some other manner?


You can remove first 3 lines of quarantined file and run:
cat <file>|sendmail -it

I hope what you will be clean viruses before. ;-)





Doesnt has Sendmail 8.13.x some new queues related features?

Petr

From RELEASE notes:

Support message quarantining in the mail queue.  Quarantined
                messages are not run on normal queue displays or runs
                unless specifically requested with -qQ.  Quarantined queue
                files are named with an hf prefix instead of a qf prefix.
        The -q command line option now can specify which queue to display
                or run.  -qQ operates on quarantined queue items.  -qL
                operates on lost queue items.
        Restricted mail queue runs and displays can be done based on the
                quarantined reason using -qQtext to run or display
                quarantined items if the quarantine reason contains the
                given text.  Similarly, -q!Qtext will run or display
                quarantined items which do not have the given text in the
                quarantine reason.
        Items in the queue can be quarantined or unquarantined using the
                new -Q option.  See doc/op/op.me for more information.
        When displaying the quarantine mailq with 'mailq -qQ', the
                quarantine reason is shown in a new line prefixed by
                "QUARANTINE:".
        A new error code for the $#error mailer, $@ quarantine, can be used
                to quarantine messages in check_* (except check_compat) and
                header check rulesets.  The $: of the mailer triplet will
                be used for the quarantine reason.
        Add a new quarantine count to the mailstats collected.
        Add a new macro ${quarantine} which is the quarantine reason for a
                message if it is quarantined.




_______________________________________________ http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users

Reply via email to