Majordomus installation into sendmail


Majordomo

1.94

Instalation:
  1. download rpm package, e.g. from http://ftp.ms.cuni.cz
  2. install rpm -i majordomo-1.94.1-4.i386.rpm. Program is installed into /usr/lib/majordomo/, /usr/man/majordomo/, /usr/doc/majordomo/
  3. create group "majordom", user "majordom" (adduser majordom) and directories according to /etc/majordomo.cf (/var/lib/majordomo/archive, /var/lib/majordomo/digest, /var/lib/majordomo/lists,/var/log/majordomo), file /var/log/majordomo/majordomo.log (touch /var/log/majordomo/majordomo.log)
  4. Change owner all of these files majordom/majordom. chmod /usr/lib/majordomo (770), /var/lib/majordomo (750), /var/lib/majordomo/lists (770!), /var/lib/majordomo/archive (770!), /var/lib/majordomo/digest (770), /var/log/majordomo (774)
  5. change sendmail alias list in /etc/aliases

Example:
# common
majordomo: |"usr/lib/majordomo/wrapper majordomo"
owner-majordomo: majordomo-owner
majordomo-owner: majordom
majordom: joe
# for each maillist make, here "news"
news: "|/usr/lib/majordomo/wrapper resend -p bulk -M 10000 -l news -f news-owner -h your-domain.cz -s news-outgoing"
news-owner:	owner-news
news-outgoing: :include:/var/lib/majordomo/lists/news, news-archive
news-archive: /var/lib/majordomo/archive/news
news-request: "|/usr/lib/majordomo/wrapper request-answer news"
news-digest:	news
news-approval: news-owner
owner-news-digest:news-owner
owner-news-request: news-owner
owner-news-digest-outgoing:news-owner
owner-news: bill,

Program processes mail sent to special address "majordomo@your-address.cz" and controls this way login, logout, subscriptions. Received mail is processed in /usr/lib/majordomo/wrapper, key words (subscribe, unsubscribe, lists,...) are caught and executed. Mail sent to "news-request" are sent to all maillist receipients in :include:/var/lib/majordomo/lists/news and saved in /var/lib/majordomo/archive/news. Requests (e.g. lists) are returned to news-request, news-approval is dedicated to moderator.

Now access right and security problems arises. Sendmail is executed as "mail/mail" (set in etc/sendmail.cf O DefaultUser=UID:GID). This user must have enough rights to execute /usr/lib/majordomo/wrapper. This wrapper run as "majordom/majordom" (logging, access into /var/lib/majordomo/lists/news, locks /usr/lib/majordomo/, etc.).

Test using pearl script ./wrapper config-test majordomo from /usr/lib/majordomo. The help advises do not execute as "root" or "majordom" but I tested it as "root". Better should execute as "mail". Eliminate mistakes (not all are correct) check aliases.

Send mail to majordomo@your-domain.cz and check what happened. Our system returns message:

sh: wrapper not available for sendmail program 554 "|/usr/lib/majordomo/wrapper majordomo" ... service unavailable

Sendmail uses secure shell "smrsh". All files allowed to execute must be references using symbolic links to usr/adm/sm.bin (or /etc/smrsh). Set link /etc/smrsh/@wrapper to usr/lib/majordomo/wrapper. Similar case when writing to archive /var/lib/majordomo/archive/news (make link /etc/smrsh/@archive-news->/var/lib/majordomo/archive/news).

Now send command "subscribe news" and try send test message to "news". But now is returned error "Group writable directory" means - sendmail won't use from security reasons include, because chmod have group write access. Change owner and rights (or in /etc/sendmail.cf set "O UnsafeGroupWrites=False", "O DontBlameSendmail=groupwritabledirpathsafe,includefileinunsafedirpath, includefileinunsafedirpathsafe" and restart sendmail).

Sendmail can still get to

Sendmail can still get to the alias and expand it into the list of ..... See the installation documentation and section 3.1 of this FAQ on how to set up the ... It works in conjunction with sendmail on UNIX and related operating systems. It came into widespread use beginning in 1992, predating the popularity of the ... resources - Last post: 29 Jan 2004The only real option is to wipe the hard-drive from and install from trusted media (don't use a backup). ... You can then use the CD to boot any computer you want into linux, ..... Dec 27 07:46:43 Storione sendmail[31370]: hBRFkgD31370: .... From latin "major domus" - "master of the house". ... 14 Jun 2008 ... Majordomus installation into sendmail. Submitted by admin on Thu, 2000-01-06 13:52. Product: Majordomo. Version: 1.94. Description: ... legal 15 Feb 2010 ... From latin "major domus" - "master of the house". ... 1.3 - How do I install it? Majordomo comes with a rather extensive INSTALL file. ..... command-line options of resend into a file readable only by the majordomo user/group. ..... 4.12 - Majordomo doesn't seem to work with sendmail 8.9beta Several ... You have to use a separate archive program, or a sendmail alias to do the .... options of resend into a file readable only by the majordomo user/group. ... legal The 1.94.3 INSTALL file suggests using 'daemon' as your majordomo group. This is the group that 'sendmail' runs as, and allows you to have $homedir ... ... both from Medieval Latin "major domus" - "chief of the house". ... The INSTALL file details how to install and configure Majordomo. .... symlinking perl into ~majordomo and invoking it via wrapper will give you a debug ... Can't connect to sendmail -- for some reason the attempt to run sendmail in the function ... In order to put a / into the regular expression, the same rule holds: precede ... can run perl and can run sendmail or a program capable of behaving like it ... at andrew2.andrew.cmu.edu/cyrus/imapd/install-FAQ.html#sendmail. ..... (This address is what gets copied into the message body as the "From " or ... 309765177

27 Apr 1997 ... From latin

27 Apr 1997 ... From latin "major domus" - "master of the house". .... The config-test script will check your installation for correct ... This is the group that 'sendmail' runs as, and allows you to have $homedir permissions set to 750. ... modify files or for example copy files into a list's archive directory, ... 12 Aug 2001 ... From latin "major domus" - "master of the house". ... Majordomo comes with a rather extensive INSTALL file. ... Majordomo 1.x is designed to work with sendmail, however will work with other ..... (This address is what gets copied into the message body as the "From " or "Return-Path:" header). ... markets 31 Mar 1999 ... + 1.3 - How do I install it? + 1.4 - How do I upgrade from an earlier release? ... From latin "major domus" - "master of the house". ..... This is sendmail 5.x on Solaris 2.3, but it might apply to other versions of sendmail. .... of resend into a file readable only by the majordomo user/group. ... From latin "major domus" - "master of the house". ... 1.3 - How do I install it? Majordomo comes with a rather extensive INSTALL file. ..... options of resend into a file readable only by the majordomo user/group. .... Some majordomo-under-qmail solutions just involve qmail's sendmail emulation feature. ... world news The only real option is to wipe the hard-drive from and install from trusted media (don't use a backup). ... You can then use the CD to boot any computer you want into linux, simply by inserting the ..... Dec 27 07:46:43 Storione sendmail[31370]: hBRFkgD31370: .... From latin "major domus" - "master of the house". ... ... both from Medieval Latin "major domus" - "chief of the house". ... The INSTALL file details how to install and configure Majordomo. .... symlinking perl into ~majordomo and invoking it via wrapper will give you a debug ... Can't connect to sendmail -- for some reason the attempt to run sendmail in the function ... news + How do I install it? + How do I upgrade from an earlier release? ... From latin "major domus" - "master of the house". .... user to be able to directly modify files or for example copy files into a list's archive directory, ... You have to use a separate archive program, or a sendmail alias to do the archiving. ... 14 Jun 2008 ... Majordomus installation into sendmail. Submitted by admin on Thu, 2000-01-06 13:52. Product: Majordomo. Version: 1.94. Description: ... 994227010

I like this site

hi of In can
sanya each applications