Sendmail 8.14.5 + Cyrus-SASL 2.1.25 + majordomo 1.94.5

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Dear members,

I have fully working setup Sendmail 8.14.5 + Cyrus-SASL 2.1.25 (the server delivers mail, accept mail and working as ordinary mail server with LDAP functionality by getting users' passwords from LDAP database). For now I'm trying to add majordomo mail lists to the server, but unsuccessful.

I beat with it for some days with no result, unfortunately. Please give some advice where is an error could be? Highly appreciate your help.

More detailed description is below:

I've installed majordomo and groff from openbsd5.1/ports and make all the configuration changes which were need to do by hand (as described in /usr/local/doc/majordomo/post-install-notes):
 
1. Added user '_majordomo' to group '_majordomo' by editing '/etc/group' file
#cat /etc/group | grep majordomo
_majordomo:*:520:_majordomo

2. Reviewed '/etc/majordomo/majordomo.cf' by adding my "domain.org"
#cat /etc/majordomo/majordomo.cf | grep mydomain.org
$whereami = "mydomain.org";

3. Added '_majordomo' user to a trusted sendmail users in '/etc/mail/trusted-users' file. Rebuilt and installed '/usr/share/sendmail/cf/openbsd-proto.mc' with  'use_ct_file' option enabled.
#cat /etc/mail/trusted-users | grep majordom
_majordomo

all the parameters below are present in /etc/mail/sendmail.cf after build
#cat /usr/share/sendmail/cf/openbsd-proto.mc
...
dnl
FEATURE(`use_ct_file')dnl
dnl
...
dnl
MAILER(`local')dnl
MAILER(`smtp')dnl
dnl
define(`confLOCAL_MAILER', `cyrusv2')dnl
MAILER(`cyrusv2')dnl
....

4. Created majordomo aliases file in '/etc/mail/mj-alias-mydomain.org'. Rebuilt 'openbsd-proto.mc' with feature `ALIAS_FILE' which points to 'aliases' and 'mj-alias-mydomain.org' file. Hash has been generated from these files successfully. '/var/log/maillog' shows that 'aliases' and 'mj-alias-mydomain.org.db' are correctly built and used by sendmail.
#cat /var/log/maillog
...
Nov  1 15:55:01 mail sendmail[10826]: alias database /etc/mail/aliases rebuilt by root
Nov  1 15:55:01 mail sendmail[10826]: /etc/mail/aliases: 58 aliases, longest 16 bytes, 1768 bytes total
Nov  1 15:55:01 mail sendmail[10826]: alias database /etc/mail/mj-alias-mydomain.org rebuilt by root
Nov  1 15:55:01 mail sendmail[10826]: /etc/mail/mj-alias-mydomain.org: 6 aliases, longest 79 bytes, 414 bytes total
...

I have symbolic link between original 'majordomo's' file and '/etc/mail/mj-alias mydomain.org' file
#ln -s /var/spool/majordomo/lists/mj-alias-mydomain.org /etc/mail/mj-alias-mydomain.org

5. The file 'mj-alias-mydomain.org' contains required listnames:
#cat /etc/mail/mj-alias-mydomain.org
majordomo:              "|/usr/local/lib/majordomo/wrapper resend -l mj-alias-mydomain.org majordomo-list"
majordomo-list          :include:/etc/mail/mj-alias-mydomain.org
majordomo-request:      "|/usr/local/lib/majordomo/wrapper request-answer mj-alias-mydomain.org"
majordomo-approval:     admin
majordomo-owner:        admin
owner-majordomo:        majordomo-owner

6. The output of 'config-test' give me no errors at all, but majordomo not working though.
#/var/local/lib/majordomo/wrapper  config-test

------------------------------------------------------------
---------------- Config-test for Majordomo ----------------
------------------------------------------------------------


--------------------- Obvious things: ---------------------
------------------ environment variables ------------------
   HOME=/usr/local/lib/majordomo
   LOGNAME=root
   MAJORDOMO_CF=/etc/majordomo/majordomo.cf
   MAJORDOMO_CFDIR=/etc/majordomo
   PATH=/bin:/usr/bin
   SHELL=/bin/sh
   USER=root
--------------------- euid/egid checks ---------------------
   effective user  = _majordomo (uid 520)
   effective group = _majordomo wheel kmem sys tty operator staff guest (gid 520 0 2 3 4 5 20 31 )
---------------------- uid/gid checks ----------------------
   real      user  = _majordomo (uid 520)
   real      group = _majordomo wheel kmem sys tty operator staff guest (gid 520 0 2 3 4 5 20 31 )
------------------------------------------------------------

        Non obvious things that cause headaches:

------------------------------------------------------------
Good: 'require'd /etc/majordomo/majordomo.cf okay.
Good: found ctime.pl okay.
Good: found majordomo_version.pl okay.
$* is no longer supported at /usr/local/lib/majordomo/majordomo.pl line 47.
Good: found majordomo.pl okay.
Good: found shlock.pl okay.
Good: found config_parse.pl okay.

You're running Majordomo Version 1.94.5.

--==> Majordomo home directory is /usr/local/lib/majordomo.
------------------- Include directories -------------------
        /usr/local/lib/majordomo
        /usr/local/lib/majordomo
        /usr/local/libdata/perl5/site_perl/amd64-openbsd
        /usr/libdata/perl5/site_perl/amd64-openbsd
        /usr/local/libdata/perl5/site_perl
        /usr/libdata/perl5/site_perl
        /usr/libdata/perl5/amd64-openbsd/5.12.2
        /usr/local/libdata/perl5/amd64-openbsd/5.12.2
        /usr/libdata/perl5
        /usr/local/libdata/perl5
        .
--------------------------- Home ---------------------------
Good: changedir to /usr/local/lib/majordomo succeeded.
Good: Created a mock lock file.
---------------------- temp directory ----------------------
Good: Created a temp file in $TMPDIR (/var/spool/majordomo/tmp).
---------------------- list directory ----------------------
Good: list directory /var/spool/majordomo/lists has good permissions.
--------------------------- log ---------------------------
Good: logfile /var/log/majordomo.log exists and is writeable.
------------------------- Mailers -------------------------
You have defined a mailer for delivery.
Attempting to verify that this is a valid mailer...looks okay.
You have defined a mailer for delivering administrative messages.
Attempting to verify that this is a valid mailer...looks okay.
------------------ Checking majordomo.cf ------------------
Checking to see if there are new variables that should be in
your majordomo.cf file...Nope, none that I see.

Have you configured where Majordomo is?
        $whereami is mydomain.org
Good: yup!
----------------------- end of tests -----------------------


Nothing bad found!  Majordomo _should_ work correctly.

If it doesn't, check your configuration file
        (/etc/majordomo/majordomo.cf)
closely, and if it still looks okay, consider asking the majordomo-users
mailing list at "majordomo-users@xxxxxxxxxxxxxxx" for assistance.  Be sure
and fully specify what your problems are, and what type of machine (and
operating system) you are using.

Enjoy!
-----------------------------------------------------------------------

7. All the installed packages on the OpenBSD 5.1 mail server:

cyrus-imapd-2.4.13p0 Cyrus IMAP server
cyrus-imapd-perl-2.4.13 perl utils for the Cyrus IMAP server
cyrus-sasl-2.1.25p2-ldap RFC 2222 SASL (Simple Authentication and Security Layer)
db-4.6.21v0         Berkeley DB package, revision 4
groff-1.21p6        GNU troff typesetter
libltdl-2.4.2       GNU libtool system independent dlopen wrapper
majordomo-1.94.5p6  mailing list manager
openldap-client-2.4.26 Open source LDAP software (client)
pcre-8.21           perl-compatible regular _expression_ library
quirks-1.59         exceptions to pkg_add rules


--
Best regards,

Denis

[Index of Archives]     [Info Cyrus]     [Squirrel Mail]     [Linux Media]     [Yosemite News]     [gtk]     [KDE]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux