I’m trying to get root e-mail re-directed to a central machine. I’ve
managed to get sendmail to do this, but mailx doesn’t seem to be paying
any attention. Is there something special I have to do to get mailx to
use sendmail to deliver messages?
I’m running qnx 425. And basically I’ve just created an alias
root:rootmail@mydomain.com.
The default alias file for mailx is /usr/lib/mailx.rc. It takes
entries of the form “root rootmail@mydomain.com”.
This is all in the on-line docs.
Richard
GFSUSER wrote:
I’m trying to get root e-mail re-directed to a central machine. I’ve
managed to get sendmail to do this, but mailx doesn’t seem to be paying
any attention. Is there something special I have to do to get mailx to
use sendmail to deliver messages?
I’m running qnx 425. And basically I’ve just created an alias
root:> rootmail@mydomain.com> .
“Richard R. Kramer” wrote:
The default alias file for mailx is /usr/lib/mailx.rc. It takes
entries of the form "root > rootmail@mydomain.com> ".
This is all in the on-line docs.
Richard
Thanks Richard. I must appologize for not being complete in my description
of the problem. mailx will not even send mail to a remote address. All
remote mail ends up in dead.letter.
Ahh. Then you are most likely missing rmail. It’s normally found
as /usr/ucb/rmail.sendmail. Either rename it or link it to such
as /usr/bin/rmail.
Richard
GFSUSER wrote:
“Richard R. Kramer” wrote:
The default alias file for mailx is /usr/lib/mailx.rc. It takes
entries of the form "root > rootmail@mydomain.com> ".
This is all in the on-line docs.
Richard
Thanks Richard. I must appologize for not being complete in my description
of the problem. mailx will not even send mail to a remote address. All
remote mail ends up in dead.letter.