| 13 | |
| 14 | |
| 15 | == email2trac.conf == |
| 16 | |
| 17 | After installation, edit email2trac.conf for your site. Most important |
| 18 | parameter is ''project''. |
| 19 | |
| 20 | || NAME || VALUE || Explanation || |
| 21 | || [!DEFAULT] || || REQUIRED || |
| 22 | || project: || /data/trac/jouvin || REQUIRED || |
| 23 | || debug: || 1 || OPTIONAL, if set print some DEBUG info || |
| 24 | || spam_level: || 4 || OPTIONAL, if set check for SPAM mail || |
| 25 | || drop_spam: || 0 || OPTIONAL:, if set then reject mail marked as SPAM || |
| 26 | || reply_all: || 1 || OPTIONAL, if set then put all CC-addresses in ticket CC-field || |
| 27 | || umask: || 022 || OPTIONAL, Use this umask for saving attachments || |
| 28 | || mailto_link: || 1 || OPTIONAL, if set then {{{[mailto:CC]}}} in description || |
| 29 | || mailto_cc: || ticket@test.nl || OPTIONAL, Use ths address as CC in mailto line || |
| 30 | || ticket_update: || 1 || OPTIONAL, if set then check if this is an update for a ticket || |
| 31 | || email_header: || 1 || OPTIONAL, if set then show TO/CC fields in description|| |
| 32 | || trac_version: || 0.9 || OPTIONAL. if set then use this as version number, default 0.9 |
| 33 | || alternate_notify_template || a_ticket.css || OPTIONAL if set then use this style sheet for notify || |
| 34 | || enable_syslog || 1 || OPTIONAL, if set log errors to syslog, note they are ''not'' mailed back to the reporter || |
| 35 | |
| 36 | || || || |
| 37 | || || || |
| 38 | || [bas] || || OPTIONAL project declaration, also set project and use --project option || |
| 39 | || project:|| /data/trac/bas || || |
| 40 | || spam_level:|| 2 || Override DEFAULT spam_level, can also be done for other options || |
| 41 | |
| 42 | |
| 43 | If you have enabled 'ticket_update' in email2trac.conf then you have |
| 44 | to choose one of this options to make it work: |
| 45 | * Configure trac notification, eg: |
| 46 | {{{ |
| 47 | (ticket address: ticket@test.nl) |
| 48 | [notification] |
| 49 | smtp_enabled = true |
| 50 | smtp_always_cc = test@test.nl |
| 51 | smtp_server = localhost |
| 52 | smtp_from = ticket@test.nl |
| 53 | always_notify_reporter = true |
| 54 | }}} |
| 55 | * Use the mailto_cc in email2trac.conf if you want to send an email to the ticket email address. |
| 56 | |