[CentOS] sendmail: fatal message, sudo bash

Marko A. Jennings markobiz at bluegargoyle.com
Wed Feb 6 17:56:50 UTC 2008


On Wed, February 6, 2008 12:02 pm, Farid Hamjavar wrote:
>
>
> Centos 5
>
> Hello
>
> I successfully converted my mta from sendmail to postfix.
> no problem. mail is ok.
>
> A by-product of that, as bizarre as it may seem is this:
>
>
> As regular user, when I do 'su -' to become root, all is well.
>
>
> As regular user, when I do 'sudo bash' I become root
> alright but I also get:
>
> sendmail: fatal: Recipient addresses must be specified on the command line
> or via the -t option

Mail program used by sudo defaults to sendmail.  Take a look at mailerpath
and mailerflags settings in the sudoers file.



More information about the CentOS mailing list