Hi there,

I got the "SMTPRecipientsRefused: ...list of allowed rcpthosts" problem, 
and tried to apply the "Selective relaying with tcpserver and 
qmail-smtpd" solution at:

http://www.palomine.net/qmail/selectiverelay.html
and thread :
http://mla.libertine.org/tmda-users/2002-12/msg00080.html

In my case: 

1. I create the file: /etc/tcp.smtp with
127.0.0.1:allow,RELAYCLIENT=""

2. I compute the file tcp.smtp.cdb

3. Considering the following note from 
http://www.palomine.net/qmail/selectiverelay.html

NOTE: If you're already starting your qmail-smtpd service in a script that 
runs as part of your boot process, don't start it again with the above 
tcpserver line; just make sure that your script includes the 
-x/etc/tcp.smtp.cdb option.

I add -x/etc/tcp.smtp.cdb in /etc/xinetd.d/smtp :

service smtp
{
        socket_type     = stream
        wait            = no
        user            = qmaild
        server          = /var/qmail/bin/tcp-env
        server_args     = /var/qmail/bin/qmail-smtpd -x/etc/tcp.smtp.cdb
        log_on_failure  += USERID                    ^^^^^^^^^^^^^^^^^^^^
        disable         = no
}

4. in .tmda/filters/incoming

from [EMAIL PROTECTED] confirm
from * ok

5. I send a mail from  [EMAIL PROTECTED] address to my qmail 
server, and I always get the same error message (see above). For any 
reason, qmail doesn't accept to send an email from tmda?


Any idea?


Best regards,

--
Marc-Olivier BERNARD
                                                                                       
                                  

System :
~~~~~~~
RH 7.2 + TMDA 0.86 + python 2.1 + qmail


logs/debug :
~~~~~~~~~~~~

Uncaught Python 2.1.1 Exception (Wed Oct  8 16:50:07 2003):
-----------------------------------------------------------
Traceback (most recent call last):
  File "/home/mob/tmda/tmda-0.86/bin/tmda-filter", line 53, in ?
    execfile(os.path.join(execdir, 'tmda-rfilter'))
  File "/home/mob/tmda/tmda-0.86/bin/tmda-rfilter", line 891, in ?
    main()
  File "/home/mob/tmda/tmda-0.86/bin/tmda-rfilter", line 863, in main
    bouncegen('request')
  File "/home/mob/tmda/tmda-0.86/bin/tmda-rfilter", line 772, in bouncegen
    send_bounce(bounce_message, mode)
  File "/home/mob/tmda/tmda-0.86/bin/tmda-rfilter", line 442, in 
send_bounce
    ar.send()
  File "./TMDA/AutoResponse.py", line 207, in send
  File "./TMDA/Util.py", line 564, in sendmail
  File "./TMDA/SMTP.py", line 61, in sendmail
  File "/usr/src/build/221901-i386/install/usr/lib/python2.1/smtplib.py", 
line 495, in sendmail
    raise SMTPRecipientsRefused(senderrs)
SMTPRecipientsRefused: {'[EMAIL PROTECTED]': (553, "sorry, that 
domain isn't in my list of allowed rcpthosts (#5.7.1)")}

-- 
Marc-Olivier BERNARD


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

Reply via email to