bh@99: # Demo config file for sendnotificationmails.py. The default config bh@99: # file used by sendnotificationmails.py is notification.cfg, so to use bh@99: # this file as the basis for your configuration, copy or rename this bh@99: # file and adapt it to your needs. bh@99: bh@99: [notification] bh@99: bh@99: # Username and host on which the treepackager runs. bh@99: # sendnotificationmails.py has to be able to connect to that host as the bh@99: # builduser via ssh without knowning the password. This is best bh@99: # achieved with the ssh-agent. bh@99: build_user: builder bh@99: build_host: localhost bh@99: bh@99: # the program to run on build_host to list the pending notifications bh@99: # currently sendnotificationmails.py assumes that the default bh@99: # configuration for that program works. bh@99: build_listpending: ~/treepkg/bin/listpendingnotifications.py bh@99: bh@99: bh@99: # Template of the notification email. The expanded text is sent as the bh@99: # entire email. This means that the file should contain both the bh@99: # headers and the body of the email. The recipients of the mail are bh@99: # taken from the expanded template's To: and CC: headers. The smtp bh@99: # envelope sender is taken from the From: header. bh@99: # bh@99: # Substitutions have the form %(NAME)s where NAME can be one of these: bh@99: # bh@99: # track The name of the package track bh@99: # bh@99: # revision The revision number for which the notification has to be sent bh@99: # bh@99: # bh@99: notification_template: notification_template.txt bh@99: bh@99: # host/port of the smtp server to use bh@99: smtp_host: localhost bh@99: smtp_port: 25