~launchpad-pqm/launchpad/devel

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<!-- Copyright 2009 Canonical Ltd.  This software is licensed under the
     GNU Affero General Public License version 3 (see the file LICENSE).
-->

<!-- This file configures Launchpad to use direct delivery of mail to an SMTP
     server listening on port 9025.  Generally, this will only work when the
     Launchpad/Mailman integration tests are running.  Those tests spawn a
     simple SMTP server which coordinates and delivers mail generated during
     the tests.  So this configuration only works when those tests are
     running.
-->

<configure
    xmlns="http://namespaces.zope.org/zope"
    xmlns:mail="http://namespaces.zope.org/mail"
    i18n_domain="zope">

    <mail:smtpMailer
        name="itests"
        hostname="localhost"
        port="9025"
        />

    <mail:directDelivery
        permission="zope.SendMail"
        mailer="itests" />

</configure>