Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 06-12-2002, 12:28 PM   #1
Registered: May 2001
Location: Louisville, Kentucky, USA
Distribution: RedHat ES
Posts: 120

Rep: Reputation: 15
Majordomo, Sendmail and Permission Denied

I am setting up majordomo per the INSTALL file, I am issuing the command (as it suggests):

echo 'lists' | mail majordomo
Here is the snippet from /var/log/maillog:

Jun 12 12:15:48 dragon sendmail[19324]: g5CGFmgQ019324: from=<root@localhost>, size=6, class=0, nrcpts=1, msgid=<200206121615.g5CGFm9o019323@localhost>, proto=ESMTP, daemon=MTA, relay=localhost []

Jun 12 12:15:48 dragon sendmail[19323]: g5CGFm9o019323: to=majordomo, ctladdr=root (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30015, relay=localhost [], dsn=2.0.0, stat=Sent (g5CGFmgQ019324 Message accepted for delivery)

Jun 12 12:15:48 dragon sendmail[19325]: g5CGFmgQ019324: g5CGFmgQ019325: clone: owner=root

Jun 12 12:15:49 dragon sendmail[19327]: NOQUEUE: SYSERR(majordomo): /etc/mail/ line 0: cannot open: Permission denied

Jun 12 12:15:49 dragon sendmail[19325]: g5CGFmgQ019325: to="|wrapper majordomo", ctladdr=<majordomo@localhost> (8/0), delay=00:00:01, xdelay=00:00:00, mailer=prog, pri=30016, dsn=2.0.0, stat=Sent

I do have smrsh set up, with appropriate symlinks in /var/adm/sm.bin (and /etc/smrsh just in case) to /usr/local/majordomo/wrapper

When compiling the wrapper, I edited the Makefile to the appropriate UID and GID -- the UID is to the user majordomo and GID is to the same group that sendmail belongs to.

I even tried setting up majordomo with the exact same UID/GID as sendmail, but there was no difference.

Something of interest, which seems like it might be related, I get the ' line 0: cannot open: Permission denied' error when, after running 'wrapper config-test' as a unprivileged user, the config-test asks if you want to register majordomo. I said yes, and the process fails, printing that error message to the screen.

From what I can see from the error, the majordomo user does not have permission to open the file. But I don't understand why it would even need to do so.

Any and all help would be appreciated.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Sendmail "Permission denied" for local users kassemi Linux - Software 5 11-14-2013 04:47 AM
Majordomo was working until upgraded sendmail budzynm Linux - Software 1 11-30-2003 04:44 PM
sendmail permission denied one Slackware 3 10-23-2003 01:46 PM
sendmail: "permission denied" when using include:/file sohmc Linux - Software 1 05-22-2003 07:40 AM
sendmail: "Who are you?: Permission denied!" markus1982 Linux - Networking 2 10-08-2002 12:55 PM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 08:51 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration