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.
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.
-Eric
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
daemon::12:root
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 majordomo.pl*
-rw-r–r-- 1 majordom daemon 10770 Jan 26 14:05 majordomo.cf
-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
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:
majordomo:x:505:99::/home/majordomo:/bin/bash
If you’re running postfix,
nano /etc/postfix/virtual