I am trying to get TMDA to use Cyrus' deliver command to put the e-mails into the INBOX when it's accepted. But it fails with an error 65. I think it's because deliver needs to run as "cyrus" and not as my user, which TMDA runs as. My question is, how can I use setuid to make this work? I have no idea how to write a wrapper and am seeking advice, even hand holding, while making this work. I am not a command line newbie, but I am totally oblivious to setuid and it's functionality.
If the cyrus deliver command is an actual executable (and _not_ a script) you may be able to do:
# chown cyrus /path/to/deliver/command # chmod 6755 /path/to/deliver/command
And then it should always execute as the 'cyrus' user, no matter who runs it. This may be a bad thing... I don't know enough about cyrus to know if this is what you want to do.
-- Jim Ramsay "Me fail English? That's unpossible!"
_____________________________________________ tmda-users mailing list ([EMAIL PROTECTED]) http://tmda.net/lists/listinfo/tmda-users