Sendmail and exchange

adreamer

Member
Mar 26, 2009
61
0
0
I have a RH5.4 box that I want to configure to use sendmail to relay any mail addressed @mydomain.local to forward to my exchange server .

The exchange server FQDN is mail.mydomain.local

All email addresses in exchange re xyz@mydomain.local

I still want the local server to be able to send to its local mailbox via.. root, or ftp local users. So I don't want mail going to root to get forwarded to my exchange server.

I've played around with a lot of configurations and so far the best I can do is get everything to forward to my exchange server using

"define(`mail_hub', `exchange server name') and the use of StickyHost.

But then of course all of my mails to root. ..etc..fail since there is no root@mydomain.local. and anyway I don't want that mail to go there.

This particular linux machine is not on the windows domain. Now I do have other linux machines that are on the domain via samba..and they have no trouble forwarding to exchange, in fact I didn't even have to change the default configuration to get it to work.

I have also tried setting up SMART_HOST to point to `relay:mydomain.local but so far it isn't working.

When I type sendmail -bv myuser@mydomain.local and I get User unknown if I do
sendmail -bv myuser@mail.mydomain.local I get "deliverable: mailer esmtp, host 1.10.12.13, user myuser@mail.mydomain.local "

However there is no mail user myuser@mail.mydomain.local so it fails anyway. SO if I use the FQDN of the mail server it can connect..but of course that isn't the name of the mail accounts so it fails. If I use the actual email it just gives me unknown.

any help is appreciated.
 

imagoon

Diamond Member
Feb 19, 2003
5,199
0
0
Why not just use an Exchange receive connector and let it manage itself? Do you have your MX records setup correctly? Mail issues at the based domain is normally an MX record issue if the direct server itself can be addressed. You also could have the accepted domains and address space configured incorrectly on Exchange.
 

adreamer

Member
Mar 26, 2009
61
0
0
Well I managed to fix my issue. I guess I don't know exactly what was wrong but something in my sendmail config was definitely the issue. I wiped out all of the configs/dbs and just started from scratch using SMART_HOST. I wish I knew what was broken..but it must of been something someone tinkered with a long time ago on this machine.
 
sale-70-410-exam    | Exam-200-125-pdf    | we-sale-70-410-exam    | hot-sale-70-410-exam    | Latest-exam-700-603-Dumps    | Dumps-98-363-exams-date    | Certs-200-125-date    | Dumps-300-075-exams-date    | hot-sale-book-C8010-726-book    | Hot-Sale-200-310-Exam    | Exam-Description-200-310-dumps?    | hot-sale-book-200-125-book    | Latest-Updated-300-209-Exam    | Dumps-210-260-exams-date    | Download-200-125-Exam-PDF    | Exam-Description-300-101-dumps    | Certs-300-101-date    | Hot-Sale-300-075-Exam    | Latest-exam-200-125-Dumps    | Exam-Description-200-125-dumps    | Latest-Updated-300-075-Exam    | hot-sale-book-210-260-book    | Dumps-200-901-exams-date    | Certs-200-901-date    | Latest-exam-1Z0-062-Dumps    | Hot-Sale-1Z0-062-Exam    | Certs-CSSLP-date    | 100%-Pass-70-383-Exams    | Latest-JN0-360-real-exam-questions    | 100%-Pass-4A0-100-Real-Exam-Questions    | Dumps-300-135-exams-date    | Passed-200-105-Tech-Exams    | Latest-Updated-200-310-Exam    | Download-300-070-Exam-PDF    | Hot-Sale-JN0-360-Exam    | 100%-Pass-JN0-360-Exams    | 100%-Pass-JN0-360-Real-Exam-Questions    | Dumps-JN0-360-exams-date    | Exam-Description-1Z0-876-dumps    | Latest-exam-1Z0-876-Dumps    | Dumps-HPE0-Y53-exams-date    | 2017-Latest-HPE0-Y53-Exam    | 100%-Pass-HPE0-Y53-Real-Exam-Questions    | Pass-4A0-100-Exam    | Latest-4A0-100-Questions    | Dumps-98-365-exams-date    | 2017-Latest-98-365-Exam    | 100%-Pass-VCS-254-Exams    | 2017-Latest-VCS-273-Exam    | Dumps-200-355-exams-date    | 2017-Latest-300-320-Exam    | Pass-300-101-Exam    | 100%-Pass-300-115-Exams    |
http://www.portvapes.co.uk/    | http://www.portvapes.co.uk/    |