1834288 Members
2469 Online
110066 Solutions
New Discussion

Regarding mailx command

 
SOLVED
Go to solution
Kavita Poonia
Regular Advisor

Re: Regarding mailx command

Hello All,

I think I have misunderstood here. I do not want to configure a sendmail server here. I want to configure client from which I can send mails. So I have rectified my /etc/rc.config.d/mailservs as below again....

SENDMAIL_SERVER=0
export SENDMAIL_SERVER_NAME=
export SENDMAIL_RECVONLY=0
export SENDMAIL_SENDONLY=0

So please help me out with this as why I am not able to send outgoing mails even if everything is configured properly which I believe to be right....


Thanks * regards,
Kavita
Dennis Handly
Acclaimed Contributor

Re: Regarding mailx command

>I want to configure client from which I can send mails.

You do have to configure sendmail.cf.

export SENDMAIL_SERVER=0
export SENDMAIL_SERVER_NAME=
export SENDMAIL_RECVONLY=0
export SENDMAIL_SENDONLY=0

It seems that mailx invokes sendmail, so this seems fine. But you may have to set SENDMAIL_SENDONLY.