🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.user.italian
Article #55

Re: Errore di chewmail (perl?) (was: Archiviare la posta in modo automatico)

#55
From: compact78
Date: Thu, 03 Dec 2026 10:30
44 lines
3264 bytes
On Thu, 03 Dec 2026 10:28:27 +0100
Leandro Noferini <lnoferin@cybervalley.org> wrote:

> Marco Gaiarin <gaio@lilliput.linux.it> writes:
> 
> Ho studiato meglio la cosa di chewmail e ho visto che mi dà un errore:
> 
> Use of uninitialized value
> $output_boxes{"/srv/dev-disk-by-uuid-9418021a-1"...} in concatenation
> (.) or string at /usr/bin/chewmail line 261.
> 
> Che vorrà dire?
> 
> -- 
> Ciao
> leandro

ho letto il file presente qui:
https://raw.githubusercontent.com/zedinosaur/chewmail/refs/heads/master/chewmail

Se sul tuo sistema è installata la stessa versione del file, puoi
provare a correggere il problema modificando questa riga:

https://github.com/zedinosaur/chewmail/blob/456157186fbbfb77cff7687e8df15bca226cadaf/chewmail#L261

Sostituendo:

print "Opening mailbox: $output_boxes{$output_box_path}\n"

con:

print "Opening mailbox: $output_box_path\n"


In pratica, sembra esserci un piccolo errore nel messaggio di debug:
viene stampata una variabile non ancora inizializzata, mentre dovrebbe
essere stampato il percorso della mailbox.

Naturalmente, prima verifica che il file /usr/bin/chewmail sia
effettivamente uguale a quello del repository, perché altrimenti la
modifica potrebbe non essere applicabile.
Technical Details
Message-ID: <O6ceC-fIV4-5@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu.MISMATCH!feed-us-txt.newsdeef.eu!feed-us-ny.newsdeef.eu!srv.newsdeef.eu!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
References: <O5zPX-fntG-7@gated-at.bofh.it> <O60Q9-fCD2-15@gated-at.bofh.it> <O6biy-fImJ-7@gated-at.bofh.it>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu.MISMATCH!feed-us-txt.newsdeef.eu!feed-us-ny.newsdeef.eu!srv.newsdeef.eu!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
From: compact78 <compact78@tiscali.it>
Newsgroups: linux.debian.user.italian
Subject: Re: Errore di chewmail (perl?) (was: Archiviare la posta in modo  automatico)
Date: Thu, 03 Dec 2026 11:30:02 +0100
Message-ID: <O6ceC-fIV4-5@gated-at.bofh.it>
References: <O5zPX-fntG-7@gated-at.bofh.it> <O60Q9-fCD2-15@gated-at.bofh.it> <O6biy-fImJ-7@gated-at.bofh.it>
X-Mailbox-Line: From debian-italian-request@lists.debian.org  Thu Dec  3 10:23:24 2026
Old-Return-Path: <compact78@tiscali.it>
X-Amavis-Spam-Status: No, score=-2.052 tagged_above=-10000 required=5.3
 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,
 DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001,
 MISSING_MID=0.497, RCVD_IN_DNSWL_LOW=-0.7] autolearn=ham autolearn_force=no
X-Policyd-Weight: using cached result; rate: -4.7
X-Greylist: delayed 347 seconds by postgrey-1.37 at bendel; Thu, 03 Dec 2026 10:22:22 UTC
X-Auth-User: compact78@tiscali.it
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
X-Mailing-List: <debian-italian@lists.debian.org> archive/latest/171519
List-ID: <debian-italian.lists.debian.org>
List-URL: <https://lists.debian.org/debian-italian/>
List-Archive: https://lists.debian.org/msgid-search/20261203102316.B9D4F216BB@bendel.debian.org
Approved: robomod@news.nic.it
Lines: 44
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Date: Thu, 3 Dec 2026 11:16:18 +0100
X-Original-Message-ID: <20261203102316.B9D4F216BB@bendel.debian.org>
X-Original-References: <87v75cvrnh.fsf@cybervalley.org>
	<5en5um-60e2.ln1@leia.lilliput.linux.it>
	<878q26emro.fsf@cybervalley.org>