🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.mail.sendmail
1 messages
1 total messages Started by Michael Henning Thu, 16 Feb 1989 00:37
Need help on IPC mailer
#3205
Author: Michael Henning
Date: Thu, 16 Feb 1989 00:37
34 lines
1944 bytes

We have a requirement to selectively log the contents of incoming and
outgoing mail for archive purposes. I have had a play with sendmail.cf,
and have come up with the following:

In the mailer definition for the different mailers, I change the P field
to the path name of the logging program. The logging program can then
examine the "To:" and "From:" lines in the header to decide whether this
particular mail item needs to go into the archive. It then invokes the
mailer that originally was mentioned in sendmail.cf, e.g. /usr/bin/uux,
sending the message on stdout.

This works fine for the local and the uucp/ACSnet mailers because they all
expect the mail on stdin. However, for mail that is forwarded by our 
gateway to other local machines via the ethernet, the mailer specification
uses P=[IPC]. From the sparse documentation, it seems that the IPC mailer
actually opens a well known port to get the mail, using SMTP.

The question is, can anyone tell me how I can examine mail that is sent
through the local ethernet for its contents and selectively log it somewhere ?

Thanks a lot in advance for any help,

					Michi.




-- 
               | The opinions expressed are my own, not those of my employer. |
               |                                                              |
               | Michael (Michi) Henning                                      |
               | - We have three Michaels here, that's why they call me Michi |
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads