From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: * X-Spam-Status: No, score=1.4 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, SUBJECT_NEEDS_ENCODING,SUBJ_ILLEGAL_CHARS autolearn=no autolearn_force=no version=3.4.4 Received: (qmail 4353 invoked from network); 7 Feb 2021 10:30:09 -0000 Received: from 1ess.inri.net (216.126.196.35) by inbox.vuxu.org with ESMTPUTF8; 7 Feb 2021 10:30:09 -0000 Received: from mail-pl1-f181.google.com ([209.85.214.181]) by 1ess; Sun Feb 7 04:44:11 -0500 2021 Received: by mail-pl1-f181.google.com with SMTP id e9so6271895plh.3 for <9front@9front.org>; Sun, 07 Feb 2021 01:44:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mforney-org.20150623.gappssmtp.com; s=20150623; h=message-id:mime-version:content-transfer-encoding:to:from:date :subject; bh=CoFZc06j/27B173dGxc7W2014z+2Vn3MWeH2ZnQCgiA=; b=kHjru3i+w7neUz0/44GZ26aQTzhDpTGictVY5dwUWZPlNBsz18QQtQKapYYNvDtCGG rcowIfuIqNUodWcpl8Owk3YCYTiPZCXCKqKtP+VGc6bujFIHcT6O4fL+0o2geMXUHupO 9NCTo/SzuqBAmXRizQB5X/hB1fSvCcjUdZxzrD1W20au1T9zSPawePdaWP7u7tk2osM0 1T8/QzIzXgh0Dx/FqNfpe/19rI6vdKnHTw2oyJBljecXBETiUSL4xu3Zn5BuwolL2ewD Yo2m3Yld69rmNUNorxYaNMklewr/PNZJ3KheEgk/xrN8FWIe3KLT0S/Hn/9jqpnxMXh2 C6iw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:mime-version :content-transfer-encoding:to:from:date:subject; bh=CoFZc06j/27B173dGxc7W2014z+2Vn3MWeH2ZnQCgiA=; b=hUBIpZLCiRUzlQ/cyv0Rkgh7+WgGUar7Z4bXBgVtaYmfWQgHtWMK77SWi2fcZNhPL7 VcUAG1LcXiFFQ075XgHB5jHWuMzzxxJDMO6l7k3CHL05cX+EKLQrriMPRv7GgsTPRQMZ 2Z5KQ0m8H0d1hU/BTaKjXWNJ9pDPbE9MHQ7egRr/wEb/+3PpRoa+KRXRBjbs6Gwql/1U hyz+4OFxa7wDGvjGIc5JoDYCWYYQNmlPFu83YxZZBuZYQXEKUH37cGPVgxm0kcz763w9 FoLC23FuCMgptzgQFjrFbNBCFuMXbvhjL0OXeVWCB+sh+aWWIdUNQO1DyrgPyZllXcgH llxQ== X-Gm-Message-State: AOAM5324wOlhV//EEDXwtGZtwXeWzfb7QRruoao4Pb7/KfYhUXcTHxF7 c8DFoEWkcSmYDMd0AsLjWR7K8M5r/OZQl+WsdAA= X-Google-Smtp-Source: ABdhPJxB7Jawpv73Yc9mCXZyXSq86slW7ukLP3lmQIj+erbsF+77ByXyKWxV/woW9u/JBOgnc0bJ+w== X-Received: by 2002:a17:90a:4cc6:: with SMTP id k64mr1544799pjh.162.1612691040159; Sun, 07 Feb 2021 01:44:00 -0800 (PST) Return-Path: Received: from arrow.hsd1.ca.comcast.net (c-73-70-188-119.hsd1.ca.comcast.net. [73.70.188.119]) by smtp.gmail.com with ESMTPSA id z13sm15555022pgf.89.2021.02.07.01.43.59 for <9front@9front.org> (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Sun, 07 Feb 2021 01:43:59 -0800 (PST) Message-ID: <4AA9118B19A066ED647C0EE7DC2D781E@arrow.hsd1.ca.comcast.net> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit To: 9front@9front.org From: Michael Forney Date: Sun, 07 Feb 2021 09:22:23 +0000 List-ID: <9front.9front.org> List-Help: X-Glyph: ➈ X-Bullshit: flexible open information base API Subject: [9front] upas/vf: install %τ format specifier Reply-To: 9front@9front.org Precedence: bulk upas/vf was converted to use tmdate, but the formatter was never installed. This caused it to send attachments to validateattachment with header `From virusfilter %τ%`, which always failed since upas/fs would just skip over the message. diff 9f73daae4c186334de5c9ee5b6bb0d9aa598f9bd 776cb37fd6894d9e73b252d60f386d3cfb7c876c --- a/sys/src/cmd/upas/vf/vf.c Sat Feb 6 04:50:06 2021 +++ b/sys/src/cmd/upas/vf/vf.c Sun Feb 7 01:22:23 2021 @@ -140,6 +140,8 @@ if(argc) usage(); + tmfmtinstall(); + Binit(&in, 0, OREAD); Binit(&out, 1, OWRITE);