[Asterisk-Users] Voicemail and sendmail

Asterisk [Submusic] asterisk at submusic.ch
Tue Nov 29 16:55:21 MST 2005


Hi,

I think you must spécify a full qualified domain name.

The destination mail server try to resolve your Linux Box domain name , and 
he can't because of you domain name "localhost.localdomain"

If you haven't a domain name you can create a dyndns.org domain linked with 
you linux public IP.

Specify you domain name in you Linux box in the file "/etc/host" (must by 
root)

like this:

########################################################
# Do not remove the following line, or various program
# that require network functionality will fail.
127.0.0.1               localhost.localdomain localhost
0.0.0.0                 test.dyndns.org AsteriskBox   <== change this line
########################################################

test.dyndns.org is the domain name that point to your public IP
AsteriskBox is the name of your linux box

If you have a static IP you can replace 0.0.0.0.

you can try to send mail via linux console:

echo "test mail" | mail -s "MAIL TEST 1" put_your_mail at destination.com


Sorry for my bad english,,, but i think you can decrypt
Fred











----- Original Message ----- 
From: "Michaël Gaudette" <michael.gaudette at virtutel.ca>
To: <asterisk-users at lists.digium.com>
Sent: Tuesday, November 29, 2005 9:25 PM
Subject: [Asterisk-Users] Voicemail and sendmail


Hi,

I`m a beginning Asterisk and Sendmail user.  I am trying to setup my
voicemail to send emails to a certain email address. It doesn't work, and I
think I've figured out what it is.  There is probably a spam-feature at my
provider (that I am using as smart host in sendmail) to not accept emails
coming from root at localhost.localdomain.

If I start a telnet session on port 25 locally and go at it manually, an
email with MAIL FROM: root at localhost.localdomain never makes it, while the
exact same email with MAIL FROM: test at mydomain.com actually gwets to my
inbox.

How do I make it so that asterisk emails as send using user at somedomain.com
instead of root at localhost.localdomain.  Is it an asterisk thing or a
Sendmail problem? Because my logs show that the email is send from
root at localhost.localdomain.


Thanks,

Mike

_______________________________________________
--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




More information about the asterisk-users mailing list