[SGVLUG] Who /really/ knows procmaIl around here?
John E. Kreznar
jek at ininx.com
Thu Jul 6 11:28:19 PDT 2006
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I wrote
> Tom Emerson <osnut at pacbell.net> writes:
> > What I'm wondering is, is there a way to have the procmail script look
> > for the actual ID and use that as the target?
> :0 hW
> LISTIDLINE=|grep -m 1 -i '^list-id:'
> :0 aw
> .Discussion\ Groups.$(echo $LISTIDLINE | sed 's/^[^ ]* *\([^\.]*\)/\1/')
> The "grep" line captures the first header ^List-id: line and the "sed"
> line uses it to form the target name.
Did this do the job for you? Naturally, I'm curious.
- --
John E. Kreznar jek at ininx.com 9F1148454619A5F08550 705961A47CC541AFEF13
... who has not requested or consented to any political jurisdiction.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.8+ <http://mailcrypt.sourceforge.net/>
iD8DBQFErVY3YaR8xUGv7xMRApDrAJ4lANLyew7LGDfarS9GslOGHIkfQQCfUaAb
RQGqGkNzS1LjdcOU1wh4RLs=
=OfnM
-----END PGP SIGNATURE-----
More information about the SGVLUG
mailing list