diff -Nur -x '*.orig' -x '*.rej' qpsmtpd-0.40/plugins/virus/clamav mezzanine_patched_qpsmtpd-0.40/plugins/virus/clamav --- qpsmtpd-0.40/plugins/virus/clamav 2007-06-30 10:49:36.000000000 -0600 +++ mezzanine_patched_qpsmtpd-0.40/plugins/virus/clamav 2007-06-30 10:48:46.000000000 -0600 @@ -207,8 +207,8 @@ if ($result == 1) { $self->log(LOGINFO, "Virus(es) found: $output"); if ($self->{_action} eq 'add-header') { - $transaction->header->add('X-Virus-Found', 'Yes'); - $transaction->header->add('X-Virus-Details', $output); + $transaction->header->add('X-Virus-Details', $output, 0); + $transaction->header->add('X-Virus-Found', 'Yes', 0); } else { return (DENY, "Virus Found: $output"); } @@ -219,7 +219,7 @@ } $transaction->header->add( 'X-Virus-Checked', - "Checked by ClamAV on " . $self->qp->config("me") ); + "Checked by ClamAV on " . $self->qp->config("me"), 0); return (DECLINED); } diff -Nur -x '*.orig' -x '*.rej' qpsmtpd-0.40/plugins/virus/clamdscan mezzanine_patched_qpsmtpd-0.40/plugins/virus/clamdscan --- qpsmtpd-0.40/plugins/virus/clamdscan 2007-06-30 10:49:36.000000000 -0600 +++ mezzanine_patched_qpsmtpd-0.40/plugins/virus/clamdscan 2007-06-30 10:49:11.000000000 -0600 @@ -169,14 +169,14 @@ . "Found: $viruses" ); } else { - $transaction->header->add( 'X-Virus-Found', 'Yes' ); - $transaction->header->add( 'X-Virus-Details', $viruses ); + $transaction->header->add( 'X-Virus-Details', $viruses, 0 ); + $transaction->header->add( 'X-Virus-Found', 'Yes', 0 ); return (DECLINED); } } $transaction->header->add( 'X-Virus-Checked', - "Checked by ClamAV on " . $self->qp->config("me") ); + "Checked by ClamAV on " . $self->qp->config("me"), 0 ); return (DECLINED); }