Re: [rt-users] Automating ticket updates via RT::Client::REST
On Fri, Apr 26, 2013 at 5:50 AM, Eli Boaz eb...@icontrol.com wrote: I've done some searching and perhaps my Google-fu is lacking, but I was wondering if there were any examples of updating tickets via RT::Client::REST::Ticket, aside from the information available on CPAN. What I'm specifically looking to do is be able to update a custom field and (optionally) add a comment to the case when a defect is updated in a separate system. Read a little bit farther http://search.cpan.org/~jlmartin/RT-Client-REST-0.43/lib/RT/Client/REST/Ticket.pm#CUSTOM_FIELDS -- Best regards, Ruslan.
Re: [rt-users] Convert incoming html e-mail into plain text
Hi, I figured out I can solve it on pop3 server side (MS Exchange). I configured queue mailboxes to serve only plain text over pop3, so fetchmail now sends it to mailgate in plain text. -- Marko Cupać On Thu, 25 Apr 2013 16:40:53 +0400 Ruslan Zakirov r...@bestpractical.com wrote: Hi, TrustHTMLAttachments option helps, but note that content is not filtered in any way. On Thu, Apr 25, 2013 at 11:56 AM, Marko Cupać marko.cu...@mimar.rs wrote: 99% of my requesters submit requests by e-mail from Outlook. Quite frequently they send a request which is very long (dozen or so of forwards and replies between them before it actually hits rt). It results in messages in history window which are too large to display (even when MaxInlineBody is raised significantly). So, staff member needs to click download - text/html link in order to read the request, but it is then displayed as html in browser, making it almost impossible to read. Is there a way to fix this so messages are always in plain text in history window? I tried: Set( $MessageBoxRichText, 0); Set( $PreferRichText, 0); Set( $CheckMoreMSMailHeaders, 1); But it does not solve my problem. Thank you in advance, -- Marko Cupać
[rt-users] Add value to array in RT_SiteConfig.pm
Hi. Is it possible to add a value to array in config? I want to add one custom script to @JSFiles, but cannot find anything like Push() or Add() in config parser, only Set(). Is the only way copy all predefined array from RT_Config.pm to RT_SiteConfig.pm? The same question for add (or modify) some key/value of %Lifecycles hash without copying it all to RT_SiteConfig.pm. Thanks. -- Pavel
[rt-users] Original request in owner change template
Is it possible (maybe by help of TransactionBatchStage) to include text of original request in owner change template, similar to including last comment on ticket resolve? -- Marko Cupać
Re: [rt-users] Original request in owner change template
On Fri, Apr 26, 2013 at 2:57 PM, Marko Cupać marko.cu...@mimar.rs wrote: Is it possible (maybe by help of TransactionBatchStage) to include text of original request in owner change template, similar to including last comment on ticket resolve? You don't need batch stage for that. You just need first transaction of type Create. ... my $txns = $ticket-Transactions; $txns-Limit( FIELD = 'Type', VALUE = 'Create' ); my $txn = $txns-First; ... -- Marko Cupać -- Best regards, Ruslan.
Re: [rt-users] Add value to array in RT_SiteConfig.pm
Hi, No, it is not possible. SiteConfig is loaded before core config. On Fri, Apr 26, 2013 at 1:12 PM, Pavel Gulchouck g...@gul.kiev.ua wrote: Hi. Is it possible to add a value to array in config? I want to add one custom script to @JSFiles, but cannot find anything like Push() or Add() in config parser, only Set(). Is the only way copy all predefined array from RT_Config.pm to RT_SiteConfig.pm? The same question for add (or modify) some key/value of %Lifecycles hash without copying it all to RT_SiteConfig.pm. Thanks. -- Pavel -- Best regards, Ruslan.
Re: [rt-users] Automating ticket updates via RT::Client::REST
Hi Ruslan, Thanks, I had actually gotten this part working and my apologies as my email was unclear on this point, but where I had encountered problems was adding a comment without sending an email to the admin_cc list unless I actually delete the admin_cc list before posting the comment. This is something that is possible to do by unchecking the individuals in the admin_cc list of the comment page, if one were to manually login and add a comment to the case. Can this be done via the REST api? If not then we'll go with an additional custom field, which is something we're trying to keep down to a minimum. Thanks again, -Eli From: Ruslan Zakirov r...@bestpractical.commailto:r...@bestpractical.com Date: Friday, April 26, 2013 2:04 AM To: Eli Boaz eb...@icontrol.commailto:eb...@icontrol.com Cc: RT User List rt-users@lists.bestpractical.commailto:rt-users@lists.bestpractical.com Subject: Re: [rt-users] Automating ticket updates via RT::Client::REST On Fri, Apr 26, 2013 at 5:50 AM, Eli Boaz eb...@icontrol.commailto:eb...@icontrol.com wrote: I've done some searching and perhaps my Google-fu is lacking, but I was wondering if there were any examples of updating tickets via RT::Client::REST::Ticket, aside from the information available on CPAN. What I'm specifically looking to do is be able to update a custom field and (optionally) add a comment to the case when a defect is updated in a separate system. Read a little bit farther http://search.cpan.org/~jlmartin/RT-Client-REST-0.43/lib/RT/Client/REST/Ticket.pm#CUSTOM_FIELDS -- Best regards, Ruslan.
Re: [rt-users] Original request in owner change template
This is what I get in the log when I put that into my template: [Fri Apr 26 12:46:26 2013] [error]: Template parsing error: Can't call method Transactions on an undefined value at template line 5. -- Marko Cupać On Fri, 26 Apr 2013 16:17:03 +0400 Ruslan Zakirov r...@bestpractical.com wrote: On Fri, Apr 26, 2013 at 2:57 PM, Marko Cupać marko.cu...@mimar.rs wrote: Is it possible (maybe by help of TransactionBatchStage) to include text of original request in owner change template, similar to including last comment on ticket resolve? You don't need batch stage for that. You just need first transaction of type Create. ... my $txns = $ticket-Transactions; $txns-Limit( FIELD = 'Type', VALUE = 'Create' ); my $txn = $txns-First; ... -- Marko Cupać
Re: [rt-users] Original request in owner change template
Pardon my stupid, I am no programmer. I modified it and now it works: { my $original_request; my $Transactions = $Ticket-Transactions; $Transactions-Limit( FIELD = 'Type', VALUE = 'Create' ); my $RequestObj = $Transactions-First; $original_request = $RequestObj-Content; $original_request; } -- Marko Cupać On Fri, 26 Apr 2013 14:52:50 +0200 Marko Cupać marko.cu...@mimar.rs wrote: This is what I get in the log when I put that into my template: [Fri Apr 26 12:46:26 2013] [error]: Template parsing error: Can't call method Transactions on an undefined value at template line 5.
[rt-users] Help - Deep Recursion on subroutine...
Hi All I'm getting this error: Deep recursion on subroutine RT::I18N::SetMIMEEntityToEncoding at /opt/rt4/sbin/../lib/RT/I18N.pm in my logs, and I'm out of RAM. I'm also getting a lot of bounces: Could not record email: Message Bounced (/opt/rt4/share/html/REST/1.0/NoAuth/mail-gateway:75) I've looked for loops in the RT_SiteConfig file (OwnerEmail) but see nothing. I've reinstalled the machine 4 times siince the problem started, on all combinations of: * RT 3.8.9 (original) * RT 4.0.11 * 512MB - 1GB RAM * CentOS 5.x - Centos 6.x And the problem persists. RT was originally running for about a year without a single problem or error on a CentOS 5 box with 512MB RAM. Problems started when I migrated to CentOS 6 (Same RT 3.8.9), and have persisted ever since. I'm not sure what else to check, where to look, or how to troubleshoot any further. Any help would be appreciated. Regards, Jason
Re: [rt-users] How to use custom field with Include page
Kevin, thank you for your reply. The fact is that the DokuWiki page ARE on the same domain as the RT pages. Actually, they are two virtual domains on the same apache server: rtbkd.fake.it dokuwiki.fake.it (obviously fake.it is NOT the real domain) Bye Cris - Messaggio originale - Da: Kevin Falcone falc...@bestpractical.commailto:falc...@bestpractical.com Inviato: Fri Apr 26 2013 18:31:32 GMT+0200 (CEST) A: rt-users@lists.bestpractical.commailto:rt-users@lists.bestpractical.com Oggetto: Re: [rt-users] How to use custom field with Include page On Fri, Apr 26, 2013 at 04:15:07PM +, Guadagnino Cristiano wrote: I created a new custom field called DokuWiki of type Enter one value, selected applies to articles, and entered [1]http://dokuwiki.fake.it/doku.php?id=__CustomField__;http://dokuwiki.fake.it/doku.php?id=__CustomField__ in the Include page field. Then I created a sample article and entered start in the new custom field. When I look at the article I only see start next to the DokuWiki field and nothing else. I would have expected to see the content of the actual page at [2]http://dokuwiki.fake.it/doku.php?id=start. From the explanatory text in the Include page option: Some browsers may only load content from the same domain as your RT server This is a security measure - I'd guess that your browser is stopping the javascript you quote from running. -kevin If I look at the html source of the RT page, it seems it is actually trying to include content, but I see nothing. Here is an excerpt from the html source: tr id=CF-13-ShowRow td class=labelDokuWiki:/td td class=value startdiv class=object_cf_value_include id=object_cf_value_13912See also:a href=[3]http://dokuwiki.fake.it/doku.php?id=start;[4]http://dokuwiki.fake.it/doku.php?id=start/a/div script!-- jQuery('#object_cf_value_13912').load('http\x3A\x2F\x2Fdokuwiki\x2Efake\x2Eit\x2Fdoku\x2Ephp\x3Fid\x3Dstart'); --/script /td /tr -- Cristiano Guadagnino Servizio Data Administration Bankadati S.I. Gruppo Credito Valtellinese Tel. +39-0342-522172
Re: [rt-users] How to use custom field with Include page
On 04/26/2013 10:43 AM, Guadagnino Cristiano wrote: Kevin, thank you for your reply. The fact is that the DokuWiki page ARE on the same domain as the RT pages. Actually, they are two virtual domains on the same apache server: rtbkd.fake.it dokuwiki.fake.it While those share a common domain component, they are not the same domain. Same domain means *exactly* the same. You will need to setup CORS [1] on the docuwiki domain so that your browser knows it is safe to let rtbkd make the cross-domain request. [1] Cross-origin resource sharing: http://en.wikipedia.org/wiki/Cross-origin_resource_sharing
Re: [rt-users] Help - Deep Recursion on subroutine...
On 04/26/2013 10:01 AM, Jason Doller wrote: I'm getting this error: Deep recursion on subroutine RT::I18N::SetMIMEEntityToEncoding at /opt/rt4/sbin/../lib/RT/I18N.pm in my logs, and I'm out of RAM. I'm also getting a lot of bounces: Could not record email: Message Bounced (/opt/rt4/share/html/REST/1.0/NoAuth/mail-gateway:75) I've looked for loops in the RT_SiteConfig file (OwnerEmail) but see nothing. This implies a very deep mail loop that is getting larger and larger and hitting recursion limits when processing each successively larger bounce. RT should be logging at the [crit] level the message IDs. Can you find those and provide them? Your RT_SiteConfig.pm would be good to provide too. Folks can't help without these details.
Re: [rt-users] Add value to array in RT_SiteConfig.pm
On 04/26/2013 07:49 AM, Kevin Falcone wrote: On Fri, Apr 26, 2013 at 12:12:48PM +0300, Pavel Gulchouck wrote: I want to add one custom script to @JSFiles, but cannot find anything like Push() or Add() in config parser, only Set(). Is the only way copy all predefined array from RT_Config.pm to RT_SiteConfig.pm? For @JSFiles you have to copy (we've fixed this in the development series). You also have to be careful on upgrades in case we add files to @JSFiles. If you're writing a local extension, you want to use http://bestpractical.com/rt/docs/latest/RT.html#AddJavaScript from your code rather than munging the config. You should be able to use this, somewhat hackishly but just fine, in a local/etc/JS_Config.pm or etc/JS_Config.pm with this content: RT-AddJavaScript(foo.js); 1; You can't do that from your RT_SiteConfig.pm for load order reasons, but you can do so from additional config files.
Re: [rt-users] Help - Deep Recursion on subroutine...
Sorry for the oversight, RT_SiteConfig:: == Start == Set($rtname , IT Support); Set($Organization , obscured.com); Set($MinimumPasswordLength , 5); Set($Timezone , 'Africa/Johannesburg'); Set($HomepageComponents, [qw( QuickCreate Quicksearch MyAdminQueues MySupportQueues MyReminders RefreshHomepage Dashboards )]); Set($DatabaseType , 'mysql'); Set($DatabaseHost , 'localhost'); Set($DatabaseRTHost , 'localhost'); Set($DatabasePort , ''); Set($DatabaseUser , 'someuser'); Set($DatabasePassword , 'reallyreallystrongpassword'); Set($DatabaseName , 'rt4'); #Set($OwnerEmail , 'IT Support'); Set($OwnerEmail , 'ja...@obscured.com'); Set($LoopsToRTOwner , 1); Set($SendmailArguments , -oi -t -f support\@obscured.com); Set($MaxAttachmentSize , 1000); #Set($RTAddressRegexp , '(^rt\@obscured.com$)(.*\@obscured.co.za)'); Set($RTAddressRegexp , '.*\@obscured.co.za'); Set($CorrespondAddress , 'no-re...@obscured.co.za'); Set($CommentAddress , 'no-re...@obscured.co.za'); Set($UseFriendlyFromLine , 1); Set($FriendlyFromLineFormat , \%s\ %s); Set($UseFriendlyToLine , 1); Set($FriendlyToLineFormat, \%s Ticket #%s\:;); Set($NotifyActor, 0); Set($RecordOutgoingEmail, 1); Set($WebPath , /customerzone); Set($WebPort , 443); Set($WebBaseURL , https://obscured.com;); Set($WebURL , $WebBaseURL . $WebPath . /); Set($CanonicalizeRedirectURLs, 1); Set($MessageBoxWidth , 72); Set($MessageBoxWrap, HARD); Set($MaxInlineBody, 13456); Set($DefaultSummaryRows, 10); Set($OldestTransactionsFirst, '1'); Set($ShowTransactionImages, 1); Set($DateDayBeforeMonth , 0); Set($AmbiguousDayInPast , 1); Set($LogDir, '/var/log/rt4'); 1; == END == This is a sample of the email error I get (please let me know if you need more log info): [Fri Apr 26 20:17:12 2013] [critical]: RT Received mail ( 20130426001825.08c1521...@obscured.com ) from itself. (/opt/rt4/sbin/../lib/RT/Interface/Email.pm:1846) [Fri Apr 26 20:17:12 2013] [crit]: RT thinks this message may be a bounce (/opt/rt4/sbin/../lib/RT/Interface/Email.pm:248) [Fri Apr 26 20:17:14 2013] [error]: Could not record email: Message Bounced (/opt/rt4/share/html/REST/1.0/NoAuth/mail-gateway:75) [Fri Apr 26 20:17:40 2013] [warning]: Deep recursion on subroutine RT::I18N::SetMIMEEntityToEncoding at /opt/rt4/sbin/../lib/RT/I18N.pm line 210. (/opt/rt4/sbin/../lib/RT/I18N.pm:210) I am unsure how to get more information from the message id 20130426001825.08c1521...@obscured.com or whatever it is at that time. I don't find an equivalent message in themaillog. Thanks for the prompt response, Jason On Fri, Apr 26, 2013 at 9:12 PM, Thomas Sibley t...@bestpractical.comwrote: On 04/26/2013 10:01 AM, Jason Doller wrote: I'm getting this error: Deep recursion on subroutine RT::I18N::SetMIMEEntityToEncoding at /opt/rt4/sbin/../lib/RT/I18N.pm in my logs, and I'm out of RAM. I'm also getting a lot of bounces: Could not record email: Message Bounced (/opt/rt4/share/html/REST/1.0/NoAuth/mail-gateway:75) I've looked for loops in the RT_SiteConfig file (OwnerEmail) but see nothing. This implies a very deep mail loop that is getting larger and larger and hitting recursion limits when processing each successively larger bounce. RT should be logging at the [crit] level the message IDs. Can you find those and provide them? Your RT_SiteConfig.pm would be good to provide too. Folks can't help without these details.
[rt-users] REMOTE_USER, external auth, and email mismatching
hi there, We are looking at using kerb auth and mod_auth_kerb as our external auth mechanism for RT. Trouble is.. our kerb domain is not the same as people's email address domain. We have mumble-thousand users. Hand-populating things is not an option. So, I was hoping there was potentially a way to do any of the following: a) automatically drop the @xyz from REMOTE_USER entirely b) autoconvert the @xyz to @real.domain c) (least preferable) have the autocreate routines, atomatically fill in @real.domain as the email address
Re: [rt-users] REMOTE_USER, external auth, and email mismatching
Philip, We are in the same boat. Your kerb config can drop the realm part by using the option in your kerb auth section of the apache config with KrbLocalUserMapping set to ON. In combination with that, we have ldap-import (to pull all the users from AD), as well as the proper mapping (sAMAccountName - username) when we import users. We've had instances where someone has managed to send email in from another system with a different email address, and we just merge those new accounts in with the ldap imported accounts on a regular basis (doesn't happen often). Thanks,Jok -- | Joachim Thuau | IT Systems Engineer - Linux / SpaceX | On 4/26/13 2:35 PM, Philip Brown p...@usc.edu wrote: hi there, We are looking at using kerb auth and mod_auth_kerb as our external auth mechanism for RT. Trouble is.. our kerb domain is not the same as people's email address domain. We have mumble-thousand users. Hand-populating things is not an option. So, I was hoping there was potentially a way to do any of the following: a) automatically drop the @xyz from REMOTE_USER entirely b) autoconvert the @xyz to @real.domain c) (least preferable) have the autocreate routines, atomatically fill in @real.domain as the email address
Re: [rt-users] Help - Deep Recursion on subroutine...
There are a number of possibilities given the config snippet below. Jason wrote: Set($SendmailArguments , -oi -t -f support\@obscured.com); Does supp...@obscured.com go into RT? -f sets the envelope-sender address which is where bounces go. If it goes into RT, that's potentially a mail loop. Set($MaxAttachmentSize , 1000); #Set($RTAddressRegexp , '(^rt\@obscured.com$)(.*\@obscured.co.za)'); Set($RTAddressRegexp , '.*\@obscured.co.za'); The commented out $RTAddressRegexp (which I suppose is commented out because it didn't work; the regex syntax is incorrect) contains r...@obscured.com, but the uncommented version of the option doesn't match that. Does r...@obscured.com still go into RT? If so, that could be the source of a loop if a ticket got a watcher of the rt@ address added. Try this instead: '^(rt@obscured\.com|.*@obscured\.co\.za)$' Escaping the @ isn't necessary in a single-quoted string, just double quoted to prevent interpolation. Additionally, the current $RTAddressRegexp should have the dots (.) in .co.za escaped with a backslash, though that's unlikely to cause a loop. Set($CorrespondAddress , 'no-re...@obscured.co.za'); Set($CommentAddress , 'no-re...@obscured.co.za'); These values are strange, since normally those addresses are intended to receive replies! However, they are unlikely to be a mail loop source since they will match your RTAddressRegexp. Thomas
Re: [rt-users] REMOTE_USER, external auth, and email mismatching
On 04/26/2013 02:35 PM, Philip Brown wrote: hi there, We are looking at using kerb auth and mod_auth_kerb as our external auth mechanism for RT. Trouble is.. our kerb domain is not the same as people's email address domain. We have mumble-thousand users. Hand-populating things is not an option. So, I was hoping there was potentially a way to do any of the following: a) automatically drop the @xyz from REMOTE_USER entirely b) autoconvert the @xyz to @real.domain c) (least preferable) have the autocreate routines, atomatically fill in @real.domain as the email address You can accomplish (b) with these options: http://bestpractical.com/rt/docs/latest/RT_Config.html#CanonicalizeEmailAddressMatch-CanonicalizeEmailAddressReplace You can also do more sophisticated munging by writing your own RT::User::CanonicalizeUserInfo: http://bestpractical.com/rt/docs/latest/RT/User.html#CanonicalizeUserInfo-HASH-of-ARGS Or you can take the easy way of (a) by setting the mod_auth_kerb config option that Jok pointed out earlier.
Re: [rt-users] REMOTE_USER, external auth, and email mismatching
(arg, outlook.com...) From: rt-users-boun...@lists.bestpractical.com [rt-users-boun...@lists.bestpractical.com] on behalf of Thomas Sibley [t...@bestpractical.com] Sent: Friday, April 26, 2013 04:38 PM To: rt-users@lists.bestpractical.com Subject: Re: [rt-users] REMOTE_USER, external auth, and email mismatching On 04/26/2013 02:35 PM, Philip Brown wrote: So, I was hoping there was potentially a way to do any of the following: a) automatically drop the @xyz from REMOTE_USER entirely b) autoconvert the @xyz to @real.domain You can accomplish (b) with these options: http://bestpractical.com/rt/docs/latest/RT_Config.html#CanonicalizeEmailAddressMatch-CanonicalizeEmailAddressReplace Thanks for the tip. I followed the link, but it didnt explicitly give an answer to the following question. For posterity and the list archive's sake: does it also work for extern auth? In other words, when it auto-creates an account, will it rewrite the *account name*? Or will it just get triggered on actual email that comes in?
Re: [rt-users] REMOTE_USER, external auth, and email mismatching
On 04/26/2013 05:09 PM, Philip Brown wrote: a) automatically drop the @xyz from REMOTE_USER entirely b) autoconvert the @xyz to @real.domain You can accomplish (b) with these options: http://bestpractical.com/rt/docs/latest/RT_Config.html#CanonicalizeEmailAddressMatch-CanonicalizeEmailAddressReplace Thanks for the tip. I followed the link, but it didnt explicitly give an answer to the following question. For posterity and the list archive's sake: does it also work for extern auth? In other words, when it auto-creates an account, will it rewrite the *account name*? Or will it just get triggered on actual email that comes in? It is used during account creation, as well as many other places that handle email addresses. It doesn't affect the account Name, just the account's Email Address. If you want to change the name, use one of the two other options I offered.
Re: [rt-users] Help - Deep Recursion on subroutine...
I've fixed and checked all the potential problems listed, and the support email address may have been the problem. However, I've turned off postfix, and I'm still getting the errors below. I realise I can probably clear a cache to stop this, but with postfix turned off, nothing is injecting new mails into the system, I'm concerned that this problem isn't going away. I've also (temporarily) turned off loop mail forwarding to owner... Errors: [Sat Apr 27 05:21:10 2013] [critical]: RT Received mail ( 20130425182344.6aefa20...@ingress01.customermanager.co.za ) from itself. (/opt/rt4/sbin/../lib/RT/Interface/Email.pm:1846) [Sat Apr 27 05:21:10 2013] [error]: Could not record email: Message Bounced (/opt/rt4/share/html/REST/1.0/NoAuth/mail-gateway:75) [Sat Apr 27 05:24:27 2013] [warning]: Deep recursion on subroutine RT::I18N::SetMIMEEntityToEncoding at /opt/rt4/sbin/../lib/RT/I18N.pm line 210. (/opt/rt4/sbin/../lib/RT/I18N.pm:210) [Sat Apr 27 05:24:28 2013] [warning]: Deep recursion on subroutine RT::I18N::SetMIMEEntityToEncoding at /opt/rt4/sbin/../lib/RT/I18N.pm line 210. (/opt/rt4/sbin/../lib/RT/I18N.pm:210) [Sat Apr 27 05:24:42 2013] [critical]: RT Received mail ( 20130426052216.69e6721...@ingress01.customermanager.co.za ) from itself. (/opt/rt4/sbin/../lib/RT/Interface/Email.pm:1846) [Sat Apr 27 05:24:42 2013] [error]: Could not record email: Message Bounced (/opt/rt4/share/html/REST/1.0/NoAuth/mail-gateway:75) [Sat Apr 27 05:24:43 2013] [warning]: Deep recursion on subroutine RT::I18N::SetMIMEEntityToEncoding at /opt/rt4/sbin/../lib/RT/I18N.pm line 210. (/opt/rt4/sbin/../lib/RT/I18N.pm:210) [Sat Apr 27 05:24:43 2013] [warning]: Deep recursion on subroutine RT::I18N::SetMIMEEntityToEncoding at /opt/rt4/sbin/../lib/RT/I18N.pm line 210. (/opt/rt4/sbin/../lib/RT/I18N.pm:210) [Sat Apr 27 05:24:56 2013] [critical]: RT Received mail ( 20130425150731.6ef682d...@ingress01.customermanager.co.za ) from itself. (/opt/rt4/sbin/../lib/RT/Interface/Email.pm:1846) [Sat Apr 27 05:24:57 2013] [error]: Could not record email: Message Bounced (/opt/rt4/share/html/REST/1.0/NoAuth/mail-gateway:75) [Sat Apr 27 05:25:44 2013] [warning]: Deep recursion on subroutine RT::I18N::SetMIMEEntityToEncoding at /opt/rt4/sbin/../lib/RT/I18N.pm line 210. (/opt/rt4/sbin/../lib/RT/I18N.pm:210) [Sat Apr 27 05:25:44 2013] [warning]: Deep recursion on subroutine RT::I18N::SetMIMEEntityToEncoding at /opt/rt4/sbin/../lib/RT/I18N.pm line 210. (/opt/rt4/sbin/../lib/RT/I18N.pm:210) [Sat Apr 27 05:25:57 2013] [critical]: RT Received mail ( 20130426105238.62c7721...@ingress01.customermanager.co.za ) from itself. (/opt/rt4/sbin/../lib/RT/Interface/Email.pm:1846) [Sat Apr 27 05:25:58 2013] [error]: Could not record email: Message Bounced (/opt/rt4/share/html/REST/1.0/NoAuth/mail-gateway:75) [Sat Apr 27 05:26:19 2013] [warning]: Deep recursion on subroutine RT::I18N::SetMIMEEntityToEncoding at /opt/rt4/sbin/../lib/RT/I18N.pm line 210. (/opt/rt4/sbin/../lib/RT/I18N.pm:210) [Sat Apr 27 05:26:19 2013] [warning]: Deep recursion on subroutine RT::I18N::SetMIMEEntityToEncoding at /opt/rt4/sbin/../lib/RT/I18N.pm line 210. (/opt/rt4/sbin/../lib/RT/I18N.pm:210) [Sat Apr 27 05:26:28 2013] [warning]: Deep recursion on subroutine RT::I18N::SetMIMEEntityToEncoding at /opt/rt4/sbin/../lib/RT/I18N.pm line 210. (/opt/rt4/sbin/../lib/RT/I18N.pm:210) [Sat Apr 27 05:26:29 2013] [warning]: Deep recursion on subroutine RT::I18N::SetMIMEEntityToEncoding at /opt/rt4/sbin/../lib/RT/I18N.pm line 210. (/opt/rt4/sbin/../lib/RT/I18N.pm:210) [Sat Apr 27 05:26:32 2013] [critical]: RT Received mail ( 20130426051826.676422f...@ingress01.customermanager.co.za ) from itself. (/opt/rt4/sbin/../lib/RT/Interface/Email.pm:1846) [Sat Apr 27 05:26:32 2013] [error]: Could not record email: Message Bounced (/opt/rt4/share/html/REST/1.0/NoAuth/mail-gateway:75) [Sat Apr 27 05:26:43 2013] [critical]: RT Received mail ( 20130426045919.6d40e21...@ingress01.customermanager.co.za ) from itself. (/opt/rt4/sbin/../lib/RT/Interface/Email.pm:1846) [Sat Apr 27 05:26:43 2013] [error]: Could not record email: Message Bounced (/opt/rt4/share/html/REST/1.0/NoAuth/mail-gateway:75) Thanks for the help so far, Jason On Sat, Apr 27, 2013 at 1:35 AM, Thomas Sibley t...@bestpractical.comwrote: There are a number of possibilities given the config snippet below. Jason wrote: Set($SendmailArguments , -oi -t -f support\@obscured.com); Does supp...@obscured.com go into RT? -f sets the envelope-sender address which is where bounces go. If it goes into RT, that's potentially a mail loop. Set($MaxAttachmentSize , 1000); #Set($RTAddressRegexp , '(^rt\@obscured.com$)(.*\@obscured.co.za)'); Set($RTAddressRegexp , '.*\@obscured.co.za'); The commented out $RTAddressRegexp (which I suppose is commented out because it didn't work; the regex syntax is incorrect) contains r...@obscured.com, but the uncommented version of the option doesn't match that. Does r...@obscured.com still