[Mailman-Users] /bin/sh: mailman: command not found

Fahad Saeed fahadsaeed11 at hotmail.com
Sun Oct 19 21:55:47 CEST 2008



Thankyou Guys.It seems that my web interface is working fine for mailman as mark said.I tried to change the cron config files that were suggested, but it seems that I am still missing something.I am not getting the same email as the administrator, but none of the subscribed users are getting any emails.Below are the cron files in the system.Suggestions would be highly appreciable.
This is the crontab.in that I changed as suggested by the faq.

##############################################
0 8 * * * /usr/lib/mailman/cron/checkdbs
#
# At 9AM, send notifications to disabled members that are due to be
# reminded to re-enable their accounts.
0 9 * * *  /usr/lib/mailman/cron/disabled
#
# Noon, mail digests for lists that do periodic as well as threshhold delivery.
0 12 * * *  /usr/lib/mailman/cron/senddigests
#
# 5 AM on the first of each month, mail out password reminders.
0 5 1 * *  /usr/lib/mailman/cron/mailpasswds
#
# Every 5 mins, try to gate news to mail.  You can comment this one out
# if you don't want to allow gating, or don't have any going on right now,
# or want to exclusively use a callback strategy instead of polling.
0,5,10,15,20,25,30,35,40,45,50,55 * * * *  /usr/lib/mailman/cron/gate_news
#
# At 3:27am every night, regenerate the gzip'd archive file.  Only
# turn this on if the internal archiver is used and
# GZIP_ARCHIVE_TXT_FILES is false in mm_cfg.py
27 3 * * *  /usr/lib/mailman/cron/nightly_gzip
############################################################

and this is what is in  /etc/cron.d/mailman

###################################################################
# At 8AM every day, mail reminders to admins as to pending requests.
# They are less likely to ignore these reminders if they're mailed
# early in the morning, but of course, this is local time... ;)
0 8 * * * /usr/lib/mailman/cron/checkdbs
#
# At 9AM, send notifications to disabled members that are due to be
# reminded to re-enable their accounts.
0 9 * * *  /usr/lib/mailman/cron/disabled
#
# Noon, mail digests for lists that do periodic as well as threshhold delivery.
0 12 * * *  /usr/lib/mailman/cron/senddigests
#
# 5 AM on the first of each month, mail out password reminders.
0 5 1 * *  /usr/lib/mailman/cron/mailpasswds
#
# Every 5 mins, try to gate news to mail.  You can comment this one out
# if you don't want to allow gating, or don't have any going on right now,
# or want to exclusively use a callback strategy instead of polling.
0,5,10,15,20,25,30,35,40,45,50,55 * * * *  /usr/lib/mailman/cron/gate_news
#
# At 3:27am every night, regenerate the gzip'd archive file.  Only
# turn this on if the internal archiver is used and
# GZIP_ARCHIVE_TXT_FILES is false in mm_cfg.py
27 3 * * *  /usr/lib/mailman/cron/nightly_gzip
~


##################################################################

Thanks
Fahad Saeed



> Date: Sun, 19 Oct 2008 07:47:06 -0700
> From: mark at msapiro.net
> To: fahadsaeed11 at hotmail.com; mailman-users at python.org
> Subject: Re: [Mailman-Users] /bin/sh: mailman: command not found
> 
> Fahad Saeed wrote:
> >
> >I am trying to install mailman on my server.I followed this tutorial:
> >
> >
> >
> >http://www.yolinux.com/TUTORIALS/Lin...alMailman.html
> 
> 
> I am guessing you mean
> <http://www.yolinux.com/TUTORIALS/LinuxTutorialMailman.html>
> 
> 
> 
> >After following all the steps, mailman seeems to be working as well as
> >the webpage for the list. If I subscribe to the list, I get an email in
> >my email inbox(hotmail, yahoo etc) for confirmation of the membership
> >etc.
> 
> 
> It is best to follow the instructions for the specific software package
> you are installing rather than generic instructions that may not apply
> to the specific RPM or other package you are installing.
> 
> 
> >But there are two problems that I would like to discuss and your input would be appreciable
> >
> >
> >
> >1)If I email from one of my email box(subscribed to the list), the email is not forwarded to any of the members.
> 
> 
> See the FAQ at <http://wiki.list.org/x/A4E9>. However, from the
> information below, at least your 'mailman' site list seems to be
> working as it should.
> 
> 
> 
> >2) I keep getting the following email in my administrator email box:
> >
> >
> >
> >
> >	Code:
> >	As list administrator, your authorization is requested for the
> >following mailing list posting:
> >
> >    List:    Mailman at mydomain
> >    From:    root at mydomain
> >    Subject: Cron <mailman at mia> mailman /usr/lib/mailman/cron/gate_news
> >    Reason:  Post by non-member to a members-only list
> >
> >At your convenience, visit:
> >
> >    http://mydomain/mailman/admindb/mailman
> >        
> >to approve or deny the request.
> >If I allow, "root" to be subscibed to the list, I get the email to all the recipients of the list, with the message:
> >
> >
> >
> >
> >	Code:
> >	[Mailman] Cron <mailman at mia> mailman /usr/lib/mailman/cron/gate_newsþ
> >From: 	mailman-bounces at mydomain on behalf of Cron Daemon (root at mydomain)
> >
> >/bin/sh: mailman: command not found
> >Any pointers would be appreciable.If any logs are required to get a clearer picture please let me know 
> 
> 
> This is where you get in trouble by following instructions not
> appropriate for your package. See the FAQ at
> <http://wiki.list.org/x/AIE9>.
> 
> 
> -- 
> Mark Sapiro <mark at msapiro.net>        The highway is for gamblers,
> San Francisco Bay Area, California    better use your sense - B. Dylan
> 

_________________________________________________________________
Store, manage and share up to 5GB with Windows Live SkyDrive.
http://skydrive.live.com/welcome.aspx?provision=1?ocid=TXT_TAGLM_WL_skydrive_102008


More information about the Mailman-Users mailing list