Tim Legant Wrote:
Lanny - Crosswind <[EMAIL PROTECTED]> writes:
> To be sure, i removed my account off the system and put it back.
> Re-enabled tmda via qadmin-tmda and when I sent mail to my self there
> was no log created nor was any confirmation sent to the sending
address.
> All my .qmail files are in:/usr/home/vpopmail/domains/crosswind.net/A
> The contents of .qmail-lnb is:
> # This File was generated by qmailadmin-tmda
> # It replaces if exists the original .qmail-lnb
> # if it did replace this an any symlinks you will find them
> # in :
/usr/home/vpopmail/domains/crosswind.net/A/lnb/lnb/config-backup
> |preline /usr/local/src/tmda-0.56/bin/tmda-filter -c
/usr/home/vpopmail/domains/crosswind.net/A/lnb/.tmdarc -t
/usr/home/vpopmail/domains/crosswind.net/A/lnb/.tmda
> /usr/home/vpopmail/domains/crosswind.net/A/lnb/Maildir/
This looks fine.
>
> The configuration is as follows:
>
> Vpopmail/qmail vpopmail is in /usr/home/vpopmail. TMDA is version
> 0.56. Although the .tmdarc file says to log, there is no log file in
my
> /usr/home/vpopmail/domains/crosswind.net/A/lnb/tmda/log
> Do you have both tmda and .tmda directories in
> ~vpopmail/domains/crosswind.net/A/lnb/ ? If so, does your tmda
> directory have a log subdirectory? TMDA won't create those if they
> don't exist.
Yes, both directories exist. There is a log dir under /A/lnb/tmda/log
but there is no log file of any kind. The dir is empty. In fact, I took
all all .qmail-lnb under /A and all /A/lnb/*tmda and .tmda*. Then
re-enabled it with qadmin-tmda. I did notice that the LOGFILE_DEBUG is
in the .tmdarc. When sending mail to [EMAIL PROTECTED], the mail goes
straight into my mailbox and no confirm is sent.
Perhaps this will shed some light. I tried running the line which is
supposed to protect the mail by hand and it comes back with error.
Infact if i leave out any argument it comes back with the same error:
zing# /usr/local/src/tmda-0.56/bin/tmda-filter
Exception ~/TMDA_DELIVERY_FAILURE
zing# /usr/local/src/tmda-0.56/bin/tmda-filter -c
/usr/home/vpopmail/domains/crosswind.net/A/lnb/.tmdarc -t
/usr/home/vpopmail//domains/crosswind.net/A/lnb/.tmda
Exception ~/TMDA_DELIVERY_FAILURE
Might the above be telling us why there is no protection?
Thanks Tim,
Lanny
As long as they do exist, TMDA should log there. The only reason it
wouldn't is if an error is occuring early in tmda-filter. Then it
will ony write into LOGFILE_DEBUG (see below).
You mention that you are not getting a confirmation request for your
test message. Is the test message being delivered? Or does it just
disappear?
> Some of the contents of my .tmdarc file:
>
> import os # don't remove
> import time
> localtime = time.localtime(time.time())
> YYYYmm = time.strftime('%Y-%m',localtime)
>
LOGFILE=os.path.expanduser("/usr/home/vpopmail/domains/crosswind.net/A/lnb/tmda/log/tmdalog."
+ YYYYmm)
In version 0.44, LOGFILE became LOGFILE_INCOMING. You have a
LOGFILE_INCOMING entry later in this file, so you can delete this
line. It's just leftover cruft.
I would also add a LOGFILE_DEBUG entry, like this:
LOGFILE_DEBUG =
"/usr/home/vpopmail/domains/crosswind.net/A/lnb/tmda/log/tmda_debug.log"
> WHITELIST_AUTO_APPEND = 1
This variable is not a TMDA variable. You want CONFIRM_APPEND. See
Defaults.py.
> ACTION_INCOMING = "confirm"
>
> ACTION_OUTGOING = "dated"
These two are the defaults, so you don't need them in your .tmdarc.
> CONFIRM_ACCEPT_NOTIFY = 1
This is also the default.
> CONFIRM_MAX_MESSAGE_SIZE = 50000
This is the default.
For all the default items, there's no need to have them in your
.tmdarc. You can delete them and make your .tmdarc easier to read.
If they've been placed there by qadmin-tmda and you don't want to edit
that file, that's ok too. Having them there won't hurt.
> Thanks for any help with this. Really :)
We'll keep trying :)
Tim
_____________________________________________
tmda-users mailing list ([EMAIL PROTECTED])
http://tmda.net/lists/listinfo/tmda-users