|
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
|
Re: [PLUG] DNS CNAME issues
|
On Wed, May 02, 2001 at 07:54:15PM -0700, Eric Cunningham wrote:
> Thanks for the suggestion. Unfortunately it still isn't working. I'm
> kind of getting eager to get it working so i might end up giving the
> machine a hostname of www. But I'd much rather solve the problem and
> understand why it wasn't working.
>
> Also, after much struggle I finally have Sendmail and DNS working to the
> point where i can send and receive messages. Does anyone know what i
> have to do to be able to leave the hostname out of the address?
> (@beccel.com rather then @mail.beccel.com) I figured the MX record
> would do it but it doesn't. Is there something within sendmail perhaps?
First. Never use CNAMEs in MX records.
Second. Create an MX for domainname.com
Third. Add domainname.com to $w in sendmail
Fourth. HUP named and sendmail
/usr/lib/sendmail -bt
That'll put you inside sendmail. Type a '?' at the promt.
At this point you can try stuff like /map /parse /mx /try....
YOu can tell sendmail what its valid local names are on the Cw line, and/or
you can tell it to get these values from a file on the Fw line.
Your mc file should have lines like the following:
FEATURE(`use_cw_file')dnl
Its all documented on sendmail.org.
--
Mental
______________________________________________________________________
Philadelphia Linux Users Group - http://www.phillylinux.org
Announcements-http://lists.phillylinux.org/mail/listinfo/plug-announce
General Discussion - http://lists.phillylinux.org/mail/listinfo/plug
|
|