The key here may be the empty directory listing for /etc/smrsh:

> -----Original Message-----
> From: [email protected]
> [mailto:[email protected]] On Behalf
> Of John Espiro
> Sent: Friday, January 28, 2011 3:05 PM
> To: [email protected]
> Subject: [Mailman-Users] Cannot exec /etc/mail/smrsh: Permission
> denied
> 
> When I send a message to the mailing list I get:
> 
>  sm-mta[16327]: p0SJuInx016321: SYSERR(root): Cannot exec
> /etc/mail/smrsh: Permission denied
> Jan 28 19:56:22 sm-mta[16326]: p0SJuInx016321:
> to="|/usr/lib/mailman/mail/mailman post LISTNAME", ctladdr=<ADDRESS>
> (8/0), delay=00:00:01, xdelay=00:00:00, mailer=prog, pri=31689,
> dsn=4.0.0, stat=Operating system error
> 
> System: Ubuntu 10.10 Server 64bit
> 
> I've read through this:
> 
> http://www.gnu.org/software/mailman/mailman-install/node32.html
> 
> grep smrsh /etc/mail/sendmail.cf
> #####  $Id: smrsh.m4,v 8.14 1999/11/18 05:06:23 ca Exp $  #####
> Mprog,  P=/etc/mail/smrsh, F=lsDFM
> 
> smrsh is in: :/usr/lib/sm.bin
> 
> In /usr/lib/sm.bin, I ran: ln -s /usr/lib/mailman/mail/mailman
> mailman
> In /etc/mail/smrsh, I ran: ln -s /usr/lib/mailman/mail/mailman
> mailman
> 
> 
> Still, the problem persists.  I am sure this must be a permissions
> issue, then again, maybe not.
> 
> Other data:
> uid=51(smmsp) gid=51(smmsp) groups=51(smmsp),45(sasl)
> uid=103(smmta) gid=106(smmta) groups=106(smmta),45(sasl)
> uid=8(mail) gid=8(mail) groups=8(mail)
> 
> ls -la /etc/mail/smrsh
> drwsr-sr-x 2 root  root  4096 2011-01-28 19:31 .
> 
In the directory /etc/smrsh is actually empty, it means your command

ln -s /usr/lib/mailman/mail/mailman mailman

didn't work. It may have failed silently. Try running it either as root
or using sudo:

while in /etc/smrsh:

sudo ln -s /usr/lib/mailman/mail/mailman mailman

That might fix it.

JimP

--
+ --- --- --- --- ---  --- --- --- +
| Jim Parker      [email protected]  |
|   Systems Engineer               |
| Society for Industrial &         |
| Applied Mathematics              |
| Philadelphia  (267)350-6327      |
+ --- --- --- --- --- ---  --- --- + 
 


------------------------------------------------------
Mailman-Users mailing list [email protected]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Reply via email to