Clean up the mta directory.
[mailman.git] / src / mailman / mta / exim4.py
blob7151768a8f5e463c87619c6a338b8484c1b96c2e
1 # Copyright (C) 2013-2016 by the Free Software Foundation, Inc.
3 # This file is part of GNU Mailman.
5 # GNU Mailman is free software: you can redistribute it and/or modify it under
6 # the terms of the GNU General Public License as published by the Free
7 # Software Foundation, either version 3 of the License, or (at your option)
8 # any later version.
10 # GNU Mailman is distributed in the hope that it will be useful, but WITHOUT
11 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
12 # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
13 # more details.
15 # You should have received a copy of the GNU General Public License along with
16 # GNU Mailman. If not, see <http://www.gnu.org/licenses/>.
18 """Creation/deletion hooks for the Exim4 MTA."""
20 from mailman import public
21 from mailman.interfaces.mta import IMailTransportAgentLifecycle
22 from zope.interface import implementer
25 @public
26 @implementer(IMailTransportAgentLifecycle)
27 class LMTP:
28 """Connect Mailman to Exim4 via LMTP.
30 See `IMailTransportAgentLifecycle`.
31 """
33 # Exim4 handles all configuration itself, by finding the list config file.
34 def __init__(self):
35 pass
37 def create(self, mlist):
38 pass
40 delete = create
42 def regenerate(self, directory=None):
43 """See `IMailTransportAgentLifecycle`."""
44 pass