Die Funktion die OTRS da aufruft ist die folgende ...
# get customer user data form From: (sender address)
if ( !$GetParam{'X-OTRS-CustomerUser'} ) {
my %CustomerData;
if ( $GetParam{From} ) {
my @EmailAddresses =
$Self->{ParserObject}->SplitAddressLine(
Line => $GetParam{From},
);
for my $Address (@EmailAddresses) {
$GetParam{EmailFrom} =
$Self->{ParserObject}->GetEmailAddress(
Email => $Address,
);
}
my %List = $Self->{CustomerUserObject}->CustomerSearch(
PostMasterSearch => lc( $GetParam{EmailFrom} ),
);
for my $UserLogin ( sort keys %List ) {
%CustomerData =
$Self->{CustomerUserObject}->CustomerUserDataGet(
User => $UserLogin,
);
}
}
Da OTRS aus deiner Customer-Tabelle oder Customer-Backend keine
Kundendaten finden kann wird einfach die Mail-Addresse ein Ticket
eröffnet.
Die Mail-Addresse wird dann in der Tabelle "ticket" als customer_id und
customer_user_id gesetzt.
-- Mit freundlichen Grüßen / Kind regards Richard Steinbrück Torica Inh. Torsten Schnurre Lagerstraße 1 | 99086 Erfurt Deutschland Büro: +49 (0) 361 | 341 941 86 Fax: +49 (0) 361 | 558 961 030 Mobil: +49 (0) 172 | 217 55 47 Web: www.torica.de ------ Originalnachricht ------ Von: "Josef Stautner" <[email protected]> An: [email protected] Gesendet: 31.03.2014 16:56:31Betreff: [otrs-de] Use of uninitialized value $GetParam{"EmailFrom"} in lc
Hallo Community,in letzter Zeit haben wir häufiger folgende Meldungen vom Cron erhalten:Leider kann ich die Fehlermeldung nicht ganz nachvollziehen, da trotz des Fehler ein Ticket erstellt wurde.Use of uninitialized value $GetParam{"EmailFrom"} in lc at /opt/otrs-3.2.9/Kernel/System/PostMaster/NewTicket.pm line 124.ERROR: OTRS-otrs.PostMasterMailbox.pl-1 Perl: 5.14.2 OS: linux Time: Mon Mar 31 16:43:022014 Message: Need Search, UserLogin, PostMasterSearch or CustomerID! Traceback (27844):Module: Kernel::System::CustomerUser::DB::CustomerSearch (OTRS 3.2.9) Line: 202 Module: Kernel::System::CustomerUser::CustomerSearch (OTRS 3.2.9) Line: 195 Module: Kernel::System::PostMaster::NewTicket::Run (OTRS 3.2.9) Line: 124Module: Kernel::System::PostMaster::Run (OTRS 3.2.9) Line: 393Module: Kernel::System::MailAccount::POP3::Fetch (OTRS 3.2.9) Line: 196 Module: Kernel::System::MailAccount::MailAccountFetch (OTRS 3.2.9) Line: 419Module: main::Fetch (unknown version) Line: 177Module: /opt/otrs//bin/otrs.PostMasterMailbox.pl (unknown version) Line: 90Irgendwelche Hinweise? Vielen Dank im Vorraus, Josef Stautner-- R-KOM GmbH & Co. KG Greflingerstr. 26, 93055 Regensburg Telefon +49 (9 41) 69 85 - 1 83 Telefax +49 (9 41) 69 85 - 2 83 mailto:[email protected]://www.r-kom.de
<<inline: Druck_Logo_Torica_Email_rgb_72dpi-01.png>>
--------------------------------------------------------------------- OTRS mailing list: otrs-de - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs-de To unsubscribe: http://lists.otrs.org/mailman/listinfo/otrs-de
