/usr/share/doc/python-twisted-mail/tutorial/smtpserver/smtpserver-4.tac is in python-twisted-mail 16.6.0-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | from twisted.application import service
application = service.Application("SMTP Server Tutorial")
from twisted.application import internet
from twisted.internet import protocol
smtpServerFactory = protocol.ServerFactory()
from twisted.mail import smtp
smtpServerFactory.protocol = smtp.ESMTP
smtpServerService = internet.TCPServer(2025, smtpServerFactory)
smtpServerService.setServiceParent(application)
|