Jeremy Lunn | 1 Sep 2002 10:25

Using TMDA with SpamAssassin

Just wondering if anyone has ever used TMDA with SpamAssassin?

What I'd like to do is have all mail that SpamAssassin filters as
spam, then go to TMDA instead of /dev/null just incase SpamAssassin ever
filters a legitimate email.

I assume that TMDA would need to be reachable through it's own alias so
that email addresses can be verified.  I am using Postfix as my MTA and
Procmail as my LDA.

Can this be done?

Thanks,

--

-- 
Jeremy Lunn
Melbourne, Australia
http://www.austux.net/ - visit me on the web.
_____________________________________________
tmda-users mailing list (tmda-users <at> tmda.net)
http://tmda.net/lists/listinfo/tmda-users

Kern Sibbald | 1 Sep 2002 18:44
Favicon

Some tmda problems

Hello, 

A few weeks ago, I installed tmda with a bit of 
difficulty on my RedHat 7.3 system running sendmail.

Now, I seem to be having some problems.
For example, some guy sent me 2,500 identical junk
mails which ended up in my pending folder. Due to some
apparent instabilities in tmda-pending, I finally had
to blow away my pending directory with everything in
it.  

The tmda-pending problems: well, among the 2,500 identical
messages there were a few others, and for some reason they
cause tmda-pending to crash. Once it crashes, it apparently
looses track of the fact that it already released several
hundred messages, so the next invocation of tmda-pending,
I'm back to square one.  

Here is the output of a typical tmda-pending crash:

1030555269.2975.msg (276 of 1890 / 27893 bytes)
  >> Date: Tue, 27 Aug 2002 03:33:36 -0500
  >> From: "Brian Fleener" <kidzag <at> ncis.net>
  >>   To: None
  >> Subj: $5 IN YOUR MAILBOX ! LEARN HOW !!
([p]ass / [s]how / [r]el / [d]el / [w]hite / [b]lack / [q]uit) [pass]: 
release 1030555269.2975.msg
Traceback (most recent call last):
  File "/usr/local/tmda/bin/tmda-pending", line 497, in ?
(Continue reading)

Jason R. Mastaler | 1 Sep 2002 21:36
X-Face

Re: Using TMDA with SpamAssassin

jeremy <at> austux.net (Jeremy Lunn) writes:

> Just wondering if anyone has ever used TMDA with SpamAssassin?

Certainly.  See http://tmda.net/faq.cgi?req=show&file=faq01.010.htp

> What I'd like to do is have all mail that SpamAssassin filters as
> spam, then go to TMDA instead of /dev/null just incase SpamAssassin
> ever filters a legitimate email.

Also see http://mla.libertine.org/tmda-users/200203/msg00119.html
_____________________________________________
tmda-users mailing list (tmda-users <at> tmda.net)
http://tmda.net/lists/listinfo/tmda-users

Jason R. Mastaler | 2 Sep 2002 03:32

TMDA 0.62 is released

TMDA 0.62 is released.

Get it from <URL:http://tmda.net/releases/tmda-0.62.tgz>

=====================================================================

What's new?

* New feature: auto-response rate limiting.  Meant as a last resort to
  prevent mail loops between TMDA and broken remote auto-responders,
  you can now specify the maximum number of automatic responses sent
  to a given sender in a day.  Default is 50.  See the description of
  MAX_AUTORESPONSES_PER_DAY in TMDA/Defaults.py for more information.

  Note that a new directory 'responses' will be automatically created
  under DATADIR to store the rate limiting information.

* New feature: TMDA can now send mail using an SMTP server which
  requires authentication.  Set the SMTPAUTH_USERNAME and
  SMTPAUTH_PASSWORD variables to enable this.  Requires Python 2.2 or
  greater.

* New feature: TMDA can now send mail over an SSL connection if your
  SMTP server supports the STARTTLS extension.  Set the SMTPSSL and
  optionally the SMTPSSL_KEYFILE and SMTPSSL_CERTFILE variables to
  enable this.  Requires Python 2.2 or greater.

* New authentication sources for tmda-ofmipd courtesy of David
  Guerizec.  You can use the `-R' option to authenticate against a
  pop3, imap, or imaps (ssl) server.  See `tmda-ofmipd --help' and/or
(Continue reading)

Data Vortex | 2 Sep 2002 09:32

tmda-ofmipd md5 errors

Greetings,

I am getting some errors when using tmda-ofmipd run as root with any of the
following:

tmda-ofmipd -u tmda -R imap
tmda-ofmipd -u tmda -R imaps

tmda-ofmipd -d -u tmda -A '/usr/local/bin/checkpassword-pam -s id
--stdin -- /bin/true'

tmda-ofmipd -d -u tmda -A '/usr/local/bin/checkpassword-pam -s
system-auth --stdin -- /bin/true'

tmda-ofmipd -d -u tmda -A '/usr/local/bin/checkpassword-pam -s smtp
--stdin -- /bin/true'

It dumps my connections from Sylpheed (forcing CRAM-MD5, per Jason):

tmda-ofmipd started at Mon Sep 2 03:20:34 EDT 2002
	Listening on datavortex.net:8025

Incoming connection from ('127.0.0.1', 45965)
Peer: ('127.0.0.1', 45965)
Data: 'EHLO datavortex.net'
Data: 'AUTH CRAM-MD5'
Data: 'ZGF0YXZvcnRleCBhODYxNTM0NDVjMTUxMTk0Yjc5OTQxZDQxMDA4MWMyNQ=='
error: uncaptured python exception, closing channel <__main__.SMTPChannel
connected 127.0.0.1:45965 at 0x81f2854> (exceptions.IndexError:list index
out of range
(Continue reading)

David Guerizec | 2 Sep 2002 10:14

Re: tmda-ofmipd md5 errors

On Mon, 2002-09-02 at 09:32, Data Vortex wrote:
> Greetings,
> 
> I am getting some errors when using tmda-ofmipd run as root with any of the
> following:
> 
> tmda-ofmipd -u tmda -R imap
> tmda-ofmipd -u tmda -R imaps
> 
> tmda-ofmipd -d -u tmda -A '/usr/local/bin/checkpassword-pam -s id
> --stdin -- /bin/true'
> 
> tmda-ofmipd -d -u tmda -A '/usr/local/bin/checkpassword-pam -s
> system-auth --stdin -- /bin/true'
> 
> tmda-ofmipd -d -u tmda -A '/usr/local/bin/checkpassword-pam -s smtp
> --stdin -- /bin/true'
> 
> 
> It dumps my connections from Sylpheed (forcing CRAM-MD5, per Jason):

Please note that none of the -A and -R authentication method has
anything to do with CRAM-MD5 auth, so be sure to have the correct
username:password pair in your /etc/tofmipd file (since this is
currently the only supported method with CRAM-MD5).

My .02 Euro

David
_____________________________________________
(Continue reading)

Data Vortex | 2 Sep 2002 15:52

Re: tmda-ofmipd md5 errors

David Guerizec <david <at> guerizec.net> invited blackmail by remarking:
> Please note that none of the -A and -R authentication method has
> anything to do with CRAM-MD5 auth

Well, it seems like this is my problem, thanks David.

Any plans to implement this in the future?

appreciate the help,
DV
_____________________________________________
tmda-users mailing list (tmda-users <at> tmda.net)
http://tmda.net/lists/listinfo/tmda-users

David Guerizec | 2 Sep 2002 16:04

Re: tmda-ofmipd md5 errors

Le lun 02/09/2002 à 15:52, Data Vortex a écrit :
> David Guerizec <david <at> guerizec.net> invited blackmail by remarking:
> > Please note that none of the -A and -R authentication method has
> > anything to do with CRAM-MD5 auth
> 
> Well, it seems like this is my problem, thanks David.
> 
> Any plans to implement this in the future?

Unfortunately, this is not possible due to the way CRAM-MD5 auth works.
Try to switch to another auth mechanism, and if you're concerned with
security, tunnel your connection thru ssl with stunnel.

Best regards,

David

> appreciate the help,
> DV

_____________________________________________
tmda-users mailing list (tmda-users <at> tmda.net)
http://tmda.net/lists/listinfo/tmda-users

Todd Jagger | 2 Sep 2002 18:05

tmda-ofmipd tag default

Hi,

First, thanks for tmda-ofmipd.

I like to have my default dated tag as "exp" instead of "dated".  I 
notice that tmda-ofmipd seems to inject the tag as "dated" even if I've 
specified "exp" as my default outgoing tag in my .tmdarc.  Is there a 
way to specify the default tag for tmda-ofmipd or am I just missing 
where to do that?

Thanks again,
TJ

_____________________________________________
tmda-users mailing list (tmda-users <at> tmda.net)
http://tmda.net/lists/listinfo/tmda-users

Jason R. Mastaler | 2 Sep 2002 19:42
X-Face

Re: tmda-ofmipd tag default

Todd Jagger <tj-dated-1031835601.30426a <at> caffe.net> writes:

> I like to have my default dated tag as "exp" instead of "dated".  I
> notice that tmda-ofmipd seems to inject the tag as "dated" even if
> I've specified "exp" as my default outgoing tag in my .tmdarc.

Move ~/.tmdarc to ~/.tmda/config and see if that helps.

tmda-ofmipd is only trained to look for the file in that location.

See `tmda-ofmipd --help' for more info.
_____________________________________________
tmda-users mailing list (tmda-users <at> tmda.net)
http://tmda.net/lists/listinfo/tmda-users


Gmane