Operating System - Tru64 Unix
1828015 Members
1763 Online
109973 Solutions
New Discussion

configure sendmail

 
rottereau
Advisor

configure sendmail

i would like to configure sendmail to use a mail server which is not on the cluster. I dont really know how to configure the system to send mails like user@mailserver.fr and how to modify files in /var/adm/sendmail. If you can help me it'd be great or if you have a link to a good doc.
Manuel R.
6 REPLIES 6
Vladimir Fabecic
Honored Contributor

Re: configure sendmail

Try:
# mailsetup
and do not choose quick setup.
In vino veritas, in VMS cluster
Al Licause
Trusted Contributor

Re: configure sendmail

As has already been mentioned.....mailsetup will give you a good configuration (sendmail.cf) for 95% of all conditions.

There is a specific question asked during this procedure as to the relay node. The default is to use the MX record for the domain or top level domain found from the dns server(s).
However, you can send the mail to any valid relay as long as it is reachable and resolveable.

Unless you really know sendmail, it is dangerous to manually change the sendmail.cf file.
Qcheck
Super Advisor

Re: configure sendmail

Hi All,

Thank you very much and my sendmail configuration with quick setup was successful on standalone server. I tried to avoid quick setup but other option failed due to DNS timeout. When I reported the same to the network group they asked to by pass the DNS, where I went to configure with quick setup in mailsetup utility.

We have some DNS issues lately in our network. So inorder to fix this we switched the different DNS on the DMZ machine inorder to fix the performance problems for the applications, in the tru64 cluster. We have web servers on these DMZ tru64 cluster. But after the change of DNS server, sendmail is not working. sendmail is already configured on these nodes.

Since the standalone sendmail is working, I want to make sendmail working on cluster too. How can I modify the sendmail configuration changes on tru64 cluster??

Thanks in advance!
Al Licause
Trusted Contributor

Re: configure sendmail

Setting up sendmail on a cluster is done the same way as on a standalone system. Used mailsetup.

Sendmail is very dependend on dns for hostname resolution. If you don't have a reliable dns service, then address this first. Set up a local caching server or secondary if you must but if you expect sendmail to work correct, you will want to have a reliable dns service available.

Or you can point to a relay host to do the resolution, but don't use the simple for for mailsetup as it will not ask the relay question.
Qcheck
Super Advisor

Re: configure sendmail

Thank you very much for the information. Do you have any documentation on Tru64 sendmail and NTP configurations notes. I really appreciate if any one could suggest on the above topics.
Al Licause
Trusted Contributor

Re: configure sendmail

We have lots and lots of notes on a wide variety of subjects including sendmail and ntp but most of them address specific situations.

For sendmail, mailsetup is the best solution in most cases. Answer all questions and allow it to provide a configuration file that will do most everything you need.

For ntp, stick to the basics. Have at least three different sources of time from three different time services. That's about it for ntp.