+ Post New Thread
Results 1 to 5 of 5
*nix Thread, Sendmail sending mail to Exchange in Technical; I think I have this clear but I would like someone to clarify it... Using a 'standard' sendmail configuration, any ...
  1. #1

    Ric_'s Avatar
    Join Date
    Jun 2005
    Location
    Boston, MA
    Posts
    7,597
    Thank Post
    109
    Thanked 770 Times in 598 Posts
    Rep Power
    183

    Sendmail sending mail to Exchange

    I think I have this clear but I would like someone to clarify it...

    Using a 'standard' sendmail configuration, any mail sent will wander off and look for the relevant MX records in DNS and send then fire off the mail via SMTP to the relevant IP.

    So if I have an MX record for ServerA (IP: 192.168.0.9) which is my Exchange box, the Linux box ServerB (IP: 192.268.0.30) will simply fire off the mail and it will arrive OK.

    Is this correct or do I have to point sendmail towards the Exchange box in some way? At the present time I don't need external mail from this box but I assume mail to another domain will simply require a valid MX record for that domain?

    This might be a novice question but for some strange reason my brain isn't working too well at the moment.

  2. #2

    Geoff's Avatar
    Join Date
    Jun 2005
    Location
    Fylde, Lancs, UK.
    Posts
    11,850
    Thank Post
    110
    Thanked 598 Times in 514 Posts
    Blog Entries
    1
    Rep Power
    227

    Re: Sendmail sending mail to Exchange

    sendmail is not newbie friendly. Any chance of using something else? like Exim or Postfix?

  3. #3


    Join Date
    Jan 2006
    Posts
    8,202
    Thank Post
    442
    Thanked 1,032 Times in 812 Posts
    Rep Power
    340

    Re: Sendmail sending mail to Exchange

    I think you need to add the exhange server domain to the mailertable database. mailertable allows you to specify destination servers for specific mail domains.
    My relay /etc/mail/mailertable looks something like this
    Code:
    staff.external.sch.uk      esmtp:[exchange.college.internal]
    student.external.sch.uk    esmtp:[zimbra.college.internal]
    the file then needs to be turned into a database like this

    Code:
    /usr/sbin/makemap hash /etc/mail/mailertable.db < /etc/mail/mailertable
    I didn set up this sendmail relay, but Ive played with it a bit - and like Geoff says its not noob friendly. Personally I would go with postfix.

  4. #4

    Ric_'s Avatar
    Join Date
    Jun 2005
    Location
    Boston, MA
    Posts
    7,597
    Thank Post
    109
    Thanked 770 Times in 598 Posts
    Rep Power
    183

    Re: Sendmail sending mail to Exchange

    The only reason I was thinking sendmail is because it's the default mailer installed by Debian... I'm happy to take suggestions. I'll have a play tomorrow and if I get nowhere I will try postfix.

  5. #5
    linescanner's Avatar
    Join Date
    Oct 2006
    Location
    East Anglia
    Posts
    297
    Thank Post
    51
    Thanked 71 Times in 48 Posts
    Rep Power
    29

    Re: Sendmail sending mail to Exchange

    Stay away from sendmail. You need a degree in Outer Mongolian to get it doing stuff.

    Postfix will do what you want dead easy.



SHARE:
+ Post New Thread

Similar Threads

  1. Exchange 2007 not sending emails
    By MarkB in forum Windows
    Replies: 16
    Last Post: 31st July 2007, 11:25 AM
  2. Replies: 1
    Last Post: 9th March 2007, 10:10 AM
  3. Replies: 2
    Last Post: 9th February 2007, 05:10 PM
  4. Exchange 2003 + Mac Mail
    By pooley in forum Mac
    Replies: 6
    Last Post: 7th February 2007, 10:18 AM
  5. Replies: 7
    Last Post: 14th September 2006, 11:37 AM

Thread Information

Users Browsing this Thread

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

Posting Permissions

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