[rt-users] Sendmail problems (EXIT_TEMPFAIL) with rt3 mailgate

Stewart James stewart.james at vu.edu.au
Thu Jun 12 20:37:11 EDT 2003


Maybe the problems we are having are linked.

However, I only seem to have issues with some email, not all - although
the errors we are getting seem to be similar. Although I am not getting
anything useful out of the rt logs to indicate what is actually happening
inside RT.

I am really hoping someone on the list knows more about the inside of RT
to help solve this.

Stewart

On Fri, 13 Jun 2003, Arthur Watts wrote:

> Date: Fri, 13 Jun 2003 10:27:17 +1000
> From: Arthur Watts <a.watts at cqu.edu.au>
> To: Stewart James <stewart.james at vu.edu.au>
> Cc: rt-users at lists.fsck.com
> Subject: RE: [rt-users] Sendmail problems (EXIT_TEMPFAIL) with rt3
>     mailgate
>
> Hi Stewart,
>
>       Thanks for the prompt reply.
>
>       No - I had a problem with attachments previously, but even 'echo
> "Testing" | mail icom-wemaster' fails when I move to the rt3 config in
> /etc/smrsh. Same result every time - I've checked that sendmail knows
> what to do with the mail for that user, but still no luck.
>
> Cheers,
>
> Artie
>
> -----Original Message-----
> From: Stewart James [mailto:stewart.james at vu.edu.au]
> Sent: Friday, 13 June 2003 10:17
> To: Arthur Watts
> Cc: rt-users at lists.fsck.com
> Subject: Re: [rt-users] Sendmail problems (EXIT_TEMPFAIL) with rt3
> mailgate
>
>
>
> This sounds exactly the same as the problem I am having. Do the
> message(s) causing the problem have attachments?
>
> On Fri, 13 Jun 2003, Arthur Watts wrote:
>
> > Date: Fri, 13 Jun 2003 09:56:19 +1000
> > From: Arthur Watts <a.watts at cqu.edu.au>
> > To: rt-users at lists.fsck.com
> > Subject: [rt-users] Sendmail problems (EXIT_TEMPFAIL) with rt3
> > mailgate
> >
> > Hi,
> >
> >       I have searched high and low in an effort to find a solution to
> > this problem, to no avail. After migrating our RT2 data into the RT3
> > database and doing the necessary config (see below), our mail logs
> > record the following result when I try to create a new ticket via
> > email in rt3 :
> >
> > Jun 12 23:16:28 xx-xxx sendmail[21357]: h5CDGSU3021357:
> > from=<a.watts at xxx.xxx.xx>, size=48019, class=0, nrcpts=1,
> > msgid=<C73A42308A9E56438DEDD76DB6FFC90A5B46C1 at locxxx.xxx.xxx.xx>,
> > proto=ESMTP, daemon=MTA, relay=mx2xxxxx.xxx.xxx.xx [138.77.5.126] Jun
> > 12 23:16:29 xxxxxxxx sendmail[21358]: h5CDGSU3021357:
> > to="|/usr/local/rt3/bin/rt-mailgate --queue Helpdesk -action
> > correspond --url=http://my.rtserver/rt3",
> > ctladdr=<icom-helpdesk at xxx.xxx.xxx>
> > (8/0), delay=00:00:01, xdelay=00:00:01, mailer=prog, pri=78235,
> > dsn=4.0.0, stat=Deferred: prog mailer (/usr/sbin/smrsh) exited with
> > EX_TEMPFAIL
> >
> >      OS is RH 8.0, running 'Apache/1.3.27 (Unix) mod_perl/1.27', MySQL
>
> > 3.23.53, sendmail 8.12.5-7.
> >
> >      1. /etc/aliases :
> >       icom-helpdesk: "|/usr/local/rt3/bin/rt-mailgate --queue general
> > -action correspond --url=http://my.rtserver/rt3";
> >
> >       I have used the 'newaliases' command to rebuild sendmail's
> > database, and the mail log confirms this.
> >
> >      2. /etc/smrsh :
> > [root at xx-xxx smrsh]# ls -l rt-mailgate
> > lrwxrwxrwx    1 root     root           30 Jun 13 07:50 rt-mailgate ->
> > /usr/local/rt3/bin/rt-mailgate
> >
> >      3. httpd.conf :
> >   Alias /rt3 /usr/local/rt3/share/html
> >   Alias /NoAuth /usr/local/rt3/share/html/NoAuth
> >   AddDefaultCharset UTF-8
> >
> >   PerlModule Apache::DBI
> >   PerlRequire /usr/local/rt3/bin/webmux.pl
> >
> >   <Location /rt3>
> >     SetHandler perl-script
> >     PerlHandler RT::Mason
> >   </Location>
> >
> >      4. Perms :
> >     Everything under /usr/local/rt3 is owned by 'root:webserveruser',
> > where 'webserveruser' is the name of the Apache 'User' variable.
> > Everything in the web interface is *fine*, it's the mail gateway which
>
> > seems to be my only stumbling block.
> >
> >      The sendmail doco says something to the effect that 'EX_TEMPFAIL'
>
> > means that it is unable to deliver the mail, but will queue it for
> > delivery at a later date. As soon as I switch everything back to RT2,
> > mail begins coming in again, and the queued messages are delivered
> > 30-50 minutes after that point. I suspect that it's a perms issue with
>
> > the receiving mailbox, but the same user runs Apache under rt3 as rt2,
>
> > and rt2 is working fine.
> >
> >       I am not a sendmail whiz, so any suggestions are most welcome.
> > Alternatively, tips on how I can use strace to get a better idea of
> > what file sendmail is trying to open would be handy - its currently
> > just returning the above diag without giving me much idea of what is
> > going on.
> >
> > Thanks,
> >
> > Arthur
> >
> > Arthur Watts (a.watts at cqu.edu.au)
> >
> > Web Developer
> >
> > Faculty of Informatics and Communication | Central Queensland
> > University
> > | Rockhampton, Australia
> >
> > _______________________________________________
> > rt-users mailing list
> > rt-users at lists.fsck.com
> > http://lists.fsck.com/mailman/listinfo/rt-users
> >
> > Have you read the FAQ? The RT FAQ Manager lives at
> > http://fsck.com/rtfm
> >
>



More information about the rt-users mailing list