Skip to Content.
Sympa Menu

en - Re: [sympa-users] Custom tag for non subscriber's mail

Subject: The mailing list for listmasters using Sympa

List archive

Chronological Thread  
  • From: Koczka Tamás <address@concealed>
  • To: address@concealed, David Verdin <address@concealed>
  • Subject: Re: [sympa-users] Custom tag for non subscriber's mail
  • Date: Sun, 15 Nov 2009 20:25:53 +0100

Hello!

I just wanted to know if there is any progress in this case.

Thanks,
Tamás

2009/10/23 Koczka Tamás <address@concealed>:
> Hmmm.
>
> We are tried this merge feature, but we think the solution for us
> would be a computation-driven custom_subject field.
>
> Our main problem with the merge feature is that the template is
> created by the user, not the sympa. If are thinking in a merge feature
> solution then sympa should modify all incoming email's subject with a
> template. But we didn't find any tt2 files what could do this.
>
> In the other hand we made a bit modification in the List.pm file. This
> is the diff between revision 6265 and our test version:
> "2604,2607d2603
> <                                  },
> <                        'email' => {'moderated' =>
> defined($message->{'msg'}->head->get('X-Validation-by'))
> <                                   },
> <                        'user' => {'subscriber' =>
> $self->is_user($message->{'sender'})"
>
> This adds two new variables: "email.moderated", what decides the email
> was moderated by someone and "user.subscriber" what decides the sender
> of the email is a subscriber of the list.
>
> The better for us is the second, "user.subscriber" variable, and we
> can simply use with a custom_subject "[%list.name%][% IF
> user.subscriber != 1 %] - reply in private[%END%]".
>
> Should we send this modification as a patch for sympa?
>
> Thanks for the help,
> Tamás Koczka
>
> 2009/10/20 David Verdin <address@concealed>:
>> Hi,
>>
>> No, there is not such a feature. Sympa 6.1 (still in alpha - near beta
>> version) implements data merging, allowing you to customize messages with
>> TT2 tags. For now it is with fixed data only, but it could later be
>> computations-driven.
>>
>> regards,
>>
>> David Verdin
>>
>> Koczka Tamás a écrit :
>>>
>>> Hi!
>>>
>>> Is there a function in Sympa that writes a tag (for example [non
>>> subscriber]) into the subject if the sender of the email is not
>>> subscribed to the list?
>>>
>>> It would be good because the list members would know that, they should
>>> send the reply mails to the sender, not to the list.
>>> (Or maybe change the reply-to header to the email address of the
>>> sender instead of the email address of the list)
>>>
>>> Thx,
>>> Tamás Koczka
>>>
>>> Budapest University of Technology and Economics
>>> Schonherz Dormitory
>>>
>>>
>>
>> --
>> David Verdin
>> Comité réseau des universités
>>
>>
>




Archive powered by MHonArc 2.6.19+.

Top of Page