sudo -u backup sendmail -v root < test.txt
sudo -u amanda sendmail -v root < test.txt
works  fine.

Olivier Nicole wrote:
can not chdir(/var/spool/mqueue-client/): Permission denied
    

I don't know the details of the setting of your machine, but it looks
to me as if a non priviledged user is not allowed to send email...

You should check that non-root users can send email.

mail -v is a good start

Olivier


  

Reply via email to