Bug#295415: amavis-ng: Fails to start with perl errors

2005-02-19 Thread Black Dew
I just noticed that another error was writen to the logs that i missed:
amavis[20297]: AMAVIS::MTA::Courier: Could not open socket
Also i poked around the initialization code of MTA::Courier and found 
something odd:

 # The fd of our perlfilter socket is passed to us on STDIN
  my $socket_fd = shift @ARGV;
  $perlfilter_socket = IO::File-new(+$socket_fd);
The comment says STDIN but the code seems to use argv...
--
Best regards, Black Dew.
==
~ [EMAIL PROTECTED] ~ ICQ:206 ~ 2:400/567 ~
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]


Bug#295415: amavis-ng: Fails to start with perl errors

2005-02-17 Thread Black Dew
After applying the patch, i get:
AMAVIS: Couldn't init AMAVIS::MTA::Courier:  at 
/usr/share/perl5/AMAVIS.pm line 235, GEN2 line 520.

--
Best regards, Black Dew.
==
~ [EMAIL PROTECTED] ~ ICQ:206 ~ 2:400/567 ~
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]


Bug#295415: amavis-ng: Fails to start with perl errors

2005-02-17 Thread Stefan Hornburg
On Thu, 17 Feb 2005 15:20:54 +0200
Black Dew [EMAIL PROTECTED] wrote:

 After applying the patch, i get:
 
 AMAVIS: Couldn't init AMAVIS::MTA::Courier:  at 
 /usr/share/perl5/AMAVIS.pm line 235, GEN2 line 520.

How does the Courier section of your amavis-ng configuration
file looks like ?

Bye
 Racke


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#295415: amavis-ng: Fails to start with perl errors

2005-02-17 Thread Black Dew
Stefan Hornburg wrote:
How does the Courier section of your amavis-ng configuration
file looks like ?
[Courier]
;; Location and arguments of the binary
 sendmail = /usr/sbin/sendmail
 args =
--
Best regards, Black Dew.
==
~ [EMAIL PROTECTED] ~ ICQ:206 ~ 2:400/567 ~
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]


Bug#295415: amavis-ng: Fails to start with perl errors

2005-02-15 Thread Leo \Costela\ Antunes
Subject: amavis-ng: Fails to start with perl errors
Package: amavis-ng
Version: 0.1.6.9-1
Severity: critical
Justification: breaks unrelated software

After an upgrade, amavis started spewing a lot of emergency errors and
stoped working (bringing down all mail delivery with it).
I use the Courier module and it started complaining about two things:

Feb 15 15:05:21 mime amavis[32018]: ***EMERG*** AMAVIS::MTA::Courier
does not define $AMAVIS::MTA::Courier::VERSION--version check failed at
(eval 5) line 1, GEN5 line 520.
Feb 15 15:05:21 mime amavis[32018]: ***EMERG*** AMAVIS::MTA::Courier
does not define $AMAVIS::MTA::Courier::VERSION--version check failed at
(eval 5) line 1, GEN5 line 520.
Feb 15 15:05:21 mime amavis[32018]: ***EMERG*** BEGIN
failed--compilation aborted at (eval 5) line 1, GEN5 line 520.
Feb 15 15:17:22 mime amavis[25189]: ***EMERG*** Global symbol
$directory requires explicit package name
at /usr/share/perl5/AMAVIS/MTA/Courier.pm line 111, GEN2 line 520.
Feb 15 15:17:22 mime amavis[25189]: ***EMERG*** Compilation failed in
require at (eval 4) line 1, GEN2 line 520.
Feb 15 15:17:22 mime amavis[25189]: ***EMERG*** Global symbol
$directory requires explicit package name
at /usr/share/perl5/AMAVIS/MTA/Courier.pm line 111, GEN2 line 520.
Feb 15 15:17:22 mime amavis[25189]: ***EMERG*** Compilation failed in
require at (eval 4) line 1, GEN2 line 520.
Feb 15 15:17:22 mime amavis[25189]: ***EMERG*** BEGIN
failed--compilation aborted at (eval 4) line 1, GEN2 line 520.
Feb 15 15:17:22 mime amavis[25189]: AMAVIS: Couldn't load
AMAVIS::MTA::Courier

These errors, of course, repeated a lot.

I imagine this is something specifically wrong with the Courier module.

Cheers

-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.7
Locale: LANG=C, LC_CTYPE=pt_BR (charmap=ISO-8859-1)

Versions of packages amavis-ng depends on:
ii  debconf   1.4.45 Debian configuration
management sy
ii  libconfig-inifiles-perl   2.38-3 Read .ini-style
configuration file
ii  libfile-mmagic-perl   1.22-1 Perl module to guess file
type
ii  libmime-perl  5.417-1Perl5 modules for
MIME-compliant m
ii  logrotate 3.7-2  Log rotation utility
ii  perl [libmime-base64-perl]5.8.4-6Larry Wall's Practical
Extraction 
ii  perl-modules [libnet-perl]5.8.4-6Core Perl modules
ii  perl-suid 5.8.4-6Runs setuid Perl scripts

-- debconf information:
  amavis-ng/filename-changes:




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]