On Sat, 16 May 2009, Mark wrote:

From: jma...@gmail.com

there's a much simpler way -- just record the info in synthetic headers,

...as I initially suggested. :)

But that approached WOULD require a change to the MTA

No, it wouldn't. Milters can inject headers.

https://www.sendmail.org/doc/sendmail-current/libmilter/docs/smfi_addheader.html

The beauty of milters is that support for them is already built in (when compiled in, of course); so someone would just have to write a third-party milter + SA pugin to make this work.

Why worry about a plugin and maintaining an external database when the milter could simply inject message headers to capture the desired data?

--
 John Hardin KA7OHZ                    http://www.impsec.org/~jhardin/
 jhar...@impsec.org    FALaholic #11174     pgpk -a jhar...@impsec.org
 key: 0xB8732E79 -- 2D8C 34F4 6411 F507 136C  AF76 D822 E6E6 B873 2E79
-----------------------------------------------------------------------
  One death is a tragedy; thirty is a media sensation;
  a million is a statistic.              -- Joseph Stalin, modernized
-----------------------------------------------------------------------
 5 days until the 5th anniversary of SpaceshipOne winning the X-prize

Reply via email to