|
|||
|
Need a script to export list of all emails.
So SPAM has been a constant pain in everyones side for the last... 10 years. We have a great solution in place, but only one problem. We need a full list of all the email addresses being hosted on our server right now. Well with close to 200 domains on each of our servers, its a daunting task to go from server to server listing out all of the email addresses. Not to mention, but tomorrow, someone mad add a new email, and they would be without protection.
So the question is, is there an easy why to locally list out all e-mail addresses? If that is possiable, is there a way to list out all of the forwards and lists addresses? |
|
|||
|
Let me be more specific about this. I do not want someone to write the script for me, I need someone to tell me where I can find this information, or how I can get the list. I can do everything else.
Thanks for the hints. |
|
||||
|
This should get you started:
find /home/*/etc/*/passwd The email addresses are the username (the first field)
__________________
Jonathan Michaelson cPanel Forum Moderator Need your cPanel servers secured and tuned? cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf http://www.configserver.com |
|
|||
|
Need More Help...
Hey All,
I am not a linux admin at all, therefore I need more help getting the email address list. Can someone that maybe already wrote the script post or send me a copy and I can modify it to work on our system? I am very familar with scripting on a Windows box, but not on a *nix system at all and I need a list of email addresses so that they can run thru out gateway servers before it reaches this CPanel box. Thanks! Grant Griffith |
![]() |
| Thread Tools | |
| Display Modes | |
|
|