Stephen Satchell via Postfix-users skrev den 2024-03-08 06:52:
grep relay= mail.log | grep -v relay=local
I can then use the message ID to get all the log information for
each questioned transaction.
Am I on the right road? Please disabuse me of any incorrect notions.
On 08.03.24 12:47, Benny Pedersen via Postfix-users wrote:
is it not grep -i relay ?
or just grep relay=local
they want to exclude locally delivered mail.
But still, there are too many possibilities:
Mar 8 11:51:58 fantomas postfix/local[26437]: 4TrjfP18t3z4w4T:
to=<uh...@fantomas.sk>, relay=local, delay=1.8, delays=1.6/0.01/0/0.1,
dsn=2.0.0, status=sent
Mar 8 12:02:21 fantomas postfix/smtp[26684]: 4TrjtN6SF2z4wB0:
to=<postfix-users@postfix.org>, relay=...
In case of domains in relay_domains, the command could be even
postfix/relay, so one needs to exclude that one as well.
--
Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
Depression is merely anger without enthusiasm.
_______________________________________________
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org