
Dear All,
Using:
Red Hat Linux release 9 Mailman 2.1.9 Sendmail 8.12.8
First of all i'm a total sendmail noob so please be nice :-D I've been scrolling through FAQ's mailinglists etc all day and found many people have this problem but didn't find a really good solution for this.. Most problems seem to be related to people forgetting to setup aliases, but in this case i'm using mm-handler which as far as i understand overrides the use of aliases and only needs some address in the virtusertable. (if address doesn't exist in virtusertable then goto mm-handler and get specific mailinglist address)
I got everything up and running, made the test list, received the mails from the test list, was able to subscribe people to it using the webinterface, the newly subscribed people also received the mails.
Problem is when trying to send a mail to the new mailinglist.
550 5.1.1 <testlist@senldogo0013.springer-sbm.com>... User unknown
I followed all the instructions according to the README.mm-handler file.
My handler file looks like this:
/etc/mail/mm-handler
-rwxr-xr-- 1 mailman mailman 5951 Mar 20 13:39 mm-handler
The link to mailman:
[root@senldogo0013 mail]# cd /etc/smrsh/ [root@senldogo0013 smrsh]# ll total 5 drwxr-xr-x 2 root root 1024 Mar 20 10:22 . drwxr-xr-x 50 root root 4096 Mar 20 15:21 .. lrwxrwxrwx 1 root root 31 Mar 20 10:22 mailman -> /usr/local/mailman/mail/mailman
The appropriate parts of the sendmail.cf (at least i think these are only the appropriate ones concerning this problem)
# Mailer table (overriding domains) Kmailertable hash -o /etc/mail/mailertable.db
# Virtual user table (maps incoming users) Kvirtuser hash -o /etc/mail/virtusertable.db
Mmailman, P=/etc/mail/mm-handler, F=rDFMhlqSu, U=mailman:mailman, S=EnvFromL, R=EnvToL/HdrToL, A=mm-handler $h $u
Mailertable looks like this:
senldogo0013.springer-sbm.com mailman:senldogo0013.springer-sbm.com
And the Virtusertable like this:
mailman@senldogo0013.springer-sbm.com support_smarthost@springer-sbm.com mailman-owner@senldogo0013.sprinegr-sbm.com support_smarthost@springer-sbm.com MAILER-DAEMON@senldogo0013.springer-sbm.com support_smarthost@springer-sbm.com postmaster@senldogo0013.springer-sbm.com support_smarthost@springer-sbm.com webmaster@senldogo0013.springer-sbm.com support_smarthost@springer-sbm.com abuse@senldogo0013.springer-sbm.com support_smarthost@springer-sbm.com root@senldogo0013.springer-sbm.com support_smarthost@springer-sbm.com
When sending a test message to either of the above mentioned addresses works which indicates that the virtusertable file is active and working. When trying to send a test message to a invalid or valid mailinglist address i get the user unknown message back from sendmail and not the error message i'm expecting from the mm-handler which indicates to me that sendmail isn't properly seeing the mm-handler.
My main concern is the sendmail.cf, i first edited the os delivered sendmail.mc file did some cut pasting from the mailman.mc file then generated the sendmail.cf file using the proper m4 method. Maybe someone can give me a basic sendmail.cf which can be easily used for the basic mail & mailman functionality cause the mailman.mc file which comes with the package can't be used cause that one gives lots of errors.
Thanks for the help!
Marco van Kammen Springer Unix / Exchange System Manager Floor Manager / Postmaster
Van Godewijckstraat 30 | 3311 GX Office Number: 05E21 P.O. Box 17 | 3300 AA Dordrecht | The Netherlands tel +31 (0) 78 657 6446 fax +31 (0) 78 657 6302 Marco.vanKammen@springer.com www.springer.com <http://www.springer.com/>

No reply on this question yet..
Is there no'one out there who can give me some pointers???
Thanks!
Marco van Kammen Springer Unix / Exchange System Manager Floor Manager / Postmaster
Van Godewijckstraat 30 | 3311 GX Office Number: 05E21 P.O. Box 17 | 3300 AA Dordrecht | The Netherlands tel +31 (0) 78 657 6446 fax +31 (0) 78 657 6302 Marco.vanKammen@springer.com www.springer.com
-----Original Message----- From: mailman-users-bounces+marco.vankammen=springer.com@python.org [mailto:mailman-users-bounces+marco.vankammen=springer.com@python.org] On Behalf Of Kammen van, Marco, Springer SBM NL Sent: Tuesday, March 20, 2007 4:22 PM To: mailman-users@python.org Subject: [Mailman-Users] Mm-handler user unknown problem
Dear All,
Using:
Red Hat Linux release 9 Mailman 2.1.9 Sendmail 8.12.8
First of all i'm a total sendmail noob so please be nice :-D I've been scrolling through FAQ's mailinglists etc all day and found many people have this problem but didn't find a really good solution for this.. Most problems seem to be related to people forgetting to setup aliases, but in this case i'm using mm-handler which as far as i understand overrides the use of aliases and only needs some address in the virtusertable. (if address doesn't exist in virtusertable then goto mm-handler and get specific mailinglist address)
I got everything up and running, made the test list, received the mails from the test list, was able to subscribe people to it using the webinterface, the newly subscribed people also received the mails.
Problem is when trying to send a mail to the new mailinglist.
550 5.1.1 <testlist@senldogo0013.springer-sbm.com>... User unknown
I followed all the instructions according to the README.mm-handler file.
My handler file looks like this:
/etc/mail/mm-handler
-rwxr-xr-- 1 mailman mailman 5951 Mar 20 13:39 mm-handler
The link to mailman:
[root@senldogo0013 mail]# cd /etc/smrsh/ [root@senldogo0013 smrsh]# ll total 5 drwxr-xr-x 2 root root 1024 Mar 20 10:22 . drwxr-xr-x 50 root root 4096 Mar 20 15:21 .. lrwxrwxrwx 1 root root 31 Mar 20 10:22 mailman -> /usr/local/mailman/mail/mailman
The appropriate parts of the sendmail.cf (at least i think these are only the appropriate ones concerning this problem)
# Mailer table (overriding domains) Kmailertable hash -o /etc/mail/mailertable.db
# Virtual user table (maps incoming users) Kvirtuser hash -o /etc/mail/virtusertable.db
Mmailman, P=/etc/mail/mm-handler, F=rDFMhlqSu, U=mailman:mailman, S=EnvFromL, R=EnvToL/HdrToL, A=mm-handler $h $u
Mailertable looks like this:
senldogo0013.springer-sbm.com mailman:senldogo0013.springer-sbm.com
And the Virtusertable like this:
mailman@senldogo0013.springer-sbm.com support_smarthost@springer-sbm.com mailman-owner@senldogo0013.sprinegr-sbm.com support_smarthost@springer-sbm.com MAILER-DAEMON@senldogo0013.springer-sbm.com support_smarthost@springer-sbm.com postmaster@senldogo0013.springer-sbm.com support_smarthost@springer-sbm.com webmaster@senldogo0013.springer-sbm.com support_smarthost@springer-sbm.com abuse@senldogo0013.springer-sbm.com support_smarthost@springer-sbm.com root@senldogo0013.springer-sbm.com support_smarthost@springer-sbm.com
When sending a test message to either of the above mentioned addresses works which indicates that the virtusertable file is active and working. When trying to send a test message to a invalid or valid mailinglist address i get the user unknown message back from sendmail and not the error message i'm expecting from the mm-handler which indicates to me that sendmail isn't properly seeing the mm-handler.
My main concern is the sendmail.cf, i first edited the os delivered sendmail.mc file did some cut pasting from the mailman.mc file then generated the sendmail.cf file using the proper m4 method. Maybe someone can give me a basic sendmail.cf which can be easily used for the basic mail & mailman functionality cause the mailman.mc file which comes with the package can't be used cause that one gives lots of errors.
Thanks for the help!
Marco van Kammen Springer Unix / Exchange System Manager Floor Manager / Postmaster
Van Godewijckstraat 30 | 3311 GX Office Number: 05E21 P.O. Box 17 | 3300 AA Dordrecht | The Netherlands tel +31 (0) 78 657 6446 fax +31 (0) 78 657 6302 Marco.vanKammen@springer.com www.springer.com <http://www.springer.com/>
Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/marco.vankammen%40s pringer.com
Security Policy: http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq01.027.htp

Kammen van, Marco, Springer SBM NL wrote:
No reply on this question yet..
Is there no'one out there who can give me some pointers???
contrib/README
This directory contains unofficial contributed scripts and extensions to Mailman. They are unsupported by the Mailman developers. If you have questions or problems with them, please contact the contribution author directly.
-- Mark Sapiro <msapiro@value.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan

The esteemed Kammen van, Marco, Springer SBM NL has said:
From: mailman-users-bounces+marco.vankammen=springer.com@python.org [mailto:mailman-users-bounces+marco.vankammen=springer.com@python.org] On Behalf Of Kammen van, Marco, Springer SBM NL Sent: Tuesday, March 20, 2007 4:22 PM To: mailman-users@python.org Subject: [Mailman-Users] Mm-handler user unknown problem
Dear All,
Using:
Red Hat Linux release 9 Mailman 2.1.9 Sendmail 8.12.8
First of all i'm a total sendmail noob so please be nice :-D I've been scrolling through FAQ's mailinglists etc all day and found many people have this problem but didn't find a really good solution for this.. Most problems seem to be related to people forgetting to setup aliases, but in this case i'm using mm-handler which as far as i understand overrides the use of aliases and only needs some address in the virtusertable. (if address doesn't exist in virtusertable then goto mm-handler and get specific mailinglist address)
If you are new to sendmail, I would strongly suggest not attempting to use the mm-handler setup for initial setup and test. There is a four-step procedure for doing an initial sendmail configuration and checkout in the archives at: http://www.mail-archive.com/mailman-users%40python.org/msg43689.html
The main.mc statements in that document are correct for Sendmail 8.12 and Sendmail 8.13
This setup presumes that you are installing Mailman on the incoming/outgoing mail host.
I got everything up and running, made the test list, received the mails from the test list, was able to subscribe people to it using the webinterface, the newly subscribed people also received the mails.
Problem is when trying to send a mail to the new mailinglist.
550 5.1.1 <testlist@senldogo0013.springer-sbm.com>... User unknown
This is a fairly clear indication that you do need to install a set of alias pipes to Mailman. On a sendmail installation, you do this manually. bin/genaliases will produced the needed aliases in the proper form for sendmail. You need a full set of aliases for each list you create.
It's important to understand that the Mailman aliases are pipes to Mailman scripts. What you are doing is telling the sendmail daemon for incoming mail to bypass normal sendmail spool handling and, instead, to pipe the data to the Mailman qrunners.
I'll snip and skip over your configuration data for mm-handler as I don't run that configuration on my sites. I do not know if anyone reading this mail list is using that configuration.
For a basic Sendmail-Mailman integration you do not need to enable and configure the mailertable and virtusertable features to support Mailman if you are not using them to support your site Sendmail configuration for regular user accounts.
My main concern is the sendmail.cf, i first edited the os delivered sendmail.mc file did some cut pasting from the mailman.mc file then generated the sendmail.cf file using the proper m4 method. Maybe someone can give me a basic sendmail.cf which can be easily used for the basic mail & mailman functionality cause the mailman.mc file which comes with the package can't be used cause that one gives lots of errors.
Thanks for the help!
I'll assume that by "mailman.mc" you mean "main.mc". You can start
with the sendmail distribution main.mc file. The only feature that
Mailman requires that is not enabled by default is smrsh.
FEATURE(smrsh, /usr/lib/smrsh)dnl
Make sure that is the location of the smrsh executable on your system. Also make sure that the link in sm.bin points to the correct file.
I can't vouch for the correctness of the main.mc statements included in the Mailman distribution contrib directory. If you get M4 assembly errors when making the cf files from the mc/m4 files, then you need to review the statements you are using against the Sendmail information in the O'Reilly Sendmail "bat book" and the Sendmail FAQ.
Most of the statements you will add to the distribution main.mc file are site-specific. If you are new to Sendmail, and doing an initial installation, I'll suggest that you back down to the default Sendmail configuration, do what is necessary to get it to work with local user accounts using a simple MUA to test it, then use the 4-step procedure to integrate Mailman and Sendmail.
Hank

Hi Hank,
Thanks for your anwser.
I got mailman working now without the use of mm-handler and the use of aliases.
The whole idea about using the mm-handler (at least I think it is) is that you by-pass the normal sendmail aliases, so that you don't have to create new ones for every new list.
The mm-handler process picks up everything and redirects it to mailman without having to create every mailinglist address separate as a alias for sendmail.
But I guess I'll find another way to automatically generate the needed aliases for the mailinglists we create.
With Kind Regards,
Marco van Kammen Springer Unix / Exchange System Manager Floor Manager / Postmaster
Van Godewijckstraat 30 | 3311 GX Office Number: 05E21 P.O. Box 17 | 3300 AA Dordrecht | The Netherlands tel +31 (0) 78 657 6446 fax +31 (0) 78 657 6302 Marco.vanKammen@springer.com www.springer.com
-----Original Message----- From: vancleef@lostwells.net [mailto:vancleef@lostwells.net] Sent: Friday, March 23, 2007 5:31 PM To: Kammen van, Marco, Springer SBM NL Cc: mailman-users@python.org Subject: Re: [Mailman-Users] Mm-handler user unknown problem
The esteemed Kammen van, Marco, Springer SBM NL has said:
From: mailman-users-bounces+marco.vankammen=springer.com@python.org [mailto:mailman-users-bounces+marco.vankammen=springer.com@python.org] On Behalf Of Kammen van, Marco, Springer SBM NL Sent: Tuesday, March 20, 2007 4:22 PM To: mailman-users@python.org Subject: [Mailman-Users] Mm-handler user unknown problem
Dear All,
Using:
Red Hat Linux release 9 Mailman 2.1.9 Sendmail 8.12.8
First of all i'm a total sendmail noob so please be nice :-D I've been
scrolling through FAQ's mailinglists etc all day and found many people
have this problem but didn't find a really good solution for this.. Most problems seem to be related to people forgetting to setup aliases, but in this case i'm using mm-handler which as far as i understand overrides the use of aliases and only needs some address in
the virtusertable. (if address doesn't exist in virtusertable then goto mm-handler and get specific mailinglist address)
If you are new to sendmail, I would strongly suggest not attempting to use the mm-handler setup for initial setup and test. There is a four-step procedure for doing an initial sendmail configuration and checkout in the archives at: http://www.mail-archive.com/mailman-users%40python.org/msg43689.html
The main.mc statements in that document are correct for Sendmail 8.12 and Sendmail 8.13
This setup presumes that you are installing Mailman on the incoming/outgoing mail host.
I got everything up and running, made the test list, received the mails from the test list, was able to subscribe people to it using the
webinterface, the newly subscribed people also received the mails.
Problem is when trying to send a mail to the new mailinglist.
550 5.1.1 <testlist@senldogo0013.springer-sbm.com>... User unknown
This is a fairly clear indication that you do need to install a set of alias pipes to Mailman. On a sendmail installation, you do this manually. bin/genaliases will produced the needed aliases in the proper form for sendmail. You need a full set of aliases for each list you create.
It's important to understand that the Mailman aliases are pipes to Mailman scripts. What you are doing is telling the sendmail daemon for incoming mail to bypass normal sendmail spool handling and, instead, to pipe the data to the Mailman qrunners.
I'll snip and skip over your configuration data for mm-handler as I don't run that configuration on my sites. I do not know if anyone reading this mail list is using that configuration.
For a basic Sendmail-Mailman integration you do not need to enable and configure the mailertable and virtusertable features to support Mailman if you are not using them to support your site Sendmail configuration for regular user accounts.
My main concern is the sendmail.cf, i first edited the os delivered sendmail.mc file did some cut pasting from the mailman.mc file then generated the sendmail.cf file using the proper m4 method. Maybe someone can give me a basic sendmail.cf which can be easily used for the basic mail & mailman functionality cause the mailman.mc file which
comes with the package can't be used cause that one gives lots of errors.
Thanks for the help!
I'll assume that by "mailman.mc" you mean "main.mc". You can start with
the sendmail distribution main.mc file. The only feature that Mailman
requires that is not enabled by default is smrsh.
FEATURE(smrsh, /usr/lib/smrsh)dnl
Make sure that is the location of the smrsh executable on your system. Also make sure that the link in sm.bin points to the correct file.
I can't vouch for the correctness of the main.mc statements included in the Mailman distribution contrib directory. If you get M4 assembly errors when making the cf files from the mc/m4 files, then you need to review the statements you are using against the Sendmail information in the O'Reilly Sendmail "bat book" and the Sendmail FAQ.
Most of the statements you will add to the distribution main.mc file are site-specific. If you are new to Sendmail, and doing an initial installation, I'll suggest that you back down to the default Sendmail configuration, do what is necessary to get it to work with local user accounts using a simple MUA to test it, then use the 4-step procedure to integrate Mailman and Sendmail.
Hank

At 8:17 AM +0200 3/26/07, Kammen van, Marco, Springer SBM NL wrote:
But I guess I'll find another way to automatically generate the needed aliases for the mailinglists we create.
That should be done for you automatically. Just define the additional alias file within your sendmail.cf, and let Mailman generate that for you. Sendmail actually has better automatic generation tools than postfix, so for postfix we end up re-using the same trick from sendmail.
Re-check the Mailman documentation for integration with sendmail.
-- Brad Knowles <brad@shub-internet.org>, Consultant & Author LinkedIn Profile: <http://tinyurl.com/y8kpxu> Slides from Invited Talks: <http://tinyurl.com/tj6q4>

Brad Knowles wrote:
At 8:17 AM +0200 3/26/07, Kammen van, Marco, Springer SBM NL wrote:
But I guess I'll find another way to automatically generate the needed aliases for the mailinglists we create.
That should be done for you automatically. Just define the additional alias file within your sendmail.cf, and let Mailman generate that for you. Sendmail actually has better automatic generation tools than postfix, so for postfix we end up re-using the same trick from sendmail.
There are some gotcha's with Sendmail (at least according to the FAQ). See <http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq04.049.htp> and the archived post to which it points.
-- Mark Sapiro <msapiro@value.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
participants (4)
-
Brad Knowles
-
Kammen van, Marco, Springer SBM NL
-
Mark Sapiro
-
vancleef@lostwells.net