Auto create FTN address for intransit netmail when the destination is not known.
This commit is contained in:
@@ -122,7 +122,8 @@ class MessageProcess implements ShouldQueue
|
||||
|
||||
// If in transit, store for collection
|
||||
} else {
|
||||
Log::info(sprintf('Netmail [%s] in transit to (%s) [%s] from (%s) [%s].',
|
||||
Log::info(sprintf('%s:Netmail [%s] in transit to (%s) [%s] from (%s) [%s].',
|
||||
self::LOGKEY,
|
||||
$this->msg->msgid,
|
||||
$this->msg->user_to,$this->msg->tftn,
|
||||
$this->msg->user_from,$this->msg->fftn,
|
||||
|
@@ -128,7 +128,8 @@ class NodelistImport implements ShouldQueue
|
||||
$node = 0;
|
||||
|
||||
switch ($fields[0]) {
|
||||
case 'Zone': $zone = $fields[1];
|
||||
case 'Zone':
|
||||
$zone = $fields[1];
|
||||
Zone::unguard();
|
||||
$zo = Zone::firstOrNew([
|
||||
'zone_id'=>$zone,
|
||||
@@ -364,7 +365,6 @@ class NodelistImport implements ShouldQueue
|
||||
|
||||
} catch (\Exception $e) {
|
||||
Log::error(sprintf('%s:Error with line [%s] (%s)',self::LOGKEY,$line,$e->getMessage()),['fields'=>$fields]);
|
||||
throw new \Exception($e->getMessage());
|
||||
}
|
||||
|
||||
if (! ($c % 100)) {
|
||||
|
Reference in New Issue
Block a user