On Nov 4, 2008, at 5:14 PM, Paul Gilmartin wrote:
Is there a way (pipeline or procedural) to take a file or stream in RFC 822 format and cause it to be delivered to addressees in the "To:, CC:, and Bcc:" headers; equivalent of UNIX "source-stream | sendmail -toi"?
The SMTPPLUS appliance we developed a few years ago did this (among other things). However, it was probably heavierweight than what you want, since it was a whole Linux guest, and did incoming and outgoing mail and (optionally) virus and spam filtering. The code it uses is no longer supported by Debian, so if you really wanted it we'd have to reimplement it based on Etch or Lenny (it was developed on prerelease Sarge). In essence, though, it polled the reader every minute to find incoming messages, ran them through a netdata decoder, and then submitted them to Exim for delivery to remote locations. Inbound accepted messages with Exim, ran them through SpamAssassin and ClamAV, and then performed a lookup to determine whether to deliver to a local Linux mailbox, a remote SMTP mailbox, or delivery (Netdata- encoded or raw) via the punch. Adam
