03-02-2006
Can't use sendmail ( Program mode requires special privileges)
I just updated sendmail to the newest version and got into this trouble. Somehow only can root can use sendmail while the other users will simply get "SMTP went away" when using pine or
"can not chdir(/var/spool/mqueue/): Permission denied
Program mode requires special privileges, e.g., root or TrustedUser."
So I check the configure file and this is what I got
Quote:
$ grep TrustedUser /etc/mail/*cf
/etc/mail/rh.cf:#O TrustedUser=root
/etc/mail/sendmail.cf:#O TrustedUser=root
/etc/mail/submit.cf:#O TrustedUser=root
Is there anyway I can fix this?
Last edited by Micz; 03-02-2006 at 04:20 PM..
10 More Discussions You Might Find Interesting
1. HP-UX
my pragram runs with 3 threads, 2 work threads, one main thread. the 2 work threads run with the same mode and the same code. but now, one of the work thread can't work, and it uses the cpu more than 80%, sometimes uses 100% cpu resource. the another work thread work well.
when I viewed the HP... (2 Replies)
Discussion started by: happylife365
2 Replies
2. UNIX for Advanced & Expert Users
I trying to to run RT 3.6.7 on Solaris 10. I am using Sendmail v. 8.13.8. I'm using this guide from Sun:
http://www.sun.com/bigadmin/features...q_track_1.html
http://www.sun.com/bigadmin/features...q_track_2.html
uname -a
SunOS vpd1tst1no 5.10 Generic_127111-11 sun4u sparc... (1 Reply)
Discussion started by: Mariognarly
1 Replies
3. Solaris
Hello,
I recently upgraded our server from Solaris 8 to 9. The sendmail is unabled to pipe the email to a perl script. I can send and received email to local and external mail, but the script did not get the email. There is no error in the log and I could not find any thing on the web.
Here... (0 Replies)
Discussion started by: ld98
0 Replies
4. Shell Programming and Scripting
Special group and user privileges help
I'm having some trouble understanding the group and user privileges.
So let's say I make a group.. and assign some users to the groups that I made.
How would I --
1) Allow different groups and different users to have full privileges over a file with .X... (5 Replies)
Discussion started by: LibRid
5 Replies
5. Debian
Hi everyone, I have an issue with a project of mine. I have to run a program on a terminal which requires to be logged in as su to have it run it. Given that I'm having problem to use expect to give the password I'd like to change the privilege of that program from SU to normal user ( I have the SU... (13 Replies)
Discussion started by: gaisselick87
13 Replies
6. Solaris
:confused:
when i tried to look the status of DNS-client, it is in maintenance mode.....
Please tell me how to bring it back to online mode...PLEASE TELL ME STEP BY STEP.... PLEASE...
:wall: (2 Replies)
Discussion started by: vamshigvk475
2 Replies
7. Solaris
Hi Everyone,
when i type "svcs -a | grep sendmail" it is giving the below output.
$ svcs -a | grep sendmail
disabled Nov_05 svc:/network/sendmail-client:default
maintenance 10:31:52 svc:/network/smtp:sendmail
Can anyone help me that how to bring svc:/network/smtp:sendmail in... (10 Replies)
Discussion started by: Sun4Oracle
10 Replies
8. HP-UX
I am trying to format a Seagate 2 Gb SCSI drive using the HP-UX 9.0 support disc and I receive a message that says: DESTRUCTIVE MODE REQUIRED TO EXECUTIVE THIS COMMAND (SCD2WARN 106). I have entered this command several times on other SCSI drives and never got this message. Anyone ever see this... (8 Replies)
Discussion started by: edspit
8 Replies
9. UNIX for Dummies Questions & Answers
I had a question in my test which asked where suppose user B has a program with 's' bit set. Can user A run this program and gain root privileges in any way?
I suppose not as the suid program run with privileges of owner and this program will run with B's privileges and not root. (1 Reply)
Discussion started by: syncmaster
1 Replies
10. HP-UX
is there a way for my C++ application to find out which mode the hpux OS is running in?
standard mode or trusted mode. (3 Replies)
Discussion started by: einsteinBrain
3 Replies
LEARN ABOUT X11R4
editmap
editmap(1M) System Administration Commands editmap(1M)
NAME
editmap - query and edit single records in database maps for sendmail
SYNOPSIS
editmap -C file [-N] [-f] [-q | -u | -x] maptype mapname key ["value"...]
DESCRIPTION
The editmap command queries or edits one record in a database maps used by the keyed map lookups in sendmail(1M). Arguments are passed on
the command line and output (for queries) is directed to standard output.
Depending on how it is compiled, editmap handles up to three different database formats, selected using the maptype parameter. See OPER-
ANDS.
If the TrustedUser option is set in the sendmail configuration file and editmap is invoked as root, the generated files are owned by the
specified TrustedUser.
OPTIONS
The following options are supported:
-C file Use the specified sendmail configuration file (file) to look up the TrustedUser option.
-f Disable the folding of all upper case letters in the key to lower case. Normally, all upper case letters in the key are
folded to upper case. This is intended to mesh with the -f flag in the K line in sendmail.cf. The value is never case
folded.
-N Include the null byte that terminates strings in the map (for alias maps).
-q Query the map for the specified key. If found, print value to standard output and exit with 0. If not found then print an
error message to stdout and exit with EX_UNAVAILABLE.
-u Update the record for key with value or inserts a new record if one doesn't exist. Exits with 0 on success or EX_IOERR on
failure.
-x Delete the specific key from the map. Exit with 0 on success or EX_IOERR on failure.
OPERANDS
The following operands are supported:
key The left hand side of a record.
Each record is of the form:
key value
key and value are separated by white space.
mapname File name of the database map being created.
maptype Specifies the database format. The following maptype parameters are available:
dbm Specifies DBM format maps.
btree Specifies B-Tree format maps.
hash Specifies hash format maps.
value The right hand side of a record.
Each record is of the form:
key value
key and value are separated by white space.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWsndmu |
+-----------------------------+-----------------------------+
SEE ALSO
makemap(1M), sendmail(1M), attributes(5)
SunOS 5.10 14 Sep 2001 editmap(1M)