Procmail suggest (in examples/advanced) a neat hack to sendmail.cf that
allows the use of addresses such of the form <login>+<argument>@<hostname>.
Such addresses are supposed to be delivered to <login> and the <argument>
should be available through "$1" in .procmailrc.
Better yet, sendmail (at least version 8.7.3 and 8.7.5) offers this hack
by default (at least with its m4-configuration). More specifically, the
default config allows the use of the above-mentionned addresses, but since it
can't rely on the mail-delivery agent to be procmail it just ignores the
<argument>. Now the m4-configuration even offers an option to use procmail
as mail-delivery agent (just add "FEATURE(local_procmail, /usr/lib/procmail)").
So I used this neat m4 configuration and everything looks fine: the Mlocal
definition looks like the one suggested in the procmail documentation, the
mail system accepts the new address form, *BUT* the <argument> is always
ignored.
Has anybody managed to use the <argument> with procmail and sendmail as
advertised ? If so, with which version of sendmail ? have you hacked on
sendmail.cf or used the m4-config ? Have you tried to hack sendmail.cf
further so as to also pass the argument to Mprog ?
Stefan