Thanks to all your help.<br>This is the solution I came up with for my fetchmail/promail/RT email blocking issue, basically I wanted th ability to block emails from certain individuals, however I did not have access to do this on the email server that handles our mail.
<br><br>This is my .fetchmailrc file:<br>poll <a href="http://mail.server.ca">mail.server.ca</a> with proto pop3 timeout 200 user 'rt' password '12345' is 'rt@localhost' here<br><br>This is my .forward file:<br>|/usr/bin/procmail
<br><br>This is my .procmailrc file:<br>:0<br>* ^From:.*bad@user.com*<br>/dev/null<br><br>:0<br>* ^TOrt@<br>| /usr/local/rt3/bin/rt-mailgate --queue CustomerSupport --action correspond --url <a href="http://10.0.0.1/">http://10.0.0.1/
</a><br><br>And I run the fetchmail program as follows:<br>fetchmail -m "/usr/bin/procmail -f %F"<br><br>So this in effect forwards all emails to the rt-mailgate script except for the email from <a href="mailto:bad@user.com">
bad@user.com</a><br><br>I hope this helps other people trying to get somethign like this working<br><br>Thanks again<br><br>Phil<br><br><br><br>