[rt-users] E-mail problems

John Priddy jpriddy at thegoldensource.com
Thu Sep 1 14:19:21 EDT 2005


Try something like:

    [jpriddy at rt smrsh]$ cat /etc/aliases | /etc/smrsh/rt-mailgate
--action correspond --queue techsupport --url http://youripaddresshere

This should create a nobody:nobody ticket with no subject and contents
of /etc/aliases in this case.  I know on my system i _have_ to have the
ipaddress for url on /etc/aliases, it would not play nice with just
putting rt.domain, maybe you have the same issue?

As far as the logs you need to create a /opt/rt3/var/log/rt.log and give
it www:www ownership (check your siteconfig for details on setting this
up).

On Thu, 2005-09-01 at 12:05 -0400, Frank Saxton wrote:

> Hello John,
> 
> Yes, I followed the instructions very closely... copied rt-mailgate
> to  
> /etc/smrsh
> 
> I can enter tickets manually thorugh the RT GUI but the RT mail piece
> is  
> prety much broken.  Sendmail itself seems to be just fine though.
> Don;t  
> know how to manually run rt-mailgate.  Following is a maillog entry
> and  
> running rt-mailgate manually that hung.  I'm sure I used the wrong
> syntax  
> though. /opt/rt3/var/log is empty.  Other logs I should look at?
> 
> Sep  1 08:55:36 frankie sendmail[21801]: j81FtKaD021801:  
> from=<Jones at Easyrider.c 
> om>, size=633, class=0, nrcpts=1,  
> msgid=<5.2.0.9.0.20050901085458.04045300 at mail. 
> aracnet.com>, proto=ESMTP, daemon=MTA, relay=jade.aracnet.com
> [216.99.193.136] 
> Sep  1 08:55:36 frankie sendmail[21802]: j81FtKaD021801:  
> to="|/etc/smrsh/rt-mail 
> gate --queue Tek-noc --action correspond --url  
> http://frankie.vigilancemonitorin 
> g.com/rt/", ctladdr=<Tek-noc at frankie.vigilancemonitoring.com> (8/0),  
> delay=00:00 
> :00, xdelay=00:00:00, mailer=prog, pri=30869, dsn=4.0.0,
> stat=Deferred:  
> prog mai 
> ler (/usr/sbin/smrsh) exited with EX_TEMPFAIL
> 
> [root at frankie rt-3.4.4]# /etc/smrsh/rt-mailgate --queue Tek-noc
> --action  
> corresp 
> ond --url http://frankie.vigilancemonitoring.com/rt/
> 
> [root at frankie rt-3.4.4]#
> 
> At 04:41 AM 9/1/2005 -0400, Priddy, John wrote: 
> >Did you put or link rt-mailgate in /etc/smrsh?  This is more or less 
> >required (out of the box) when running rhel I think... Its been a
> long 
> >time since I set up ours, but were running rhel3 and I distinctly 
> >remember this 'problem' and the solution was to link
> from /etc/smrsh 
> >among some other sendmail tom foolery. 
> > 
> >How about using rt-mailgate manually? Can you create tickets that
> way? 
> >How about the rt logs? 
> > 
> >-----Original Message----- 
> >From: rt-users-bounces at lists.bestpractical.com 
> >[mailto:rt-users-bounces at lists.bestpractical.com] On Behalf Of Frank 
> >Saxton 
> >Sent: Thursday, September 01, 2005 3:30 AM 
> >To: rt-users at lists.bestpractical.com 
> >Subject: [rt-users] E-mail problems 
> > 
> >Nothing worth having comes easy :) 
> > 
> >New RT3.4.4 on RHEL4 install 
> > 
> >RT is working file but isn't creating tickets that come in as e-mail 
> > 
> >/etc/aliases: 
> > 
> ># The Tek queue 
> ># 
> >Tek-noc:    "|/opt/rt3/bin/rt-mailgate --queue Tek-noc --action 
> >correspond 
> >--url 
> >   http://frankie.vigilancemonitoring.com/rt/" 
> >Tek-noc-comment:    "|/opt/rt3/bin/rt-mailgate --queue Tek-noc
> --action 
> >comment 
> >--url http://frankie.vigilancemonitoring.com/rt/" 
> > 
> >/var/log/maillog: 
> > 
> >Sep  1 00:26:41 frankie sendmail[15127]: j817QeAX015127: 
> >from=<Jones at Easyrider.c 
> >om>, size=633, class=0, nrcpts=1, 
> >msgid=<5.2.0.9.0.20050901002558.03f84878 at mail. 
> >aracnet.com>, proto=ESMTP, daemon=MTA, relay=jade.aracnet.com 
> >[216.99.193.136] 
> >Sep  1 00:26:41 frankie sendmail[15128]: j817QeAX015127: 
> >to="|/opt/rt3/bin/rt-ma 
> >ilgate --queue Tek-noc --action correspond --url 
> >http://frankie.vigilancemonitor 
> >ing.com/rt/", ctladdr=<Tek-noc at frankie.vigilancemonitoring.com>
> (8/0), 
> >delay=00: 
> >00:00, xdelay=00:00:00, mailer=prog, pri=30869, dsn=4.0.0, 
> >stat=Deferred: 
> >prog m 
> >ailer (/usr/sbin/smrsh) exited with EX_TEMPFAIL 
> >Sep  1 00:27:04 frankie sendmail[15130]: j817QeAX015127: 
> >to="|/opt/rt3/bin/rt-ma 
> >ilgate --queue Tek-noc --action correspond --url 
> >http://frankie.vigilancemonitor 
> >ing.com/rt/", ctladdr=<Tek-noc at frankie.vigilancemonitoring.com>
> (8/0), 
> >delay=00: 
> >00:23, xdelay=00:00:00, mailer=prog, pri=120869, dsn=4.0.0, 
> >stat=Deferred: prog 
> >mailer (/usr/sbin/smrsh) exited with EX_TEMPFAIL 
> >Sep  1 00:27:05 frankie sendmail[15130]: j81795aP015094: 
> >to="|/opt/rt3/bin/rt-ma 
> >ilgate --queue Tek-noc --action correspond --url 
> >http://frankie.vigilancemonitor 
> >ing.com/rt/", ctladdr=<Tek-noc at frankie.vigilancemonitoring.com>
> (8/0), 
> >delay=00: 
> >17:54, xdelay=00:00:00, mailer=prog, pri=121866, dsn=4.0.0, 
> >stat=Deferred: prog 
> >mailer (/usr/sbin/smrsh) exited with EX_TEMPFAIL 
> > 
> > 
> >_______________________________________________ 
> >http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users 
> > 
> >Be sure to check out the RT Wiki at http://wiki.bestpractical.com 
> > 
> >Buy your copy of our new book, RT Essentials, today! 
> > 
> >Download a free sample chapter from http://rtbook.bestpractical.com 
> > 
> > 
> >_______________________________________________ 
> >http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users 
> > 
> >Be sure to check out the RT Wiki at http://wiki.bestpractical.com 
> > 
> >Buy your copy of our new book, RT Essentials, today! 
> > 
> >Download a free sample chapter from http://rtbook.bestpractical.com
> 
> 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20050901/cd81c831/attachment.htm>


More information about the rt-users mailing list