Subject: The mailing list for listmasters using Sympa
List archive
Re: [sympa-users] reminder message to only non-data source members?
- From: Steve Shipway <address@concealed>
- To: Amos <address@concealed>, "address@concealed >> address@concealed" <address@concealed>
- Subject: Re: [sympa-users] reminder message to only non-data source members?
- Date: Tue, 30 Aug 2016 09:22:00 +1200
The only way I can think of doing it is to have a separate filtered list for the purpose. Given a list 'foo', you can define a new list 'foo.direct' that does a filtered include of list 'foo' (this requires Sympa 6.2!) selecting only the members who do not have 'subscribed' as their source. Then, carefully customise the monthly reminder template for the 'foo.direct' mailing list so that it actually refers to membership of the 'foo' list rather than to itself. This seems a bit of a hack really, but I cant think of any other way to achieve it; your suggestion below will of course result in blank messages being sent to non-subscribed members, or error messages in the logs if you wrap the condition around all the headers of the template as well. I think Sympa is geared up to send messages to all list members, rather than a subset - that's what filtered inheritance is for. Steve On 30/08/16 05:14, Amos (via
sympa-users Mailing List) wrote:
Is there an option to only send the monthly list
reminder message to those members that are NOT on a data
source? The closest thing I've come up with so far is to use
the TT2 macros sort of like so:
--cut--
[% USE String %]
[% addr = String.new(user.email) %]
[% UNLESS addr.search('ourdomain\.org') %]
reminder text here.
[% END %]
--cut--
Of course this assumes that all 'ourdomain.org' addresses
would be added via a data source, which in most cases would be
true, but not all.
Amos
--
Steve Shipway | Senior
Email Systems Administrator
|
begin:vcard fn:Steve Shipway n:Shipway;Steve org:SMX Ltd adr:;;Level 15, 19 Victoria Street West;Auckland;;1001;New Zealand email;internet:address@concealed title:Snr Email Systems Administrator tel;work: +64 9 302 0515 tel;fax:+64 9 302 0518 tel;cell:+64 21 753 189 url:http://smxemail.com/ version:2.1 end:vcard
Attachment:
signature.asc
Description: OpenPGP digital signature
-
[sympa-users] reminder message to only non-data source members?,
Amos, 08/29/2016
- Re: [sympa-users] reminder message to only non-data source members?, Steve Shipway, 08/29/2016
Archive powered by MHonArc 2.6.19+.