I want to block/ignore incoming E-Mails without Subject, but the Postmasterfilter doesn't accept it when I leave the Subjectfield empty.
Then I tried this in the Confg.pm with different statements in the Subjectfield "^$" "$".
Code: Select all
# Job Name: Subject-empty
# (block/ignore all spam email with no Subject)
$Self->{'PostMaster::PreFilterModule'}->{'noSubject'} = {
Module => 'Kernel::System::PostMaster::Filter::Match',
Match => {
Subject => '',
},
Set => {
'X-OTRS-Ignore' => 'yes',
},
};
Does anyone have a solution to that Problem?