
Hello, I use otrs 2.0.cvs with debian/sarge and i want to use my self defined autoresponse notifications. But this autoresponse doesnt work. The new mails come in the system with the /usr/share/otrs/bin/PostMasterPOP3.pl and this work fine. I search for the reason of this and found found a piece of code in the module Kernel/System/Ticket/Article.pm in the function ArticleCreate <snip> if ($Param{AutoResponseType} && $Param{OrigHeader}) { # get auto default responses my %Data = $Self->{AutoResponse}->AutoResponseGetByTypeQueueID( QueueID => $Ticket{QueueID}, Type => $Param{AutoResponseType}, ); my %OrigHeader = %{$Param{OrigHeader}}; if ($Data{Text} && $Data{Realname} && $Data{Address} && !$OrigHeader{'X-OTRS-Loop'}) { # check / loop protection! if (!$Self->{LoopProtectionObject}->Check(To => $OrigHeader{From})) { # add history row $Self->HistoryAdd( TicketID => $Param{TicketID}, HistoryType => 'LoopProtection', Name => "\%\%$OrigHeader{From}", CreateUserID => $Param{UserID}, ); # do log $Self->{LogObject}->Log( Priority => 'notice', Message => "Sent no '$Param{AutoResponseType}' for Ticket [". "$Ticket{TicketNumber}] ($OrigHeader{From}) " ); } else { # write log if ($Param{UserID} ne $Self->{ConfigObject}->Get('PostmasterUserID') || $Self->{LoopProtectionObject}->SendEmail(To => $OrigHeader{From})) { # get history type </snip> A part of the last "if" include the condition "$Param{UserID} ne $Self->{ConfigObject}->Get('PostmasterUserID')" I think, this is wrong. I remove this part of condition and test then autoreply function. This work fine. Where are the error? Is the code wrong or i think it wrong? Why should the postmaster not generate a autoreply? Bye Thomas