@use(App\Models\Address)
@if($o->aka_unknown()->count())

This host's mail is sent to:

@foreach($o->aka_unknown() as $ao) @endforeach
AKA Uplink
{{ $ao->ftn }} @if ($xx=$ao->uplink()) {{ $xx->ftn4d }} @else None @endif
@endif
@if($o->sessions->count())

This host collects mail for the following systems:

@foreach ($o->sessions->sortBy('zone_id') as $zo) @if($zo->pivot->default) @else @foreach ($o->match($zo,Address::NODE_ALL) as $oo) @endforeach @endif @endforeach
AKA Incl Systems(s)
{!! $o->akas->filter(fn($item)=>$item->zone->domain_id === $zo->domain_id)->pluck('ftn')->join('
') !!}
All (not otherwise routed)
{{ $oo->ftn }} {!! (($x=$oo->downlinks()) && $x->count()) ? $x->pluck('ftn')->join('
') : 'None' !!}
@endif
@if($o->aka_uncommon()->count())

This host's mail not known here:

@foreach($o->aka_uncommon() as $ao) @endforeach
AKA
{{ $ao->ftn }}
@endif