1. is it possible to combine LeaveWork & LeaveFriedns (and any other categories subs I use) into one.

2. for each category I have a text file which contains a list of domains (a bit like the banned senders file), what I want to do is if address is not in address book read from these files and see if the domain is in them.

so for the work it would first check the work address book, and if not present would then check the work.txt file

But when I look at the ini file generated it misses the "\" off, and I obviously have issues with this in my scripts. Has anybody else had this issue or even better know how to resolve it. Could I have hit the limit for the length of the variable

I think I forgot to set the &Found variable in the example I posted. You will need to initialize it to False at the start of the subroutine and then set it to true if you classify the message. Note: This will mean that a message classified as "Work" will not also be classified as "Friends".

I can now use barca on any machine, without having to setup popfile, and can also start using the internal junk filters (not that I get much spam ....yet!!)

The only thing that would be nice to have on the script, would be the ability to setup in a config file all the Buckets you want and the scripts read this and process of it, but as this does what I want I am not going to even contempt that...well maybe one day if I have lots of time on my hands