[AMaViS-user] howto setup amavis to deliver message when antivirus fails?

2008-02-07 Thread Tomas Macek
We use Postfix 2.4 with amavisd-new amavisd-new-2.4.5-1 on RHEL 4 system. We use classical setup with 2 SMTP servers - Postfix and amavisd-new listening on 10024 and we use AVG antivirus daemon for checking viruses. The problem is, that when antivirus dies for some reason, Postfix's queue is

[AMaViS-user] howto deliver bad header files

2007-08-15 Thread Tomas Macek
Hi, I'm using amavisd-new-2.4.5-1 on RH EL 4.x with spamassassin-3.1.9-1. Sometimes comes some email with bad headers and these mails go to quarantine on the disk (/var/lib/amavis in my case). How can I setup amavis to deliver normally the incoming mail with bad headers to the mailbox if the u

Re: [AMaViS-user] /var/virusmails -- cleanup?

2007-07-30 Thread Tomas Macek
Try this for example in /etc/crontab: 0 3 * * * root find /var/virusmails/ -mtime +2 -type f -exec rm -f {} \; This deletes for me at 3:00am every morning all the files in /var/virusmails older than 2 days. On Mon, 30 Jul 2007, lartc wrote: > hi all, > > this directory keeps filling up,

Re: [AMaViS-user] Always - BAD HEADER, Missing required header field: "Date"

2007-07-24 Thread Tomas Macek
> Even the SpamAssassin tests show that there was something weird > with the mail header (INVALID_MSGID, MISSING_HEADERS, no To or Cc), > so it looks the mail header was indeed somehow broken, or maybe > just genuinely submitted like that. > > Did the message arrive from outside, regularly through

Re: [AMaViS-user] Rewrite subject of virus infected mails

2007-07-22 Thread Tomas Macek
On Sun, 22 Jul 2007, mouss wrote: > Cian Davis wrote: >> -BEGIN PGP SIGNED MESSAGE- >> Hash: SHA1 >> >> >> Hi, >> I was wondering if there's an easy way of getting amavisd-new to >> rewrite the subject of virus infected e-mail? I just want to add a >> "INFECTED" tag or something. Our users