1827371 Members
5011 Online
109963 Solutions
New Discussion

Sendmail questions.

 
Michael_590
Occasional Advisor

Sendmail questions.

Dear friends!

I am just starting with a Linux system administration, and have a few problems.
One of them is sendmail configuration.
Could you, please, answer me, can I configure sendmail application to by a relay (and send all incoming mails to Exchange server 8((( ), and is there any script or command which allows to see how my outgoing mail is going out (something like traceroute, but for emails?)

I would be really grateful for any help.
4 REPLIES 4
xyko_1
Esteemed Contributor

Re: Sendmail questions.

Hi Michael,

Sendmail can be configured to relay mails to exchange. Sendmail has a not so easy way to be configured and has some security problems. I guess that to make sendmail to relay messages to exchange you only have to make sendmail your mta to the incomming messages (from the internet I supose) and configure exchange server as internal MX on your domain's dns server. I prefer to use Postfix because it's easier to configure and administer. You may install Postfix in all linux distributions.

But if you realy want to use sendmail see documentation at http://www.sendmail.org/

regards,
Xyko
Chowroc
Occasional Advisor

Re: Sendmail questions.

Hi Michael,

I presume that you want to configure sendmail as a nullclient and the exchange to be mallhub of the domain. I have configure Postfix to be nullclient.

For sendmail, I think you can add this:
define(`MAIL_HUB', `-u-mailhub-host') dnl

If you want to see the procedure, I think you can keep check on /var/log/maillog:
# tail -f /var/log/maillog

Hope this help for you.
xyko_1
Esteemed Contributor

Re: Sendmail questions.

Michael,

Here are a document that may help you.

http://linux.iastate.edu/rhel/index.php?option=content&task=view&id=50&Itemid=33

Your exchange server must be set on relayhost parameter. But only if you decide to change sendmail by postfix.

regards,
xyko
Michael_590
Occasional Advisor

Re: Sendmail questions.

Hi!

Thank you very much for your help!