Hey Richard I'm working directly into the mimedefang.pl now.
Same problem as before, the size of the array is right but it has empty values. Could this be the result of using an EFA-server? (https://efa-project.org/about/) It uses postfix instead of sendmail. Or do you have any other ideas why it's not filling up? Kind regards Jente Busschodts -----Original Message----- From: Richard Laager [mailto:rlaa...@wiktel.com] Sent: dinsdag 11 april 2017 21:44 To: Stagiair 2. Cisa <stagia...@cisanet.be> Cc: mimedefang@lists.roaringpenguin.com Subject: Re: [Mimedefang] Get recipients On 04/11/2017 10:09 AM, Stagiair 2. Cisa wrote: > I've checked on capitals and this was fine. It looked like a non-existing or > empty array. > > After some testing I've found out the array actually really exists and I can > access it. > The only problem is that the values (the different recipients addresses) are > empty in the array. > > When I send to 3 recipients, it actually sees that there are 3 recipients but > instead of giving me the addresses it returns an empty string. > So I think the array is like > @Recipients = ("", "", ""); > > Same for 2 recipients, it sees there are 2 but returns empty strings. > @Recipients = ("", ""); > > I tried using foreach to get the recipients out of the array. > I've also tried using #Recipients[i], but no success either. Please keep your replies on-list, not just to me individually. I don't know why you'd be seeing that. I use @Recipients extensively in my filter and it works fine. I'd probably try sticking some syslog calls in mimedefang.pl (the actual mimedefang code) where it sets @Recipients. Then trace from there. -- 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 MIMEDefang@lists.roaringpenguin.com http://lists.roaringpenguin.com/mailman/listinfo/mimedefang