MAILFEED Project Overview
by Kenji Rikitake <kenji@rcac.tdi.co.jp>
$Id: mailfeed-overview.txt,v 1.2 1995/10/15 05:03:19 kenji Exp $

MAILFEED: a toolkit for RFC822-based mail messages using protocols of 
mailbox retrieval by recipients (e.g., POP3) which allows organizational 
mail transfer via individual mailbox.

The first release of MAILFEED will be created on BSD/OS.

Actual MAILFEED message flow:

* Server side:
  Internet -> server's sendmail -> [mailfeed-fwd] -> mail.local -> mailbox

* Client side:
  mailbox -> POP3 -> [pop-receiver] -> [mailfeed-rmail] -> client's sendmail

MAILFEED programs:

* mailfeed-fwd: 

  usage: mailfeed-fwd <local-mbox ($h)> <from-addr ($g)> <recipients ($u)>...

  This program adds following RFC822-like header lines to the top of 
  the message, which is read from the standard input up to an EOF, 
  and forwards the modified message to the local mailbox delivery agent
  (e.g., mail.local).

	X-Mailfeed-Sender: <address of the sender (value of $g)>
	X-Mailfeed-Recipient-Number: <number of recipients by decimal>
	X-Mailfeed-Recipient-Address: <address of the first recipient>
	...
	X-Mailfeed-Recipient-Address: <address of the last recipient>

  Note that the above headers should be on the TOP of the RFC822 message,
  and must retain the sequence.

  This program is called from sendmail with following mailer flags:
  (defined as 'mailfeed' mailer)

	Mmailfeed, P=/usr/local/bin/mailfeed-fwd, F=lmDFMun, S=11, R=21,
	A=mailfeed-fwd $h $g $u

* pop-receiver: retrieves all messages in a remote POP3 mailbox
  and forwards each message to mailfeed-rmail.

* mailfeed-rmail: 

  usage: mailfeed-rmail (with no arguments)

  This program parses MAILFEED headers on the top of the message header,
  strips the MAILFEED headers, and passes the processed message to 
  sendmail with the parsed envelope information in MAILFEED headers. 
  This program is called from remote mailbox retriever (e.g., pop-receiver).

[End of document]
