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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Getting sendmail to deliver to a script on Solaris 8

Status
Not open for further replies.

jeffers3d

Technical User
Mar 9, 2005
1
GB
Hi,

someone please help before I pull my hair out. I have been trying on and off now for a week or so to get sendmail on a Solaris 9 box to deliver mail to a script so that it can be parsed for automation. I have an entry in the aliases file that looks like this:

user1: "|/export/home/user1/bin/filter"

at the moment, /export/home/user1/bin/filter looks like this:

while read LINEIN ; do
echo $LINEIN >> /export/home/user1/mail.txt
done

under Solaris 9, there doesn't seem to be a sendmail.mc file, but looking in the sendmail.cf file, all is default and to my reckoning should work. When I send a message to the above alias, I get an "unknown mailer error 1". according to information on the Sendmail website, this means the mailer program is missing, but as you can see it's not.

What am I missing? Why wont this work? Please help :v(

Jeffers3D
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top