Created
August 19, 2013 13:25
-
-
Save wallrj/6269087 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[richard@zorin trunk]$ twistd --nodaemon mail --maildirdbmdomain=example.com=/tmp/example.com --alias=/tmp/example.com/aliases --user=joe=password --user=bob=password | |
2013-08-19 14:23:38+0100 [-] Log opened. | |
2013-08-19 14:23:38+0100 [-] twistd 13.1.0 (/usr/bin/python 2.7.5) starting up. | |
2013-08-19 14:23:38+0100 [-] reactor class: twisted.internet.epollreactor.EPollReactor. | |
2013-08-19 14:23:38+0100 [-] POP3Factory starting on 8110 | |
2013-08-19 14:23:38+0100 [-] Starting factory <twisted.mail.protocols.POP3Factory instance at 0x15f6050> | |
2013-08-19 14:23:38+0100 [-] SMTPFactory starting on 8025 | |
2013-08-19 14:23:38+0100 [-] Starting factory <twisted.mail.protocols.SMTPFactory instance at 0x15f64d0> | |
2013-08-19 14:23:42+0100 [twisted.mail.protocols.SMTPFactory] Connection from IPv4Address(TCP, '127.0.0.1', 35944) | |
2013-08-19 14:24:19+0100 [SMTP,0,127.0.0.1] Unhandled Error | |
Traceback (most recent call last): | |
File "/home/richard/projects/Twisted/trunk/twisted/mail/smtp.py", line 687, in do_RCPT | |
d = defer.maybeDeferred(self.validateTo, user) | |
File "/home/richard/projects/Twisted/trunk/twisted/internet/defer.py", line 139, in maybeDeferred | |
result = f(*args, **kw) | |
File "/home/richard/projects/Twisted/trunk/twisted/mail/smtp.py", line 943, in validateTo | |
return self.delivery.validateTo(user) | |
File "/home/richard/projects/Twisted/trunk/twisted/mail/protocols.py", line 64, in validateTo | |
return defer.maybeDeferred(d.exists, user) | |
--- <exception caught here> --- | |
File "/home/richard/projects/Twisted/trunk/twisted/internet/defer.py", line 139, in maybeDeferred | |
result = f(*args, **kw) | |
File "/home/richard/projects/Twisted/trunk/twisted/mail/maildir.py", line 148, in exists | |
aliases = a.resolve(self.alias, memo) | |
File "/home/richard/projects/Twisted/trunk/twisted/mail/alias.py", line 437, in resolve | |
r.append(a.resolve(aliasmap, memo)) | |
File "/home/richard/projects/Twisted/trunk/twisted/mail/alias.py", line 139, in resolve | |
return self.domain().exists(smtp.User(self.alias, None, None, None), memo)() | |
exceptions.TypeError: exists() takes exactly 2 arguments (3 given) | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[richard@zorin trunk]$ telnet localhost 8025 | |
Trying 127.0.0.1... | |
Connected to localhost. | |
Escape character is '^]'. | |
220 zorin.lan NO UCE NO UBE NO RELAY PROBES | |
HELO | |
250 zorin.lan Hello 127.0.0.1, nice to meet you | |
MAIL FROM: richard@zorin.lan | |
250 Sender address accepted | |
RCPT TO: myalias@example.com | |
451 Requested action aborted: local error in processing | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment