04-03-2012
Yes, it could also be in you PC's Local Address Book or in the Global Address Book. Have a look at the email header to see if the string is actually in the email.
Also see the -F parameter to the sendmail command.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
dear all :
i installed solaris 8 on my PC , i am having aproblem with the display , i have an S3 savage 4 (32MB) Display adapter , i don't have its driver under solaris , any help or advises ?? (1 Reply)
Discussion started by: behmoth
1 Replies
2. Solaris
Does anyone know how to find the wwpn?
I have 2 dual-port hba card, having hard time finding wwpn through command lines.
prtpicl isnt available - what are other commands to try? (1 Reply)
Discussion started by: kiem
1 Replies
3. Shell Programming and Scripting
My shell script below for import data to Oracle
it run okay. but the text display not correct follow order command executed.
=========================Shell Script code=================
#!/bin/sh
#directory = ${1-'pwd'}
#run import data with SQLLoader
runSQLLoader()
{
... (2 Replies)
Discussion started by: raccsdl
2 Replies
4. Solaris
Hello everyone
I have a problem and I need your help:
I have a Solaris 10 and Solaris 8 UNIX Servers, and Linux Centos4 as email server.
I need send an email from Solaris servers preferably using Centos4 email server.
I have no mail service configured in my Solaris computers (1 Reply)
Discussion started by: aflores
1 Replies
5. Shell Programming and Scripting
Hi,
I am checking if a file exists or not and based on the result I am sending an email. The email part works fine but the content of the email comes in a single line and I am not able to display it in diferent lines.
if ; then
echo "Hi, \\n An exception exists in the process.... (3 Replies)
Discussion started by: shanth_chandra
3 Replies
6. UNIX for Dummies Questions & Answers
Hello
Im having problems on re-directing the graphics from my Solaris to my PC.
I can connect using reflections and get to the Solaris desktop, however, when I login and set the DISPLAY, I cannot get the screen to my PC.
I run the below as root DISPLAY=192.168.0.7:0.0 ; export DISPLAY... (0 Replies)
Discussion started by: deedaz
0 Replies
7. Shell Programming and Scripting
Hi,
I want to display both html and plain in email in my script.
i tried the below code
code:
export MAILTO="ssi@a.com"
export CONTENT1="$htmlfile"
export CONTENT2="$plainfile"
export SUBJECT="INFO "
export MAILFROM="si@a.com"
(
echo "Subject: $SUBJECT"
echo "MIME-Version:... (4 Replies)
Discussion started by: sreelu
4 Replies
8. UNIX for Advanced & Expert Users
Hi folks,
I am facing one problem with v$sql, i need to store updating sql query in temp table when one trigger get fired on some update sql statement.
but with "sql_text" , i am not getting correct update statement in temp table.
I am getting sql_text with this cursor statement.
select... (0 Replies)
Discussion started by: apskaushik
0 Replies
9. Shell Programming and Scripting
Hi All,
I'm trying to print calendar using shell script and i'm able to print it. But the format is not good.
Here is the script.
#!/bin/bash
echo $(date)
echo "Hello $USER"
echo Hostname $(hostname)
echo Working in $(pwd)
echo Here is this month calender
echo $(cal)
$ sh first.sh... (7 Replies)
Discussion started by: chandrakanth
7 Replies
10. UNIX for Dummies Questions & Answers
I have a shell script which executes to write html codes into a text file. My next step is to email the text file so that receiving person (people who i send email to) should be able to see pie/chart or bar graph (whatever i design in my code) in their email. Following is the example of a sample... (7 Replies)
Discussion started by: bikerboy
7 Replies
LEARN ABOUT OPENSOLARIS
domainname
domainname(1M) System Administration Commands domainname(1M)
NAME
domainname - set or display name of the current domain
SYNOPSIS
domainname [name-of-domain]
DESCRIPTION
Without an argument, domainname displays the name of the current domain name used in RPC exchanges, usually referred to as the NIS or NIS+
domain name. This name typically encompasses a group of hosts or passwd entries under the same administration. The domainname command is
used by various components of Solaris to resolve names for entries such as are found in passwd, hosts and aliases. By default, naming ser-
vices such as NIS and NIS+ use domainname to resolve names.
With appropriate privileges (root or an equivalent role [see rbac(5)]), you can set the name of the domain by specifying the name as an
argument to the domainname command.
The domain name for various naming services can also be set by other means. For example, ypinit can be used to specify a different domain
for all NIS calls. The domain name of the machine is usually set during boot time through the domainname command by the svc:/system/iden-
tity:domain service. If the new domain name is not saved in the /etc/defaultdomain file, the machine reverts to the old domain after it
reboots.
The sendmail(1M) daemon, as shipped with Solaris, and the sendmail implementation provided by sendmail.org (formerly referred to as "Berke-
ley 8.x sendmail") both attempt to determine a local host's fully qualified host name at startup and both pursue follow-up actions if the
initial search fails. It is in these follow-up actions that the two implementations differ.
Both implementations use a standard Solaris or Unix system call to determine its fully qualified host name at startup, following the name
service priorities specified in nsswitch.conf(4). To this point, the Solaris and sendmail.org versions behave identically.
If the request for a fully qualified host name fails, the sendmail.org sendmail sleeps for 60 seconds, tries again, and, upon continuing
failure, resorts to a short name. The Solaris version of sendmail makes the same initial request, but then, following initial failure,
calls domainname. If successful, the sleep is avoided.
On a Solaris machine, if you run the sendmail.org version of sendmail, you get the startup behavior (omitting the domainname call)
described above. If you run the Solaris sendmail, the domainname call is made if needed.
If the Solaris sendmail cannot determine the fully qualified host name, use check-hostname(1M) as a troubleshooting aid. This script can
offer guidance as to appropriate corrective action.
FILES
/etc/defaultdomain
/etc/nsswitch.conf
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWcsu |
+-----------------------------+-----------------------------+
SEE ALSO
NIS+(1), nischown(1), nispasswd(1), svcs(1), check-hostname(1M), hostconfig(1M), named(1M), nisaddcred(1M), sendmail(1M), svcadm(1M),
ypinit(1M), sys-unconfig(1M), aliases(4), defaultdomain(4), hosts(4), nsswitch.conf(4), passwd(4), attributes(5), rbac(5), smf(5)
NOTES
The domainname service is managed by the service management facility, smf(5), under the service identifier:
svc:/system/identity:domain
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.11 8 Mar 2006 domainname(1M)