First I just wanted to thank Jason for the link to spamcontrol. It's a very nice package.

After installing it I'm able to block spam from [EMAIL PROTECTED] to [EMAIL PROTECTED] at the qmail level. Very nice.

However. It also has this feature LOCALMFCHECK as they call it. Basically it ensures my users are not forging their domain. So when I send out an email if I put [EMAIL PROTECTED] it will error out. It checks the senders domain agains the rcpthosts file when the RELAYCLIENT enviroment variable is set.

This works great except it breaks TMDA. I have a test user [EMAIL PROTECTED] and I'll show you what happens.

If a user that's not whitelisted emails [EMAIL PROTECTED] their message gets queued and a confirmation gets sent out. No problem.

When the person replies to the confirmation message they get a confirmation reply stating that the original message has been delivered but it has not. In fact the confirmation message stating that the original message has been delivered continues to get sent to them every few minutes until I stop it.

For user [EMAIL PROTECTED] here's what his tmda debug log shows:

Uncaught Python 2.2.2 Exception (Wed Dec 3 20:40:30 2003):
-----------------------------------------------------------
Traceback (most recent call last):
File "/home/vpopmail/tmda/bin/tmda-filter", line 53, in ?
execfile(os.path.join(execdir, 'tmda-rfilter'))
File "/home/vpopmail/tmda/bin/tmda-rfilter", line 891, in ?
main()
File "/home/vpopmail/tmda/bin/tmda-rfilter", line 822, in main
verify_confirm_cookie(cookie_value, 'accept')
File "/home/vpopmail/tmda/bin/tmda-rfilter", line 580, in verify_confirm_cooki
e
release_pending(confirm_timestamp, confirm_pid, msg)
File "/home/vpopmail/tmda/bin/tmda-rfilter", line 494, in release_pending
Util.sendmail(Util.msg_as_string(msg), recipient, return_path)
File "./TMDA/Util.py", line 564, in sendmail
File "./TMDA/SMTP.py", line 61, in sendmail
File "/usr/local/lib/python2.2/smtplib.py", line 681, in sendmail
raise SMTPRecipientsRefused(senderrs)
SMTPRecipientsRefused: {'[EMAIL PROTECTED]': (550, 'sorry, invalid sender addres
s specified (#5.7.1)')}




I'll point out that the "sorry, invalid sender address specified" is caused by the check I pointed out above. This leads me to believe there's something wrong in the way tmda is releasing the original message from the pending queue and putting it in my users mailbox?



Here's what I found it /var/log/qmail/current that I think might be helpful too.



@400000003fce9ea70aed0904 status: local 1/10 remote 0/20
@400000003fce9ea82d6b47fc new msg 149869
@400000003fce9ea82d6b6f0c info msg 149869: bytes 5095 from <> qp 10485 uid 515
@400000003fce9ea8300864f4 starting delivery 6: msg 149869 to remote [EMAIL PROTECTED]
@400000003fce9ea8300897bc status: local 1/10 remote 1/20
@400000003fce9ea839774014 delivery 5: deferral: See_/home/vpopmail/domains/lds.dyndns.org/me/.tmda/logs/debug.12_for_traceba ck/




Any help would be greatly appreciated.

Thanks
Malcolm


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

Reply via email to