Farhad Ahani wrote:
I am trying to get tmda-ofmipd to work, it always crashes witha python
exception. Have tried diffrent parameters, no success. Can anyone
please help? Here is the log,

# /usr/local/tmda/bin/tmda-ofmipd -R pop3://10.0.5.250:110 -d -p
10.0.5.250:8025 -S "/usr/local/tmda/contrib/vpopmail-vdir.sh"

Incoming connection from ('10.0.5.211', 26364)
Incoming connection to ('10.0.5.250', 8025)
Peer: ('10.0.5.211', 26364)
Data: 'EHLO bofwolsrv0001'
...
trying pop3 authentication for [EMAIL PROTECTED]:110
> ...
error: uncaptured python exception, closing channel
<__main__.SMTPChannel connected 10.0.5.211:26364 at -0x48f28934>
(exceptions.ValueError:need more than 1 value to unpack
...
[/usr/local/tmda/TMDA/Util.py|getvdomainprepend|138])

It looks like tmda-ofmipd's qmail virtual domains support requires the SMTP user-name to be in the form "[EMAIL PROTECTED]", rather than just "user".

The reason is that it must map the "domain.com" part through /var/qmail/virtualdomains, so that it can then parse /var/qmail/users/assign using the correct virtual domain "prepend" value.

To do this, it needs to know the domain of the user, so it attempts to split the username into two parts, based on the location of the "@" symbol. Since your user-name doesn't contain an "@" symbol, this code fails.

--
Stephen Warren, Software Engineer, NVIDIA, Fort Collins, CO
[EMAIL PROTECTED]     http://www.wwwdotorg.org/pgp.html

Attachment: signature.asc
Description: OpenPGP digital signature

_____________________________________________
tmda-users mailing list ([email protected])
http://tmda.net/lists/listinfo/tmda-users

Reply via email to