How to disable sendmail???

Hi friends,
I just did a fresh installation of Solaris 10 as I had some problems with UFS, which seems that ZFS has solved.
Now the problem is that sendmail is constantly printing error messages on my screen, which is really irritating me, as I am a novice user, and don't intend to use and learn sendmail at the moment. This is the message that I see.

 
Sep 5 10:16:46 virtual-solaris sendmail[829] unable to qualify my own domain name (virtual-solaris) -- using short name
Sep 5 10:16:46 virtual-solaris sendmail[829] [ID 702911 mail.alert] unable to qualify my own domain name (virtual-solaris)  -- using short name

and I see a different kind of error message as well which says, maybe it is also related to sendmail

 
Sep 5 10:16:46 virtual-solaris snmpXdmid: Registration with DMI failed. error=831

I tried to to disable sendmail with the command

 
svcadm disable sendmail

but it doesn't work at all, and sendmail is not disabled and loads automatically as the computer is booted, and I can see it with

 
ps -e | egrep sendmail

I also tried to kill the sendmail process

 
kill -9 834

but it says,

 
Sep 5 10:16:46 virtual-solaris sendmail[829] unable to qualify my own domain name (virtual-solaris) unkown; sleeping for retry.

Please help me with this. And also I had problem with another error message which would say that my filesystem is full, and a friend on this forum recommended that I do a fresh install and use ZFS instead of UFS, and I did. I am posting the output of df -h commands, please tell me whether the filesystem is ok now or not?

 
$ df -h
Filesystem             size   used  avail capacity  Mounted on
rpool/ROOT/s10x_u9wos_14a
                        50G   3.6G    45G     8%    /
/devices                 0K     0K     0K     0%    /devices
ctfs                     0K     0K     0K     0%    /system/contract
proc                     0K     0K     0K     0%    /proc
mnttab                   0K     0K     0K     0%    /etc/mnttab
swap                   463M   384K   463M     1%    /etc/svc/volatile
objfs                    0K     0K     0K     0%    /system/object
sharefs                  0K     0K     0K     0%    /etc/dfs/sharetab
fd                       0K     0K     0K     0%    /dev/fd
swap                   463M    36K   463M     1%    /tmp
swap                   463M    24K   463M     1%    /var/run
rpool/export            50G    23K    45G     1%    /export
rpool/export/home       50G    21K    45G     1%    /export/home
rpool                   50G    32K    45G     1%    /rpool
 

Looking forward to your wonderful replies, I love this form and the contributors, I wish one day I'll be capable enough to solve people's problems on this forum, as they do mine at the moment.
Thanks in advance!

Hi,
Can you paste example o/p also with commands for better understanding?
Can you check if service name is sendmail or just mail?

svcs -a | grep mail

Also put an entry for your IP and hostname in /etc/hosts, restart mail service and check if above message comes or not.

O/p of df -h seems good. Please check capacity colume of o/p for % used capacity of filesystem. All are below 8%, so you should not be receiving file system full message.

Here is the output

$ svcs -a | grep mail
disabled       11:09:52 svc:/network/smtp:sendmail
online         11:16:36 svc:/network/sendmail-client:default

It already has it, it says

$ cat /etc/hosts
#
# Internet host table
#
::1     localhost
127.0.0.1       localhost
192.168.1.10    virtual-solaris loghost

make it something like this:

$ cat /etc/hosts
#
# Internet host table
#
::1     localhost
127.0.0.1       localhost
192.168.1.10    virtual-solaris virtual-solaris.mydomain.com loghost
1 Like

enter in terminal as root

svcadm disable svc:/network/sendmail-client:default
2 Likes

I made it like this.

 
::1 localhost
127.0.0.1 localhost
192.168.1.10 virtual-solaris virtual-solaris.home.com loghost

And rebooted the machine. I think it has worked now, I haven't received that pesky message for quite some time now.
Thanks a ton bro, I'll be alway indebted to you! Have a wonderful time