hi all!
i'm trying to setup TMDA using FAQ 3.8.
"Can I use TMDA with a qmail relay?"
as the model.
unfortunately, i am encountering some error messages on the debug file.
below are the error messages i got using Python 2.3 and Python 2.2.3 with
TMDA-0.82 and RedHat 7.2 as OS.
Uncaught Python 2.3 Exception (Tue Aug 19 15:44:26 2003):
---------------------------------------------------------
Traceback (most recent call last):
File "/usr/local/tmda/bin/tmda-filter", line 53, in ?
execfile(os.path.join(execdir, 'tmda-rfilter'))
File "/usr/local/tmda/bin/tmda-rfilter", line 882, in ?
main()
File "/usr/local/tmda/bin/tmda-rfilter", line 825, in main
orig_msgin_size)
File "/usr/local/tmda/TMDA/FilterParser.py", line 1042, in firstmatch
cmdin.write(msg_headers + '\n' + msg_body)
IOError: [Errno 32] Broken pipe
Uncaught Python 2.3 Exception (Tue Aug 19 15:49:15 2003):
---------------------------------------------------------
Traceback (most recent call last):
File "/usr/local/tmda/bin/tmda-filter", line 53, in ?
execfile(os.path.join(execdir, 'tmda-rfilter'))
File "/usr/local/tmda/bin/tmda-rfilter", line 882, in ?
main()
File "/usr/local/tmda/bin/tmda-rfilter", line 825, in main
orig_msgin_size)
File "/usr/local/tmda/TMDA/FilterParser.py", line 1043, in firstmatch
cmdin.flush()
IOError: [Errno 32] Broken pipe
Uncaught Python 2.2.3 Exception (Tue Aug 19 17:23:07 2003):
-----------------------------------------------------------
Traceback (most recent call last):
File "/usr/local/tmda/bin/tmda-filter", line 53, in ?
execfile(os.path.join(execdir, 'tmda-rfilter'))
File "/usr/local/tmda/bin/tmda-rfilter", line 882, in ?
main()
File "/usr/local/tmda/bin/tmda-rfilter", line 825, in main
orig_msgin_size)
File "./TMDA/FilterParser.py", line 1042, in firstmatch
IOError: [Errno 32] Broken pipe
here is the .qmail content:
|preline -f /usr/local/tmda/bin/tmda-filter
|forward "$DEFAULT"@dom.sample1.com
and here is the .tmda/config file:
import os,time
logdir = os.path.expanduser("/home/sample")
YYYYmm = time.strftime("%Y-%m") # 2001-04
# set the logfiles...
LOGFILE_DEBUG = os.path.join(logdir, ".tmda/logs", "debug." + YYYYmm)
LOGFILE_INCOMING = os.path.join(logdir, ".tmda/logs", "incoming." + YYYYmm)
# Set HOSTNAME to domain
HOSTNAME = "sample1.com"
# default incoming action: "ok" to deliver the message without asking for c
onfirmation.
ACTION_INCOMING = "ok"
# default outgoing action: leave it bare
ACTION_OUTGOING = "bare"
# incoming filter file
FILTER_INCOMING = "/home/sample/.tmda/filters/incoming"
# outgoing filter file
FILTER_OUTGOING = "/home/sample/.tmda/filters/outgoing"
# Don't use TMDA's support for qmail virtualdomains.
USEVIRTUALDOMAINS = 0
# Set timeout to 2 days...
TIMEOUT = "2d"
# Set PENDING LIFETIME to 5 days...
PENDING_LIFETIME = "5d"
here is the content of /var/qmail/control/virtualdomains:
sample1.com:sample
and here is the content of /var/qmail/control/smtproutes:
dom.sample1.com:192.168.0.25
any inputs would be appreciated. tia
--conpaj--
|-- "Go beyond the quest for information!" - http://www.pilnet.com/
|-- Sent through PILNET WebMail System - http://webmail.pilnet.com/
_____________________________________________
tmda-users mailing list ([EMAIL PROTECTED])
http://tmda.net/lists/listinfo/tmda-users