Article View: comp.mail.sendmail
Article #3205Need help on IPC mailer
From: Michael Henning
Date: Thu, 16 Feb 1989 00:37
Date: Thu, 16 Feb 1989 00:37
34 lines
1944 bytes
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 |
Technical Details
Message-ID:
<256@anvil.OZ>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!bloom-beacon!gatech!hubcap!ncrcae!ncrlnk!uunet!munnari!bruce!dbrmelb!dmsmelb!dmsbris!qfdts!anvil!michiShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!bloom-beacon!gatech!hubcap!ncrcae!ncrlnk!uunet!munnari!bruce!dbrmelb!dmsmelb!dmsbris!qfdts!anvil!michi From: michi@anvil.OZ (Michael Henning) Newsgroups: comp.mail.sendmail Subject: Need help on IPC mailer Keywords: mail logging, sendmail.cf Message-ID: <256@anvil.OZ> Date: 16 Feb 89 00:37:10 GMT Organization: Anvil Designs Pty Ltd, Brisbane, Australia Lines: 34