Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: exim: users

Clear log

 

 

exim users RSS feed   Index | Next | Previous | View Threaded


ferguson at brvmlaw

May 3, 2002, 3:42 AM

Post #1 of 13 (730 views)
Permalink
Clear log

Good morning,

What is the command to clear my maillog in its entirety?
like exim -?? something

Thanks


-----Original Message-----
From: Tamas TEVESZ [mailto:ice [at] extreme]
Sent: Friday, May 03, 2002 6:51 AM
To: Stanier, Alan M
Cc: 'exim-users [at] exim'
Subject: Re: [Exim] failed to find host name from IP address


On Fri, 3 May 2002, Stanier, Alan M wrote:

> 2002-05-03 11:06:22 recipients from [64.156.187.126] refused
> (failed to find host name from IP address)

conduct a manual test (-bh), that might reveal more information.


--
[-]


--

## List details at http://www.exim.org/mailman/listinfo/exim-users Exim
details at http://www.exim.org/ ##


ferguson at brvmlaw

May 3, 2002, 3:54 AM

Post #2 of 13 (706 views)
Permalink
RE: Clear log [In reply to]

OK Thank you all for your quick replies.
What I get from all the replies is that if I simply delete the log file exim
will create another.
Correct?

Thanks

-----Original Message-----
From: Tamas TEVESZ [mailto:ice [at] extreme]
Sent: Friday, May 03, 2002 7:04 AM
To: Ferguson, Michael
Cc: 'exim-users [at] exim'
Subject: Re: [Exim] Clear log


On Fri, 3 May 2002, Ferguson, Michael wrote:

no. top-posters' log files just keep growing forever.

*g*

> Good morning,
>
> What is the command to clear my maillog in its entirety?
> like exim -?? something
>
> Thanks
>
>
> -----Original Message-----
> From: Tamas TEVESZ [mailto:ice [at] extreme]
> Sent: Friday, May 03, 2002 6:51 AM
> To: Stanier, Alan M
> Cc: 'exim-users [at] exim'
> Subject: Re: [Exim] failed to find host name from IP address
>
>
> On Fri, 3 May 2002, Stanier, Alan M wrote:
>
> > 2002-05-03 11:06:22 recipients from [64.156.187.126] refused
> > (failed to find host name from IP address)
>
> conduct a manual test (-bh), that might reveal more information.
>
>
> --
> [-]
>
>
> --
>
> ## List details at http://www.exim.org/mailman/listinfo/exim-users Exim
> details at http://www.exim.org/ ##
>
> --
>
> ## List details at http://www.exim.org/mailman/listinfo/exim-users Exim
details at http://www.exim.org/ ##
>
>

--
[-]


ferguson at brvmlaw

May 3, 2002, 3:57 AM

Post #3 of 13 (703 views)
Permalink
RE: Clear log [In reply to]

Volker, Thanks

-----Original Message-----
From: volker [mailto:v.augustin [at] multiartstudio]
Sent: Friday, May 03, 2002 7:06 AM
To: Ferguson, Michael
Cc: 'exim-users [at] exim'
Subject: Re: [Exim] Clear log


you mean emptying your maillog-file?

delete your maillog, touch a new one and killHUP your syslogdaemon :)

you could do a

rm -f /var/log/maillog && \
touch /var/log/maillog && \
/etc/rc.d/init.d/syslogd restart

this might help ...

volker


"Ferguson, Michael" wrote:
>
> Good morning,
>
> What is the command to clear my maillog in its entirety?
> like exim -?? something
>
> Thanks
>
> -----Original Message-----
> From: Tamas TEVESZ [mailto:ice [at] extreme]
> Sent: Friday, May 03, 2002 6:51 AM
> To: Stanier, Alan M
> Cc: 'exim-users [at] exim'
> Subject: Re: [Exim] failed to find host name from IP address
>
> On Fri, 3 May 2002, Stanier, Alan M wrote:
>
> > 2002-05-03 11:06:22 recipients from [64.156.187.126] refused
> > (failed to find host name from IP address)
>
> conduct a manual test (-bh), that might reveal more information.
>
> --
> [-]
>
> --
>
> ## List details at http://www.exim.org/mailman/listinfo/exim-users Exim
> details at http://www.exim.org/ ##
>
> --
>
> ## List details at http://www.exim.org/mailman/listinfo/exim-users Exim
details at http://www.exim.org/ ##


yann at kierun

May 3, 2002, 4:01 AM

Post #4 of 13 (706 views)
Permalink
Re: Clear log [In reply to]

Quoth Ferguson, Michael on Fri, May 03, 2002 at 06:42:47 -0400
> Good morning,
>
> What is the command to clear my maillog in its entirety?
> like exim -?? something

<evil_mail_admin_from_hell>
as root: cd / && rm -rf
</evil_mail_admin_from_hell>

... Right... DO NOT TYPE THE ABOVE!!!!!!!!!!!!!!!!

You can either delete the log file, or use something like excylog that
will cycles the logfiles for you. There are other mechanisms to cycle
logs depending on what falvor of unix you are running.

--
yann [at] kierun -=*=- www.kierun.org
PGP: www.kierun.org/pgp/key-kierun
PGP: 009D 7287 C4A7 FD4F 1680 06E4 F751 7006 9DE2 6318
IRC: nick kierun, server spod.uk.amiganet.org, channel #sanctus


ollie at uk

May 3, 2002, 4:03 AM

Post #5 of 13 (705 views)
Permalink
Re: Clear log [In reply to]

On Fri, May 03, 2002 at 06:42:47AM -0400, Ferguson, Michael wrote:
> Good morning,
>
> What is the command to clear my maillog in its entirety?
> like exim -?? something

mv /path/to/maillog /path/to/maillog.old
touch /path/to/maillog

Ollie

--
Oliver Cook Systems Administrator, ClaraNET
ollie [at] uk 020 7903 3065


drees at rangebroadband

May 3, 2002, 4:03 AM

Post #6 of 13 (706 views)
Permalink
RE: Clear log [In reply to]

> What is the command to clear my maillog in its entirety?
> like exim -?? something

rm -f /path/to/mainlog


ice at extreme

May 3, 2002, 4:04 AM

Post #7 of 13 (706 views)
Permalink
Re: Clear log [In reply to]

On Fri, 3 May 2002, Ferguson, Michael wrote:

no. top-posters' log files just keep growing forever.

*g*

> Good morning,
>
> What is the command to clear my maillog in its entirety?
> like exim -?? something
>
> Thanks
>
>
> -----Original Message-----
> From: Tamas TEVESZ [mailto:ice [at] extreme]
> Sent: Friday, May 03, 2002 6:51 AM
> To: Stanier, Alan M
> Cc: 'exim-users [at] exim'
> Subject: Re: [Exim] failed to find host name from IP address
>
>
> On Fri, 3 May 2002, Stanier, Alan M wrote:
>
> > 2002-05-03 11:06:22 recipients from [64.156.187.126] refused
> > (failed to find host name from IP address)
>
> conduct a manual test (-bh), that might reveal more information.
>
>
> --
> [-]
>
>
> --
>
> ## List details at http://www.exim.org/mailman/listinfo/exim-users Exim
> details at http://www.exim.org/ ##
>
> --
>
> ## List details at http://www.exim.org/mailman/listinfo/exim-users Exim details at http://www.exim.org/ ##
>
>

--
[-]


v.augustin at multiartstudio

May 3, 2002, 4:05 AM

Post #8 of 13 (700 views)
Permalink
Re: Clear log [In reply to]

you mean emptying your maillog-file?

delete your maillog, touch a new one and killHUP your syslogdaemon :)

you could do a

rm -f /var/log/maillog && \
touch /var/log/maillog && \
/etc/rc.d/init.d/syslogd restart

this might help ...

volker


"Ferguson, Michael" wrote:
>
> Good morning,
>
> What is the command to clear my maillog in its entirety?
> like exim -?? something
>
> Thanks
>
> -----Original Message-----
> From: Tamas TEVESZ [mailto:ice [at] extreme]
> Sent: Friday, May 03, 2002 6:51 AM
> To: Stanier, Alan M
> Cc: 'exim-users [at] exim'
> Subject: Re: [Exim] failed to find host name from IP address
>
> On Fri, 3 May 2002, Stanier, Alan M wrote:
>
> > 2002-05-03 11:06:22 recipients from [64.156.187.126] refused
> > (failed to find host name from IP address)
>
> conduct a manual test (-bh), that might reveal more information.
>
> --
> [-]
>
> --
>
> ## List details at http://www.exim.org/mailman/listinfo/exim-users Exim
> details at http://www.exim.org/ ##
>
> --
>
> ## List details at http://www.exim.org/mailman/listinfo/exim-users Exim details at http://www.exim.org/ ##


ice at extreme

May 3, 2002, 4:23 AM

Post #9 of 13 (707 views)
Permalink
Re: Clear log [In reply to]

On Fri, 3 May 2002, Ollie Cook wrote:

> touch /path/to/maillog

this is actually not needed. thanks heaven (and Philip!) exim
re-creates the file if it does not exist.


--
[-]


Nigel.Metheringham at dev

May 3, 2002, 4:26 AM

Post #10 of 13 (708 views)
Permalink
Re: Clear log [In reply to]

On Fri, 2002-05-03 at 12:05, volker wrote:
> you mean emptying your maillog-file?
>
> delete your maillog, touch a new one and killHUP your syslogdaemon :)

Volker,

Exim does not typically use syslog, although exim4 does now have a
facility to do so.

If you are not using syslog, then rolling the log file is just a case of
moving it out of the way or deleting it. No need to create a new one,
no need to HUP anything (exim does not hold the logfile open for any
length of time).

Nigel.

--
[ Nigel Metheringham Nigel.Metheringham [at] InTechnology ]
[. - Comments in this message are my own and not ITO opinion/policy - ]


ollie at uk

May 3, 2002, 4:31 AM

Post #11 of 13 (713 views)
Permalink
Re: Clear log [In reply to]

On Fri, May 03, 2002 at 01:23:45PM +0200, Tamas TEVESZ wrote:
> On Fri, 3 May 2002, Ollie Cook wrote:
>
> > touch /path/to/maillog
>
> this is actually not needed. thanks heaven (and Philip!) exim
> re-creates the file if it does not exist.

Ah but syslog doesn't. That's just what I'm accustomed to.

Apologies for the confusion.

Ollie

--
Oliver Cook Systems Administrator, ClaraNET
ollie [at] uk 020 7903 3065


ice at extreme

May 3, 2002, 4:35 AM

Post #12 of 13 (708 views)
Permalink
Re: Clear log [In reply to]

On 3 May 2002, Nigel Metheringham wrote:

> Exim does not typically use syslog, although exim4 does now have a
> facility to do so.

exim 3 is having it for a while as well

--
[-]


v.augustin at multiartstudio

May 3, 2002, 4:35 AM

Post #13 of 13 (704 views)
Permalink
Re: Clear log [In reply to]

oh sorry, im only unsing exim4 just since one week, absolut newbie to
smtp...

can somebody tell me how to tell exim4 where the logfiles are going?
im just wondering and beeing very confused about exim4-configuration, is
there a more detailed loglevel? debugmode for exim ??

thanks

volker



Nigel Metheringham wrote:
>
> On Fri, 2002-05-03 at 12:05, volker wrote:
> > you mean emptying your maillog-file?
> >
> > delete your maillog, touch a new one and killHUP your syslogdaemon :)
>
> Volker,
>
> Exim does not typically use syslog, although exim4 does now have a
> facility to do so.
>
> If you are not using syslog, then rolling the log file is just a case of
> moving it out of the way or deleting it. No need to create a new one,
> no need to HUP anything (exim does not hold the logfile open for any
> length of time).
>
> Nigel.
>
> --
> [ Nigel Metheringham Nigel.Metheringham [at] InTechnology ]
> [. - Comments in this message are my own and not ITO opinion/policy - ]

exim users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.