[Mailman-Users] Cannot exec /etc/mail/smrsh: Permission denied
Jim Parker
Parker at siam.org
Sat Feb 5 00:32:19 CET 2011
The key here may be the empty directory listing for /etc/smrsh:
> -----Original Message-----
> From: mailman-users-bounces+parker=siam.org at python.org
> [mailto:mailman-users-bounces+parker=siam.org at python.org] On Behalf
> Of John Espiro
> Sent: Friday, January 28, 2011 3:05 PM
> To: mailman-users at python.org
> 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 parker at siam.org |
| Systems Engineer |
| Society for Industrial & |
| Applied Mathematics |
| Philadelphia (267)350-6327 |
+ --- --- --- --- --- --- --- --- +
More information about the Mailman-Users
mailing list