Operating System - HP-UX
1834297 Members
2254 Online
110066 Solutions
New Discussion

Re: user trying to send mail from 11.23 system

 
Christina Martin
Frequent Advisor

user trying to send mail from 11.23 system

gets the following error:

not root or trusted user


any help you can give would be appreciated.. we need to be able to send mail from regular users as well as trusted users. Thinking it's a permission problem or configuration problem - but not sure where to look.

thank you,
Lisa
4 REPLIES 4
Robert-Jan Goossens
Honored Contributor

Re: user trying to send mail from 11.23 system

Hi Lisa,

Have a look at this doc.

Title: Authentication-Warning of non-trusted sendmail users
Document ID: emr_na-c00941080-1

US
http://www1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en&docId=emr_na-c00941080-1

Europe
http://www4.itrc.hp.com/service/cki/docDisplay.do?docLocale=en&docId=emr_na-c00941080-1

HTH,
Robert-Jan
Andres_13
Respected Contributor

Re: user trying to send mail from 11.23 system

Hi Lisa,

All trusted users are declared in the sendmail.cf configuration file, so you only need to do this:

1. create the /etc/mail/sendmail.ct file
2. uncomment the '#Ft/etc/mail/sendmail.ct' entry in the sendmail.cf file
3. Just add the user name here!.

Hope this help.
Regards!
Christina Martin
Frequent Advisor

Re: user trying to send mail from 11.23 system

more information:

First. my sendmail.cf file doesn't have the #Ft/etc/mail/sendmail.ct line in it. Nothing even resembling it. The version is 8.13 ...

here is a message I get when trying to start sendmail from the command line:

(/sbin/init.d)-#./sendmail start
Starting sendmail [ OK ]
can not chdir(/var/spool/clientmqueue/): Permission denied
Program mode requires special privileges, e.g., root or TrustedUser.
Starting sm-client [FAILED]

For more information see /var/adm/syslog/mail.log
(/sbin/init.d)-#
Christina Martin
Frequent Advisor

Re: user trying to send mail from 11.23 system

based on this error:
can not chdir(/var/spool/clientmqueue/): Permission denied
Program mode requires special privileges, e.g., root or TrustedUser.
Starting sm-client [FAILED]

new things I've tried:

chmod 777 of the /var/spool/clientmqueue
in the sendmail.cf file I had #Ft/etc/mail/trusted-users. commented out that line, created a line that said Ft/etc/mail/sendmail.ct and added Troot, Tdaemon, Tuucp, Tx400, Tadmin_list in it.
shutdown sendmail and restarted it...with the same error message being displayed.

Commented out the Ft/etc/mail/trusted-users line, uncommented the sendmail.ct line, established a /etc/mail/sendmail.ct file with the same Tusers in it.

shutdown sendmail, restarted sendmail, same results.

changed the permissions of the submit.cf file to 444 .. on our development system - that allowed mail to be sent. On the production system, it doesn't change the results.

The 'production' system was created from an ignite tape of our 'development' system. As far as the production site says, there have been no changes made (besides the ones I've made) to the system.

Sendmail NOW works on the development with the change of the permissions to the submit.cf file