Skip to content
Snippets Groups Projects
Commit 929ac11f authored by Patrick Cernko's avatar Patrick Cernko
Browse files

dropped obsolete files

parent 4470146c
No related branches found
No related tags found
No related merge requests found
subject [% subject %]
status [% status %]
[% IF topics -%]
topics [% topics %]
[% END %]
visibility [% visibility %]
send [% send %]
reject_mail_from_automates_feature off
[% IF archive %]
web_archive
access [% archive %]
archive
period month
access owner
[% END %]
clean_delay_queuemod 365
subscribe [% subscribe %]
unsubscribe open
review owner
invite owner
[% IF reply_to_address %]
reply_to_header
other_email [% reply_to_address %]
value [% reply_to %]
apply [% strip_reply_to %]
[% ELSE %]
reply_to_header
value [% reply_to %]
apply [% strip_reply_to %]
[% END %]
default_user_options
reception mail
visibility conceal
custom_subject [%custom_subject%]
digest 5 20:56
[% FOREACH o = owner -%]
owner
email [% o.email %]
profile privileged
[% IF o.gecos -%]
gecos [% o.gecos %]
[% END -%]
[% END -%]
[% IF editor -%]
[% FOREACH e = editor -%]
editor
email [% e.email %]
[% END -%]
[% END %]
shared_doc
d_edit default
d_read private
creation
date [% creation.date %]
date_epoch [% creation.date_epoch %]
[% IF creation_email -%]
email [% creation_email %]
[% END %]
serial 0
merge_feature off
#!/usr/bin/env python2
#! -*- coding: utf-8 -*-
import codecs
import os.path
import smtplib
import string
import textwrap
from email.mime.text import MIMEText
TEMPLATEDIR="./"
MAILSERVER="localhost"
MAILPORT="25"
def sendMailFromTemplate(template, to, subject, params, sender = 'idefix@fechner.net'):
if not os.path.isfile(TEMPLATEDIR + template):
raise Exception('Template %s not found'%template)
with codecs.open(TEMPLATEDIR + template, 'r', encoding='utf8') as f:
t = string.Template(f.read())
t = u'\n'.join(map(textwrap.fill, t.substitute(params).split(u'\n')))
msg = MIMEText(t, "plain", "utf-8")
msg['Subject'] = subject
msg['From'] = sender
msg['To'] = to
smtp = smtplib.SMTP(MAILSERVER, MAILPORT)
smtp.sendmail(sender, [to], msg.as_string().encode('utf-8'))
smtp.quit()
import argparse
parser = argparse.ArgumentParser(description='notify owners about list movement')
parser.add_argument('input')
args = parser.parse_args()
v = {}
execfile(args.input, v)
for owner in v['owner']:
sendMailFromTemplate('owner.template', owner, "Umzug der Mailingliste " + v['real_name'], v)
Hallo Listenadministrator,
die von dir administrierte Liste $new_listname@$robot wurde auf unser neues Listensystem migriert. Die Einstellungen der Mailingliste sowie das Archiv wurden beim Umzug übernommen. Da das neue System jedoch leicht unterschiedliche Optionen anbietet solltest du einmal die Einstellungen der Liste überprüfen. Du findest die Listeninformationen unter [0], das Archiv unter [1].
Im Gegensatz zum alten System gibt es nicht mehr ein Passwort pro Liste, sondern ein Passwort pro Benutzer. Solltest du einen Fachschaftenaccount zum adminstrieren verwenden so kannst du dich damit einloggen. Falls du eine andere Mailadresse verwendest kannst du dir unter [2] ein erstes Passwort zuschicken lassen.
Nach dem Login siehst du auf der linken Seite alle Listen auf denen du Mitglied bist und die du Admistrieren darfst. Ein Klick auf den Knopf "Administrator" bringt dich in die Adminstrationseinstellungen in denen du die Liste anpassen kannst.
Solltest du Fragen haben oder das Gefühl das etwas nicht funktioniert so schreibe uns einfach eine Mail.
Viele Grüße,
die Roots
[0] $url/info/$new_listname
[1] $url/arc/$new_listname
[2] $url/firstpasswd/
PS: Solltest du mehrere Listen administrieren wirst du diese Mail für jede Liste einmal erhalten. Bitte entschuldige dies, es kommt nur einmal vor.
#!/usr/bin/env zsh
# wrapper around sendmail to send commands to sympa
[ -f /usr/local/etc/sympa/$1/robot.conf ] || { echo "Robot does not exist" ; exit 1 }
TO="sympa@$1"
# sender must be a listmaster
FROM=${2:-idefix@fechner.net}
exec sendmail -f $FROM $TO
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment