[Mailmunge] MTA Macros
Dianne Skoll
dianne at skollsoft.com
Mon Aug 16 14:30:43 EDT 2021
Hi,
D'oh, I think I know what's going on. filter_recipient doesn't read
the COMMANDS file by default; that's what contains the macro values.
Try something like this:
sub filter_recipient
{
my ($self, $ctx) = @_;
my $macro_ctx = $self->read_commands_file();
# Only use $macro_ctx to access macros
my $tls_version = $macro_ctx->sendmail_macro('tls_version');
# ...
}
This is a bit of a hack and I should either fix it or document it better.
Regards,
Dianne.
More information about the Mailmunge
mailing list