en@sympa.community
Subject: The mailing list for listmasters using Sympa
List archive
- From: Greg Foster <address@concealed>
- To: "address@concealed" <address@concealed>
- Subject: Re: [sympa-users] Custom condition issue
- Date: Mon, 24 Feb 2020 15:19:45 +0000
As I mentioned, I trimmed just about everything out of the code to see if
mail delivery would succeed to the list, so I'm not even passing parameters
at this time (I don't expect to see an auto-reply, but I do expect to get the
message submitted to the list, but that isn't happening either). Prior to
this change, I was passing:
[list->address],"2020-2-15","2020-2-28",[sender],[msg_header->Subject]
The current send scenario:
# send.vacation-public
title.gettext Vacation public list
CustomCondition::vacation() smtp,smime,md5,dkim -> do_it
true() smtp,dkim,md5,smime -> do_it
The vacation.pm code:
#!/usr/bin/perl
package CustomCondition::vacation;
use Exporter;
our @EXPORT_OK = qw(verify);
sub verify {
return 1;
}
# Packages must return true
1;
Thanks for the help!
---
Greg Foster
IT Services, Enterprise Systems Group
G20A Stright Hall
Indiana University of Pennsylvania
Indiana, PA 15701
724-357-2986
"There are 10 kinds of people: those who understand binary and those who
don't"
________________________________________
From: IKEDA Soji <address@concealed>
Sent: Friday, February 21, 2020 10:55 PM
To: Greg Foster
Cc: address@concealed
Subject: Re: [sympa-users] Custom condition issue
Hi Greg,
Could you please show us the code of custom condition you created?
Regards,
— Soji
> 2020/02/22 0:53、Greg Foster <address@concealed>のメール:
>
> Hi All,
>
> I recently upgraded from 6.2.48 to 6.2.52. Under the previous version, I
> had created a custom condition which generated an auto-reply to message to
> to lists configured with the auto-reply send scenario.
>
> After upgrading, I can't get the auto-reply to work. When sending email to
> the test list that I have configured with the custom condition, I get the
> following:
>
> You are not allowed to send this message for the following reason:
>
> you are not allowed to perform this action.
> For further information, please contact
> address@concealed [domain name changed]
>
> Removing the custom condition for the send scenario results in email being
> delivered to the list as expected.
>
> To verify that it wasn't something perl related in my custom scenario, I
> did perform a syntax check on the perl code - everything, at least syntax
> wise, is OK.
>
> I also trimmed any unnecessary code in my custom condition perl module and
> cut the "verify" subroutine down to just the "return 1" statement, which
> should eliminate any perl code issues. This resulted in the same error
> message provided above.
>
> Checking the logs, I see a non-delivery failure with a reason of
> "not-compiled" and a status of 5.7.1. I'm unable to determine exactly what
> the "not-compiled" error means.
>
> Anyone have any experience with this?
>
> Thanks!
>
>
> ---
> Greg Foster
> IT Services, Enterprise Systems Group
> G20A Stright Hall
> Indiana University of Pennsylvania
> Indiana, PA 15701
> 724-357-2986
>
> "There are 10 kinds of people: those who understand binary and those who
> don't"
-
[sympa-users] Custom condition issue,
Greg Foster, 02/21/2020
-
Re: [sympa-users] Custom condition issue,
IKEDA Soji, 02/22/2020
-
Re: [sympa-users] Custom condition issue,
Greg Foster, 02/24/2020
- Re: [sympa-users] Custom condition issue - RESOLVED, Greg Foster, 02/24/2020
-
Re: [sympa-users] Custom condition issue,
Greg Foster, 02/24/2020
-
Re: [sympa-users] Custom condition issue,
IKEDA Soji, 02/22/2020
Archive powered by MHonArc 2.6.19+.