Looking for the simplest config.
I can ping each box, ftp, telnet but I can't get sendmail working
to save my soul. (Even using the O'rielly book)
Solaris 2.6, no users, the end goal: to get a cron job
to email results to another server on the same domain.
Sendmail's been around so long, I'm amazed that these
folks haven't made this the least bit user friendly.
ANY tips, ideas, file copies, GREATLY appreciated.
# cd /etc/mail
# cp main.cf sendmail.cf
# vi sendmail.cf
In the file do the following:
1. Comment out the line that starts Lmmaildomain
2. Change the DM variable to read DMether (instead of DMsmartuucp)
3. Find the line Dm cs.Podunk.edu and Cmcs.Podunk.edu. Uncomment the
lines and change the cs. Podunk.edu stuff to your mail domain.
4. Write and quit the file.
5. vi /etc/hosts and place the alias mailhost next to your systems
entry.
6. Either reboot or stop and start the sendmail process.
7. Use the following command to test mail:
# /usr/lib/sendmail -v < /dev/null root@other_server_hostname
This should display a smtp conversation and if it says "Mail accepted
for delivery"
at the end of the conversation, it worked!
Now, the above configuration assumes you are not running NIS or NIS+ and
that
the receiving server has its mail domain set to the same domain name in
the sendmail.cf file that you defined with the Dm and Cm variables
above.
Good luck,
Dave
Roger,
Here is my one and only tip
Throw out sendmail and popd and replace them with qmail. It is the only
sane thing to do.
-Mike
mge...@wnol.net