Mailgate problem

Hi everyone,

I’m still just post-install here, and configuring and trying things
out. This new issue has me a little stumped, though.

When sending mail, it comes back as returned–permission denied on
rt-mailgate. The exec perms seem ok:

-rwxr-sr-x 1 mako rt 8749 Jan 7 17:34 rt-mailgate*

When I run the same comment on the command line, I get this error:

Can’t write to ‘/web/mako/docs/rt2/logs/rt.log.23850.539’: Permission
denied at /usr/local/lib/perl5/site_perl/5.6.0/Log/Dispatch/File.pm line 68.

The perms on the logs directory:

sean@eskimo{/web/mako/docs/rt2/logs}: ls -la
total 12
drwxr-xr-x 2 www rt 4096 Jan 8 17:22 ./
drwxr-xr-x 9 root mako 4096 Jan 7 17:33 …/
-rw------- 1 www www 85 Jan 10 12:08 rt.log.12514.0
-rwxrwxrwx 1 root root 0 Jan 7 17:34 rt.log.27875.0*
-rw------- 1 www www 0 Jan 7 18:10 rt.log.32608.0
-rw-r–r-- 1 mako people 0 Jan 7 21:47 rt.log.659.659

Any thoughts? Should I set the sticky bit on the logs dir?

Thanks,

Sean

I believe you should only need to set the group-writable bit…On Thu, Jan 10, 2002 at 01:08:07PM -0500, Sean Hussey wrote:

Hi everyone,

I’m still just post-install here, and configuring and trying things
out. This new issue has me a little stumped, though.

When sending mail, it comes back as returned–permission denied on
rt-mailgate. The exec perms seem ok:

-rwxr-sr-x 1 mako rt 8749 Jan 7 17:34 rt-mailgate*

When I run the same comment on the command line, I get this error:

Can’t write to ‘/web/mako/docs/rt2/logs/rt.log.23850.539’: Permission
denied at /usr/local/lib/perl5/site_perl/5.6.0/Log/Dispatch/File.pm line 68.

The perms on the logs directory:

sean@eskimo{/web/mako/docs/rt2/logs}: ls -la
total 12
drwxr-xr-x 2 www rt 4096 Jan 8 17:22 ./
drwxr-xr-x 9 root mako 4096 Jan 7 17:33 …/
-rw------- 1 www www 85 Jan 10 12:08 rt.log.12514.0
-rwxrwxrwx 1 root root 0 Jan 7 17:34 rt.log.27875.0*
-rw------- 1 www www 0 Jan 7 18:10 rt.log.32608.0
-rw-r–r-- 1 mako people 0 Jan 7 21:47 rt.log.659.659

Any thoughts? Should I set the sticky bit on the logs dir?

Thanks,

Sean


rt-users mailing list
rt-users@lists.fsck.com
http://lists.fsck.com/mailman/listinfo/rt-users

http://www.bestpractical.com/products/rt – Trouble Ticketing. Free.

Much too simple. Thank you. :slight_smile:

Sean

At 01:15 PM 1/10/2002 -0500, Jesse Vincent wrote:

have installed rt3 and the websites all working (took me ages though)
what i cant get working is the rt-mailgate part

this is what ive got so far:
in /etc/smrsh:
rt-mailgate → /opt/rt3/bin/rt-mailgate

in /etc/aliases:
rt:“|/opt/rt3/bin/rt-mailgate --queue support --action correspond --url http://ip-address/
rt-comment:“|/opt/rt3/bin/rt-mailgate --queue support --action comment --url http://ip-address

notes:

  • the IP add is numeric
  • support exists
  • have run newaliases and restarted sendmail.

an odd thing is that when i run this:
echo “hi” |/opt/rt3/bin/rt-mailgate --queue custservau --action correspond --url http://192.168.0.103/

its creates a ticket… but when sending email to it, no ticket is created. i can send/receive email from a pop/smtp account fine (on same box)

just seems like the aliases arent working?

cheers - thanks in advance

further information about OS - running fedora

i started tail -f /var/log/maillog
which gave me clues re sendmail - it doesnt look as if its making connection. i made sure iptables was turned off. this is the log:
Aug 5 05:49:16 localhost sendmail[310]: i74JnFVu000310: from=apache, size=708, class=-60, nrcpts=1, msgid=rt-3.0.11-10-29.10.3556870026759@pureprofile.com, relay=apache@localhost
Aug 5 05:49:16 localhost sendmail[310]: i74JnFVu000310: to=adam@pureprofile.com, ctladdr=apache (48/48), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=138708, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1]

so its possibly a sendmail config problem. thanks anyone (?)-----Original Message-----
From: Adam Lee
Sent: Thursday, 5 August 2004 3:54 PM
To: rt-users@fsck.com
Subject: [rt-users] mailgate problem

have installed rt3 and the websites all working (took me ages though)
what i cant get working is the rt-mailgate part

this is what ive got so far:
in /etc/smrsh:
rt-mailgate → /opt/rt3/bin/rt-mailgate

in /etc/aliases:
rt:“|/opt/rt3/bin/rt-mailgate --queue support --action correspond --url http://ip-address/
rt-comment:“|/opt/rt3/bin/rt-mailgate --queue support --action comment --url http://ip-address

notes:

  • the IP add is numeric
  • support exists
  • have run newaliases and restarted sendmail.

an odd thing is that when i run this:
echo “hi” |/opt/rt3/bin/rt-mailgate --queue custservau --action correspond --url http://192.168.0.103/

its creates a ticket… but when sending email to it, no ticket is created. i can send/receive email from a pop/smtp account fine (on same box)

just seems like the aliases arent working?

cheers - thanks in advance
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Be sure to check out the RT wiki at http://wiki.bestpractical.com