Skip navigation

Mail Server Woes

470 Views 8 Replies Latest reply: Feb 26, 2013 9:43 PM by TobyL RSS
Mountainboy Level 1 Level 1 (55 points)
Currently Being Moderated
Jan 25, 2013 10:49 AM

Hey All,

I could use some help debugging Mail on my Mac Mini Server (10.8.2 - All updates installed).  Two issues going on:  mail is not arriving in the inbox and outgoing mail sent from the server does not arrive at the destination - it doesn't matter if its addressed to an internal email or an outside (gmail) account.  I can authenticate with the server fine. All the appropriate mail ports are open (25, 110, 143, 587, 993, 995) on the Airport Extreme.  I've tried turning off the Junk Mail settings and it made no difference.  I'm open to ideas on where to start trouble shooting? If its helpful, I can include the postfix.conf file.

 

Mail Server: mail.eclimb.org

 

Any ideas?

Mac mini, OS X Server
  • FromOZ Level 2 Level 2 (400 points)
    Currently Being Moderated
    Jan 26, 2013 3:46 AM (in response to Mountainboy)

    You need to look at your logs, if things are failing that is the first place to start to see what the system is reporting.

     

    Look at IMAP Log, Mail Server Log, SMTP Log in logs section of Server app.

     

    Also BTW your external DNS name for your mail server is 'mail.eclimb.org' but your server hostname looks to be 'sawtooth.eclimb.org'. Your server may not like that fact and also RFCs state & DNS best practices advise not to use CNAME alias for mail server machine. CNAMEs are OK for things like web & FTP but not SMTP (the MX record).

     

    See restrictions section in http://en.wikipedia.org/wiki/CNAME_record

     

    Anyway look at your logs first while you are doing test emails:

     

    1. in from Internet,
    2. out from LAN and
    3. between two email addresses in your domain using two hosts inside your LAN (i.e. message never goes out to Internet).
  • TobyL Calculating status...
    Currently Being Moderated
    Feb 26, 2013 8:02 PM (in response to FromOZ)

    I'm having a similar problem - I've setup the server and am able to authenticate for both IMAP and SMTP.

     

    Sending mail works fine - but I'm unable to receive. The logs don't seem to show anything useful - it shows my IMAP client connecting successfully, then disconnecting.

     

    The bounceback I get from the Google Apps account I try says:

     

    "The recipient server did not accept our requests to connect"

     

    Any help greatly appreciated!

  • UptimeJeff Level 4 Level 4 (3,390 points)
    Currently Being Moderated
    Feb 26, 2013 8:28 PM (in response to TobyL)

    @Toby

    Your issues is likely DNS or a not open (or blocked)

     

    If you post your domain, someone will check dns and see if the ports are open.

     

    Jeff

  • TobyL Level 1 Level 1 (5 points)
    Currently Being Moderated
    Feb 26, 2013 8:41 PM (in response to UptimeJeff)

    Thanks for the response - the server is:

     

    Leftly.me

     

    I've setup the mx server at 'leftly.me', and forwarded a records to my static ip. I've setup port forwarding for 25 and 143.

     

    Thanks again.

  • UptimeJeff Level 4 Level 4 (3,390 points)
    Currently Being Moderated
    Feb 26, 2013 9:08 PM (in response to TobyL)

    Posting the domain makes this much easier...

     

    First, your MX record list an IP address. You cant do that.

     

    You need an A record for the server, something like:

         mail.leftly.me   IN  A     198.91.214.210

    Your ISP should also set a reverse DNS record which matches the above, without the proper reverse you will have delivery issues to servers that check RDNS.

     

    Then you need an MX which points to the A record

         leftly.me    IN  MX  0   mail.leftly.me

     

     

    If the public IP of your server is: 198.91.214.210

    then you don't have port 25 visible to the outside world.

    Either the port isn't mapped in your router, or your ISP blocks port 25

     

     

    Hope that gets you moving in the right directions.

  • TobyL Level 1 Level 1 (5 points)
    Currently Being Moderated
    Feb 26, 2013 9:11 PM (in response to UptimeJeff)

    Thank you so much - I'll get these issues fixed up!

  • UptimeJeff Level 4 Level 4 (3,390 points)
    Currently Being Moderated
    Feb 26, 2013 9:14 PM (in response to TobyL)

    note, if your naked domain (leftly.me) will point to your server, you can use that.. you don't have to use mail.leftly.me

     

    A Record

    leftly.me    198.91.214.210

     

    MX

    leftly.me    leftly.me

     

    Just make sure your ISP matches whatever you do.

    Make sure your mail server answers with the same name that you use in the MX.

    You can test with:

         telnet leftlyme.com 25

    The greeting should match the MX and the RDNS

     

    Good Luck

  • TobyL Level 1 Level 1 (5 points)
    Currently Being Moderated
    Feb 26, 2013 9:43 PM (in response to UptimeJeff)

    it is the naked domain - but I'll get the RDNS setup and ensure ports are forwarded and working.. thanks again.

Actions

More Like This

  • Retrieving data ...

Bookmarked By (0)

Legend

  • This solved my question - 10 points
  • This helped me - 5 points
This site contains user submitted content, comments and opinions and is for informational purposes only. Apple disclaims any and all liability for the acts, omissions and conduct of any third parties in connection with or related to your use of the site. All postings and use of the content on this site are subject to the Apple Support Communities Terms of Use.