author | Pascal Volk <user@localhost.localdomain.org> |
Fri, 20 Nov 2009 05:08:46 +0000 | |
changeset 5 | 610fe1138532 |
parent 3 | 7062c52d3999 |
permissions | -rw-r--r-- |
3
7062c52d3999
mailtb.cfg: Added to repository, for the sake of a simple module configuration.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
1 |
# configuration file for the mailtb module (mailtb.py) |
7062c52d3999
mailtb.cfg: Added to repository, for the sake of a simple module configuration.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
2 |
# |
7062c52d3999
mailtb.cfg: Added to repository, for the sake of a simple module configuration.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
3 |
# /!\ WARNING /!\ |
7062c52d3999
mailtb.cfg: Added to repository, for the sake of a simple module configuration.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
4 |
# either: |
7062c52d3999
mailtb.cfg: Added to repository, for the sake of a simple module configuration.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
5 |
# Place this file outside of your web server's document root! |
7062c52d3999
mailtb.cfg: Added to repository, for the sake of a simple module configuration.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
6 |
# or: |
7062c52d3999
mailtb.cfg: Added to repository, for the sake of a simple module configuration.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
7 |
# Make sure that your web server does not serve this file! |
7062c52d3999
mailtb.cfg: Added to repository, for the sake of a simple module configuration.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
8 |
|
7062c52d3999
mailtb.cfg: Added to repository, for the sake of a simple module configuration.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
9 |
[mailtb] |
7062c52d3999
mailtb.cfg: Added to repository, for the sake of a simple module configuration.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
10 |
; subject of the email |
7062c52d3999
mailtb.cfg: Added to repository, for the sake of a simple module configuration.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
11 |
subject = Exception Notification |
7062c52d3999
mailtb.cfg: Added to repository, for the sake of a simple module configuration.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
12 |
# |
7062c52d3999
mailtb.cfg: Added to repository, for the sake of a simple module configuration.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
13 |
# Sender information |
7062c52d3999
mailtb.cfg: Added to repository, for the sake of a simple module configuration.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
14 |
# |
7062c52d3999
mailtb.cfg: Added to repository, for the sake of a simple module configuration.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
15 |
; The FROM e-mail address |
7062c52d3999
mailtb.cfg: Added to repository, for the sake of a simple module configuration.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
16 |
from_addr = webmaster@example.com |
7062c52d3999
mailtb.cfg: Added to repository, for the sake of a simple module configuration.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
17 |
; Sender's full name |
7062c52d3999
mailtb.cfg: Added to repository, for the sake of a simple module configuration.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
18 |
from_name = Webmaster |
7062c52d3999
mailtb.cfg: Added to repository, for the sake of a simple module configuration.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
19 |
|
7062c52d3999
mailtb.cfg: Added to repository, for the sake of a simple module configuration.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
20 |
# |
7062c52d3999
mailtb.cfg: Added to repository, for the sake of a simple module configuration.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
21 |
# Recipient information |
7062c52d3999
mailtb.cfg: Added to repository, for the sake of a simple module configuration.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
22 |
# |
7062c52d3999
mailtb.cfg: Added to repository, for the sake of a simple module configuration.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
23 |
; E-Mail address of the recipient |
7062c52d3999
mailtb.cfg: Added to repository, for the sake of a simple module configuration.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
24 |
rcpt_addr = john.doe@example.net |
7062c52d3999
mailtb.cfg: Added to repository, for the sake of a simple module configuration.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
25 |
; Recipient's full name |
7062c52d3999
mailtb.cfg: Added to repository, for the sake of a simple module configuration.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
26 |
rcpt_name = John Doe |
7062c52d3999
mailtb.cfg: Added to repository, for the sake of a simple module configuration.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
27 |
|
7062c52d3999
mailtb.cfg: Added to repository, for the sake of a simple module configuration.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
28 |
# |
7062c52d3999
mailtb.cfg: Added to repository, for the sake of a simple module configuration.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
29 |
# SMTP server information |
7062c52d3999
mailtb.cfg: Added to repository, for the sake of a simple module configuration.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
30 |
# |
7062c52d3999
mailtb.cfg: Added to repository, for the sake of a simple module configuration.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
31 |
; Hostname of the mail server for sending e-mails |
7062c52d3999
mailtb.cfg: Added to repository, for the sake of a simple module configuration.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
32 |
smtp_host = localhost |
7062c52d3999
mailtb.cfg: Added to repository, for the sake of a simple module configuration.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
33 |
; Port to use for the SMTP connection: |
7062c52d3999
mailtb.cfg: Added to repository, for the sake of a simple module configuration.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
34 |
; * 25 smtp |
7062c52d3999
mailtb.cfg: Added to repository, for the sake of a simple module configuration.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
35 |
; * 587 submission |
7062c52d3999
mailtb.cfg: Added to repository, for the sake of a simple module configuration.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
36 |
; * 465 ssmtp (obsolete) |
7062c52d3999
mailtb.cfg: Added to repository, for the sake of a simple module configuration.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
37 |
smtp_port = 25 |
7062c52d3999
mailtb.cfg: Added to repository, for the sake of a simple module configuration.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
38 |
; Should we use the starttls command on port 25 or 587? |
7062c52d3999
mailtb.cfg: Added to repository, for the sake of a simple module configuration.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
39 |
; If the starttls command fails no message will be sent! |
7062c52d3999
mailtb.cfg: Added to repository, for the sake of a simple module configuration.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
40 |
; The error will be written to 'error_log' |
7062c52d3999
mailtb.cfg: Added to repository, for the sake of a simple module configuration.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
41 |
; * True or False |
7062c52d3999
mailtb.cfg: Added to repository, for the sake of a simple module configuration.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
42 |
smtp_tls = False |
7062c52d3999
mailtb.cfg: Added to repository, for the sake of a simple module configuration.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
43 |
|
7062c52d3999
mailtb.cfg: Added to repository, for the sake of a simple module configuration.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
44 |
# |
7062c52d3999
mailtb.cfg: Added to repository, for the sake of a simple module configuration.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
45 |
# SMTP AUTH settings |
7062c52d3999
mailtb.cfg: Added to repository, for the sake of a simple module configuration.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
46 |
# leave empty if you don't need it |
7062c52d3999
mailtb.cfg: Added to repository, for the sake of a simple module configuration.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
47 |
# |
7062c52d3999
mailtb.cfg: Added to repository, for the sake of a simple module configuration.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
48 |
; Your SMTP user name for authentication |
7062c52d3999
mailtb.cfg: Added to repository, for the sake of a simple module configuration.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
49 |
auth_user = |
7062c52d3999
mailtb.cfg: Added to repository, for the sake of a simple module configuration.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
50 |
; Your password for SMTP authentication |
7062c52d3999
mailtb.cfg: Added to repository, for the sake of a simple module configuration.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
51 |
auth_pass = |
7062c52d3999
mailtb.cfg: Added to repository, for the sake of a simple module configuration.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
52 |
|
7062c52d3999
mailtb.cfg: Added to repository, for the sake of a simple module configuration.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
53 |
# |
7062c52d3999
mailtb.cfg: Added to repository, for the sake of a simple module configuration.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
54 |
# Log file for SMTP errors |
7062c52d3999
mailtb.cfg: Added to repository, for the sake of a simple module configuration.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
55 |
# make sure that your web server can write to this file |
7062c52d3999
mailtb.cfg: Added to repository, for the sake of a simple module configuration.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
56 |
# |
7062c52d3999
mailtb.cfg: Added to repository, for the sake of a simple module configuration.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
57 |
; Absolute path to the error log file |
7062c52d3999
mailtb.cfg: Added to repository, for the sake of a simple module configuration.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
58 |
error_log = /tmp/mailtb_error.log |
7062c52d3999
mailtb.cfg: Added to repository, for the sake of a simple module configuration.
Pascal Volk <user@localhost.localdomain.org>
parents:
diff
changeset
|
59 |