Robin Lynn Frank wrote:

I thought I followed the instructions exactly, but somewhere I made a mistake. I have (temporary) enabled the log files and the debug file shows:

Uncaught Python 2.2 Exception (Mon Nov 25 12:06:25 2002):
---------------------------------------------------------
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 118, in ?
from TMDA import Defaults
File "./TMDA/Defaults.py", line 194, in ?


Uncaught Python 2.2 Exception (Mon Nov 25 12:09:30 2002):
---------------------------------------------------------
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 771, in ?
main()
File "/usr/local/tmda/bin/tmda-rfilter", line 766, in main
do_default_action(default_action, 'action_incoming', bouncetext)
File "/usr/local/tmda/bin/tmda-rfilter", line 392, in do_default_action
bouncegen('request')
File "/usr/local/tmda/bin/tmda-rfilter", line 659, in bouncegen
bounce_message = Util.maketext(templatefile, vars())
File "./TMDA/Util.py", line 736, in maketext
TypeError: not enough arguments for format string



=== What have I done wrong??? ===

bye

Ronald






On Friday 22 November 2002 08:26 pm, Ronald Wiplinger wrote:

Can anybody give me a hand, how to setup:

TMDA & Sendmail with SpamAssassin system wide

I have compiled the program without error.
I have only a few mail accounts yet, and like to use all email accounts
into one email box, because when I am on the road, I don't want to login
several times, just to read some emails.To split it into SpamAssassin
said yes/no and TMDA said yes/no folders / accounts is for me not a good
choice.
I am often out of the office and would like to read FAST my emails and
reply to it. Therefore I would like to get hold on LDAP (future). My
idea hereby is, that LDAP would offer me that I have all known email
sender already in my "address directory".
If that works fine, than it is even for a bigger company with 30 ~ 100
staff a good choice.

I am not too familiar with procmail. When I look at my procmailrc:

DROPPRIVS=yes

:0fw

* < 256000

| spamc

I don't know how to add tmda procmail statements.

Again, I use SpamAssassin system wide and would also like to use tmda
system wide.

In /etc/tmdarc I also find the problem to choose the right DELIVERY.
(system wide into /var/spool/mail/{username} but I believe I should use
the |/usr/bin/procmail for that, right?

Next is the confirmation message. I would like to use a graphical one as
first choice, and if not available, than I would like to ask for a text
confirmation.

Frankly, I hear a lots of troubles with tmda on the SpamAssassin list,
but it does not convience me to stop to try it.
My motivaition: I get about 50 Spams a day, so it is worth to do
something against it. At the moment I even use a special access file
with sendmail and have locked out xx ISPs, unfortunately it is also the
biggest ISP in Taiwan, and from some people I need the emails though. To
convience these people to use a yahoo.com account is more difficulty
than to require from them a confirm message.

bye

Ronald

Contrary to anything you've heard, they can be used together without problem. As you can see, it is potentially possible to use lots of things together if you have enough CPU cycles to spare.

Also, I watch the spamassassin list and don't se a lot of problems being discussed that pertain to TMDA.

Below is an example of how to use everything, including the kitchen sink! I find it unnecessary to use anything but TMDA and anomy to screen for malicious contnet.



#anomy
#ANOMY=/usr/local/anomy/
#:0 fw
# |/usr/local/anomy/bin/sanitizer.pl /etc/sanitizer.cfg

#bogofilter
#:0HB:
#* ? bogofilter
#.bogofilter

#pyzor
#:0 Wc
#| pyzor check
#:0 a
#.pyzor

#DCC
#:0 f
#| /usr/local/bin/dccproc -ERw whiteclnt

#razor
#:0 Wc
#| razor-check
#:0 a
#.razor

# SpamAssassin -- don't bother if over 500k
:0fw
* < 512000
| /usr/bin/spamc

:0:
* ^X-Spam-Status: Yes
.spamassassin


# Run the message through tmda-filter.don't bother if over 500k
:0 w
* < 512000
| /usr/bin/tmda-filter

# Take the exit code from TMDA.
EXITCODE=$?

# TMDA takes care of final delivery
DEFAULT=/dev/null




--
Ronald Wiplinger  (CEO of ELMIT)
http://www.elmit.com    +886 (0) 915 653-452
- I'm a SpamCon Foundation Member, #694, Verify it at http://www.spamcon.org


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

Reply via email to