updating /etc/aliases remotely?
I have my own mail server running on a Debian Machine.
I currently have about 200 eMail aliases (one for every website I've ever been asked to provide an eMail address for - and surprisingly, I've only caught one of them as having given my address away). I'm continually adding more...
I'm currently at work and found something I'd like to subscribe to. Catch is, they send out the confirmation eMail which I need to respond to before it all happens. I can't get into my machine from anywhere other than the console (yeah, I'm a little nervous and have just about all ports closed off) so can't do this until I get home but would like to complete the sign up now. This is not the first time I've had this small dilema.
After all that, my question is, is there a way I can update my /etc/aliases (and of course running newaliases too) file without logging into the machine? My imagination tells me that I could eMail a special account within the server and it would scan the message, pull out the new alias(es), add it(them) to /etc/aliases, run newaliases, eMail me back to tell me it's done.
Am I dreaming? If not, my question then switches to asking for help on writing this script.
So, any thoughts?
Of course, ignore me if I'm way out of the realms of reality...