> I am trying to work out how to set up a linux box as a secondary MX
> server for an other domain. I am using sendmail and could not find
> the information on how to do this in the sendmail faq... even a
> search on google turned up little. I know that mail is accepted for
> local hosts if the domain name is in /etc/sendmail.cw or similar
> file (on my system this file is called /etc/mail/local_domains). Is
> there a similar file for domains for which we are a secondary MX?
> Something that I can put in a .mc file? Or do I have to hack the
> sendmail.cf file and make lots of changes? I dont want to go near
> this scary file unless I know what I'm looking for.
In the default sendmail config, the corresponding file is called
"sendmail.cR" - look in your sendmail.cf file for a line like:
(or any line beginning with "FR"), which should tell you where this
file is meant to live.
Might I suggest Donncha's excellent install-sendmail script, which
makes up sendmail.cf for almost every conceiveable eventuality.
http://members.nbci.com/xeer/software/ has details.
I'd also suggest changing to exim or postfix, which are about a
gazillion times easier to configure than sendmail is, but this might
be beyond the scope of your request.
Colm Buckley, NewWorld Commerce, 16 South Cumberland St., Dublin 2, Ireland.
Personal: +353 87 2469146 / colm at tuatha.org / http://www.tuatha.org/~colm/
Business: +353 1 4334334 / colm at nwcgroup.com / http://www.nwcgroup.com/
99 percent of lawyers give the rest a bad name.
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!