Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Sending messages from scripts or command line

Status
Not open for further replies.

AHinMaine

ISP
Nov 27, 2002
264
US
Can anyone help with this? With /bin/sh, trying to do something like
Code:
echo test | mailx myaddress@example.com
yields an error:
Code:
ld.so.1: mail: fatal: libadmsslutil60.so: open failed: No such file or directory

If, in my regular shell, I fix LD_LIBRARY_PATH, it finds the library, but gives the error
Code:
Cannot open message registry file
when trying to mailx myself something. (The file
Code:
/etc/msgregistry.inf
does exist.

So, does anyone know how to make it so that a non-nms friendly command line util that normally uses sendmail directly can send messages?

--
Andy
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top