2 (or more) destinations

"Michael Grant ([email protected])" <[email protected]> Thu, 21 Sep 2023 15:46:10 -0400
Newsgroups gmane.mail.getmail.user
Message-ID <[email protected]>
--4I/HyqaagREiEHRg
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

I've been using getmail to train spamassassin by sending messages to
sa-learn.  I have 2 IMAP folders ("mailboxes" in getmail): Spam and
Ham.  Currently I have 2 separate getmailrc files, one which retrieves
=66rom Spam and sends to sa-learn --spam, and a second which retrieves
=66rom Ham and sends to sa-learn --ham.

Is it possible to do this with a single getmailrc?  For example direct
messages from the Spam retriever to [Spam] and messages from the Ham
retriever to [Ham] destinations?


--4I/HyqaagREiEHRg
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQIzBAABCgAdFiEEDXVee01gWrPIdWPRwgRAue7sYQMFAmUMnX8ACgkQwgRAue7s
YQM5uxAAi5o/NZavTdK5ycJ5WkEMK+36RRVpeBCtOidOumKI5LF11J2cto+dvfyT
H8+xyZcxjtr43jvsvgVjTjNoTO/PwpeRpNP2/mw2UYNlLTjqPdYhqImfgjAOCj5p
nmkjeaOtDxaPrcBtSztifqsvFbEHq7Do2+eAK5Y5Jd7D3jewZ2x0romLyw+825ib
QrXqCwSpTaSEWuien1DoJUPn3on34N7w6EhbN14ZQhzZfTgai5Ebg6Nkd+RlYFcB
7z6L685hw1Jd7sO1LbmvAG5WDl4K+GZgUKWtFURBlcNrPsnMaeQkK9t7Zb+OBLwd
WgCrCuSzigxBB6g4m9Pw4GfQORjh15QRlxKVNo04AhMUhAPottN1Npmx6ln9ekqy
w12IdKRIX1pM3rOAYrc9alQp1rPZwe+EmmebY9sqMsoJWiOy18EhScYINdu1pDvT
O2mX4hzhLj5/Vjerwtbq8u64b6W7zva0lrW1SB8MAJTursPWT7y75VxIZKJrtuOw
F18ASKiNH7XpvxqtHAQ7gDa12zAR7EDC04yhmNEsR3RBOfgcNZYkozbt6H6crOep
c28FiLvBjLPixi+N2YZu0kj8vS73+LZn10+cR5CKw3VmMkkWgwqMRIhBnibKPhMC
BgyNKEWaS9PbjyBX5YM+imvhm4EniLuo21MhtBYYdNs3tlfyWo8=
=eKSo
-----END PGP SIGNATURE-----

--4I/HyqaagREiEHRg--