[rt-users] anyone successfully using rt-mailgate and Postfix v2?
Tom Lichti
tom at redpepperracing.com
Tue Mar 4 20:52:51 EST 2003
--On Wednesday, March 05, 2003 12:30 AM +0100 "Jeroen Ruigrok/asmodai"
<asmodai at wxs.nl> wrote:
> -On [20030304 23:17], Tom Lichti (tom at redpepperracing.com) wrote:
>> I've banged my head on this one for a few days, and I can't seem to get
>> it right. I know there is a permissions problem somewhere, but I can't
>> seem to nail it down. Postfix is VERY restrictive about aliases and
>> external programs. I can get it to work from the command-line as the
>> postfix user, but the actual alias pipe is setuid, and I can't seem to
>> wrap my head around the problem.
>
> With postfix 1.1 you needed to move the pipe commands to the aliases
> file instead of being able to use the virtual file.
>
> Did this mechanism change with the new postfix?
>
No, the pipe is still in the aliases file, it just refuses to run. I have
tried various combinations of adding the postfix user to the rt group, and
copying the file and changing the permissions, etc, but I just can't seem
to crack this nut.
At first I was getting this message in the maillog:
Mar 4 16:10:43 xxxserver postfix/local[9823]: 766DE1B003:
to=<tickets-comments at xxx.com>, relay=local, delay=0, status=bounced
(Command died with status 2: " /etc/smrsh/rt-mailgate --action comment".
Command output: Can't do setuid )
Now I'm getting this:
Mar 4 16:54:27 xxxserver postfix/local[10044]: 9A1BB1B003:
to=<tickets-comments at xxx.com>, relay=local, delay=1, status=bounced
(Command died with status 2: " /etc/smrsh/rt-mailgate --action comment".
Command output: Can't locate config.pm in @INC (@INC contains:
/usr/local/rt2/etc /usr/local/rt2/lib
/usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0
/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl
/usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl .) at
/usr/local/rt2/lib/RT/Interface/Email.pm line 107. BEGIN
failed--compilation aborted at /usr/local/rt2/lib/RT/Interface/Email.pm
line 107. Compilation failed in require at /etc/smrsh/rt-mailgate line 18.
BEGIN failed--compilation aborted at /etc/smrsh/rt-mailgate line 30. )
Any thoughts?
Thanks
Tom
More information about the rt-users
mailing list