[exim] relay_domains vs relay_to_domains, and strange behavi…

Top Pagina
Delete this message
Reply to this message
Auteur: Edward Harvey
Datum:  
Aan: exim-users
Onderwerp: [exim] relay_domains vs relay_to_domains, and strange behavior...
Running exim 4.63-5 on centos 5.4 x86_64 fully updated.



I have defined in the config file

                local_domains =


                relay_to_domains =


                relay_from_hosts =




I have no mention of relay_domains anywhere in the config file, except
"domains =" as mentioned below. This is the default config file on centos &
rhel.



Connecting to the server to send mail, I expect Outlook to have an obvious
failure, something like "relay prohibited" or anything like that. But
instead, Outlook sends the message to the server with no problem, and saves
it in the "Sent" folder, and a little while later, I get the bounce message,




Your message did not reach some or all of the intended recipients.



      Subject:    Testing A


      Sent: 8/6/2010 6:19 PM




The following recipient(s) cannot be reached:



      'recipient@???' on 8/6/2010 6:19 PM


            421 Unexpected failure, please try later




If I look in the main.log, I see:

                unknown named domain list "+relay_domains"




And in my config file, I have:

                require mesage = relay not permitted


                domains = +local_domains : +relay_domains




Correct me if I'm wrong, but that's just an idiotic default config file,
right? I should change "relay_domains" to "relay_to_domains" or just remove
it completely, right? Because "relay_domains" wasn't defined anywhere, it
just means some schmo at RedHat made a type-o in the config file, right?



So that's question #1.



Now, question #2.



I am surprised the server accepts the message and then bounces it.
Shouldn't the server reject the message while it's being submitted?