Voice Mail to 2 different emails

qostech
Posts: 31
Member Since:
2008-03-04

Is there a way to send voicemail email to 2 different address for administration purposses, for example to the client and a copu of that same mail to an adminsitrator email account.



IcelandDreams
Posts: 415
Member Since:
2007-09-11
I haven't tried but have you

I haven't tried but have you tried entering two addresses with a comma separating them? That is the normal method in most apps. The other way is an alias on your mail server, adminmail@yourdomain.com goes to multiple real mailboxes.



qostech
Posts: 31
Member Since:
2008-03-04
Tried That

i've already tried that, but whe yo apply changes, it automatcally deletes one od the email addresses.

I dont have a mail server, just a small office with trixbox



IcelandDreams
Posts: 415
Member Since:
2007-09-11
Where is your email hosted?

Where is your email hosted? Most systems allow you to setup an alias that takes your chosen name such as "trixy@" and point it to any number of real addresses. Then you use that address in tribox and it gets delivered to multiple users via the alias. If you tell me hotmail then I don't know....

You could do it on the trix server itself but that involves a little handy work. But it is normal linux tricks (hint: /etc/aliases). Then an address like "trix@localhost" hits the local alias and delivers as desired.

edit-> I just tried it. I set the send to address to trix@localhost which hit the local /etc/aliases file which then sent to two (or more) different real mailboxes.



qostech
Posts: 31
Member Since:
2008-03-04
You are right, I've seen

You are right, I've seen that, but since its a new company, a really new one, we haven´t bought a domain or anything like that, so we are still using personal addresses like hotmail and gmail.

Could you attach or copy that file, I dont undertand how to work with every extension so the system send to eahc extension mail and also to the administrator mail.



IcelandDreams
Posts: 415
Member Since:
2007-09-11
ah, always buy your domain

ah, always buy your domain before anything else...... The cost is too tiny to wait until everything else is in place.

ok, assuming that you can get to a console prompt on the trixbox as the root user (from the pbx itself or from a remote ssh session) you need to edit the /etc/aliases file. "vi /etc/aliases"
I'm old and crusty so I still use vi but you can use whatever you like. Edit the aliases file and at the bottom add a line similar to:
adminmail: email1@yourdomain.com, email2@whateverdomain.com

When finished editing run "newaliases". That will compile the text file and you're done. If you "tail -f /var/log/maillog" you can watch the mail delivery.

"adminmail" is whatever address you want to create. You'll put adminmail@localhost as the address to send the voicemail to. Then your pbx will send it to email1 and email2. Once you get comfy with that it becomes a one minute job next time.



qostech
Posts: 31
Member Since:
2008-03-04
You are a genius, thank you

You are a genius, thank you very much it worked like a charm

thanks a lot



joshpatten
Posts: 733
Member Since:
2007-01-20
IcelandDreams wrote: I'm old
IcelandDreams wrote:
I'm old and crusty so I still use vi

HEY!!! I'm only 25 and I still use vi :-P

Anyone who doesn't is a n00b...j/k :-)



SkykingOH
Posts: 9681
Member Since:
2007-12-17
It's a bird, it's a plane

No, it's Josh Patten writing regular expressions for find and replace in vi >

Us mere mortals (I use joe, my fingers remember the 30 year old Wordstar commands) are humbled.

Seriously I almost, can get regex to do what I want, I have watched folks that can write expressions as fast as they type, it's a handy skill

--

Scott

aka "Skyking"



Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.