Re: Get recipients

Richard Laager <[email protected]>
Newsgroups gmane.mail.mimedefang
Message-ID <[email protected]>
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():

sub filter_recipient()
{
    my $a = $_[0];
    my $b = $Recipients[0];
    md_syslog('info', "a = $a ; b = $b");
}

See what that outputs. My output looks like this:
a = <[email protected]> ; b = <[email protected]>

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.

-- 
Richard
_______________________________________________
NOTE: If there is a disclaimer or other legal boilerplate in the above
message, it is NULL AND VOID.  You may ignore it.

Visit http://www.mimedefang.org and http://www.roaringpenguin.com
MIMEDefang mailing list [email protected]
http://lists.roaringpenguin.com/mailman/listinfo/mimedefang
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.