This is merely a historical archive of years 2008-2021, before the migration to mailman3.
A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/OpenBSC@lists.osmocom.org/.
Neels Hofmeyr nhofmeyr at sysmocom.deOn Tue, Dec 13, 2016 at 03:23:43PM +0100, Neels Hofmeyr wrote:
> I also thought about a grep + rm shell script working on my maildir files
> :P
I have in fact solved my problem locally now, so I won't press this from
my side anymore, though I'd be +1 for reducing the mails for everyone.
In maildir where each mail is in a separate file:
move_to_dropped() {
while read f; do
# make sure jenkins is the sender
if [ -n "$(grep '^From: Jenkins Builder <gerrit-no-reply at lists.osmocom.org>$' "$f")" ]; then
echo mv "$f" "$dropped_dir"
mv "$f" "$dropped_dir"
fi
done
}
rgrep -l '^Build Started http://jenkins.osmocom.org/jenkins/job' "$inbox" | move_to_dropped
rgrep -l '^Build Successful $' "$inbox" | move_to_dropped
~N
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.osmocom.org/pipermail/openbsc/attachments/20161215/8bf350a2/attachment.bin>