Email Forwards list

dsilvera

Verified User
Joined
Jan 22, 2006
Messages
22
Hi All - is there a simple way that i can view / print a list of ALL the email forwards/aliases/catchalls etc that are setup on a server running DA.

Thanks in advance etc.

Dave
 
This shows you all the data with the file name at the end.

Code:
find /etc/virtual/ -name aliases -exec cat {} \; -print
 
Email LIst

Many Thanks - the only issue is that the list keeps scrolling and i cant see the first entries (using SH Access)

Dave
 
You can direct it to a file:
Code:
find /etc/virtual/ -name aliases -exec cat {} \; -print > filename
or create a scrollable onscreen list (ctrl-C to abort):
Code:
find /etc/virtual/ -name aliases -exec cat {} \; -print | less
Jeff
 
Email list

God - its SO easy when you know how!!
Worked well - Many thanks

Dave

PS - i am trying to create a list of all the email addresses on the servers its no good using the message system in DA, most clients dont ever look there.
I would be willing to pay if anyone could create a script that puts the email aliases in a nice email format.
eg
make this:
info: [email protected]
clientusr: clientusr
sales: [email protected]
*: :fail:
/etc/virtual/clientdomain.co.uk/aliases

into:
[email protected]
[email protected]

Is it do able?

Thanks
Dave
 
As I've written before, anything is doable, including striking a match on a wet cake of soap.

Are you sure you want to send an email to eveyr alias on the server? If you do a lot of people will get multiple emails.

I understand that you don't think it's enough to just send to domain user email addresses, but this is really something that needs to be thought out. For example, if one of your clients sets up an email address for his Uncle Joe, do you really want [email protected] to get your email?

And of course what about resellers? Maybe you don't have any now; if you implement this you'll never be able to have any.

Jeff
 
Back
Top