Maildrop Mailfilter

Started by gelsemap, September 20, 2004, 02:12:17 PM

Previous topic - Next topic

gelsemap

Hi,

I want to add another filter to my email; if it comes from a special domain i want to have it delivered in a special mailbox.

I tried installing the serversidefilters but they give me an permission denied when I run them from squirrelmail in the errors.log. I chowned the files to user:group www, but had no succes.

Created the following but I still got questions

If (/^From: *!.*/:h){   IF ($MATCH2 == "email@domain.com")    {   to "$VHOME/Maildir/.Folder"    }}


Will this rule be only executed with mail from that domain and will all other mail from other domains still be delivered?

I've done man maildrop and man maildropfilter and tried a search for examples so I could copy and understand what I am doing and do it myself.

I would be grateful if someone could guide me in the right direction.

TIA

Patrick