Jessica Perry Hekman <[EMAIL PROTECTED]> writes:

> It took me a while to realize that confirm messages weren't being
> sent out from my TMDA installation on my new ISP. Turns out the ISP
> limits methods of sending mail, because they are worried about
> spammers

Any specific reasons why they disallow sending mail via SMTP?  Perhaps
they don't allow SMTP to localhost, but have another host available
for this purpose.  In this case, you could set SMTPHOST to that host.
It's likely that they do have such a host, as many MUAs can only send
mail by direct SMTP.

> but when I changed it to "sendmail", things worked fine.

I'd only do this as a last resort due to security problems with
"sendmail".  This is explained more in the comments for OUTGOINGMAIL
in TMDA/Defaults.py.

> The problem is that when confirm messages failed to be sent, TMDA
> didn't generate any notices to that effect; I checked LOGFILE_DEBUG
> and saw nothing in there.

This isn't typical.  LOGFILE_DEBUG should have recorded the error.
For example,

Uncaught Python 2.0.1 Exception (Mon Aug 19 11:53:21 2002):
-----------------------------------------------------------
Traceback (most recent call last):
  File "cvs/tmda/dist/bin/tmda-filter", line 50, in ?
    execfile(os.path.join(execdir, 'tmda-rfilter'))
  File "/usr/home/jasonrm/cvs/tmda/dist/bin/tmda-rfilter", line 716, in ?
    main()
  File "/usr/home/jasonrm/cvs/tmda/dist/bin/tmda-rfilter", line 711, in main
    do_default_action(default_action, 'action_incoming', bouncetext)
  File "/usr/home/jasonrm/cvs/tmda/dist/bin/tmda-rfilter", line 348, in 
do_default_action
    bouncegen('request')
  File "/usr/home/jasonrm/cvs/tmda/dist/bin/tmda-rfilter", line 617, in bouncegen
    confirm_accept_address = confirm_accept_address)
  File "/usr/home/jasonrm/cvs/tmda/dist/bin/tmda-rfilter", line 325, in send_bounce
    envelope_sender, Defaults.BOUNCE_ENV_SENDER)
  File "/usr/home/jasonrm/cvs/tmda/dist/TMDA/Util.py", line 424, in sendmail
    server = SMTP.Connection()
  File "/usr/home/jasonrm/cvs/tmda/dist/TMDA/SMTP.py", line 42, in __init__
    self.__connect()
  File "/usr/home/jasonrm/cvs/tmda/dist/TMDA/SMTP.py", line 46, in __connect
    self.__conn.connect(Defaults.SMTPHOST)
  File "/usr/local/lib/python2.0/smtplib.py", line 218, in connect
    self.sock.connect((host, port))
error: (61, 'Connection refused')

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

Reply via email to