First off, the documentation says to change /etc/hosts only if you are NOT running a name service.
I think you may have a dns cache problem - mailhost is probably cached by dns.
Clear the DNS cache (do this only if nscd (name serve daemon)is running, otherwise don't do this):
This will clear the local DNS cache. Next try:
Your problem has to be local to the UNIX box. You have clearly started and stopped sendmail.
Hello,
I want to setup a mailserver for an company having 25 users presentlly. Basically i am setting up first time. I want to know what are the minimum requirement for a mail server ie
1. Whether we require a domain name ( we can have our own domain name?)
2. whether we require a legal IP... (1 Reply)
hi
I want to setup pop3 server, so i can accept incoming mail with my own domainname for example stormpie@my-domain.org
the unix server is in a windows2000 network, behind a win2000 router not in domain, how can i do this?? plz help me
greetz (1 Reply)
I seem to be having some troubles with my mailserver. Sendmail is working properly as far as I can tell, and so is IMAP and POP3, but whenever I try to log in via IMAP or POP3 I get an incorrect password error even though Iam using the proper password. Ive even tried telnet which yields this:
$... (2 Replies)
I have a mail server that I have just finished setting up and now the problem is telneting to it from a window desktop which is on the same network. Ive edited etc/mail/sendmail.mc by removing the loopback address with my desktop IP. then I restarted my service mail:
shutting down sendmail: ... (1 Reply)
I have installed in the server a quad ethernet adapter, I'm using two interfaces with two different IP networks, both interfaces are connected to a switch, the switch report that is receiving the same MAC address in both ports so must of the times I have connectivity problems.
Any idea to change... (1 Reply)
I want change my IP address and hostname in my machine by use the console. Can any one tell me how can I execute that by command ?
Thanks & Regards (1 Reply)
First of all an appeal on all specialists to be understandfull with me, newbie. I have a RaQ 550 that I have to admin bymyself. I have executed mailq and found out that there are mails in the queu that I did not sent. Is someone exploiting my server? Here is an example of the report:
... (1 Reply)
Hi All,
Can you please help me in configuring mail server on Solaris 10?
Will appreciate if I can get some link which can explain the steps
Thanks (3 Replies)
Hi ,
I am using windows xp as my web server and domain hosting with godaddy.com
My issue is , i want to create mailserver in linux for my website
is it possible? (1 Reply)
Hello, hopefully somebody can give me a clue on how to do this.
Right now I have emails coming from company1-alert@company1.com to distribution@ourcompany.com.
I want to set up something in Postfix so that if the email is going to distribution@ourcompany.com, the From: address is... (2 Replies)
Discussion started by: TayKimchi
2 Replies
LEARN ABOUT SUNOS
nscd
nscd(1M) System Administration Commands nscd(1M)NAME
nscd - name service cache daemon
SYNOPSIS
/usr/sbin/nscd [-f configuration-file] [-g] [-e cachename, yes | no] [-i cachename]
DESCRIPTION
nscd is a process that provides a cache for the most common name service requests. The default configuration-file /etc/nscd.conf determines
the behavior of the cache daemon. See nscd.conf(4).
nscd provides caching for the passwd(4), group(4), hosts(4), ipnodes(4), exec_attr(4), prof_attr(4), and user_attr(4) databases through
standard libc interfaces, such as gethostbyname(3NSL), getipnodebyname(3SOCKET), gethostbyaddr(3NSL), and others. Each cache has a separate
time-to-live for its data; modifying the local database (/etc/hosts, /etc/resolv.conf, and so forth) causes that cache to become invali-
dated upon the next call to nscd. The shadow file is specifically not cached. getspnam(3C) calls remain uncached as a result.
nscd also acts as its own administration tool. If an instance of nscd is already running, commands are passed to the running version trans-
parently.
In order to preserve NIS+ security, the nscd service checks the permissions on the passwd table if NIS+ is being used. If this table cannot
be read by unauthenticated users, then nscd will make sure that any encrypted password information returned from the NIS+ server is sup-
plied only to the owner of that password.
OPTIONS
Several of the options described below require a cachename specification. Supported values are passwd, group, hosts, ipnodes, exec_attr,
prof_attr, and user_attr.
-f configuration-file Causes nscd to read its configuration data from the specified file.
-g Prints current configuration and statistics to standard output. This is the only option executable by non-root
users.
-e cachename, yes|no Enables or disables the specified cache.
-i cachename Invalidate the specified cache.
EXAMPLES
Example 1: Stopping and restarting the nscd daemon.
example# svcadm disable system/name-service-cache
example# svcadm enable system/name-service-cache
FILES
/etc/nscd.conf Determines athe behavior of the cache daemon
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWcsu |
+-----------------------------+-----------------------------+
SEE ALSO svcs(1), svcadm(1M), getspnam(3C), gethostbyname(3NSL), getipnodebyname(3SOCKET), exec_attr(4), group(4), hosts(4), ipnodes(4),
nscd.conf(4), nsswitch.conf(4), passwd(4), prof_attr(4), user_attr(4), attributes(5),
NOTES
The output from the -g option to nscd is subject to change. Do not rely upon it as a programming interface.
The nscd service is managed by the service management facility, smf(5), under the service identifier:
svc:/system/name-service-cache
Administrative actions on this service, such as enabling, disabling, or requesting restart, can be performed using svcadm(1M). The ser-
vice's status can be queried using the svcs(1) command.
SunOS 5.10 30 Oct 2003 nscd(1M)