"Simeon ben Nevel" <Simeon(_dot_)Nevel(_at_)Schwab(_dot_)COM> writes:
Awhile ago I remember a discussion of using a style of To: addresses like:
snevel+getfile(_at_)wco(_dot_)com
Where the SMTP daemon will automagically know to deliver to my
snevel(_at_)wco(_dot_)com mailbox.
You can do this with several mail-transfer-agents. Qmail has been noted (Qmail
uses "-" instead of "+" as a separator), MMDF does it also, just like standard
configurations of Sendmail (from 8.7 and up). On Sendmail, in order to be able
to actually make use of the "+blabla" thing (rather than being merely ignored),
you need to use specific mail-delivery-agents like cyrus or (more commonly)
procmail (which is a really cool mail-delivery-agent for tons of other reasons
also). A trick that I use also in my sendmail config (used to emulate a feature
that I first came across in Qmail) is to specify (in your .mc file):
define(`confFORWARD_PATH', /var/mail/$u/forward+$h:/var/mail/$u/forward)
or somesuch. The trick here is the "+$h" which means that not only can you use
the .forward file (which in my case is /var/mail/<user>/forward) but you
can also have .forward+blabla to redirect mail for <myself>+blabla to whereever
Stefan