Можно нормализовать даты с помощью чего-то как:
date -d "$date" --rfc-3339=seconds
Я собирался предложить следующее, но at
кажется, игнорирует переменные среды локали:
LC_TIME=C at -v ... # has no effect
If the sender is in your domain, it's outbound.
If the recipient is in your domain, it's inbound.
If neither are in your domain, it's relay, and drop it like a hot potato.