On Mon, 19 May 2008, Zbigniew Szalbot wrote:
> It appears there is none at the moment. How can I configure dkim-filter 
> to leave core dumps? man dkim-filter yields nothing.

You don't really configure the filter itself to do that.  Instead, you 
have to create an environment in which the kernel will do so when the 
process does something illegal.

Among other things:

- don't use "-u" or "UserID", as many modern kernels consider it a 
security risk to leave a core as a user other than the one which started 
the process; if you have to change user for the process, use "su"

- if you must use "-u" or "UserID", make use of whichever kernel options 
you need to override the above security issue; how you do this depends on 
which kernel you're using

- make sure you start the filter with a current working directory in which 
it has permissions to create a file

- ensure there are no process limits against core dumps in effect; how you 
do this depends on which shell you're using

If none of these seem to work, check your kernel logs for a crash report 
about dkim-filter.  These may not be in your mail log.

Finally, you could try running the filter in the foreground (i.e. don't 
use Background or AutoRestart) and wait for it to crash.  If an assertion 
failure occurs, at least it will tell you which line of which file 
produced the error.

Good luck...

-MSK

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
dkim-milter-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dkim-milter-discuss

Reply via email to