Koozali.org: home of the SME Server

amavis instalation problem

RayG

amavis instalation problem
« on: August 01, 2004, 05:51:38 PM »
I installed spamassassin and amavis/clamd using Jesper Knudsen's  great scripts on a fresh SME 6.0.1 install early last week. I'm running into a small problem with processing of infected messages. I suspect I've misconfigured something but I can't figure out what or where. I would appreciate it if somebody could point me in the right direction. The error message from the smtpfront-qmail log and the code snippet is listed below with the offending line seperated from the rest.


2004-07-27 18:58:19.447106500 Use of uninitialized value in split
at /usr/lib/perl5/site_perl/5.6.1/AMAVIS/Notify/Admin.pm line 23.



sub init {
  my $self = shift;
  my $args = shift;
  writelog($args,LOG_DEBUG,__PACKAGE__." initialized.");
  $cfg_sender = $AMAVIS::cfg->val('Notify', 'mail from');
  $cfg_sender = 'postmaster' unless defined($cfg_sender);

  @cfg_admin = split / *, */, $AMAVIS::cfg->val('Notify', 'admin');

  @cfg_admin = ('postmaster') unless ($#cfg_admin>=0);
  # Return successfully
  return 1;
}

Offline smeghead

  • *
  • 563
  • +0/-0
amavis instalation problem
« Reply #1 on: August 01, 2004, 08:47:14 PM »
.. contact me off list for a coupla progs that will verify and optionally repair your qmail structure (assuming you haven't been messing with the admin.pm file manually)
..................