voicemail to email not working

pkelkar

New Member
Joined
Jun 27, 2008
Messages
28
Reaction score
0
I am not getting any emails when a voicemail is left. I checked all posts on the forum, followed instructions on nerdvittles. I am using smtp.att.yahoo.com in sendmail.mc / webmin/sendmail. I've updated hosts as per the instructions. restarted the network and sendmail services.
 
My 2c

I would get rid of Sendmail and use PostFix instead.

service sendmail stop
rpm -e --nodeps sendmail
yum -y install postfix
service postfix start
nano /etc/postfix/main.cf
Find the lines that begin "#relayhost = ....", and add a line there that says (without the first "#" character): relayhost = your.smtp.server.dns.or.ip.address (replace the silly text with your actual mail server DNS or IP address!)
ctrl-x, Y, (to save & exit)
service postfix reload


I am not getting any emails when a voicemail is left. I checked all posts on the forum, followed instructions on nerdvittles. I am using smtp.att.yahoo.com in sendmail.mc / webmin/sendmail. I've updated hosts as per the instructions. restarted the network and sendmail services.
 
Try this...

Per mighty_falcon try this: Google is indeed your friend:wink5:

Postfix SMTP AUTH support for relayhost

Tonight I changed my relayhost for my outgoing home mail server to one that requires me to use SMTP AUTH so I needed to modify my main.cf on the outgoing server as follows.

Added the following settings to /etc/postfix/main.cf:
smtp_sasl_auth_enable = yes
smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
smtp_sasl_security_options =

Create /etc/postfix/sasl_passwd as follows:
my.mail.relay.net username:password

Because the password is in cleartext make it root only:
# chown root:root /etc/postfix/sasl_passwd && chmod 600 /etc/postfix/sasl_passwd

Create the hash file:
# postmap /etc/postfix/sasl_passwd

Make the hash file world readable:
# chmod 644 /etc/postfix/sasl_passwd

Reload the Postfix config:
# /etc/init.d/postfix reload



tnx to http://ben.franske.com/blogs/bensbits.php/2005/09/06/postfix_smtp_auth_support_for_relayhost

works like a charm :)



I am replacing sendmail with postfix as you suggested.

How do I deal with a relay mail server that requires authentication?


Thanks
 
no email

Per mighty_falcon try this: Google is indeed your friend:wink5:

Postfix SMTP AUTH support for relayhost

Tonight I changed my relayhost for my outgoing home mail server to one that requires me to use SMTP AUTH so I needed to modify my main.cf on the outgoing server as follows.

Added the following settings to /etc/postfix/main.cf:
smtp_sasl_auth_enable = yes
smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
smtp_sasl_security_options =

Create /etc/postfix/sasl_passwd as follows:
my.mail.relay.net username:password

Because the password is in cleartext make it root only:
# chown root:root /etc/postfix/sasl_passwd && chmod 600 /etc/postfix/sasl_passwd

Create the hash file:
# postmap /etc/postfix/sasl_passwd

Make the hash file world readable:
# chmod 644 /etc/postfix/sasl_passwd

Reload the Postfix config:
# /etc/init.d/postfix reload



tnx to http://ben.franske.com/blogs/bensbits.php/2005/09/06/postfix_smtp_auth_support_for_relayhost

works like a charm :)


I tried as per post. Still not working. any idea how to debug? thanks
 
Who is your ISP? I see your email is Yahoo. I user RoadRunner, therefore, I've set my "relay = smtp-server.wi.rr.com". this has worked flawless for me. Is it that your ISP does not allow SMTP Relay?
 
While SSH to your Asterisk system, do the following:

echo "test" | mail -s testmessage [email protected]

change [email protected] to your own email address. Did you receive the email?


Here is the email log. How do I change the from address for postfix? thanks!


From [email protected] Wed Sep 3 06:01:39 2008
Return-Path: <[email protected]>
X-Original-To: root
Delivered-To: [email protected]
Received: by asterisk1.local (Postfix, from userid 0)
id CB1E4708AA3; Wed, 3 Sep 2008 06:01:37 -0700 (PDT)
To: [email protected]
Subject: SMART error (CurrentPendingSector) detected on host: asterisk1.local
Message-Id: <[email protected]>
Date: Wed, 3 Sep 2008 06:01:37 -0700 (PDT)
From: [email protected] (root)

Date: Wed, 3 Sep 2008 08:44:02 -0700 (PDT)
From: [email protected] (Mail Delivery System)
Subject: Undelivered Mail Returned to Sender
To: [email protected]
Auto-Submitted: auto-replied
MIME-Version: 1.0
Content-Type: multipart/report; report-type=delivery-status;
boundary="1B924708AA0.1220456642/asterisk1.local"
Message-Id: <[email protected]>
This is a MIME-encapsulated message.
--1B924708AA0.1220456642/asterisk1.local
Content-Description: Notification
Content-Type: text/plain; charset=us-ascii
This is the mail system at host asterisk1.local.
I'm sorry to have to inform you that your message could not
be delivered to one or more recipients. It's attached below.

host smtp.att.yahoo.com[68.142.198.11] said: 553 From:
address not verified; see
http://help.yahoo.com/l/us/yahoo/mail/original/manage/sendfrom-07.html (in
reply to MAIL FROM command)
 
Activating Email Delivery of Voicemail Messages

This should help, provided by Mr. Ward. Excellent document, which should be read top to bottom... - http://knol.google.com/k/ward-mundy/pbx-in-a-flash/3uqc77rg9tgar/2#

Activating Email Delivery of Voicemail Messages

We've previously shown how to configure systems to reliably deliver email messages whenever a voicemail arrives unless your ISP happens to block downstream SMTP mail servers. Here's the link in case you need it. As it happens, you really don't have to use a real fully-qualified domain name to get this working. So long as the entry (such as pbx.dyndns.org) is inserted in both the /etc/hosts file and /etc/asterisk/vm_general.inc with a matching servermail entry of [email protected] (as explained in the link above), your system will reliably send emails to you whenever you get a voicemail if you configure your extensions in FreePBX to support this capability. You can, of course, put in real host entries if you prefer. For 90% of the systems around the world, if you just want your server to reliably e-mail you your voicemail messages, make line 3 of /etc/hosts look like this with a tab after 127.0.0.1 and spaces between the domain names:

127.0.0.1 pbx.dyndns.org pbx.local pbx localhost.localdomain localhost

And then make line 6 of /etc/asterisk/vm_general.inc look like the following:

[email protected]

Now issue the following two commands to make the changes take effect:

service network restart
amportal restart



Here is the email log. How do I change the from address for postfix? thanks!


From [email protected] Wed Sep 3 06:01:39 2008
Return-Path: <[email protected]>
X-Original-To: root
Delivered-To: [email protected]
Received: by asterisk1.local (Postfix, from userid 0)
id CB1E4708AA3; Wed, 3 Sep 2008 06:01:37 -0700 (PDT)
To: [email protected]
Subject: SMART error (CurrentPendingSector) detected on host: asterisk1.local
Message-Id: <[email protected]>
Date: Wed, 3 Sep 2008 06:01:37 -0700 (PDT)
From: [email protected] (root)

Date: Wed, 3 Sep 2008 08:44:02 -0700 (PDT)
From: [email protected] (Mail Delivery System)
Subject: Undelivered Mail Returned to Sender
To: [email protected]
Auto-Submitted: auto-replied
MIME-Version: 1.0
Content-Type: multipart/report; report-type=delivery-status;
boundary="1B924708AA0.1220456642/asterisk1.local"
Message-Id: <[email protected]>
This is a MIME-encapsulated message.
--1B924708AA0.1220456642/asterisk1.local
Content-Description: Notification
Content-Type: text/plain; charset=us-ascii
This is the mail system at host asterisk1.local.
I'm sorry to have to inform you that your message could not
be delivered to one or more recipients. It's attached below.

host smtp.att.yahoo.com[68.142.198.11] said: 553 From:
address not verified; see
http://help.yahoo.com/l/us/yahoo/mail/original/manage/sendfrom-07.html (in
reply to MAIL FROM command)
 
Gmail Works

THANK YOU VERY MUCH. GMAIL settings work as per the URL.
 
No need to thank me. Thank Mr. Ward, as I'm just preachin' his gospel. Glad it is working!!!
 

Members online

Forum statistics

Threads
26,687
Messages
174,410
Members
20,257
Latest member
Dempan
Get 3CX - Absolutely Free!

Link up your team and customers Phone System Live Chat Video Conferencing

Hosted or Self-managed. Up to 10 users free forever. No credit card. Try risk free.

3CX
A 3CX Account with that email already exists. You will be redirected to the Customer Portal to sign in or reset your password if you've forgotten it.
Back
Top