| | 137 | |
|---|
| | 138 | = MTA Configuration = |
|---|
| | 139 | |
|---|
| | 140 | In order to efficiently support the notification services of trac we need to configure messaging support for this host. The [http://trac.edgewall.org/wiki/TracNotification] docs are good and healthy to re-read to understand the flexibility of the SMTP configuration. |
|---|
| | 141 | |
|---|
| | 142 | Because a base debian install comes with Exim4 MTA, the `dpkg-reconfigure exim4-config` command was used to just set up existing Exim4 rather than move to Sendmail. The [http://pkg-exim4.alioth.debian.org/README/README.Debian.etch.html#id224139 debian exim4 instructions] were sufficient to set this up. Chose to split configuration mainly to make it easer to learn about (and potentially modify) the config of exim4. The `Internet site` config option was chosen. Concern over opening up projects.uabgrid to accepting mail for anything or opening unintended services for exploit proved unfounded because the option allows choosing which interfaces to listen on with the default being just localhost, which is sufficient and secure. Also, if no hosts are specified in the domain config then local mail delivery is off. Left that setting blank. DNS is full service and the local mail format was standard mbox. This configuration can be reviewed in `/etc/exim4/update-exim4.conf.conf` which looks like this: |
|---|
| | 143 | {{{ |
|---|
| | 144 | dc_eximconfig_configtype='internet' |
|---|
| | 145 | dc_other_hostnames='' |
|---|
| | 146 | dc_local_interfaces='127.0.0.1' |
|---|
| | 147 | dc_readhost='' |
|---|
| | 148 | dc_relay_domains='' |
|---|
| | 149 | dc_minimaldns='false' |
|---|
| | 150 | dc_relay_nets='' |
|---|
| | 151 | dc_smarthost='' |
|---|
| | 152 | CFILEMODE='644' |
|---|
| | 153 | dc_use_split_config='true' |
|---|
| | 154 | dc_hide_mailname='' |
|---|
| | 155 | dc_mailname_in_oh='true' |
|---|
| | 156 | dc_localdelivery='mail_spool' |
|---|
| | 157 | }}} |
|---|
| | 158 | |
|---|
| | 159 | The [http://wiki.debian.org/PkgExim4 Debian exim4 wiki] may also be helpful. |
|---|
| | 160 | |
|---|
| | 161 | The email CC notification was tested and it comes through. [http://trac.edgewall.org/wiki/TracLogging Trac logging] was used to verify MTA processing on projects.uabgrid. |
|---|