Hi TMDA'ers,

I am trying to get qmail+vpopmail+tmda/tmda-ofmipd all setup and working.

I think I've *very* close but I still have two issues.

1) I can send mail to my tmda-ized address ([EMAIL PROTECTED]) and get
back a confirmation to which I reply and am added to the whitelist. (all
working) but it seems like tmda isn't checking the whitelist because when I
send another mail from the same confirmed address it still requires me to
confirm again.  This could just be a minor config issue on my end perhaps
(unrelated to qmail and vpopmail).

2) The second and more troublesome issue is that of using tmda-ofmipd.  The
authorization works (using pop3) and I'm running the daemon as vpopmail (not
via -u, but actually AS the vpopmail user).  The mail attempts to send but
then hangs with a traceback-looking thing from tmda-ofmipd.  It appears it
can't find my crypt_key.  I tried to set CRYPT_KEY_FILE in my config but
perhaps it isn't reading it....

2a) tmda-ofmipd talked about a user/config file -- what is this? I symlink'd
it to my tmdarc file.

Thanks for any help you can offer,
David Ulevitch


I am trying to include all relevent configs and logs below, let me know if
I've missed anything.

The actual error from tmda-ofmipd:
##BEGIN##
[EMAIL PROTECTED]:/var/tmda# !su
su - vpopmail -s /bin/bash
vpopmail@laura:~$ /var/tmda/bin/tmda-ofmipd -c
/home/vpopmail/domains/everybox.com/ -R pop3 -d
tmda-ofmipd started at Tue Oct 15 17:44:30 CDT 2002
        Listening on laura.everybox.com:8025
Incoming connection from ('128.252.50.37', 3382)
Peer: ('128.252.50.37', 3382)
Data: 'EHLO pravda'
Data: 'AUTH LOGIN'
Data: 'ZGF2aWR1JWV2ZXJ5Ym94LmNvbQ=='
Data: 'dWxlZDh2aWQ='
trying pop3 connection to davidu%everybox.com@localhost:110
Auth:  succeeded for user 'davidu%everybox.com'
Data: 'MAIL FROM: <[EMAIL PROTECTED]>'
===> MAIL FROM: <[EMAIL PROTECTED]>
sender: [EMAIL PROTECTED]
Data: 'RCPT TO: <[EMAIL PROTECTED]>'
===> RCPT TO: <[EMAIL PROTECTED]>
recips: ['[EMAIL PROTECTED]']
Data: 'DATA'
Data: 'Message-ID: <022701c2749e$1ac184a0$2532fc80@pravda>\r\nFrom: "David
Ulevitch" <[EMAIL PROTECTED]>\r\nTo: <[EMAIL PROTECTED]>\r\nSubject:
\r\nDate: Tue, 15 Oct 2002 17:51:46 -0500\r\nMIME-Version:
1.0\r\nContent-Type:
text/plain;\r\n\tcharset="iso-8859-1"\r\nContent-Transfer-Encoding:
7bit\r\nX-Priority: 3\r\nX-MSMail-Priority: Normal\r\nX-Mailer: Microsoft
Outlook Express 6.00.2800.1106\r\nX-MimeOLE: Produced By Microsoft MimeOLE
V6.00.2800.1106\r\n\r\n\r\n--\r\n"Never doubt that a small group of
thoughtful citizens can change the\r\nworld. Indeed, it is the only thing
that ever has." --Margaret Mead\r\n\r\n'
error: uncaptured python exception, closing channel <__main__.SMTPChannel
connected 128.252.50.37:3382 at 0x81c5c9c> (exceptions.IOError:failure
delivering message to command "/var/tmda/bin/tmda-inject --config-file
/home/vpopmail/domains/everybox.com/davidu%everybox.com/config
'[EMAIL PROTECTED]'" (command "/var/tmda/bin/tmda-inject --config-file
/home/vpopmail/domains/everybox.com/davidu%everybox.com/config
'[EMAIL PROTECTED]'" exited 1  (Traceback (most recent call last):
  File "/var/tmda/bin/tmda-inject", line 119, in ?
    from TMDA import Defaults
  File "/var/tmda/TMDA/Defaults.py", line 194, in ?
    raise Errors.ConfigError, "Can't find key file: " + CRYPT_KEY_FILE
TMDA.Errors.ConfigError: Can't find key file:
/home/vpopmail/.tmda/crypt_key)) [/usr/lib/python2.2/asyncore.py|poll|95]
[/usr/lib/python2.2/asyncore.py|handle_read_event|392]
[/usr/lib/python2.2/asynchat.py|handle_read|130]
[/var/tmda/bin/tmda-ofmipd|found_terminator|654]
[/var/tmda/bin/tmda-ofmipd|process_message|943]
[/var/tmda/TMDA/Util.py|pipecmd|360])
vpopmail@laura:~$
##END##

Here is my .qmail-davidu file:
##BEGIN##
vpopmail@laura:~/domains/everybox.com$ cat .qmail-davidu
|preline /usr/bin/python /var/tmda/bin/tmda-filter -c
/home/vpopmail/domains/everybox.com/.tmdarc-davidu
/home/vpopmail/domains/everybox.com/davidu/Maildir/
vpopmail@laura:~/domains/everybox.com$
##END##

Here is my .tmdarc-davidu file:
##BEGIN##
vpopmail@laura:~/domains/everybox.com$ cat .tmdarc-davidu |grep -v '^#'
SMTPHOST = "laura.everybox.com"
CONFIRM_ACCEPT_TEMPLATE =
"/home/vpopmail/domains/everybox.com/davidu/confirm_accept.txt"
CONFIRM_APPEND =
"/home/vpopmail/domains/everybox.com/davidu/lists/whitelist"
CONFIRM_MAX_MESSAGE_SIZE = 5000
DATADIR = "/home/vpopmail/domains/everybox.com/davidu/"
DELIVERED_CACHE =
"/home/vpopmail/domains/everybox.com/davidu/pending/.delivered_cache"
FILTER_INCOMING =
"/home/vpopmail/domains/everybox.com/davidu/lists/incoming"
import time
localtime = time.localtime(time.time())
YYYYmm = time.strftime('%Y-%m',localtime)
LOGFILE_INCOMING = "/home/vpopmail/domains/everybox.com/davidu/log/tmdalog."
+ YYYYmm
LOGFILE_DEBUG = "/home/vpopmail/domains/everybox.com/davidu/log/debug"
PENDING_CACHE =
"/home/vpopmail/domains/everybox.com/davidu/pending/.msgcache"
TEMPLATE_DIR = "/home/vpopmail/domains/everybox.com/davidu/"
BOUNCE_ENV_SENDER = "[EMAIL PROTECTED]"
CRYPT_KEY_FILE = "/home/vpopmail/domains/everybox.com/davidu/crypt_key"
vpopmail@laura:~/domains/everybox.com$
##END##

Here is my directory setup:
##BEGIN##
vpopmail@laura:~/domains/everybox.com/davidu$ ls -lah ./ ./lists/ ./log/
./:
total 40K
drwx------    7 vpopmail vchkpw       4.0K Oct 15 15:40 .
drwx------    5 vpopmail vchkpw       4.0K Oct 15 14:34 ..
drwx------    5 vpopmail vchkpw       4.0K Oct 15 14:25 Maildir
lrwxrwxrwx    1 vpopmail vchkpw         17 Oct 15 15:40 config ->
../.tmdarc-davidu
-rw-r--r--    1 vpopmail vchkpw        171 Oct 15 14:59 confirm_accept.txt
-rw-r--r--    1 vpopmail vchkpw        574 Oct 15 14:59 confirm_request.txt
-rw-------    1 vpopmail root           41 Oct 15 14:31 crypt_key
drwxr-xr-x    2 vpopmail vchkpw       4.0K Oct 15 14:48 lists
drwxr-xr-x    2 vpopmail vchkpw       4.0K Oct 15 14:45 log
drwx------    2 vpopmail vchkpw       4.0K Oct 15 15:03 pending
drwx------    2 vpopmail vchkpw       4.0K Oct 15 15:03 responses

./lists/:
total 12K
drwxr-xr-x    2 vpopmail vchkpw       4.0K Oct 15 14:48 .
drwx------    7 vpopmail vchkpw       4.0K Oct 15 15:40 ..
-rw-r--r--    1 vpopmail vchkpw          0 Oct 15 14:27 incoming
-rw-------    1 vpopmail vchkpw         20 Oct 15 14:48 whitelist

./log/:
total 20K
drwxr-xr-x    2 vpopmail vchkpw       4.0K Oct 15 14:45 .
drwx------    7 vpopmail vchkpw       4.0K Oct 15 15:40 ..
-rw-------    1 vpopmail vchkpw          1 Oct 15 15:04 debug
-rw-------    1 vpopmail vchkpw       4.9K Oct 15 15:03 tmdalog.2002-10
vpopmail@laura:~/domains/everybox.com/davidu$
##END##

--
"Never doubt that a small group of thoughtful citizens can change the
world. Indeed, it is the only thing that ever has." --Margaret Mead



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

Reply via email to