Enable duplicates to update seen-by's before being discarded

This commit is contained in:
Deon George
2021-11-24 22:34:40 +11:00
parent 02c23f047c
commit ebd1cf8732
6 changed files with 41 additions and 14 deletions

View File

@@ -112,7 +112,7 @@ final class Receive extends Item
Log::info(sprintf('%s: - Processing mail packet [%s]',self::LOGKEY,$this->file));
try {
$po = Packet::open(new File($this->file),$this->ao->zone);
$po = Packet::open(new File($this->file),$this->ao->system);
} catch (InvalidPacketException $e) {
Log::error(sprintf('%s: - Not deleting packet [%s], as it generated an exception',self::LOGKEY,$this->file));