Re: [Exim] panic logs, not good ! (was: Customizing warning …

Páxina inicial
Borrar esta mensaxe
Responder a esta mensaxe
Autor: Richard P. Groenewegen
Data:  
Para: exim-users
Asunto: Re: [Exim] panic logs, not good ! (was: Customizing warning messages)
On Sat, Aug 12, 2000 at 01:38:03PM -0700, Pete Naylor wrote:
> > That was a typo in my email message. The first part of the email
> > message displayed it right (including the h after 24).
>
> Ah - okay. Perhaps you could share more of your exim.cf to give us some
> idea of which section line 140 falls in (mightn't have been in the main
> section at all).


It goes like this (lots of comments weeded out):

######################################################################
#                    MAIN CONFIGURATION SETTINGS                     #
######################################################################


qualify_domain = xs2all.net
local_domains = ...
local_domains_include_host = true
local_domains_include_host_literals = true
never_users = root
host_lookup = 0.0.0.0/0
host_accept_relay = "! * : \
    *"
trusted_users = mail
smtp_verify = true
gecos_pattern = ^([^,:]*)
gecos_name = $1
smtp_accept_queue_per_connection = 500


smtp_accept_queue_per_connection = 500

received_header_text = "Received: \
          ${if def:sender_fullhost {from ${sender_fullhost} \
          ${if def:sender_ident {(${sender_ident})}}\n\t}\
          {${if def:sender_ident {from ${sender_ident} }}}}\
          by ${primary_hostname} \
          ${if def:received_protocol {with ${received_protocol}}} \
          (Exim ${version_number} #${compile_number} (Debian))\n\t\
          id ${message_id}"
end


<line 140>

######################################################################
#                      TRANSPORTS CONFIGURATION                      #
######################################################################
...


> Perhaps on your system - not on mine. eximconfig isn't part of the Exim
> distribution as far as I know. Perhaps you should contact your vendor for
> support in that regard - sounds like some funky Linux variation to me.


My distribution is debian, pretty funky alright. eximconfig is a
script, and probably not such a good one. The relevant section is:

if( $ARGV[0] eq "-i" ) {
    print "Starting exim\n" ;


    # Install in inetd
    system( 'update-inetd --group MAIL --comment-chars \#disabled\# --add ' .
    '"smtp              stream  tcp     nowait  mail    /usr/sbin/exim exim -bs"' ) ;


    # Install in init.d
    system( 'update-rc.d exim defaults >/dev/null' ) ;


    # Restart daemon
    system( '/etc/init.d/exim start' ) ;


    exit 0 ;
}


So, this `starting exim' message is not much more than an intention.

> Are you sure that those log entries were generated upon setup of an SMTP
> session over TCP? Seems possible that they might also have been generated
> by local invocation of the exim binary. Nothing at all logged in the main
> log at the same time as those entries in the panic log?


You might be right. Hmm, you probably are. So that would solve at
least halve of my problems.

Richard
--
It could be that the purpose of your life is only to serve as a
warning to others.