[rt-users] Qmail again
Lorens Kockum
rt-id-45 at lists.lorens.org
Fri Apr 20 02:54:36 EDT 2001
On Thu, Apr 19, 2001 at 01:56:24PM -0500, Clint Simmons wrote:
> with suid
> Apr 19 15:53:27 tickets qmail: 987713607.371668 delivery 313: deferral:
> Can't_do_setuid/
OK, maybe qmail refuses setuid scripts, since they should not
be/are not necessary in the DJB scheme of things.
> without suid
> Apr 19 15:54:44 tickets qmail: 987713684.392440 delivery 314: success:
> No_permission_to_create_tickets_in_the_queue_''.Create_failed:_0_/_0_/_No_pe
> rmission_to_create_tickets_in_the_queue_''._did_0+0+1/
Sure, you don't, you're the alias user.
> .qmail-rt
> ->>
> | preline /usr/local/apache/tickets/bin/rt-mailgate --queue general
> --action correspond
>
> .qmail-rt-comment
> ->>
> | preline /usr/local/apache/tickets/bin/rt-mailgate --queue general
> --action comment
>
I'd recommend putting the .qmail files in the home directory of
the rt user, whatever its name is, creating one if necessary,
and getting qmail to deliver to that user. That way the file
executions will be done with the rt uid.
Simple example: with a user named rt having permissions to
create tickets (can test by hand if problems), mv the above
files to ~rt/.qmail and ~rt/.qmail-comment respectively. That's
it.
HTH.
--
#include <std_disclaim.h> Lorens Kockum
More information about the rt-users
mailing list