mail: command not found cpanel server

If you got an error mail: command not found on a new install when running a script that emailed it’s results, turns out I had to install mailx for it to work.

yum install mailx
service postfix start
chkconfig postfix on

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

Install DKIM and SPF in cPanel

The following scripts are used to enable DKIM and SPF records...

Manage Exim Mail Queue Manager in WHM

The Mail Queue Manager allows you to view, delete, and attempt to deliver queued messages that...

Mailman Error Mailman Bug | Internal Server Error

Are you getting Internal server error while accessing mailing list? Mostly it will be displayed...

Convert MBox accounts to MailDir

MBox is the original and ancient format for storing mail on Unix systems, it consists of a single...

Email server troubleshooting

Email / Exim server troubleshooting techniques. You can use the following email server...

Powered by WHMCompleteSolution