sending an email message based on a subject keyword to an external program

View: New views
4 Messages — Rating Filter:   Alert me  

sending an email message based on a subject keyword to an external program

by bouncyinc@gmail.com :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I was wondering if there is a possibility of using postfix to send a message that has some Keyword in the subject line and send it to an external program like gpg? I'm envisioning getting a sensitive set of system messages to want to make them automated and encrypted at the same time (like maybe cron jobs/etc).

Is this possible? and if so how?

Re: sending an email message based on a subject keyword to an external program

by Ansgar Wiechers :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On 2009-11-05 John Haggerty wrote:
> I was wondering if there is a possibility of using postfix to send a
> message that has some Keyword in the subject line and send it to an
> external program like gpg? I'm envisioning getting a sensitive set of
> system messages to want to make them automated and encrypted at the
> same time (like maybe cron jobs/etc).
>
> Is this possible? and if so how?

A friend of mine and I wrote an encrypting proxy [1] for this purpose
once. Not sophisticated at all, but it did the job for us at the time.

[1] http://www.planetcobalt.net/download/crypter.pl

Regards
Ansgar Wiechers
--
"All vulnerabilities deserve a public fear period prior to patches
becoming available."
--Jason Coombs on Bugtraq

Re: sending an email message based on a subject keyword to an external program

by bouncyinc@gmail.com :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Cool I'll have to test it out after work :(

Thanks thought :)

On Thu, Nov 5, 2009 at 9:25 AM, Ansgar Wiechers <lists@...> wrote:
On 2009-11-05 John Haggerty wrote:
> I was wondering if there is a possibility of using postfix to send a
> message that has some Keyword in the subject line and send it to an
> external program like gpg? I'm envisioning getting a sensitive set of
> system messages to want to make them automated and encrypted at the
> same time (like maybe cron jobs/etc).
>
> Is this possible? and if so how?

A friend of mine and I wrote an encrypting proxy [1] for this purpose
once. Not sophisticated at all, but it did the job for us at the time.

[1] http://www.planetcobalt.net/download/crypter.pl

Regards
Ansgar Wiechers
--
"All vulnerabilities deserve a public fear period prior to patches
becoming available."
--Jason Coombs on Bugtraq


Re: sending an email message based on a subject keyword to an external program

by mouss-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

John Haggerty a écrit :
> I was wondering if there is a possibility of using postfix to send a
> message that has some Keyword in the subject line and send it to an
> external program like gpg? I'm envisioning getting a sensitive set of
> system messages to want to make them automated and encrypted at the same
> time (like maybe cron jobs/etc).
>
> Is this possible? and if so how?

you can use the FILTER statement in header_checks

/^Subject:.*CONFIDENTIAL/ FILTER yourfilterdescriptionhere

See FILTER README for how to setup a filter.