Hello Guys,
please help me to set the header as per the required logs,
below is the configuration set
kumo.configure_local_logs {
log_dir = '/var/log/kumomta',
max_segment_duration = '01 seconds',
per_record = {
Reception = {
-- use names like "20230306-022811_recv" for reception logs
suffix = '_recv',
},
Delivery = {
-- put delivery logs in a different directory
log_dir = '/var/log/kumo/delivery',
suffix = '_dev'
},
TransientFailure = {
-- Don't log transient failures
enable = true,
},
Bounce = {
-- Instead of logging the json record, evaluate this
-- template string and log the result.
template = [[Bounce! id={{ id }}, from={{ sender }} code={{ code }} age={{ timestamp - created }}]],
},
-- For any record type not explicitly listed, apply these settings.
-- This effectively turns off all other log records
Any = {
enable = false,
},
},
Ok so first I’m going to say that if you don’t log transient failures you will someday have a headache trying to diagnose some issue, only to realize the server did not log the transient error.
Have you tested your credentials to MailGun from the commandline on the server? Authentication failed as an error implies your credentials are incorrect.