I normally use the /bin/mail program to send mail from shell scripts. The smtp server is another machine on the network. On my host, I have done the required configuration in /etc/mail/submit.cf to point to the SMTP server. All this works without any problem.
Is there any way I can use smtp authentication with the above setup? The smtp server now requries me to authenticate before sending mail. So the above method fails. Is there possible solution?
Regards, Ashok