I am running RedHat 2.1. I don't want to run sendmail on my system since my system won't be a mail server/relay. However, I would like to send mail from the server. I understand this can be done without running sendmail. Can you guys give any tips on how this can be done.
This is what I tried:
I disabled running sendmail at boot time/.
Stopped sendmail server
Crontab entry for sendmail with -q
After this i try sending mail by
# mail -v email@example.com
I get the following error
... Connecting to [127.0.0.1] via relay...
... Deferred: Connection refused by [127.0.0.1]
You tips would be greatly appreciated.