Thanks Kris -
Aye, that's the route I'll take as a fallback - I'll have a powershell script that runs daily which first disables POP on all mailboxes (using wildcards, essentially) and then re-enables POP on the specific mailboxes that need it. The only trouble with this approach is that when I add a mailbox that does need POP enabled, I'll need to subsequently modify the script to add that new mailbox.
Still a decent solution (since it requires less per-instance work than manually disabling POP on each new mailbox), but I'd love it if I could just have them disabled automatically without a regularly scheduled script.
If nobody can tell me how to have it disabled by default, or if the question remains otherwise unanswered (as, for some reason, mine tend to do), I'll accept your answer as the solution (and post a copy of the powershell script I write).
Regards,
Greg
Main Topics
Browse All Topics





by: kristinawPosted on 2007-07-12 at 09:51:10ID: 19473671
There is no way that i know of to have it be disabled by deafult on newly created users.
i think this type of thing is where you would need to get creative, and use your knowledge to work around this. scripting is definitely an option here. first off, for all newly created mailboxes, you could disable it all in one fell swoop using powershell after the accts are created. powershell has the ability to do loops and other common scripting functions.
i am an old 'vbscripter', and if i were going to do something like this with vb, i would likely create a list of all accounts that should be pop enabled. then find out what attribute that corresponds to in AD. i would write a script that runs through all accounts in the domain, then if it finds one that is pop enabled, i would have the script run through the 'allowed' accounts file list, and if no match is found, i would have the script turn off pop for that account. i would then schedule this as a scheduled task at whatever interval i deemed necessary.
i'm sure something similar could be done with powershell, but you'd need to experiment and find what works best for you.
kris.