~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
<!-- Copyright 2009 Canonical Ltd.  This software is licensed under the
     GNU Affero General Public License version 3 (see the file LICENSE).
-->

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

    <include package="zope.sendmail"/>

    <mail:stubMailer 
        name="stub" from_addr="root@localhost" to_addr="root@localhost"
        />

    <!-- Production should use this in its 
        override-includes/mail-configure.zcml

    <mail:queuedDelivery permission="zope.SendMail"
        queuePath="/var/tmp/launchpad_mailqueue" mailer="sendmail" />
    -->

    <!-- Development configuration to avoid spamming innocent people -->
    <mail:queuedDelivery name="Mail" permission="zope.SendMail"
        queuePath="/var/tmp/launchpad_mailqueue" mailer="stub" />

</configure>