[rt-users] Q: rt-mailgate: "exited with EX_TEMPFAIL"
John H. Nyhuis
cabal at u.washington.edu
Sun Feb 18 23:03:39 EST 2007
Well, following this lead, I rebuilt LWP and all the other perl modules,
and ensured that LWP was compiled with SSL support. Also added --debug to the
aliases file so every time sendmail passes a message to rt-mailgate, it should
give me useful logs, but still no luck. Apache is not logging anything exciting
either. Thanks for trying to help.
Thanks,
John H. Nyhuis
IT Manager
Dept. of Pediatrics
HS RR541C, Box 356320
University of Washington
Desk: (206)-685-3884
jnyhuis at u.washington.edu
On Sat, 17 Feb 2007, Bob Goldstein wrote:
>
> Note that rt-mailgate uses LWP to make a web connection.
> It inserts the mail through the web, not directly into the database.
> Be sure your RT web server is configured to allow connections
> from the machine running rt-mailgate. Also, I noticed your
> url had 'https'. Dont' know if there could be issues there.
>
> Anyway, I'm guessing you won't see any RT error messages
> because the process is stopping at the web server, not making
> it into RT.
>
> I'd start by adding '--debug' to the rt-mailgate command line,
> and run it by hand.
>
> bobg
>
>
>
>> Greetings,
>>
>> I am running RT 3.4.5 on FreeBSD and am having a sendmail or rt-mailgat
>> e
>> problem. No mail manages to go in or come out of rt (although the web
>> interface works just fine otherwise).
>>
>> I can telnet to sendmail and run the usual tests, and I can send a
>> message to sendmail from a client, which receives the report that the email wa
>> s
>> sent without errors. The maillog, however, is filled with EX_TEMPFAIL message
>> s
>> from the mail failing to be accepted by rt-mailgate:
>>
>> sm-mta[663]: l1H3MNqa000662: to="|/usr/libexec/sm.bin/rt-mailgate --queue unas
>> signed --action
>> correspond --url https://removed.for.privacy",
>> ctladdr=<help at removed.for.privacy> (26/0), delay=00:01:16, xdelay=00:01:16,
>> mailer=prog, pri=30717, dsn=4.0.0, stat=Deferred: prog mailer (/bin/sh) exited
>> with EX_TEMPFAIL
>>
>> I have tried changing the mail/aliases file for sendmail to route messages to
>> rt-mailgate directly (not through smrsh) and the error is virtually the same.
>> (yes, I ran newaliases after changing the aliases file)
>>
>> If I envoke rt-mailgate directly, it generates no errors and listens politely
>> while I dump in well formatted mail, but nothing seems to come from this.
>> (Perhaps I am missing some needed option).
>>
>> I have turned on debugging in RT, but have not seen any enlightening messages
>> that could point me in the right direction.
>>
>> Does anyone have some pointers or a debugging procedure that could help me tra
>> ck
>> this down?
>>
>> Thanks,
>>
>> John H. Nyhuis
>> IT Manager
>> Dept. of Pediatrics
>> HS RR541C, Box 356320
>> University of Washington
>> Desk: (206)-685-3884
>> jnyhuis at u.washington.edu
>> _______________________________________________
>> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
>>
>> Community help: http://wiki.bestpractical.com
>> Commercial support: sales at bestpractical.com
>>
>>
>> Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
>> Buy a copy at http://rtbook.bestpractical.com
>>
> _______________________________________________
> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
>
> Community help: http://wiki.bestpractical.com
> Commercial support: sales at bestpractical.com
>
>
> Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
> Buy a copy at http://rtbook.bestpractical.com
>
More information about the rt-users
mailing list