More debugging to know more about failed echomail parsing because of no zone.
This commit is contained in:
parent
6c97eb2d81
commit
06f814395c
@ -139,12 +139,13 @@ class MessageProcess implements ShouldQueue
|
|||||||
|
|
||||||
// Else we are echomail
|
// Else we are echomail
|
||||||
} else {
|
} else {
|
||||||
|
Log::debug(sprintf('%s:! Looking for echomail area [%s] for mail from [%s]',self::LOGKEY,$this->msg->echoarea,$this->msg->fboss));
|
||||||
$ea = Echoarea::where('name',strtoupper($this->msg->echoarea))
|
$ea = Echoarea::where('name',strtoupper($this->msg->echoarea))
|
||||||
->where('domain_id',$this->msg->fboss_o->zone->domain_id)
|
->where('domain_id',$this->msg->fboss_o->zone->domain_id)
|
||||||
->single();
|
->single();
|
||||||
|
|
||||||
if (! $ea) {
|
if (! $ea) {
|
||||||
Log::alert(sprintf('%s:! Echo area [%s] doesnt exist for zone [%d]',self::LOGKEY,$this->msg->echoarea,$this->msg->fboss_o->zone->zone_id));
|
Log::alert(sprintf('%s:! Echoarea [%s] doesnt exist for zone [%d]',self::LOGKEY,$this->msg->echoarea,$this->msg->fboss_o->zone->zone_id));
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user