The Linux Administration group is for the discussion of technical issues technical issues that arise during the administration of Linux systems, including maintaining the operating system and supporting end-user applications.

Popular White Paper On This Topic

First off This is Linux help group not a Solaris one and this is a
Sendmail related question. Fortunately I am versed in all of those (was
well as AIX, and HP/UX)

Do you have root on your box that is being used as the Sendmail server?
If so you can always log on as root and run unlink / ( NOT DO NOT DO IT,
it will break your box)

If this is a clean install of Solaris you do not have Sendmail
configured yet. The configuration of Sendmail can run from simple to
extremely complex. You have to be careful if this sun server is on the
net otherwise you will be an open relay for spammers. I would suggest
that you spend some time on sendamil.org's web page reading any
documentation that they have available for you. I would also STRONGLY
urge that you purchase or at least go to the local library and get a
copy of the BAT BOOK (THIS IS A MUST HAVE if you are working with
sendmail). This is the O'Reilly book by Bryan Costales and Eric Allman
(Brian, Erick please put my check in the mail since I am pushing your
book)

Do you have a registered domain name? Sendmail really, really, really
wants you to have your own domain name (IF not at least nslookup/dns has
to work!). IT can trick it into working without it but that becomes
slightly more difficult. If everything is configured properly for
sendmail check the log files to see what they have to say about where
the mail is going...
You do not know where the maillog is?

# grep maillog /etc/syslog.conf
mail.* -/var/log/maillog

then tail the file in this sample /var/log/maillog.
This will tell you what is happening with both inbound and outbound
mail!

Now, if you do have a domain name you want to look
for /etc/mail/sendmail.cf and find this section...
# my official domain name
# ... define this only if sendmail cannot automatically determine your
domain
#Dj$w.Foo.COM

That needs to have the comment removed from the from and set up like....
Dj Mydomain.whatever

kill hup on the sendmail pid (-15) and go from there...

Now in both sample 1 and sample 2 -s means subject that is all find and
dandy and you have the accout.... BUT you did not have a

Sendmail and mail(x) do not deal well with attachments. They have to be
encoded (uuencoded) or the like. I saw several good ways to do it. But
one was left out if you can find the program... That program is MPACK
and I used it with success to test certain emails through our servers
where I work to ensure that we had attachment filtering working
correctly.