qpsmtpd-0.83-clamd_conf.patch 706 B

12345678910111213
  1. diff -Nuar --exclude '*.orig' --exclude '*.rej' qpsmtpd-0.83.orig/plugins/virus/clamav qpsmtpd-0.83/plugins/virus/clamav
  2. --- qpsmtpd-0.83.orig/plugins/virus/clamav 2009-07-20 15:36:17.000000000 +0000
  3. +++ qpsmtpd-0.83/plugins/virus/clamav 2009-09-16 01:14:22.903329780 +0000
  4. @@ -151,7 +151,7 @@
  5. $self->{_max_size} ||= 512 * 1024;
  6. $self->{_spool_dir} ||= $self->spool_dir();
  7. $self->{_back_compat} ||= ''; # make sure something is set
  8. - $self->{_clamd_conf} ||= '/etc/clamd/conf'; # make sure something is set
  9. + $self->{_clamd_conf} ||= '/etc/clamd.conf'; # make sure something is set
  10. $self->{_declined_on_fail} ||= 0; # decline the message on clamav failure
  11. unless ($self->{_spool_dir}) {