5 messages in net.sourceforge.lists.courier-maildropRe: [maildropl] alertmail
FromSent OnAttachments
Ingo ReinhartFeb 3, 2005 11:54 pm 
Jay LeeFeb 4, 2005 5:24 am 
Ingo ReinhartFeb 4, 2005 6:31 am 
Chris HollemanFeb 7, 2005 5:00 am 
Ingo ReinhartFeb 7, 2005 11:01 pm 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: [maildropl] alertmailActions...
From:Ingo Reinhart (i.re@dung.de)
Date:Feb 4, 2005 6:31:22 am
List:net.sourceforge.lists.courier-maildrop

Hi!

Thanks! If I use

FOOBAR=`./script`

it works, but if I use

`./script`

it seems that it not works.

And another problem. Is nothing execute after "to ...."???

I need to drop the mail with "to .." and than execute my script.

Bye, Ingo

----- Original Message ----- From: "Jay Lee" <jl@pbu.edu> To: <cour@lists.sourceforge.net> Sent: Friday, February 04, 2005 2:23 PM Subject: Re: [maildropl] alertmail

Ingo Reinhart said:

Hello! I am using maildrop (with mysql-support) on a mailserver with 50 domains and ca. 200 user. Grate program! But one question: Is it posible to execute a shellscript if a rule has match? One client want to get an email if a specifite rule matchs.

Yes, something like this:

if (/^From:.*reallyimportant@bigmoney\.com/:h) { `/your/external/script` }

see the maildrop docs on www.courier-mta.org for more details.