[Mailman-Users] How to config sendmail on FC5

Daniel.Li lida_mail at 163.com
Mon Feb 16 16:19:03 CET 2009


Dear Mark,
I have tried method below, still can't solve the issue.My steps, see
below, on FC5.

Step 1:
$ grep smrsh /etc/mail/sendmail.cf
#####  $Id: smrsh.m4,v 8.14 1999/11/18 05:06:23 ca Exp $  #####
Mprog,		P=/usr/sbin/smrsh, F=lsDFMoqeu9, S=EnvFromL/HdrFromL,
R=EnvToL/HdrToL, D=$z:/,
		A=smrsh -c $u

Step 2: NOT found this at the very begining of output.
$ strings /usr/sbin/smrsh | less
/lib/ld-linux.so.2
libdb-4.3.so
_init
_fini
_Jv_RegisterClasses
__gmon_start__
libresolv.so.2
libnsl.so.1
...blablabla......
...................
%s: command too long: %s
command too long: %.40s
/etc/smrsh
/bin:/usr/bin
PATH=
............

Step 3:
$ cd /etc/smrsh
$ ln -s /usr/lib/mailman/mail/mailman mailman

Step 4: create a new maillist
$ cd /usr/lib/mailman/
$ bin/newlist mailman

Step 5: add output from step4 to the end of aliases file.
$ subo vi /etc/aliases 
# Daniel added for mailman 2009.02.15
mailman:              "|/usr/lib/mailman/mail/mailman post mailman"
mailman-admin:        "|/usr/lib/mailman/mail/mailman admin mailman"
mailman-bounces:      "|/usr/lib/mailman/mail/mailman bounces mailman"
mailman-confirm:      "|/usr/lib/mailman/mail/mailman confirm mailman"
mailman-join:         "|/usr/lib/mailman/mail/mailman join mailman"
mailman-leave:        "|/usr/lib/mailman/mail/mailman leave mailman"
mailman-owner:        "|/usr/lib/mailman/mail/mailman owner mailman"
mailman-request:      "|/usr/lib/mailman/mail/mailman request mailman"
mailman-subscribe:    "|/usr/lib/mailman/mail/mailman subscribe mailman"
mailman-unsubscribe:  "|/usr/lib/mailman/mail/mailman unsubscribe
mailman"

Is there anything that I lost? I'm confused.


On Mon, 2009-02-16 at 07:49 +0800, Daniel.Li wrote:
> On Sun, 2009-02-15 at 15:38 -0800, Mark Sapiro wrote:
> > Brad Knowles wrote:
> > 
> > >on 2/15/09 7:00 AM, Daniel.Li said:
> > >
> > >> I have read the install guide. But it's really hard for me to understand
> > >> how to config sendmail, as it's really a short paragraph.
> > >> 
> > >> Can u please simply give me some steps or tips to config sendmail.
> > >
> > >Unfortunately, sendmail is not a part of Mailman.  We can't really
> > >provide a whole lot of help with it.
> > 
> > 
> > That said, configuring sendmail to work with Mailman consists of only
> > one or two steps.
> > 
> > 1) Add the 10 aliases per Mailman list that are reported to you when
> > you create the list to /etc/aliases
> > 
> > 2) If your sendmail uses smrsh, add the appropriate symlink to the
> > smrsh directory as discussed at
> > <http://www.list.org/mailman-install/node32.html>.
> > 
> > Also see the FAQ at <http://wiki.list.org/x/B4Au>.
> > 
> > Beyond that, there are ways to automate alias generation for sendmail
> > if you want. See the above FAQ and the one at
> > <http://wiki.list.org/x/joA9>.
> > 
> > 
> 
> Thanks, I will try it today and feed back when I have any result. Thanks
> again.
-- 
Daniel.Li <lida_mail at 163.com>
PALFocus (http://palfocus.oicp.net)




More information about the Mailman-Users mailing list