mirror of
https://github.com/itflow-org/itflow
synced 2026-02-28 02:44:53 +00:00
Changed regex to only exclude from postmaster or daemon.
This commit is contained in:
@@ -477,7 +477,7 @@ if ($messages->count() > 0) {
|
||||
}
|
||||
} elseif ($config_ticket_email_parse_unknown_senders) {
|
||||
// Parse even if the sender is unknown
|
||||
$bad_from_pattern = "/daemon|postmaster|reply|root|admin/i";
|
||||
$bad_from_pattern = "/daemon|postmaster/i";
|
||||
if (!(preg_match($bad_from_pattern, $from_email))) {
|
||||
if (addTicket(0, $from_name, $from_email, 0, $date, $subject, $message_body, $message->getAttachments(), $original_message_file)) {
|
||||
$email_processed = true;
|
||||
|
||||
Reference in New Issue
Block a user