I am trying to send the quarantine notifications via cli by the command:
pmgqm send -receiver {address} -timespan week -redirect {address}
But the email is not sent, when I run the command again but without the redirection option the email goes normally.
I noticed that through the api (POST /api2/json/quarantine/sendlink) there is no option to send with redirection.
I identified these two error messages in the syslog:
> smtp error - got: 555 5.5.4 Unsupported option: SMTPUTF8
> smtp from: ERROR at /usr/share/perl5/PMG/Utils.pm line 249.
Analyzing the code I commented lines 230 - 235:
foreach my $target (@$targets) {
if (utf8::is_utf8($target)) {
$has_utf8_targets = 1;
last;
}
}
Making $has_utf8_targets always equal to false and thus never forcing the SMTPUTF8 option on the sender when it is not utf8.
After this change, the routine started working again, but I wouldn't want to depend on this change in the code, since I don't know the side effects and I'm also susceptible to reversals in PMG updates.
Does anyone have any other solutions?
pmgqm send -receiver {address} -timespan week -redirect {address}
But the email is not sent, when I run the command again but without the redirection option the email goes normally.
I noticed that through the api (POST /api2/json/quarantine/sendlink) there is no option to send with redirection.
I identified these two error messages in the syslog:
> smtp error - got: 555 5.5.4 Unsupported option: SMTPUTF8
> smtp from: ERROR at /usr/share/perl5/PMG/Utils.pm line 249.
Analyzing the code I commented lines 230 - 235:
foreach my $target (@$targets) {
if (utf8::is_utf8($target)) {
$has_utf8_targets = 1;
last;
}
}
Making $has_utf8_targets always equal to false and thus never forcing the SMTPUTF8 option on the sender when it is not utf8.
After this change, the routine started working again, but I wouldn't want to depend on this change in the code, since I don't know the side effects and I'm also susceptible to reversals in PMG updates.
Does anyone have any other solutions?