Web Hosting Talk







View Full Version : EXIM / SA Question


Geek3
09-08-2002, 11:43 PM
Ok, i have a general idea of how to do this, and it involves a mess of code and filtering. I KNOW there has to be a better way being how simple this is.

I currently have a client that would like to be notified via his cell phone of emails that come in. (sounds pretty nice, eh!) SO, we're trying to setup a filter so that he won't get buzzed with SPAM on his cell phone.

SO, we have given thought to just send spam that SA (spam assassin) filters out, and send it to another email address of his, for his review later. I know this can be done, it's just a matter of how?!?

The server my client is on is a WHM/CPanel preinstaleld server running RedHat 7.3 and Exim as the email client.

How in the moon should i set this up?!?

I appreciate all of your feedback. :-)

mind21_98
09-09-2002, 12:24 AM
You could use Procmail.

In /home/user/.procmailrc:

:0c
!cellphone@company.net

And for /etc/valiases/domain.com:

email@domain.com: |/usr/bin/procmail

That should work fine. :)

Geek3
09-09-2002, 12:40 AM
any other ideas, thank you for your input.. i want to try to avoid procmail