Re: [Asterisk-Users] Can´t send emails
yrving rivas
yrvingr at yahoo.com.mx
Mon Jun 5 11:45:08 MST 2006
Lewis:
This is what the logs says regarding to de mails on a test I made:
Jun 5 14:28:59 DEBUG[27498] app_voicemail.c: Sent mail to yrving.rivas at mysite.com with command '/usr/sbin/sendmail -t'
Later will come with an error like this:
Date: Monday, June 05, 2006 12:54 PM From: Mail Delivery Subsystem <MAILER-DAEMON at mysite.com> To: postmaster at mysite.com Subject: Postmaster notify: see transcript for details The original message was received at Wed, 31 May 2006 12:32:34 -0400
from localhost
with id k4VGSP31004351
----- The following addresses had permanent fatal errors -----
<admin at asterisk1.local.com>
----- Transcript of session follows -----
<admin at asterisk1.local.com>... Deferred: Connection timed out with asterisk1.local.com.
Message could not be delivered for 5 days
Message will be deleted from queue
message/delivery-status: Type
Type: unknown Date: Wednesday, May 31, 2006 12:32 PM From: Mail Delivery Subsystem <MAILER-DAEMON> To: admin at asterisk1.local.com Subject: Warning: could not send message for past 4 hours **********************************************
** THIS IS A WARNING MESSAGE ONLY **
** YOU DO NOT NEED TO RESEND YOUR MESSAGE **
**********************************************
The original message was received at Wed, 31 May 2006 07:31:46 -0400
from localhost [127.0.0.1]
----- Transcript of session follows -----
<yrving.rivas at 10.0.0.102.com>... Deferred: 10.0.0.102.com.: No route to host
Warning: message still undelivered after 4 hours
Will keep trying until message is 5 days old
message/delivery-status: Type
Type: unknown Date: Wednesday, May 31, 2006 07:31 AM From: admin <admin at asterisk1.local.com> To: yrving.rivas at 10.0.0.102.com Subject: test uknown: Type
Type: unknown
May be this answers your question.
What I think is there must be a missconfiguration in the software used to send the mail or maybe with the name I gave to the A at H server...I don´t know.
Thanks!
Yrving
Lewis Agosta <voipstreet at gmail.com> escribió: Have you checked the validity of the mailcmd setting in voicemail.conf? Make sure that the command supplied there is the exact location to the application that will process your mail.
ie. mailcmd=/usr/sbin/sendmail -t
Also, make sure that the variable "emailbody" doesn't have something funky defined that is causing it to error out. Have you reviewed your mail server logs to see if the email is being sent? You would most likely get some good information from there if you could determine if the email is being sent out, or erroring out during the attempt.
On 6/5/06, yrving rivas <yrvingr at yahoo.com.mx> wrote: Alex:
I verified my SMTP with "telnet (A at H ip) 25" and sent an email to root.
I have another mail server inside my network and, as happens trying to send an email to internet, it gives me a time out.
I can give you all the details if you would.
Thanks for your help.
yrving
Alex Robar < alex.robar at gmail.com> escribió: Yrving,
How have you verified that your SMTP is working? Can you actually send a message from your Asterisk server to one of your internal addresses?
Alex
On 6/5/06, yrving rivas <yrvingr at yahoo.com.mx > wrote: Hello everybody.
I will apreciate your help in this case.
I have the environment showed in the picture of the file included in this message.
I would like to send trhough internet all the messages received by voicemail. I made all the configuration through the AMP, and all messages are saved properly, so I can receive them directly from my phone with *97, but still the Asterisk don´t send it through Internet.
As I have seen the SMTP is working, and I can ping any site of Internet, and any of my internal addresses, but still I have no idea about what is happening.
Thanks.
Yrving
__________________________________________________
Correo Yahoo!
Espacio para todos tus mensajes, antivirus y antispam ·gratis!
Regístrate ya - http://correo.yahoo.com.mx/
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --
Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
--
Alex Robar
alex.robar at gmail.com _______________________________________________
--Bandwidth and Colocation provided by Easynews.com --
Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
__________________________________________________
Correo Yahoo!
Espacio para todos tus mensajes, antivirus y antispam ·gratis!
Regístrate ya - http://correo.yahoo.com.mx/
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --
Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
--
Origination that includes real support!
http://www.VoIPStreet.com _______________________________________________
--Bandwidth and Colocation provided by Easynews.com --
Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
__________________________________________________
Correo Yahoo!
Espacio para todos tus mensajes, antivirus y antispam ¡gratis!
Regístrate ya - http://correo.yahoo.com.mx/
__________________________________________________
Correo Yahoo!
Espacio para todos tus mensajes, antivirus y antispam ¡gratis!
Regístrate ya - http://correo.yahoo.com.mx/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20060605/8276b7a7/attachment.htm
More information about the asterisk-users
mailing list