[rt-users] Request Tracker program with procmail (fwd)

Grant Miller grant at pico.apple.com
Tue Mar 27 15:24:07 EST 2001


On Tue, Mar 27, 2001 at 03:04:27PM -0500, Hermann Wecke wrote:
> I would like to use procmail to process the messages sent to RT, so I can
> trash some messages before they reach RT.
> 
> Today RT is being called from the /etc/aliases (my-email:
> |"/opt/rt/bin/rt-mailgate securityadm correspond", root, ...) and not from
> the procmail.
> 
> I'm using this recipe:
> 
> :0f
> * ^TOmy-email at address\.com
> | "/opt/rt/bin/rt-mailgate securityadm correspond"
> 
> 
> But I'm receiving this error:
> 
> /opt/rt/bin/rt-mailgate securityadm correspond: /opt/rt/bin/rt-mailgate securityadm correspond: cannot open
> procmail: Error while writing to "/opt/rt/bin/rt-mailgate securityadm correspond"
> procmail: Rescue of unfiltered data succeeded
> >From my-personal at email.com  Tue Mar 27 15:49:49 2001
>  Subject: [cmil-sec #2299] RT mail UI
>   Folder: /var/mail/root
> 
> Any ideas??? Is anyone using procmail to call RT???
> 
> 

Yup, I have a procmail thingy that looks like this:

:0:
* ^Subject:.*WARNING.*disk space usage.*
|/local/solaris_2.5.1/rt1.0.7/bin/rt-mailgate system correspond


You don't need to use quotes.



-Grant Miller    grant at pico.apple.com   

 Unix Systems Admin, Engineering Compute Services





More information about the rt-users mailing list