Link to home
Start Free TrialLog in
Avatar of agubaira
agubaira

asked on

Script for selective .procmailrc copying/deleting

Hi Experts,

Does someone have a script I can run on a Linux machine to copy or delete .procmailrc files on selected email users for a given domain ? This will allow me to enable anti-spam software for selected accounts instead of doing it one by one.

Thanks
ASKER CERTIFIED SOLUTION
Avatar of Arty K
Arty K
Flag of Kazakhstan image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Hm you can distribute the .procmailrc files e.g with scp, or rsync or maybe unison.

Regards
Friedrich
fridom:
'on selected email users'
I think 'selected' and 'email' are the keywords. aquabaria, is it?
Avatar of agubaira
agubaira

ASKER

Yes Nopius, that would be the ideal solution, however if it gets to tough I would accept a procedure to copy .procmailrc files to all users or delete it from all.

Fridom, how does scp or rsync work ?
Well here's the info about rsync:
http://samba.anu.edu.au/rsync/

Regards
Friedrich
fridom,

How do I deal with user permisions if I have to copy a file to their home directories without root privilege, using rsync ?
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial