Re: PHP mail() function and TMDA

Stephen Warren <[email protected]>
Newsgroups gmane.mail.spam.tmda.user
Message-ID <[email protected]>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Keith Roberts wrote:
> It seems that TMDA didn't like what was in the subject line 
> of your message Stephen. I Wondered why I did not get any 
> replies to my post.

The message should be in the tmda-users mailing list archives anyway,
but I'll forward it again off-list in a second...

> Actn: DELIVER (headers-file 
> /home/keith/.tmda/filters/subject_reject [email protected])(5634)
> 
> Here is part of my subject_reject filter:
> 
< ...
> "%AMS_MESSAGE_SUBJECT%"
> 
> Did TMDA match on the last line? Is that a python variable 
> containing the subject line that TMDA recognised as a valid 
> regex string to match on?

I honestly don't know what that last filter line is supposed to do. I
don't think it's a Python variable expansion; that would typically look
like %(variable_name)s - note the brackets and s a the end. That said, I
 wonder if an older version of TMDA might have supported that alternate
variable expansion syntax? In that case, and if the AMS_MESSAGE_SUBJECT
variable exists and was empty, I guess that could be your problem.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGqQYMhk3bo0lNTrURAljuAKCDIKNFOvdsW3Zz5QBk04/oQM4izgCfbxv3
91TvjVdNruWb77XGCIsWXqU=
=Qtgr
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.