Majordomo does not respond to commands

Hi List users,

 I have a question regarding Majordomo wherein it is not responding to commands. When ever we send commands like "help", "subscribe" etc to Majordomo it does not send any response back. When I investigated I noticed that the file /majordomo/Log file was not getting updated and it was around 150 MB in size. I moved the file "Log" to a back up file and created a new file "Log" with the same permission. Inspite of this the file "Log" is not getting updated. 

At the sametime sending out of mails is working fine. We are using sendmail as the mailer. I can also see that commands are reaching majordomo and they can be found in the mail box of user majordomo under /var/mail

Can someone please let me know what could be causing Majordomo to ignore/not respond to the commands. We haven’t changed any permission. Do I need to stop and start something.

Thanks in Advance.

Danny Appaiah

Mobile: + 46707930388

Hi Danny,

I’m unfortunately not really familiar with Sendmail or Majordomo, and hopefully someone with some more experience in one of both may chime in.

But in the hopes of getting you looking in the right direction, it sounds like the email aliases/commands that would normally trigger a call to the majordomo scripts aren’t getting called by Sendmail.

So I’d check the email aliases, and verify that they’re setup correctly, and calling the appropriate commands.

What’re the appropriate entries in usr/local/majordomo/aliases or /etc/aliases?

What’s /etc/group look like?

What are the owner/group and permissions of majordomo and wrapper?

What’s in that log file?

… gotta start somewhere…


In the aliases file we have the following definition for majordomo

majordomo: majordom
owner-majordomo: /dev/null
majordomo-owner: /dev/null

other users (for each mailing list) are defined like this

newtestlist: newtestmail
newtestlist-out: "|/home/majordom/majordomo/wrapper resend -l newtestlist newtestlist-list"
newtestlist-list: :include:/home/majordom/majordomo/lists/newtestlist
owner-newtestlist: mailidhere
newtestlist-owner: mailidhere
newtestlist-approval: mailidhere
newtestlist-request: "|/home/majordom/majordomo/wrapper majordomo -l newtestlist"

when ever we send mails, it goes to each user and gets filtered (checks if it is coming from a authorized email id) through .procmailrc (present in each users home folder). The wrapper seems to work fine since the mails are being sent out when ever we send mail to mailing list newtestlist.

The majordom users home folder has the following permission
drwxr-xr-x 8 majordom daemon 1024 Apr 7 11:25 majordom/
and group entry for daemon is


The permissions for majordomo are
-rwsr-xr-x 1 root daemon 10000 Sep 14 2000 wrapper*
-rwxr-xr-x 1 majordom daemon 24420 Feb 14 2005*
-rw-r–r-- 1 majordom daemon 10770 Jan 26 14:05
-rw-rw-r-- 1 majordom daemon 0 May 6 11:41 Log (I recreated this Log file after moving the old 150 MB file)

The other thing I noticed was that the mail folder for user majordom is around 7 MB where as for other users it is zero

-rw------- 1 btesh mail 0 Apr 3 11:56 btesh
-rw------- 1 majordom mail 7776557 May 7 10:19 majordom

Should I stop and start sendmail ?


Danny Appaiah

Sorry it took so long to get back to you, I didn’t see your post.

Are you using postfix or sendmail?

a typical entry in aliases is:

majordomo: "|/usr/local/majordomo/wrapper majordomo"

a typical set of entries for lists, either directly in "aliases" or in /usr/local/majordomo/majordomo.aliases:

newtestlist: "|/usr/local/majordomo/wrapper resend -l newtestlist newtestlist-list"
newtestlist-list: :include:/usr/local/majordomo/lists/newtestlist
newtestlist-request: "|/usr/local/majordomo/wrapper request-answer newtestlist"
newtestlist-approval: owner-newtestlist
newtestlist-owner: owner-newtestlist

Change the files "majordomo" and "wrapper" in /usr/local/majordomo
#chown majordomo:nobody majordomo wrapper
#chmod 755 majordomo wrapper

might as well do the same thing to the list and list config files, as well.

Assuming "nobody" is in group 99 in etc/passwd make sure that your majordomo entry looks something like this:

If you’re running postfix,
nano /etc/postfix/virtual

and make sure that majordomo

is there.

Run the following commands:

#postmap hash:/etc/postfix/virtual

restart sendmail / postfix

Try sending an email to with "help" in the body.

Let us know what happens.