Hi,

Thanks for your reply.
The problem is that I do not have access to the
real MTA, because it is managed by another group.
So, somehow I need to do this in the firewall/bridge.

One way I thought of was patching the ipfreely TCP
proxy to exract these fields (from, to, subject) of
the SMTP dialogue.

But I was hoping that relayd could be used as an SMTP
proxy and had some logging facilities that allowed me
to get this info. Something like:

check send ... expect....

Regards,

Robson


All I have access to is the firewall.

----- Original Message -----
From: "Brian A. Seklecki"
To: "Robson Caetano"
Cc: misc@openbsd.org
Subject: Re: logging smtp connections
Date: Fri, 08 May 2009 14:18:31 -0400


On Sat, 2009-05-02 at 05:06 -0500, Robson Caetano wrote:
> Hi
>
> I would like to log From:, To: and Subject: fields of
> every SMTP connection to my internal SMTP server
> that is passed by the openbsd firewall.
>

You're better off doing that within your MTA.  Courier has a Big Brother
feature:

etc/courier/courierd:#  ARCHIVEDIR="/usr/lib/courier/bigbrother"

~BAS


--
Be Yourself @ mail.com!
Choose From 200+ Email Addresses
Get a Free Account at www.mail.com

Reply via email to