[rt-users] Permission Denied Error - Ticket creation using mail

Baskaraganesan Natarajan banatara at hcl.in
Wed Sep 16 06:59:21 EDT 2009


Hi Kevin,

I found that my sendmail configuration was wrong. When I get this corrected in my sendmail.cf file, I got rid of this error.  But getting a different error this time (Log below).  Searching thru, I see the following line in http://mail.python.org/pipermail/mailman-users/2000-June/005182.html. Any help from here...

Sendmail won't deliver to a setuid program unless the directory where the
process resides is writable only by the owner.  That means no group write
or `other' write priviledges.  Mailman requires that the `s' bit be set
for the group.


Changed 
Mprog,              P=/etc/smrsh/
To 
Mprog,          P=/usr/sbin/smrsh

Log
===
Sep 16 12:15:01 localhost sendmail[15363]: n8G6j0O6015363: from=root, size=0, class=0, nrcpts=1, relay=root at localhost
Sep 16 12:15:13 localhost sendmail[15365]: n8G6jAvi015365: from=root, size=11, class=0, nrcpts=1, msgid=<200909160645.n8G6jAvi015365 at localhost.localdomain>, relay=root at localhost
Sep 16 12:15:13 localhost sendmail[15366]: n8G6jDAd015366: from=<root at localhost.localdomain>, size=300, class=0, nrcpts=1, msgid=<200909160645.n8G6jAvi015365 at localhost.localdomain>, proto=ESMTP, daemon=MTA, relay=localhost.localdomain [127.0.0.1]
Sep 16 12:15:13 localhost sendmail[15365]: n8G6jAvi015365: to=helpdesk, ctladdr=root (0/0), delay=00:00:03, xdelay=00:00:00, mailer=relay, pri=30011, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (n8G6jDAd015366 Message accepted for delivery)
Sep 16 12:15:13 localhost sendmail[15367]: n8G6jDAd015366: to="|rt-mailgate --queue 'CI new' --action correspond", ctladdr=<helpdesk at localhost.localdomain> (8/0), delay=00:00:00, xdelay=00:00:00, mailer=prog, pri=30543, dsn=5.3.0, stat=unknown mailer error 1
Sep 16 12:15:13 localhost sendmail[15367]: n8G6jDAd015366: n8G6jDAd015367: DSN: unknown mailer error 1
Sep 16 12:15:13 localhost sendmail[15367]: n8G6jDAd015367: to=<root at localhost.localdomain>, delay=00:00:00, xdelay=00:00:00, mailer=local, pri=31567, dsn=2.0.0, stat=Sent

Thanks,
Baskar N

-----Original Message-----
From: rt-users-bounces at lists.bestpractical.com [mailto:rt-users-bounces at lists.bestpractical.com] On Behalf Of Kevin Falcone
Sent: Tuesday, September 15, 2009 10:21 PM
To: rt-users at lists.bestpractical.com
Subject: Re: [rt-users] Permission Denied Error - Ticket creation using mail

On Tue, Sep 15, 2009 at 01:20:07PM +0530, Baskaraganesan Natarajan wrote:
>    Retrying...
>    [root at localhost log]# ls -ltr /etc/ | grep smr
>
>    drwxrwxrwx  2 root root    4096 2009-08-28 18:11 smrsh
>
>    Sep 15 10:38:34 localhost sendmail[8712]: n8EA3n3F006454: Warning: program /etc/smrsh/ unsafe:
>    World writable directory

Read the error messages, you can't have a world writable /etc/smrsh

-kevin
_______________________________________________
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sales at bestpractical.com


Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
Buy a copy at http://rtbook.bestpractical.com

DISCLAIMER:
-----------------------------------------------------------------------------------------------------------------------

The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only. 
It shall not attach any liability on the originator or HCL or its affiliates. Any views or opinions presented in 
this email are solely those of the author and may not necessarily reflect the opinions of HCL or its affiliates. 
Any form of reproduction, dissemination, copying, disclosure, modification, distribution and / or publication of 
this message without the prior written consent of the author of this e-mail is strictly prohibited. If you have 
received this email in error please delete it and notify the sender immediately. Before opening any mail and 
attachments please check them for viruses and defect.

-----------------------------------------------------------------------------------------------------------------------



More information about the rt-users mailing list