[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] Raq3i - Email conundrum
- Subject: Re: [cobalt-users] Raq3i - Email conundrum
- From: "Gerald Waugh" <gerald@xxxxxxxxx>
- Date: Fri Jan 4 08:54:03 2002
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
> I've confirmed this by checking via ssh in the files
> /etc/sendmail.cw
> /etc/mail/access
> /etc/mail/relay-domains
>
> After doing so I manually stopped sendmail (/etc/rc.d/init.d/sendmail
> stop) re-hashed the relevant files, ran newaliases (just in case) then
> started sendmail back up again.
Sendmail will first look to sendmail.cw for local delivery then to DNS.
So as long as its listed in /etc/sendmail.cw it will be delivered locally as
the server will never go to DNS in an attempt to deliver mail.
If you need to generate a new /etc/sendmail.cf file to configure Sendmail,
you should utilize the m4 macro processor. If you ever edit the
/etc/mail/sendmail.mc to add functionality to Sendmail, backup your current
/etc/sendmail.cf file, generate a new one by executing the m4
/etc/mail/sendmail.mc > /etc/sendmail.cf command, and add any previous
changes from the /etc/sendmail.cf you backed up to the new /etc/sendmail.cf
file. After creating a new /etc/sendmail.cf, you must restart Sendmail to
make it take effect. The easiest way to do this is to type the /sbin/service
sendmail restart command as root.
By default, the m4 macro processor is installed with Sendmail. The m4 macro
processor is included with the sendmail-cf package, which is installed in
/usr/lib/sendmail-cf.
You should consult the /usr/lib/sendmail-cf/README file before you edit any
of the files in the directories under the /usr/lib/sendmail-cf directory, as
they can affect how future /etc/sendmail.cf files are configured.