Results 1 to 12 of 12
  1. #1
    BadTA
    Guest
    Trouble with email
    I am having trouble sending mail to a certain domain. According to the MailService log files it is not connecting to the appropriate mail server on the other end.

    For example, if I am sending email to user@domain.com the mail server at domain.com might not be domain.com, but that is what is happening. If I do an nslookup and set type=mx domain.com shows a mailserver at mail1.domain.com, but in my log file, it is trying to connect to domain.com:25 instead of mail1.domain.com:25.

    Any idea why nslookup gets it right but the mail server doesn't? The mail server is Max OSX 10.3.

    Thanks
    Mark

  2. #2
    Trouble with email
    MacsWork's Avatar
    Member Since
    May 22, 2005
    Location
    Closer than you think.
    Posts
    2,159
    Specs:
    Performa 6116 2GBSCSI 8MB OS 7.5.3
    Are you suggesting sending mail to user@mail1.domain.com?

    If an email address is user@domain.com it is up to the other side to get it as that. Not for you to send it differently. Your smtp server doesn't do a lookup for right and wrong, asside from formatting the address.

    If you ping mail1.domain.com and domain.com you'll get the same IP if they are behind the same firewall. If the mail server is somewhere else the ISP/host will need the MX record to reflect where to direct mail traffic.

  3. #3
    Trouble with email
    D3v1L80Y's Avatar
    Member Since
    Feb 02, 2004
    Location
    PA
    Posts
    12,456
    Specs:
    MacBook
    Quote Originally Posted by BadTA
    I am having trouble sending mail to a certain domain. According to the MailService log files it is not connecting to the appropriate mail server on the other end.

    For example, if I am sending email to user@domain.com the mail server at domain.com might not be domain.com, but that is what is happening. If I do an nslookup and set type=mx domain.com shows a mailserver at mail1.domain.com, but in my log file, it is trying to connect to domain.com:25 instead of mail1.domain.com:25.

    Any idea why nslookup gets it right but the mail server doesn't? The mail server is Max OSX 10.3.

    Thanks
    Mark
    First off, its better to use an online "DNS Lookup" tool (one can be found here http://www.DNSstuff.com). Otherwise, there is a very good chance you will get the wrong results, if you are using the nslookup on your computer (at least from my experiences).

    However, from the info that you posted, it appears that the mail server for your domain is not accepting port 25 connections. It could also be that your firewall is blocking port 25. Check your firewall settings first, but if your mail server is not accepting port 25 connections no one will be able to send mail to that server.
    __________________________________________________
    Posting and YOU|Forum Community Guidelines|The Apple Product Cycle|Forum Courtesy

    mac: a waterproof raincoat made of rubberized fabric
    MAC: a data communication protocol sub-layer, also known as the Media Access Control
    Mac: a brand name which covers several lines of personal computers designed, developed, and marketed by Apple Inc.


  4. #4
    BadTA
    Guest
    I can ping mail1.domain.com, but not domain.com. The confusing part is if do an nslookup and set type=mx, it shows proper mx records (mail1.domain.com), but my mail server keeps trying to connect to domain.com:25 and not mail1.domain.com:25.

    The other confusing part is that people in that domain are able to receive mail from others, just not us.

    Mark

  5. #5
    Trouble with email
    MacsWork's Avatar
    Member Since
    May 22, 2005
    Location
    Closer than you think.
    Posts
    2,159
    Specs:
    Performa 6116 2GBSCSI 8MB OS 7.5.3
    I guess I'm having trouble grasping your problem.

    You have an internal mail server. (xserve?)
    There is a company other than your own that you can't send mail to.

    If your mail server is sending out mail to a domain.com address it is up to the other end to properly resolve the mail1.domain.com to the mail server. Not for you to send it to the right mail server.

    Perhaps your domain has been black listed on there side by accident. If they are using any GFI mail essential tools (or other anti spam products) a user could easily block a whole domain. Have you spoken with their admin?

    It's quite possible that they have stealth mode enabled on the domain.com and that is why you can't ping it.

  6. #6
    BadTA
    Guest
    I don't think I am blacklisted. I can telnet to their mailserver and send an email that way. Also, I don't think it is an issue with their DNS records, as they are able to receive email from other domains. It is just our mailserver is not getting the MX record for their domain.

    Mark

  7. #7
    BadTA
    Guest
    Also, this has happened in the past and I noticed that the problem clears up when the DNS cache entry has expired and my mailserver retrieves new DNS cache entries.

    I am not very Mac savvy, so any help would be appreciated.

    Mark

  8. #8
    Trouble with email
    MacsWork's Avatar
    Member Since
    May 22, 2005
    Location
    Closer than you think.
    Posts
    2,159
    Specs:
    Performa 6116 2GBSCSI 8MB OS 7.5.3
    Telnet-ing (i assume on port 25) to their mail server has nothing to do with blacklists. Or DNS.

    If a mail user on their domain marks a message from your domain as spam, your entire domain could become blacklisted by their server.

    YOU DO NOT NEED TO CONFIGURE YOUR MX RECORD TO SEE THEIR DOMAIN!!! Do you have to do that with anyother domain? No you don't.

    Your MX record is for you.

    Create a sub domain called something else and try to send a message that way.

    If you say you're waiting for dns to flush try this, but I doubt that is your issue.

    sudo killall lookupd
    lookupd -flushdnscache

    I telling you if you can send mail everywhere else than it's on there end. Unless you are blocking mail to that domain. Which I would imagine you aren't otherwise you wouldn't have posted this.

  9. #9
    BadTA
    Guest
    Ok, I still think this is a DNS issue somehow. I tried the two commands you listed already, but it is still not finding the correct MX record for the domain I am sending to.

    Here is a snippet of my Mail log file when the mail goes through:


    Aug 1 2005 14:29:38 SMTP connection attempt for host "marshpm.com". DNS Cache entry has expired. Retrieving new DNS cache entries.
    Aug 1 2005 14:30:53 SMTP failed to connect to server "mail14.mcapp.com:25" using TCP/IP during connection attempt for "marshpm.com".
    Aug 1 2005 14:30:53 SMTP connected to server "mail3.mcapp.com:25" using TCP/IP to send data for host "marshpm.com".
    Aug 1 2005 14:30:54 SMTP Sent Message ID: 559382, Size (k): 8, Recipient(s): 1, Message transfer time: 00:01, Total delivery time: 01:16.
    Aug 1 2005 14:30:54 SMTP closed connection to TCP/IP server "mail3.mcapp.com".


    Here is a snippet of when it stopped working:

    Aug 2 2005 07:14:48 SMTP connection attempt for host "marshpm.com". DNS Cache entry has expired. Retrieving new DNS cache entries.
    Aug 2 2005 07:16:39 SMTP failed to connect to server "marshpm.com:25" using TCP/IP during connection attempt for "marshpm.com".


    It seems that the problem occurs when my DNS cache expires and it retrieves new cache entries.

  10. #10
    Trouble with email
    MacsWork's Avatar
    Member Since
    May 22, 2005
    Location
    Closer than you think.
    Posts
    2,159
    Specs:
    Performa 6116 2GBSCSI 8MB OS 7.5.3
    Let's start over,...

    Have you configured the xserve as a primary dns server?

    If so did you enter any information about this domain?

    Where does the xserve get secondary dns?

    terminal command: man lookupd

  11. #11
    BadTA
    Guest
    The xserve is our primary DNS server and also the mailsever. I am not sure what you are asking when you ask "did you enter any information about this domain?"

    The xserve gets its secondary DNS from the DNS servers appointed by our ISP.

    Mark

  12. #12
    Trouble with email
    MacsWork's Avatar
    Member Since
    May 22, 2005
    Location
    Closer than you think.
    Posts
    2,159
    Specs:
    Performa 6116 2GBSCSI 8MB OS 7.5.3
    try stopping the dns service on the xserve and reboot it if possible. Then use just the ISP DNS and test.

    the command I gave you was wrong,...it's

    lookupd -flushcache

    I suggest reading up on bind.

    This may help as well

    http://manuals.info.apple.com/en/Mac...AdminGuide.pdf

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Having trouble setting up a local email address in mac mail
    By timothybrooks7 in forum OS X - Apps and Games
    Replies: 0
    Last Post: 11-12-2012, 05:17 PM
  2. Trouble with iPhoto email
    By Alsante1 in forum Switcher Hangout
    Replies: 1
    Last Post: 08-19-2012, 03:43 PM
  3. Trouble sending email
    By RadioSaigon in forum OS X - Apps and Games
    Replies: 1
    Last Post: 07-13-2012, 07:00 PM
  4. having trouble with PDF attachments in email
    By NewLeaf in forum OS X - Apps and Games
    Replies: 1
    Last Post: 02-27-2009, 01:41 PM
  5. Email trouble with iMac
    By BobS63 in forum Switcher Hangout
    Replies: 5
    Last Post: 03-04-2008, 01:37 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •