I'm at a bit of a loss here, any help is appreciated...
I have Solaris 10, and in submit.cf, sendmail.cf I have the mail relay setup to our companys relay server which works fine when I type a full email address on the command like (i.e. #echo hello | mail
me@work.com).
However, I am trying to implement some email aliases, so I edited the /etc/aliases file, and ran newaliases, restarted sendmail...
Now, the problem I am having, is that it does not want to use the relay I have specified in the sendmail config files.
If I run # echo hello | mail myalias it wants to connect to the local host instead of going to the mail relay server...
It seems like it wants to send the mail to a myalias user on the local box...
I have sendmail disabled on the server (svcadm disable sendmail)...
Any ideas on how I can make the system use the mail relay when using a mail alias?
Thanks!