OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Re: .forward file crashes and corresponding core dump files

From: Wietse Venema (wietseporcupine.org)
Date: Thu Jan 24 2008 - 15:07:55 CST


Ronald F. Guilmette:
>
> My apologies if this is an FAQ. In fact, I may have even asked this
> question myself in prior years, but I seem to have forgotten the
> answer. :-)
>
> I've got a .forward file in the home directory of one specific account.
> That invokesd a program which I write which, sadly, is crashing on
> occasion with signal 11 (segfault). I know this because my nightly
> log anaylzer (this is on FreeBSD) tells me so.
>
> So anyway, I want to run gdb on the .core file, but I can't seem to
> find the bleedin' thing. I looked in the home directory of the
> account in question, and I don't see any .core file there. I also
> looked in /var/spool/postfix and also didnt' see any .core file there
> either.

I think you want this:

http://www.postfix.org/postconf.5.html#command_execution_directory

        Wietse