*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 ...
-
17th October 2006, 06:33 PM #1 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.
-
-
IDG Tech News
-
17th October 2006, 07:33 PM #2 Re: Sendmail sending mail to Exchange
sendmail is not newbie friendly. Any chance of using something else? like Exim or Postfix?
-
-
17th October 2006, 09:09 PM #3 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.
-
-
17th October 2006, 10:14 PM #4 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.
-
-
24th October 2006, 09:33 PM #5 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:
Similar Threads
-
By MarkB in forum Windows
Replies: 16
Last Post: 31st July 2007, 10:25 AM
-
By frontal in forum Windows
Replies: 1
Last Post: 9th March 2007, 10:10 AM
-
Replies: 2
Last Post: 9th February 2007, 05:10 PM
-
Replies: 6
Last Post: 7th February 2007, 10:18 AM
-
By CyberNerd in forum *nix
Replies: 7
Last Post: 14th September 2006, 10: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
-
Forum Rules