Bug#465095: mailscanner fails to start with FIELD_NAME not imported

2008-02-16 Thread Simon Walter

Hi Tom,

thanks for this info.

>From mailscanner Changelog 4.66.5:
Updated to handle new MailTools 2.02. This includes the use of several new
  Perl modules, so you'll have to use the install.sh to install all the
  requirements of the new MailTools code (unless you are doing clever things
  with yum repositories).

So updating the package to a version > 4.66 would probably fix this
problem.

Problem is, I'm only Maintainer no DD and currently I don't have a
sponsor at hand. I had two offers but no reply yet.

I will try to build a debian package from the newest upstream version
some day next week and upload it to mentors.

-- 
Regards
Simon Walter

Tom Faska <[EMAIL PROTECTED]> writes:

> I have experienced this problem and found that it is caused by
> upgrading libmailtools-perl from version 1.77-1 to 2.02-1.  The
> problem is fixed when downgrading the libmailtools-perl back to
> version 1.77-1.  This is reproducible as seen from the terminal
> capture below.
>
> Apparently there is some incompatibility between Mailscanner 4.58.9-2 
> and libmailtools-perl version 2.02-1.
>
> I hope this helps.
>
> Tom
>
> --
>
> Mailscanner version installed
>monitor:~# dpkg -l mailscanner
>Desired=Unknown/Install/Remove/Purge/Hold
>|
> Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
>|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err:
> uppercase=bad)
>||/ Name   VersionDescription
>
> +++-==-==-
>ii  mailscanner4.58.9-2   email virus scanner and spam tagger
>
>
> Stop and restart Mailscanner with no errors on start
>monitor:~# /etc/init.d/mailscanner stop
>Program MailScanner, 1 process(es), refused to die.
>monitor:~# /etc/init.d/mailscanner stop
>monitor:~# /etc/init.d/mailscanner start
>
> Upgrade libmailtools-perl from version 1.77-1 to 2.02-1
>monitor:~# apt-get -u upgrade
>Reading package lists... Done
>Building dependency tree... Done
>The following packages will be upgraded:
>  libmailtools-perl
>1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
>Need to get 0B/96.6kB of archives.
>After unpacking 28.7kB disk space will be freed.
>Do you want to continue [Y/n]?
>(Reading database ... 38857 files and directories currently installed.)
>Preparing to replace libmailtools-perl 1.77-1 (using
> .../libmailtools-perl_2.02-1_all.deb) ...
>Unpacking replacement libmailtools-perl ...
>Setting up libmailtools-perl (2.02-1) ...
>
> Now stop and restart Mailscanner with the error
>monitor:~# /etc/init.d/mailscanner stop
>Program MailScanner, 1 process(es), refused to die.
>monitor:~# /etc/init.d/mailscanner stop
>monitor:~# /etc/init.d/mailscanner start
>Variable "$FIELD_NAME" is not imported at
> /usr/share/MailScanner/MailScanner/Message.pm line 6367.
>Variable "$FIELD_NAME" is not imported at
> /usr/share/MailScanner/MailScanner/Message.pm line 6370.
>Global symbol "$FIELD_NAME" requires explicit package name at
>/usr/share/MailScanner/MailScanner/Message.pm line 6367.
>Global symbol "$FIELD_NAME" requires explicit package name at
>/usr/share/MailScanner/MailScanner/Message.pm line 6370.
>Compilation failed in require at /usr/sbin/MailScanner line 79.
>BEGIN failed--compilation aborted at /usr/sbin/MailScanner line 79.
>
> Mailscanner failed to start
>monitor:~# /etc/init.d/mailscanner stop
>No MailScanner found running; none killed.
>
> Downgrade libmailtools-perl back to version 1.77
>monitor:~# dpkg --force-downgrade -i 
> /var/cache/apt/archives/libmailtools-perl_1.77-1_all.deb
>dpkg - warning: downgrading libmailtools-perl from 2.02-1 to 1.77-1.
>(Reading database ... 38855 files and directories currently installed.)
>Preparing to replace libmailtools-perl 2.02-1 (using
> .../libmailtools-perl_1.77-1_all.deb) ...
>Unpacking replacement libmailtools-perl ...
>Setting up libmailtools-perl (1.77-1) ...
>
> Now no errors on start
>monitor:~# /etc/init.d/mailscanner start
>
> Mailscanner processes are running
>monitor:~# ps aux | grep Mail
>postfix  24102  0.0  0.9  25160 19468 ?SNs  09:49   0:00
> MailScanner: master waiting for
>children, sleeping
>postfix  24103  1.8  3.8 101732 80140 ?SN   09:49   0:08
> MailScanner: waiting for messages
>postfix  24110  1.8  3.8 101732 80132 ?SN   09:49   0:08
> MailScanner: waiting for messages
>postfix  24113  1.9  3.8 102312 80848 ?SN   09:50   0:09
> MailScanner: waiting for messages
>postfix  24116  1.9  3.8 101728 80124 ?SN   09:50   0:08
> MailScanner: waiting for messages
>monitor:~#
>
>
>
>



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



Bug#465095: mailscanner fails to start with FIELD_NAME not imported

2008-02-16 Thread Tom Faska
I have experienced this problem and found that it is caused by upgrading 
libmailtools-perl from version 1.77-1 to 2.02-1.  The problem is fixed 
when downgrading the libmailtools-perl back to version 1.77-1.  This is 
reproducible as seen from the terminal capture below.


Apparently there is some incompatibility between Mailscanner 4.58.9-2 
and libmailtools-perl version 2.02-1.


I hope this helps.

Tom

--

Mailscanner version installed
   monitor:~# dpkg -l mailscanner
   Desired=Unknown/Install/Remove/Purge/Hold
   | 
Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
   |/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: 
uppercase=bad)

   ||/ Name   VersionDescription
   
+++-==-==-

   ii  mailscanner4.58.9-2   email virus scanner and spam tagger


Stop and restart Mailscanner with no errors on start
   monitor:~# /etc/init.d/mailscanner stop
   Program MailScanner, 1 process(es), refused to die.
   monitor:~# /etc/init.d/mailscanner stop
   monitor:~# /etc/init.d/mailscanner start

Upgrade libmailtools-perl from version 1.77-1 to 2.02-1
   monitor:~# apt-get -u upgrade
   Reading package lists... Done
   Building dependency tree... Done
   The following packages will be upgraded:
 libmailtools-perl
   1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
   Need to get 0B/96.6kB of archives.
   After unpacking 28.7kB disk space will be freed.
   Do you want to continue [Y/n]?
   (Reading database ... 38857 files and directories currently installed.)
   Preparing to replace libmailtools-perl 1.77-1 (using 
.../libmailtools-perl_2.02-1_all.deb) ...

   Unpacking replacement libmailtools-perl ...
   Setting up libmailtools-perl (2.02-1) ...

Now stop and restart Mailscanner with the error
   monitor:~# /etc/init.d/mailscanner stop
   Program MailScanner, 1 process(es), refused to die.
   monitor:~# /etc/init.d/mailscanner stop
   monitor:~# /etc/init.d/mailscanner start
   Variable "$FIELD_NAME" is not imported at 
/usr/share/MailScanner/MailScanner/Message.pm line 6367.
   Variable "$FIELD_NAME" is not imported at 
/usr/share/MailScanner/MailScanner/Message.pm line 6370.

   Global symbol "$FIELD_NAME" requires explicit package name at
   /usr/share/MailScanner/MailScanner/Message.pm line 6367.
   Global symbol "$FIELD_NAME" requires explicit package name at
   /usr/share/MailScanner/MailScanner/Message.pm line 6370.
   Compilation failed in require at /usr/sbin/MailScanner line 79.
   BEGIN failed--compilation aborted at /usr/sbin/MailScanner line 79.

Mailscanner failed to start
   monitor:~# /etc/init.d/mailscanner stop
   No MailScanner found running; none killed.

Downgrade libmailtools-perl back to version 1.77
   monitor:~# dpkg --force-downgrade -i 
/var/cache/apt/archives/libmailtools-perl_1.77-1_all.deb

   dpkg - warning: downgrading libmailtools-perl from 2.02-1 to 1.77-1.
   (Reading database ... 38855 files and directories currently installed.)
   Preparing to replace libmailtools-perl 2.02-1 (using 
.../libmailtools-perl_1.77-1_all.deb) ...

   Unpacking replacement libmailtools-perl ...
   Setting up libmailtools-perl (1.77-1) ...

Now no errors on start
   monitor:~# /etc/init.d/mailscanner start

Mailscanner processes are running
   monitor:~# ps aux | grep Mail
   postfix  24102  0.0  0.9  25160 19468 ?SNs  09:49   0:00 
MailScanner: master waiting for

   children, sleeping
   postfix  24103  1.8  3.8 101732 80140 ?SN   09:49   0:08 
MailScanner: waiting for messages
   postfix  24110  1.8  3.8 101732 80132 ?SN   09:49   0:08 
MailScanner: waiting for messages
   postfix  24113  1.9  3.8 102312 80848 ?SN   09:50   0:09 
MailScanner: waiting for messages
   postfix  24116  1.9  3.8 101728 80124 ?SN   09:50   0:08 
MailScanner: waiting for messages

   monitor:~#
   





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



Bug#465095: mailscanner fails to start with FIELD_NAME not imported

2008-02-11 Thread Lukas Ruf

Hi Somon

Simon Walter wrote:

Hello Lukas,

did you update an old mailscanner installation?



Not recently.  I started using MailScanner about 4 years ago -- but 
being subscribed to unstable, I regularly upgrade.


When I realized the difficulties, I did

apt-get remove --purge mailscanner

apt-get install mailscanner

and restored the /etc/MailScanner I have been adjusting over the years.

The problem could be reproduced on two independent unstable 
installations (one setup on Dec. 27th, 2007, the other in January 2006).


Any idea -- besides going with the virgin /etc/MailScanner?

Thanks.

Lukas

--
Regards
Simon Walter

Lukas Ruf <[EMAIL PROTECTED]> writes:


Package: mailscanner
Version: 4.58.9-2
Severity: grave
Justification: renders package unusable


The following error is reported when I attempt to start mailscanner:

Starting mail spam/virus scanner: MailScannerVariable "$FIELD_NAME" is not 
imported at /usr/share/MailScanner/MailScanner/Message.pm line 6367.
Variable "$FIELD_NAME" is not imported at 
/usr/share/MailScanner/MailScanner/Message.pm line 6370.
Global symbol "$FIELD_NAME" requires explicit package name at 
/usr/share/MailScanner/MailScanner/Message.pm line 6367.
Global symbol "$FIELD_NAME" requires explicit package name at 
/usr/share/MailScanner/MailScanner/Message.pm line 6370.
Compilation failed in require at /usr/sbin/MailScanner line 79.
BEGIN failed--compilation aborted at /usr/sbin/MailScanner line 79.
 failed!
invoke-rc.d: initscript mailscanner, action "start" failed.

Does anybody know how to resolve this problem?

Is it related to the following debconf setting?
  mailscanner/v3_upgrade: Don't upgrade
If so, how can I change that?

Thanks for any support

Kind regards,
Lukas


-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.23.9-euphrat (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=en_IE, LC_CTYPE=en_IE (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash

Versions of packages mailscanner depends on:
ii  debconf [debconf-2.0]   1.5.19   Debian configuration management sy
ii  libarchive-zip-perl 1.18-1   Module for manipulation of ZIP arc
ii  libcompress-zlib-perl   2.008-1  Perl module for creation and manip
ii  libconvert-binhex-perl  1.119+pristine-2 Perl5 module for extracting data f
ii  libconvert-tnef-perl0.17-5   Perl module to read TNEF files
ii  libdbd-sqlite3-perl 1.14-1   Perl DBI driver with a self-contai
ii  libfilesys-df-perl  0.92-3   Module to obtain filesystem disk s
ii  libhtml-parser-perl 3.56-1   A collection of modules that parse
ii  libmime-perl5.425-2  transitional dummy package
ii  libmime-tools-perl [lib 5.425-2  Perl5 modules for MIME-compliant m
ii  libnet-cidr-perl0.11-2   Manipulate IPv4/IPv6 netblocks in
ii  libsys-hostname-long-pe 1.4-1Figure out the long (fully-qualifi
ii  libsys-syslog-perl  0.24-1   Perl interface to the UNIX syslog(
ii  perl5.8.8-12 Larry Wall's Practical Extraction
ii  postfix [mail-transport 2.5.1~rc1-1  High-performance mail transport ag
ii  spamassassin3.2.3-1  Perl-based spam filter using text
ii  ucf 3.004Update Configuration File: preserv
ii  unzip   5.52-10  De-archiver for .zip files

Versions of packages mailscanner recommends:
pn  libnet-cidr-lite-perl  (no description available)
ii  ncftp 2:3.2.1-1  A user-friendly and well-featured
ii  tnef  1.4.3-2Tool to unpack MIME application/ms
ii  wget  1.10.2-3   retrieves files from the web

-- debconf information:
  mailscanner/v3_upgrade: Don't upgrade










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



Bug#465095: mailscanner fails to start with FIELD_NAME not imported

2008-02-11 Thread Simon Walter

Hello Lukas,

did you update an old mailscanner installation?

--
Regards
Simon Walter

Lukas Ruf <[EMAIL PROTECTED]> writes:

> Package: mailscanner
> Version: 4.58.9-2
> Severity: grave
> Justification: renders package unusable
>
>
> The following error is reported when I attempt to start mailscanner:
>
> Starting mail spam/virus scanner: MailScannerVariable "$FIELD_NAME" is not 
> imported at /usr/share/MailScanner/MailScanner/Message.pm line 6367.
> Variable "$FIELD_NAME" is not imported at 
> /usr/share/MailScanner/MailScanner/Message.pm line 6370.
> Global symbol "$FIELD_NAME" requires explicit package name at 
> /usr/share/MailScanner/MailScanner/Message.pm line 6367.
> Global symbol "$FIELD_NAME" requires explicit package name at 
> /usr/share/MailScanner/MailScanner/Message.pm line 6370.
> Compilation failed in require at /usr/sbin/MailScanner line 79.
> BEGIN failed--compilation aborted at /usr/sbin/MailScanner line 79.
>  failed!
> invoke-rc.d: initscript mailscanner, action "start" failed.
>
> Does anybody know how to resolve this problem?
>
> Is it related to the following debconf setting?
>   mailscanner/v3_upgrade: Don't upgrade
> If so, how can I change that?
>
> Thanks for any support
>
> Kind regards,
> Lukas
>
>
> -- System Information:
> Debian Release: lenny/sid
>   APT prefers unstable
>   APT policy: (500, 'unstable')
> Architecture: i386 (i686)
>
> Kernel: Linux 2.6.23.9-euphrat (SMP w/2 CPU cores; PREEMPT)
> Locale: LANG=en_IE, LC_CTYPE=en_IE (charmap=ISO-8859-1)
> Shell: /bin/sh linked to /bin/bash
>
> Versions of packages mailscanner depends on:
> ii  debconf [debconf-2.0]   1.5.19   Debian configuration management 
> sy
> ii  libarchive-zip-perl 1.18-1   Module for manipulation of ZIP 
> arc
> ii  libcompress-zlib-perl   2.008-1  Perl module for creation and 
> manip
> ii  libconvert-binhex-perl  1.119+pristine-2 Perl5 module for extracting data 
> f
> ii  libconvert-tnef-perl0.17-5   Perl module to read TNEF files
> ii  libdbd-sqlite3-perl 1.14-1   Perl DBI driver with a 
> self-contai
> ii  libfilesys-df-perl  0.92-3   Module to obtain filesystem disk 
> s
> ii  libhtml-parser-perl 3.56-1   A collection of modules that 
> parse
> ii  libmime-perl5.425-2  transitional dummy package
> ii  libmime-tools-perl [lib 5.425-2  Perl5 modules for MIME-compliant 
> m
> ii  libnet-cidr-perl0.11-2   Manipulate IPv4/IPv6 netblocks in
> ii  libsys-hostname-long-pe 1.4-1Figure out the long 
> (fully-qualifi
> ii  libsys-syslog-perl  0.24-1   Perl interface to the UNIX 
> syslog(
> ii  perl5.8.8-12 Larry Wall's Practical Extraction
> ii  postfix [mail-transport 2.5.1~rc1-1  High-performance mail transport 
> ag
> ii  spamassassin3.2.3-1  Perl-based spam filter using text
> ii  ucf 3.004Update Configuration File: 
> preserv
> ii  unzip   5.52-10  De-archiver for .zip files
>
> Versions of packages mailscanner recommends:
> pn  libnet-cidr-lite-perl  (no description available)
> ii  ncftp 2:3.2.1-1  A user-friendly and well-featured
> ii  tnef  1.4.3-2Tool to unpack MIME 
> application/ms
> ii  wget  1.10.2-3   retrieves files from the web
>
> -- debconf information:
>   mailscanner/v3_upgrade: Don't upgrade
>
>
>



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



Bug#465095: mailscanner fails to start with FIELD_NAME not imported

2008-02-10 Thread Lukas Ruf
Package: mailscanner
Version: 4.58.9-2
Severity: grave
Justification: renders package unusable


The following error is reported when I attempt to start mailscanner:

Starting mail spam/virus scanner: MailScannerVariable "$FIELD_NAME" is not 
imported at /usr/share/MailScanner/MailScanner/Message.pm line 6367.
Variable "$FIELD_NAME" is not imported at 
/usr/share/MailScanner/MailScanner/Message.pm line 6370.
Global symbol "$FIELD_NAME" requires explicit package name at 
/usr/share/MailScanner/MailScanner/Message.pm line 6367.
Global symbol "$FIELD_NAME" requires explicit package name at 
/usr/share/MailScanner/MailScanner/Message.pm line 6370.
Compilation failed in require at /usr/sbin/MailScanner line 79.
BEGIN failed--compilation aborted at /usr/sbin/MailScanner line 79.
 failed!
invoke-rc.d: initscript mailscanner, action "start" failed.

Does anybody know how to resolve this problem?

Is it related to the following debconf setting?
  mailscanner/v3_upgrade: Don't upgrade
If so, how can I change that?

Thanks for any support

Kind regards,
Lukas


-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.23.9-euphrat (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=en_IE, LC_CTYPE=en_IE (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash

Versions of packages mailscanner depends on:
ii  debconf [debconf-2.0]   1.5.19   Debian configuration management sy
ii  libarchive-zip-perl 1.18-1   Module for manipulation of ZIP arc
ii  libcompress-zlib-perl   2.008-1  Perl module for creation and manip
ii  libconvert-binhex-perl  1.119+pristine-2 Perl5 module for extracting data f
ii  libconvert-tnef-perl0.17-5   Perl module to read TNEF files
ii  libdbd-sqlite3-perl 1.14-1   Perl DBI driver with a self-contai
ii  libfilesys-df-perl  0.92-3   Module to obtain filesystem disk s
ii  libhtml-parser-perl 3.56-1   A collection of modules that parse
ii  libmime-perl5.425-2  transitional dummy package
ii  libmime-tools-perl [lib 5.425-2  Perl5 modules for MIME-compliant m
ii  libnet-cidr-perl0.11-2   Manipulate IPv4/IPv6 netblocks in
ii  libsys-hostname-long-pe 1.4-1Figure out the long (fully-qualifi
ii  libsys-syslog-perl  0.24-1   Perl interface to the UNIX syslog(
ii  perl5.8.8-12 Larry Wall's Practical Extraction
ii  postfix [mail-transport 2.5.1~rc1-1  High-performance mail transport ag
ii  spamassassin3.2.3-1  Perl-based spam filter using text
ii  ucf 3.004Update Configuration File: preserv
ii  unzip   5.52-10  De-archiver for .zip files

Versions of packages mailscanner recommends:
pn  libnet-cidr-lite-perl  (no description available)
ii  ncftp 2:3.2.1-1  A user-friendly and well-featured
ii  tnef  1.4.3-2Tool to unpack MIME application/ms
ii  wget  1.10.2-3   retrieves files from the web

-- debconf information:
  mailscanner/v3_upgrade: Don't upgrade



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