I am not sure why my voicemail to email has stopped working. Is there a log I can look at to troubleshoot. I know my email hasn’t changed. It has got to be something I did on the Asterisk side.
Thanks
I am not sure why my voicemail to email has stopped working. Is there a log I can look at to troubleshoot. I know my email hasn’t changed. It has got to be something I did on the Asterisk side.
Thanks
Hi
/var/log/maillog or your disros equivilent
Ian
Thanks. I checked the log and I believe I see the issue.
Before it broke, the log reads as such:
Now it reads:
relay=none. status=deferred. host or domain name not found. name server error for name = mycompanyname.com type =mx host not found.
Can you please point me to where i might look to fix this.
thanks
Sounds like a name registration issue or a DNS issue.
Run an nslookup and set type=mx then put in the domain name. If it doesn’t resolve, but it resolves for another name, then mayby the name rego has expired. If you can’t get any name to resolve, then its the DNS.
Let us know how you go
Cheers
Chris
Thanks for your patience.
I typed in nslookup type = mx mydomain.com and the result it got was
nslookup: couldnt get address for '="; failure
I am not sure if I am not using the nslookup command correctly or if I have DNS issue.
Can you help me either way.
thanks
Have a look at this
[root@pbxdev ~]# nslookup
> tpg.com.au
Server: 192.168.226.1
Address: 192.168.226.1#53
Non-authoritative answer:
Name: tpg.com.au
Address: 203.12.160.187
> set type=mx
> tpg.com.au
Server: 192.168.226.1
Address: 192.168.226.1#53
Non-authoritative answer:
tpg.com.au mail exchanger = 10 mx1.tpgi.com.au.
tpg.com.au mail exchanger = 10 mx2.tpgi.com.au.
Authoritative answers can be found from:
tpg.com.au nameserver = ns1.tpgi.com.au.
tpg.com.au nameserver = ns2.tpgi.com.au.
ns1.tpgi.com.au internet address = 203.12.160.40
ns2.tpgi.com.au internet address = 203.26.24.40
> exit
[root@pbxdev ~]#
Just put your domain name in there. If the name has expired, it will do something like:
[root@pbxdev ~]# nslookup
> doesntexist.nowhere
Server: 192.168.226.1
Address: 192.168.226.1#53
** server can't find doesntexist.nowhere: NXDOMAIN
> exit
[root@pbxdev ~]#
See if it makes sense.
Let me know how you go.
Cheers
Chris
Hi Chris,
Thanks for your help.
Everything I have tried gives me the same result:
Connection timed out; no server could be reached.
I can ping the server IP address. I am also connecting remotely to it and our phones are working.
Is the mail server on a public or private network ?
from your nslookup, what happens when you change DNS servers to a public DNS server ? (Assuming your mailserver is a public one ??)
> tpg.com.au
Server: 192.168.226.1
Address: 192.168.226.1#53
Non-authoritative answer:
Name: tpg.com.au
Address: 203.12.160.187
> server 203.12.160.35
Default server: 203.12.160.35
Address: 203.12.160.35#53
> tpg.com.au
Server: 203.12.160.35
Address: 203.12.160.35#53
Non-authoritative answer:
Name: tpg.com.au
Address: 203.12.160.187
>
If this is the case, then your local DNS server is probably not forwarding the queries to the ISPs DNS server, or if the mail server is local, then you may be querying a remote DNS server which has no clue about your LAN setup
Keep trying
Chris
I was doing some further research and I came across /etc/resonv.conf and I checked the IP address. Come to find out I changed internet providers about 6 months ago and this was the IP they had given me. I believe if I correct he IP address my problem wil hopefully be solved. Can you tell me where else I need to change the address besides here at /etc/resolve.
Thanks
/etc/resolve.conf sets up your name servers and default serch domains.
A quick and dirty fix might be to set up the SMTP servers IP address in /etc/hosts.
Try using your local ISP’s SMTP server to relay through.
Do yourself a favour and install Webmin. Its the cheats way, and my preferred way, for managing a linux box. Its reasonably elegant, covers most of what you want to do without having to remember which bit goes where between the various distros. Here there is a networking section, where you can set up your name servers, gateways, etc. All from a web browser.
You can install from a tgz, or an RPM depending on your distro
Keep trying.
Chris