Szerző: Elias Keshishoglou Dátum: Címzett: exim-users Tárgy: Re: [exim] Can't close open relay.
That's the file I'm making my changes too. Again if type garbage in the file
and restart exim I get an error. Adding the smtp_banner didn't seem to do
anything. I checked there is only one place in the file the statement occurs.
I've also tried this and it seems to be there.
root@Kesh:/etc/exim4# exim -bP | grep banner
smtp_banner = TEST BLAH FOO BAR MOOF
Anything else I can try ?
root@Kesh:/home/elias# exim4 -bV
Exim version 4.67 #1 built 21-Apr-2007 20:26:29
Copyright (c) University of Cambridge 2006
Berkeley DB: Sleepycat Software: Berkeley DB 4.3.29: (September 6, 2005)
Support for: crypteq iconv() IPv6 GnuTLS move_frozen_messages
Lookups: lsearch wildlsearch nwildlsearch iplsearch cdb dbm dbmnz dsearch nis
nis0 passwd
Authenticators: cram_md5 plaintext
Routers: accept dnslookup ipliteral manualroute queryprogram redirect
Transports: appendfile/maildir/mailstore autoreply lmtp pipe smtp
Fixed never_users: 0
Size of off_t: 8
Configuration file is /etc/exim4/exim4.conf
root@Kesh:/home/elias#
On Thu May 17 2007 01:13:21 Steven Wayne wrote: > On Wed, May 16, 2007 at 10:59:11AM -0700, Elias Kesh wrote:
> > From: Elias Kesh <elias@???>
> > To: exim-users@???
> > Date: Wed, 16 May 2007 10:59:11 -0700
> > Subject: 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.
>
> <snip>
>
> > So it looks like it's getting the right file. Is it possible that it's
> > parsing more than one conf file ?
>
> Run this:
>
> exim4 -bV
>
>
> The last line tells you what configuration file it's using.
>
>
> ( has anyone mentioned the top posting thing? )
>
> Steven.
> --
> Beware of computerized fortune-tellers!