bar top left
bar top right
left curve
right curve
Bienvenido, Invitado
Abajo
Publicar respuesta
Publicar nuevo tema
Página: 1
TEMA: voice mail to email
#30325
voice mail to email hace 1 Año Karma: 0
I want to send my voice mail and faxes to my email address. I want to send these email via my gmail account. I have my own domain say abc.net
my domain email are handled with gmail.com and I have a pbx@abc.net account and I can send and receive email with my outlook express with smtp.gmail.com and pop.gmail.com

here is what i did



in /etc/postfix/main.cf

mydomain = abc.net
myhostname = elastix.abc.net
smtp_sasl_auth_enablee = yes
smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
smtp_sasl_security_options =

relayhost = smtp.gmail.com

then I made sasl_passwd and add this information
smtp.gmail.com:465 pbx@abc.net:wordpass

then I run postmap /etc/postfix/sasl_passwd

my emails are not going
here is what i get in /var/log/maillog

Código:


Jul 13 17:47:43 elastix postfix/qmgr[2403]: F3F6D12111D: from=<asterisk@abc.net>, size=19212, nrcpt=1 (queue active)
Jul 13 17:47:43 elastix postfix/qmgr[2403]: 0700112110B: from=<asterisk@abc.net>, size=20524, nrcpt=1 (queue active)
Jul 13 17:52:43 elastix postfix/smtp[3940]: 0700112110B: conversation with smtp.gmail.com[74.125.79.109] timed out while receiving the initial server greeting
Jul 13 17:52:43 elastix postfix/smtp[3939]: F3F6D12111D: to=<bahram@abc.net>, relay=smtp.gmail.com[216.239.59.109]:465, delay=2489, delays=2189/0.02/300/0, dsn=4.4.2, status=deferred (conversation with smtp.gmail.com[216.239.59.109]  timed out while receiving the initial server greeting)
Jul 13 17:57:43 elastix postfix/smtp[3940]: 0700112110B: to=<bahram@abc.net>, relay=smtp.gmail.com[74.125.79.111]:465, delay=64654, delays=64054/0.02/600/0, dsn=4.4.2, status=deferred (conversation with smtp.gmail.com[74.125.79.111]  timed out while receiving the initial server greeting)
Jul 13 18:04:23 elastix postfix/qmgr[2403]: 45A1812111C: from=<asterisk@abc.net>, size=15513, nrcpt=1 (queue active)
Jul 13 18:09:23 elastix postfix/smtp[3969]: 45A1812111C: conversation with smtp.gmail.com[74.125.79.111] timed out while receiving the initial server greeting



as you can I think the trouble is email are not going from pbx@abc.net but from asterisk@abc.net
Introducir código aquí   
Por favor, aunque no se vea ningún BBcode ni botones de smiley, son usables igualmente
torboy
Fresh Boarder
Mensajes: 37
graphgraph
Usuario Offline Presiona aquí para ver el perfil de este usuario
Última edición: 14/07/2009 10:38 por torboy.
Reply Quote
 
#30346
Re:voice mail to email hace 1 Año Karma: 7
I make and script for this.

If you want you can try:

Código:

cd /root
wget www.santafaz.com.ar/gamba47/gmail_english.sh
chmod +x gmail_english.sh
sh gmail_english.sh



This script with ask you about your account settings (username & password)

Post the results if you use this!

Regards. gamba47
Introducir código aquí   
Por favor, aunque no se vea ningún BBcode ni botones de smiley, son usables igualmente
gamba47
Still learning
Expert Boarder
Mensajes: 593
graphgraph
Usuario Offline Presiona aquí para ver el perfil de este usuario
Sexo: Hombre BrazilFW Localización: Argentina Cumpleaños: 06/26
There is not place like 127.0.0.1
Reply Quote
 
#30353
Re:voice mail to email hace 1 Año Karma: 0
Here is the output

Código:

[root@elastix ~]# cd /root
[root@elastix ~]# wget www.santafaz.com.ar/gamba47/gmail_english.sh
--11:48:41--  http://www.santafaz.com.ar/gamba47/gmail_english.sh
Resolving www.santafaz.com.ar... 200.58.117.225
Connecting to www.santafaz.com.ar|200.58.117.225|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 3553 (3.5K) [application/x-sh]
Saving to: `gmail_english.sh.1'

100%[=======================================>] 3,553       19.0K/s   in 0.2s

11:48:42 (19.0 KB/s) - `gmail_english.sh.1' saved [3553/3553]

[root@elastix ~]# chmod +x gmail_english.sh
[root@elastix ~]# sh gmail_english.sh
which: no dialog in (/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin)
gmail_english.sh: line 13: wl: command not found
gmail_english.sh: line 15: [: -eq: unary operator expected
gmail_english.sh: line 75: dialog: command not found
mkdir: cannot create directory `/etc/postfix/certs': File exists
Generating DSA parameters, 1024 bit long prime
This could take some time
....+++++++++++++++++++++++++++++++++++++++++++++++++++*
...+......+............+......................+...+....+.+...................+.....+......................+...+........+.+.....+.+......................+........+.......+..+.......+........+...+........+.+...+......+..........+.....+.+.....+..+...... .+..................+...+...+............+.......+...+..+.....+......+...+......+.......+......+.............+.....+........+......+.................+......................................+..............+.+............+..........+......+....+.+...+.. .+.....+...............+..+..+...............+...................+.......+........+++++++++++++++++++++++++++++++++++++++++++++++++++*
Generating a 1024 bit DSA private key
writing new private key to 'mykey.pem'
-----
You are about to be asked to enter information that will be incorporated
into your certificate request.
What you are about to enter is what is called a Distinguished Name or a DN.
There are quite a few fields but you can leave some blank
For some fields there will be a default value,
If you enter '.', the field will be left blank.
-----
Country Name (2 letter code) [GB]:CA
State or Province Name (full name) [Berkshire]:
Locality Name (eg, city) [Newbury]:
Organization Name (eg, company) [My Company Ltd]:PBX ABC
Organizational Unit Name (eg, section) []:
Common Name (eg, your name or your server's hostname) []:
Email Address []:pbx@abc.net
You are about to be asked to enter information that will be incorporated
into your certificate request.
What you are about to enter is what is called a Distinguished Name or a DN.
There are quite a few fields but you can leave some blank
For some fields there will be a default value,
If you enter '.', the field will be left blank.
-----
Country Name (2 letter code) [GB]:CA
State or Province Name (full name) [Berkshire]:
Locality Name (eg, city) [Newbury]:
Organization Name (eg, company) [My Company Ltd]:PBX ABC
Organizational Unit Name (eg, section) []:
Common Name (eg, your name or your server's hostname) []:
Email Address []:pbx@ABC.net
gmail_english.sh: line 84: /etc/inid.d/postfix: No such file or directory
gmail_english.sh: line 86: dialog: command not found

Introducir código aquí   
Por favor, aunque no se vea ningún BBcode ni botones de smiley, son usables igualmente
torboy
Fresh Boarder
Mensajes: 37
graphgraph
Usuario Offline Presiona aquí para ver el perfil de este usuario
Última edición: 14/07/2009 12:07 por torboy.
Reply Quote
 
#30369
Re:voice mail to email hace 1 Año Karma: 36
Hi guys, great work

I moved it to tip & tricks sections

Regards,

Rafael
Introducir código aquí   
Por favor, aunque no se vea ningún BBcode ni botones de smiley, son usables igualmente
rafael
Free Software is all about freedom
Administrator
Mensajes: 1386
graphgraph
Usuario Offline Presiona aquí para ver el perfil de este usuario
Sexo: Hombre Elastix Localización: Ecuador Cumpleaños: 10/11
Enlaces ocultos para usuarios no registrados. Inicie sesión o regístrese Aquí
Enlaces ocultos para usuarios no registrados. Inicie sesión o regístrese Aquí
Email contact: rbonifaz [at] elastix.org
IRC channels at freenode: #elastix #elastix-es
IRC User: rafael-ec
Follow us:
twitter.com/elastix identi.ca/elastix
twitter.com/elastix_es identi.ca/elastixes
facebook.com/elastix
Reply Quote
 
#30499
Re:voice mail to email hace 1 Año Karma: 7
torboy, sorry for this!!

Please, donwnload again and please install dialog before run the script

Código:

yum install dialog -y


regards. gamba47
Introducir código aquí   
Por favor, aunque no se vea ningún BBcode ni botones de smiley, son usables igualmente
gamba47
Still learning
Expert Boarder
Mensajes: 593
graphgraph
Usuario Offline Presiona aquí para ver el perfil de este usuario
Sexo: Hombre BrazilFW Localización: Argentina Cumpleaños: 06/26
There is not place like 127.0.0.1
Reply Quote
 
#34257
Re:voice mail to email hace 11 Meses Karma: 8
Gamba thx for that script work very nice i will increase your karma nice job.
Introducir código aquí   
Por favor, aunque no se vea ningún BBcode ni botones de smiley, son usables igualmente
Megabyte
Senior Boarder
Mensajes: 275
graphgraph
Usuario Offline Presiona aquí para ver el perfil de este usuario
Sexo: Hombre alfiomunoz@hotmail.com Localización: Dominican Republic Cumpleaños: 01/25
Visit #elastix-es in freenode IRC
Alfio Munoz
Siempre tratando de aprender mas cada dia.
Reply Quote
 
#54177
Re:voice mail to email hace 1 Mes, 2 Semanas Karma: 0
I've been looking for a solution like this and for a noob like me this one works marvelously. I will just compile what gamba47 instructed. Thanks a lot...


Código:

wget www.santafaz.com.ar/gamba47/gmail_english.sh
yum install dialog -y
chmod +x gmail_english.sh
sh gmail_english.sh




gamba47 wrote:
I make and script for this.

If you want you can try:

Código:

cd /root
wget www.santafaz.com.ar/gamba47/gmail_english.sh
chmod +x gmail_english.sh
sh gmail_english.sh



This script with ask you about your account settings (username & password)

Post the results if you use this!

Regards. gamba47
Introducir código aquí   
Por favor, aunque no se vea ningún BBcode ni botones de smiley, son usables igualmente
massquote
Fresh Boarder
Mensajes: 2
graphgraph
Usuario Offline Presiona aquí para ver el perfil de este usuario
Reply Quote
 
Arriba
Publicar respuesta
Publicar nuevo tema
Página: 1
Moderadores: ramoncio, Bob, dicko