[rt-users] Problem(s) receiving mail via rt-mailgate

Bryan Derman bderm at derman.com
Thu May 29 20:47:26 EDT 2003


I'm running RT 3.0.2 on OS X 10.2.6 with perl 5.8.0 and have been trying
to the RT's email gateway to receive emails (everything else has been
running smoothly for a while now).

I have the server on an Intranet and have poked a hole in the firewall to
allow email to be sent directly to the address of the system, not wanting
RT to be generally accessible.  After much fiddling with (aka
configuring) sendmail, sendmail is finally sending and receiving emails.
Although the system recieves emails as a user, I am now trying to get
emails received and injected into RT (which is a very nice product, BTW).

What my research has led me to do, thus far:
-----
- I've put a link in /usr/adm/sm.bin to /opt/rt3/bin/rt-mailgate
- I've also enabled RunProgramInUnsafeDirPath in sendmail (ugh!)

What's currently happening:
-----
Received emails are bounced with the following (sanitized) diagnostics:

<yada ... yada ... yada ...>
The following addresses had permanent fatal errors:
"|/opt/rt3/bin/rt-mailgate --queue general --action correspond --url
http://mumble.foo.com/"
    (reason: Service unavailable)
    (expanded from: <rt@[xxx.xxx.xxx.25]>)

Transcript of session follows:
smrsh: "rt-mailgate" not available for sendmail programs (stat failed)
554 5.0.0 Service unavailable

<snip'd stuff ...>

Final-Recipient: RFC822; rt@[xxx.xxx.xxx.25]
X-Actual-Recipient: X-Unix; |/opt/rt3/bin/rt-mailgate --queue general
--action correspond --url http://mumble.foo.com/
Action: failed
Status: 5.5.0
Diagnostic-Code: X-Unix; 69

========

I'm also not getting any errors logged (or displayed) from RT, which may
or may not be another issue (currently, it looks like rt-mailgate never
gets invoked so I'm guessing that no error log just means that everything
in RT is running smoothly?).

I've run Mr. Google ragged trying to solve this one (when I was young, in
addition to having to walk 5 miles to school in 30-below weather, we not
only didn't have Google ... we didn't have an Internet!  #;-))

Anyone have any ideas that might send me in the right direction?



More information about the rt-users mailing list