From: Alexey Tourbin <at@altlinux.ru>
To: ALT Linux Sisyphus discussion list <sisyphus@lists.altlinux.org>
Subject: Re: [sisyphus] WARNING: amavisd-new и кодировки писем
Date: Thu, 26 Apr 2007 18:05:07 +0400
Message-ID: <20070426140507.GV25908@solemn.turbinal> (raw)
In-Reply-To: <4630AFCE.8050304@tangramltd.com>
[-- Attachment #1: Type: text/plain, Size: 1476 bytes --]
On Thu, Apr 26, 2007 at 04:57:34PM +0300, Slava Dubrovskiy wrote:
> Alexey Tourbin пишет:
> >>Откатился на perl-base-5.8.8-alt6 - ошибок нет.
> >>Содержимое журнала (если интересно сборщикам)
> >>
> >># cat errors
> >>Apr 23 12:53:58 ns amavis[4720]: (04720-13) (!!)TROUBLE in check_mail:
> >>quar+notif FAILED: temporarily unable to quarantine: 451 4.5.0 Local
> >>delivery(1) to /var/spool/amavis/quarantine/virus-Cp3jMXD3DAZJ failed:
> >>Insecure dependency in sysopen while running with -T switch at
> >>/usr/lib/perl5/i386-linux/IO/File.pm line 180., id=04720-13 at
> >>/usr/sbin/amavisd line 9366.
> >>
> >
> >К сожалению, мне это ни о чем не говорит. Нужно отлаживать.
> >Если можете помочь с отладкой, можно продолжить обсуждение.
> >
> У меня те же ошибки. Что надо сделать?
Приложить "по живому" вот этот патч, и понять, в каком месте
передается протухшее имя файла. И почему оно протухло.
--- /usr/lib/perl5/i386-linux/IO/File.pm- 2007-04-25 13:49:44 +0000
+++ /usr/lib/perl5/i386-linux/IO/File.pm 2007-04-26 14:02:45 +0000
@@ -177,6 +177,11 @@ sub open {
my ($mode, $perms) = @_[2, 3];
if ($mode =~ /^\d+$/) {
defined $perms or $perms = 0666;
+ use Scalar::Util qw(tainted):
+ if (tainted $file) {
+ require Carp;
+ Carp::cluck("file $file tainted");
+ }
return sysopen($fh, $file, $mode, $perms);
} elsif ($mode =~ /:/) {
return open($fh, $mode, $file) if @_ == 3;
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2007-04-26 14:05 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-03-02 9:52 Alexey Shabalin
2007-03-14 12:45 ` Ivan Adzhubey
2007-03-14 12:53 ` Alexey Sidorov
2007-03-14 13:21 ` Шенцев Алексей Владимирович
2007-03-14 13:27 ` Alexey Sidorov
2007-03-14 13:34 ` Шенцев Алексей Владимирович
2007-04-09 6:44 ` Alexey Shabalin
2007-04-10 13:23 ` Владимир
2007-04-23 12:23 ` Владимир
2007-04-26 11:35 ` Alexey Tourbin
2007-04-26 13:57 ` Slava Dubrovskiy
2007-04-26 14:05 ` Alexey Tourbin [this message]
2007-04-26 14:56 ` Slava Dubrovskiy
2007-04-26 17:19 ` Alexey Tourbin
2007-05-07 17:30 ` Alexey Shabalin
2007-05-08 6:45 ` Владимир
2007-05-08 10:26 ` Владимир
2007-05-31 9:01 ` Slava Dubrovskiy
2007-05-31 11:04 ` Alexey Sidorov
2007-05-31 11:29 ` Slava Dubrovskiy
2007-05-31 12:08 ` Alexey Sidorov
2007-05-31 12:00 ` Alexey Sidorov
2007-05-31 12:32 ` Pavlov Konstantin
2009-01-09 9:37 ` Veaceslav Grecea
2009-01-09 9:40 ` Slava Dubrovskiy
2009-01-09 9:44 ` Nikolay
2009-01-09 10:01 ` Veaceslav Grecea
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20070426140507.GV25908@solemn.turbinal \
--to=at@altlinux.ru \
--cc=sisyphus@lists.altlinux.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
ALT Linux Sisyphus discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
public-inbox-index sisyphus
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.sisyphus
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git