Blocking certain users from sending to certain internal mail addresses

2009-03-11 Thread jpb
Hi List, I have Postfix 2.3.3 with amavis-new, spamassassin and clamav and am trying to block a group of users from sending to two internal maillists called staff and pupils. I have two files, restricted_maillists which is in the format: pup...@bordengrammar.kent.sch.uk restricted_mail_lis

Blocking certain users from sending to certain internal mail addresses

2009-03-11 Thread jpb
Hi List, I have Postfix 2.3.3 with amavis-new, spamassassin and clamav and am trying to block a group of users from sending to two internal maillists called staff and pupils. I have two files, restricted_maillists which is in the format: pup...@bordengrammar.kent.sch.uk restricted_mail_lis

Re: Blocking certain users from sending to certain internal mail addresses

2009-03-12 Thread jpb
Hi Again, Sorry to be a pain but I'm stuck again. If I try to send to the maillists from any account, I get blocked instead of only the pupils so it seems that the restricted user list is being ignored when applying the rules. I've tried all sorts of combinations of restrictions but it's either on

Re: Blocking certain users from sending to certain internal mail addresses

2009-03-13 Thread jpb
Hiya, You sir, are a genius!! I think it was one of those situations where I'd been round in circles so many times I lost track of what was going on, that and reading to many examples from different sources. The server itself with Squirrelmail, clamav and spamassassin took two hours to set up an