[rt-users] Lost emails!

Sternberger, Sven sven.sternberger at desy.de
Mon Dec 5 03:40:25 EST 2016


Hello!

it would be very helpful if somebody could look at my overlay if it is
syntactical correct overlay file.

I found maybe my problem. I've just copied the original file 
to SendEmail_Local.pm and make my changes. But when I looked at the end of 
the copied file I found  "RT::Base->_ImportOverlays();"
which is maybe not a good idea to have it in SendEmail_Local.pm file?

Now I have only the header and the method I've changed in SendEmail_Local.pm.

best regards!

Sven

----- Ursprüngliche Mail -----
> Von: "Sternberger, Sven" <sven.sternberger at desy.de>
> An: "rt-users" <rt-users at lists.bestpractical.com>
> Gesendet: Donnerstag, 1. Dezember 2016 14:42:11
> Betreff: Re: [rt-users] Lost emails!

> Hello!
> 
> I now changed some things. I switched to perl 5.24 (perlbrew) and I updated to
> 4.2.13
> but the problem is still the same
> 
> Dec  1 12:27:40 rt-xxxx RT: [5776] Ticket 699881 created in queue 'it-xxxx' by
> it-xxxx at desy.de
> Dec  1 12:27:40 rt-xxxx RT: [5776] Redundant argument in sprintf at
> /opt/rt4/sbin/../lib/RT/Action/Notify.pm line 130.
> Dec  1 12:27:40 rt-xxxx RT: [5776] Use of uninitialized value in method with
> known name at /opt/rt4/sbin/../lib/RT/Action/SendEmail_Local.pm line 1043.
> Dec  1 12:27:40 rt-xxxx RT: [5776] Use of uninitialized value in method with
> known name at /opt/rt4/sbin/../lib/RT/Action/SendEmail_Local.pm line 1043.
> Dec  1 12:27:40 rt-xxxx RT: [5776] Scrip Prepare 238 died. - Can't locate object
> method "" via package "RT::Action::Notify" at
> /opt/rt4/sbin/../lib/RT/Action/SendEmail_Local.pm line 1043.#012#012Stack:#012
> [/opt/rt4/sbin/../lib/RT/Action/SendEmail_Local.pm:1043]#012
> [/opt/rt4/sbin/../lib/RT/Action/SendEmail_Local.pm:580]#012
> [/opt/rt4/sbin/../lib/RT/Action/SendEmail_Local.pm:152]#012
> [/opt/rt4/sbin/../lib/RT/Action/Notify.pm:69]#012
> [/opt/rt4/sbin/../lib/RT/ScripAction.pm:223]#012
> [/opt/rt4/sbin/../lib/RT/Scrip.pm:637]#012
> [/opt/rt4/sbin/../lib/RT/Scrips.pm:342]#012
> [/opt/rt4/sbin/../lib/RT/Scrips.pm:275]#012
> [/opt/rt4/sbin/../lib/RT/Ticket.pm:2607]#012
> [/opt/rt4/sbin/../lib/RT/Ticket.pm:2578]#012
> [/opt/rt4/sbin/../lib/RT/Ticket.pm:2648]
> 
> I don't have an idea how to track down the problem. My next try would be to
> replace SendEmail.pm with my SendEmail_Local.pm maybe the
> customization mechanism is broken?
> 
> Best regards,
> 
> Sven
> 
> PS the actual diff /opt/rt4/lib/RT/Action/SendEmail.pm
> /opt/rt4/lib/RT/Action/SendEmail_Local.pm
> 
> 832,838c832,839
> <     $self->RecipientFilter(
> <         Callback => sub {
> <             return unless RT::EmailParser->IsRTAddress( $_[0] );
> <             return "$_[0] appears to point to this RT instance. Skipping";
> <         },
> <         All => 1,
> <     );
> ---
>>     # removed for q2q
>>     #$self->RecipientFilter(
>>     #    Callback => sub {
>>     #        return unless RT::EmailParser->IsRTAddress( $_[0] );
>>     #        return "$_[0] appears to point to this RT instance. Skipping";
>>     #    },
>>     #    All => 1,
>>     #);
> ---------
> RT 4.4 and RTIR training sessions, and a new workshop day!
> https://bestpractical.com/training
> * Los Angeles - January 9-11 2017



More information about the rt-users mailing list