[Mimedefang] Get recipients
rlaager at wiktel.com
Wed Apr 12 13:54:59 EDT 2017
On 04/12/2017 04:12 AM, Stagiair 2. Cisa wrote:
> Could this be the result of using an EFA-server? (https://efa-project.org/about/)
> It uses postfix instead of sendmail.
I use postfix.
The first argument to filter_recipient() is the recipient. The same
value is also put into the first element of @Recipients.
Add these three lines, exactly, to filter_recipient():
my $a = $_;
my $b = $Recipients;
md_syslog('info', "a = $a ; b = $b");
See what that outputs. My output looks like this:
a = <rlaager at wiktel.com> ; b = <rlaager at wiktel.com>
If you get something like that, then whatever code you wrote to look at
@Recipients is wrong. Start with the working code and you should be able
to figure it out.
If that exact code outputs:
a = ; b =
then the recipient value really is the empty string, and I have no idea why.
More information about the MIMEDefang