[exim] NB: Rejected RCPT problem

Pàgina inicial
Delete this message
Reply to this message
Autor: Peter Huesser
Data:  
A: exim-users
CC: peter.huesser
Assumpte: [exim] NB: Rejected RCPT problem
Hello

I compiled exim 4.44 on a linux platform and now want to play around
with the configuration file to learn about exim. I tried to generate a
configuration file which accpets every mail from everywhere and sends it
to another mailhost. The file should be as simple as possible. At the
moment the file looks like:

--------
begin acl

begin routers

relay:
        driver = manualroute
        transport = smtp_router
        route_list = * mailhost1.domain:mailhost2.domain randomize
        no_more


begin transport

smtp_router:
        driver = smtp


begin retry

begin rewrite

begin authenticators
--------

"exim -bV" and "exim -bt name@domain" do not show any errors. But if I
run "exim -bh hostIP", I get the following error after typing in "rcpt
to:<....>":

>>> ACL is NULL: implicit DENY

550 Administrative prohibition
LOG: H=[hostIP] F=<name@domain> rejected RCPT <name@domain>

Which ACL is meant ? I thougt it could be "acl_check_rcpt" which may
have as default to deny anything therefore I inserted in the
configuration file dircetly after "begin acl" the following lines:

acl_check_rcpt :
       accept domains = +relay_to_domains


and defined the domain right at the beginning ("domainlist
relay_to_domains = my.domain"). But still I get the same error. Does
anybody can give me a hint ?

Thank's in advance for any help

    Pedro