- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- about sendmail
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-20-2002 10:56 PM
08-20-2002 10:56 PM
about sendmail
and dns has MX 10 ns.lx01.com
my sendmail only configure with Cwlocalhost.
do i need to chainge it to Cwlx01.com?
and other setting is ok.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-21-2002 09:06 PM
08-21-2002 09:06 PM
Re: about sendmail
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-21-2002 11:13 PM
08-21-2002 11:13 PM
Re: about sendmail
w holds the values, that this_host_accepts_mail_for
if mail for your domain (lx01.com) should also be accepted by this host, 'lx01.com' needs to be included into 'w'. Also aliases if you have them, like mail.lx01.com. I suggest to leave 'Cwlocalhost' alone, and add the following to /etc/mail/local-host-names
ns
ns.lx01.com
# the following 3 only when applicable
lx01.com
mail.lx01.com
local-host-names is referenced from sendmail.cf by the line:
Fw/etc/mail/local-host-names
local-host-names == sendmail.cw on hp-ux
You can test if sendmail sees the correct values by starting sendmail in test mode:
sendmail -bt
> $=w #should return all the values sendmail holds for 'w'
ns
ns.lx01.com
localhost
[127.0.0.1]
[IP for ns.lx01.com]
>
The next bit is from sendmail.cf on hp-ux explaining the Class 'w':
Aliases for Local Host (class w): This configuration will automatically recognize that mail to users at the local host or any of its host name aliases or CNAMEs should be delivered locally. Other host names that you wish to recognize as local can be added to class w as either a simple class definition (Cw) or a file class (Fw). Any names added to class w must be canonical names. For example, by default, only the server of an nfs cluster runs the sendmail daemon, and mail from the clients is sent out with headers indicating that it originated on the server. However, you might want the server also to accept mail addressed to users at the clients. You could have nameserver MX records directing mail for the clients to the server, and make the server recognize the clients' host names as local. By default class W is defined in 2 stages. Using Cw to add the name "localhost" to class w and then adding the names listed in the file "/etc/mail/sendmail.cw" to class w using Fw. To add other hostnames to class w just add the names as new lines in the file sendmail.cw.
Hth
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-22-2002 04:44 AM
08-22-2002 04:44 AM
Re: about sendmail
thanks for ur mail, its help me to confirm my dns settings and sendmail config.
pls help to sold this,
my dns master DB has A record,
localhost 127.0.0.1
this will localhost.lx01.com, right.
my q is do i need this localhost without (.)
or i have to give a (.) at the end, like,
localhost. 127.0.0.1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-22-2002 06:21 AM
08-22-2002 06:21 AM
Re: about sendmail
Hi Tuhin,
You can add that as
localhost IN A 127.0.0.1
Sachin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-23-2002 08:24 PM
08-23-2002 08:24 PM
Re: about sendmail
thankyou for ur replay.
sorry for another quistion,
i have some Hesitation,
say i have my real domain registion (ns.lx01.com).
my hosts name is set to only with
127.0.0.1 localhost 102.100.1.12 ns.lx01.com
ans its dns entry is,
@ IN SOA ns root (...)
IN NS ns
IN MX 10 mail
ns IN A 102.100.1.12
mail IN CNAME ns #(**)
now, can i use this CNAME mail.lx01.com.
and do i need to add aliases name to my hosts file say
(102.100.1.12 ns.lx01.com mail.lx01.com).
plse help me to understand this.