You said your SIP domain is the same as your email domain, and that your DNS is 
hosted at Network Solutions. This is likely the issue and not a problem with 
sendmail unless you've borked the default configs. Sendmail in that use case 
would be used to deliver the email and not to receive it. 

There are lots of reasons why sendmail wouldn't be able to deliver email but 
that discussion is outside the scope for a sipxecs mailing list. Verify easily 
that sendmail is working in the first place by using an alternate email address 
for the below test with a known good address like gmail, yahoo, etc.

$ echo "testing 123" | mail -s "sipx email test" [email protected] && 
tail -f /var/log/maillog

You should see successful delivery in the mail log (press ctrl-c to stop 
tailing it), and within a few seconds or minutes the email should arrive in 
your inbox. Be sure to check your junk mail folders for the email if you don't 
spot it quickly. If you have successful delivery of the test email then 
sendmail is working just fine and it's a local DNS issue. To verify this is the 
case (replace example.com with your real domain) :

$ dig @localhost mx example.com

then compare against what the rest of the world has for your MX by using an 
outside DNS such as Google :

$ dig @8.8.8.8 mx example.com

If they don't match you'll need to edit your zone file, correct the MX record, 
then restart BIND.

$ service named restart

Repeat the dig test to verify they're the same now. You may want to consider 
the use of the smart_host config option of sendmail. To do so your "real" email 
server will need to allow mail relay from your sipx box. Optionally you could 
reconfigure sipx to use a different SIP domain all together or a subdomain of 
your real domain (voice.example.com instead of example.com).

HTH,
Matt
________________________________________
From: [email protected] 
[[email protected]] On Behalf Of Tommy Laino 
[[email protected]]
Sent: Tuesday, November 06, 2012 11:34 PM
To: [email protected]
Subject: Re: [sipx-users] Sendmail Issue

So I added my MX records and A records in my zone file. But
when I try to telnet mydomain.com 25  I get that the
connection is refused by 127.0.0.1 still. Tried the same
thing on my new server and its not working either. Did some
other research on Google and cant seem to find why this is
happening.
--
Tommy Laino
Dome Technologies
_______________________________________________
sipx-users mailing list
[email protected]
List Archive: http://list.sipfoundry.org/archive/sipx-users/
_______________________________________________
sipx-users mailing list
[email protected]
List Archive: http://list.sipfoundry.org/archive/sipx-users/

Reply via email to