[Mimedefang] Get recipients

Stagiair 2. Cisa stagiair2 at cisanet.be
Wed Apr 12 05:12:10 EDT 2017

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:rlaager at wiktel.com] 
Sent: dinsdag 11 april 2017 21:44
To: Stagiair 2. Cisa <stagiair2 at cisanet.be>
Cc: mimedefang at 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.


More information about the MIMEDefang mailing list