> -----Original Message-----
> From: Will Phipps
> Sent: Sunday, December 15, 2002 12:12 AM
> Subject: Sendmail Sent Items Folder
> 
> 
> Does anyone know a way to do this with sendmail?  Can it be done?
> 
> Will P.


Sendmail is an MTA (Message Transfer Agent), not an LDA (Local Delivery
Agent) like procmail. Thus, from sendmails perspective (really any MTA's
perspective), there is no concept of a "users" sent items folder.

>From a 30,000 foot view, the role of an MTA is (single threaded view)...

1) Wait for inbound connections on port 25. These inbound connections can
originate from either the internet (another MTA) or from an MUA like
Outlook, mutt, pine, eudora, etc...

2) Once an inbound smtp connection has been initiated, an MTA must determine
the e-mails disposition by analyzing the e-mail envelope. i.e. deliver the
inbound e-mail locally to a mailbox (hand the e-mail off to an LDA like
procmail) -or- deliver the e-mail remotely (open up a new outbound smtp
connection to a remote MTA). Note: The disposition (local vs. remote) is
determined by the MTA's configuration files it read at startup.

3) After step two, an MTA is basically out of the loop and back to waiting
for inbound connections on port 25. Again, from a single threaded point of
view.

So from a pure smtp RFC point of view, configuring an MTA to make a copy of
every outbound e-mail and then store this e-mail in a particular users sent
items mailbox/folder is basically out of scope. This role is more suited for
an MUA or possibly an LDA.

FWIW: What your asking for could probably be done through the use of a
milter (in sendmail terms). A milter is designed to be called from within
sendmail, but prior to sendmail making its decision on local vs. remote
delivery (like calling Antivirus software or Spamassassin). But whether or
not someone has actually written a milter for what your asking... I do not
know. The most flexible milter I have used with sendmail is mimedefang.
Checkout: http://www.roaringpenguin.com/mimedefang

Good Luck!
Steve Cowles



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to