Hi,

A piece of spam got through to my mailbox.  Happens.  Usually by
forging from: and to: headers for known and whitelisted users at my
domain.

This one caused TMDA to freak.  Further testing indicates that it's
limited to from: addresses with a period in them @localdomain.
Anyone know how to have sendmail deal with this more gracefully?
This is TMDA 1.0.3 from ports, FreeBSD 4-STABLE with stock sendmail
using procmail for LDA.

The actual message is at http://www.rupture.net/~jon/tmda.period.txt
if you're interested.



Uncaught Python 2.3.4 Exception (Tue Jul 20 23:39:56 2004):
-----------------------------------------------------------
Traceback (most recent call last):
  File "/usr/local/bin/tmda-filter", line 53, in ?
    execfile(os.path.join(execdir, 'tmda-rfilter'))
  File "/usr/local/bin/tmda-rfilter", line 891, in ?
    main()
  File "/usr/local/bin/tmda-rfilter", line 887, in main
    do_default_action(default_action, 'action_incoming', bouncetext)
  File "/usr/local/bin/tmda-rfilter", line 471, in do_default_action
    bouncegen('request')
  File "/usr/local/bin/tmda-rfilter", line 772, in bouncegen
    send_bounce(bounce_message, mode)
  File "/usr/local/bin/tmda-rfilter", line 442, in send_bounce
    ar.send()
  File "/usr/local/lib/python2.3/site-packages/TMDA/AutoResponse.py", line 227, in send
    self.recipient, Defaults.BOUNCE_ENV_SENDER)
  File "/usr/local/lib/python2.3/site-packages/TMDA/Util.py", line 595, in sendmail
    pipecmd(cmd, msgstr)
  File "/usr/local/lib/python2.3/site-packages/TMDA/Util.py", line 395, in pipecmd
    raise IOError, \
IOError: failure delivering message to command "('/usr/sbin/sendmail', '-i', '-f', 
'[EMAIL PROTECTED]', '--', '[EMAIL PROTECTED]')" (command "('/usr/sbin/sendmail', 
'-i', '-f', '[EMAIL PROTECTED]', '--', '[EMAIL PROTECTED]')" exited 67  ())


(I also found that I had commented out my drop-all-non-users-at-localdomain
rule.  Re-enabling that.)

from-file /root/local.emails.txt accept

# drop messages forged from local addresses as local.emails.txt above
# catches all valid ones  
from [EMAIL PROTECTED] confirm


-jon

-- 
Jon Nathan
[EMAIL PROTECTED]

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

Reply via email to