[Mailman-Users] installing..PLEASE help

Tamara Yoggev tyoggev at 013.net
Mon Mar 14 20:50:14 CET 2005

Thanks for your reply,

Your right I should deal with problem number 1 first, which is creating the 
sendmail.cf file. I'm trying to create this file by using the instructions 
in the mm-handler-README from the /mailman../contrib folder. Here are the 
instructions,  and what I've
done with them:

1. Copy mailman.mc, and make any changes you need at your site. You
    DEFINITELY need some changes. There are hostnames in there that you
    need to adjust, and chances are that you'll need to change some other
    parameters (like the host OS), too. [1]

I copied the mailman.mc file to /etc/mail
I changed the OS (linux-gnu), and the paths to
procmail. The mail definitions look like this:

###   New Mailer specifications  ###

## Special flags! See
##      http://www.sendmail.org/~ca/email/doc8.10/op-sh-5.html#sh-5.4
## Note especially the absence of the "m" and "n" flags. THIS IS
## IMPORTANT: mm-handler assumes this behavior to avoid having to know
## too much about address parsing and other RFC-2822 mail details.

Mmailman, P=/etc/mail/mm-handler, F=rDFMhlqSu, U=aishlist:root,

S=EnvFromL, R=EnvToL/HdrToL,

A=mm-handler $h $u

 aishlist is the group sendmail uses.

2. Install mm-handler. Because my server's sendmail-related files live
    in /etc/mail, I keep mm-handler there, too. YMMV.

I copied mm-handler to the same dir all my other mail
files are located: /etc/mail.

3. Edit mm-handler, and make any changes you need at your site. You
    probably want to change $MMWRAPPER and $MMLISTDIR at line 14, and you
    *might* want to take a look at the helpful boilerplate text beginning
    at line 64. (This text is sent whenever someone tries to send mail to
    a nonexistent list address on your mail domain.)

I changed the following:

 The $MMWRAPPER path is where my mailman files are located  which is
$MMWRAPPER = /home/aishlist/mailman/mail/mailman"; and the
next line to $MMLISTDIR = /home/aishlist/mailman/lists";

That's about all the changed I made to that file.
4. You should set up a virtusertable. (See mailman.mc for an
    explanation.) There's an example of a good, minimal virtusertable
    in this distribution. The virtusertable begins as a text file named
    "virtusertable", stored in the same directory as all the other
    Sendmail files, but it's converted to a map file for Sendmail's use.
    Install the virtusertable, and (re)make the map file. [2]

The virtusertable has only one entry for my mailman domain, which is:
@aishlist.com                          mailman-owner at aishlist.com
(My site is www.aishlist.com), (Remake the map file? when I run m4 doesn't 
it do that?)

5. You absolutely must have a mailertable, or all of this goes nowhere.
    Like virtusertable, the mailertable is a map that begins as text and
    gets converted. It's named "mailertable", and it's probably pretty
    simple. Mine looks like this:

         listtest.uchicago.edu   mailman:listtest.uchicago.edu

    This says: assign all incoming mail (that was not intercepted by the
    virtusertable) and that is in the listtest.uchicago.edu domain to the
    "mailman" mailer, and tell the "mailman" mailer that the hostname
    we're using is "listtest.uchicago.edu". You can support multiple
    virtual hosts using mm-handler just by placing corresponding lines in

    Be sure to make this map, too!
My mailertable file is very simple:

aishlist.com           mailman:aishlist.com

As the directions say, I want mailman to handle ALL requests made to

And yes, I 'made' the files to convert mc to cf, etc..

6. The mailer definition (see the end of mailman.mc, or your own .mc
    file) for mm-handler sets the user/group that mm-handler will run
    under. (I use mailman:other.) Be sure that mm-handler is executable
    by this user or group. You almost certainly need the user to be the
    same as the Mailman user, and this user is almost always called
    "mailman", so you probably shouldn't change the defaults.

Did this as you can see from my config file above. It's

7. Generate your new sendmail.cf file. See the sendmail documentation if
    you're not familiar with this procedure. [1]

ran m4, which redid my sendmail.cf
8. Stop sendmail on your list server, if you haven't already. Install
    the new sendmail.cf file wherever your sendmail.cf file belongs.
    (This depends on how sendmail was compiled, but most systems support
    using /etc/sendmail.cf.)

I stopped sendmail as I always do by giving the command "make stop", in
which it replies:

Then restarted(make start).this is what I get again: (for some reason it 
outputs 'ATURE instead of FEATURE when really
what's written in the mailman.mc file is FEATURE)

[root at localhost mail]# make start
service sendmail start
Starting sendmail: 451 4.0.0 /etc/mail/sendmail.cf: line 7: fil
en 'ATURE(local_procmail)': No such file or directory
554 5.0.0 /etc/mail/sendmail.cf: line 8: MAILER(local): A= argu
451 4.0.0 /etc/mail/sendmail.cf: line 19: fileclass: cannot ope
ble,': No such file or directory
451 4.0.0 /etc/mail/sendmail.cf: line 21: fileclass: cannot ope
table,': No such file or directory
554 5.0.0 /etc/mail/sendmail.cf: line 23: invalid argument to V
451 4.0.0 /etc/mail/sendmail.cf: line 28: fileclass: cannot ope
masquerade)': No such file or directory
554 5.0.0 /etc/mail/sendmail.cf: line 29: MASQUERADE_AS(aishlis
nt required
451 4.0.0 /etc/mail/sendmail.cf: line 32: fileclass: cannot ope
b)': No such file or directory
451 4.0.0 /etc/mail/sendmail.cf: line 35: fileclass: cannot ope
t_recipients)': No such file or directory
554 5.0.0 /etc/mail/sendmail.cf: line 38: MAILER(smtp): A= argu
554 5.0.0 /etc/mail/sendmail.cf: line 39: MAILER(procmail): A=
554 5.0.0 /etc/mail/sendmail.cf: line 42: MAILER_DEFINITIONS: A
554 5.0.0 No local mailer defined
554 5.0.0 QueueDirectory (Q) option must be set
Starting sm-client:                                        [  O
[root at localhost mail]#

All files are already at /etc/mail so there is no need to 'install new
sendmail.cf file'.

Appriciate any further help...

----- Original Message ----- 
From: "Brad Knowles" <brad at stop.mail-abuse.org>
To: "Tamara Yoggev" <tyoggev at 013.net>
Cc: <mailman-users at python.org>
Sent: Monday, March 14, 2005 4:06 AM
Subject: Re: [Mailman-Users] installing..PLEASE help

> At 12:54 PM -0800 2005-03-13, Tamara Yoggev wrote:
>>  Starting sendmail: 451 4.0.0 /etc/mail/sendmail.cf: line 7: fileclass:
>>  cannot open 'ATURE(local_procmail)': No such file or directory
> This is supposed to be "FEATURE(local_procmail)".  Somehow, the leading 
> "FE" appears to have been left off, and this has almost certainly caused 
> everything else to be thrown out of what.  If you correct the use of 
> "ATURE" with "FEATURE" and re-try, you'll have a better chance of getting 
> that to work.
> Of course, these changes need to be made in a file like 
> /etc/mail/sendmail.mc, and then you use m4 to "compile" that into the 
> corresponding /etc/mail/sendmail.cf.  If you did this directly in 
> /etc/mail/sendmail.cf, then that would be your other problem.
>>  2. I've successfully created a few lists via the command line, but when 
>> I
>>  try to create a list on the web, I get this message:
>>     Error: you are not authorized to create new mailing lists.
>>     I'm using my site password (which I know I created), which is the 
>> same
>>  as list administrator password for the bottom field, and
>>    yes, I've recreated the password and tries creating the list several
>>  times. I know I have'nt misspelled anything.
> Not sure what to tell you.  This error should only be issued when you're 
> using an incorrect site password, as generated by mmsitepass.
> What's showing up in your logs?
>>  3. When I try to view the list properties on the web, for instance: If
>>  I created a list called 'test', and I go to 
>> www.dom.ain\mailman\admin\testI
>>  get a message: No such list: test. (and it does exist when I run the
>>  list_lists command, it's there!)
> You need to use forward slashes, not backslashes.  You also need to avoid 
> the use of the vertical pipe character.
> However, until you can get problems #1 and #2 corrected, I wouldn't be 
> surprised that you'd have additional problems like this. Go back and get 
> #1 and #2 fixed, and that may very well fix #3 as well.
> -- 
> Brad Knowles, <brad at stop.mail-abuse.org>
> "Those who would give up essential Liberty, to purchase a little
> temporary Safety, deserve neither Liberty nor Safety."
>     -- Benjamin Franklin (1706-1790), reply of the Pennsylvania
>     Assembly to the Governor, November 11, 1755
>   SAGE member since 1995.  See <http://www.sage.org/> for more info.

More information about the Mailman-Users mailing list