Re: [exim] Can't close open relay.

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Elias Keshishoglou
Datum:  
To: exim-users
Betreff: Re: [exim] Can't close open relay.
That's interested
I added the line
smtp_banner = TEST BLAH FOO BAR MOOF

restarted exim
root@Kesh:/etc/exim4# /etc/init.d/exim4 restart
Stopping MTA for restart:.
Restarting MTA: exim4.

Then telnet

root@Kesh:/etc/exim4# telnet localhost 25
Trying 127.0.0.1...
Connected to localhost.localdomain.
Escape character is '^]'.
220 Kesh.com ESMTP Exim 4.65 Wed, 16 May 2007 10:55:10 -0700
quit
221 Kesh.com closing connection
Connection closed by foreign host.
root@Kesh:/etc/exim4#                        


Doesn't look like it took. So I added a garbage line just under the
smtp_banner and restarted exim to see if it's even using the conf file and
got this.

root@Kesh:/etc/exim4# /etc/init.d/exim4 restart
Stopping MTA for restart:2007-05-16 10:56:42 Exim configuration error in line 
52 of /etc/exim4/exim4.conf:
  main option "mcd" unknown
2007-05-16 10:56:42 Exim configuration error in line 52 
of /etc/exim4/exim4.conf:
  main option "mcd" unknown
2007-05-16 10:56:42 Exim configuration error in line 52 
of /etc/exim4/exim4.conf:
  main option "mcd" unknown
exim: could not open panic log - aborting: see message(s) above
Warning! Invalid configuration file for exim4. Exiting....failed.
root@Kesh:/etc/exim4#                                                                        



So it looks like it's getting the right file. Is it possible that it's parsing
more than one conf file ?


Elias



On Wed May 16 2007 10:37:23 Marco Wessel wrote:
> On May 16, 2007, at 1:02 AM, Elias Kesh wrote:
> > I did restart exim4
> > /etc/init.d/exim4 restart
> >
> > Again if I type the address manually in the test command it gets
> > rejected.
> > Running the telnet session still fails.
>
> Hmm, that's odd. Just to be sure, could you try changing your banner
> to something obvious to check if exim is actually picking up the
> changes?
>
> Something like
>
> smtp_banner = TEST BLAH FOO BAR MOOF
>
> will do. Then restart exim and telnet to your local port 25.
>
> Also, you can safely remove the acl_check_auth stuffs and move the
>
> accept authenticated = *
>
> into the rcpt acl just before or after the 'accept from local hosts'
> bit.