2 msgfilter not being called
5 msgpostfix 'delayed' delivery
6 msgBackscatter problem with relay host
6 msgRe: [dkim-milter-discuss] dkim-milter: 'X-DKIM'...
3 msgSpam/Virus filter ONLY for outbound mail?
19 msgGreylisting Query
3 msgQuick queue statistics question
7 msgTesting Cyrus SASL without a Postfix interface
4 msgSpam quarantine management addon for Postfix???
1 msgConfiguring internal distributing mail list ( a...
1 msgRe: Problem using Postfix with LDAP using STARTTLS
7 msgHow to avoid 'BCC' returned?
3 msgPostfix and dkim-milter problem
5 msgallowing a mail to a mailid from a specific ip ...
15 msg[patch] 'post-install' has forgotten to read da...
6 msgPostfix 2.5.0 stable release available
5 msgGuidance on my config
5 msgExtracting bounce messages from the outbound queue

.forward file crashes and corresponding core du...
\ Ronald F. Guilmette (24 Jan 2008)
. \ (Wietse Venema) (24 Jan 2008)
. \ Ronald F. Guilmette (24 Jan 2008)
. . \ (Wietse Venema) (24 Jan 2008)
. \ Ronald F. Guilmette (24 Jan 2008)
. . \ Victor Duchovni (24 Jan 2008)

1 msgSolved (was Re: Relay question)
Subject:Re: .forward file crashes and corresponding core dump files
Group:Postfix-users
From:Victor Duchovni
Date:24 Jan 2008


 
On Thu, Jan 24, 2008 at 01:41:19PM -0800, Ronald F. Guilmette wrote:

>
> OK. So let me see if I get this...
>
> The .forward file commands are, by default, initially cd'd into
> /var/spool/postfix, yes? But then if there is a signal 11 or other
> fatal unhandled signal, the kernel tries to write a .core file in
> the current directory, but since the command was executing under
> the user-id of the account whose home directory contained the .forward
> file, and since that user-id doesn't have write access to Postfix's
> /var/spool/postfix directory, no .core file is written.
>
> Correct so far?

Yes

> And the solution to this problem is to explicitly set, for example:
>
> command_execution_directory = $home
>
> in the main.cf file.

Yes, unless core file generation is disabled by some kernel tuning
parameter, default "ulimit" setting or core files are not written to
"core" in the current working directory, ...

This is somewhat platform dependent. For example, one RHEL 4 system has
the following in "sysctl -a" output:

kernel.suid_dumpable = 0
kernel.core_uses_pid = 0
kernel.core_pattern = /var/tmp/cores/%e.%p.%u.core

--
Viktor.

Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the "Reply-To" header.

To unsubscribe from the postfix-users list, visit
http://www.postfix.org/lists.html or click the link below:
<mailto:majordomo?body=unsubscribe%20postfix-users>

If my response solves your problem, the best way to thank me is to not
send an "it worked, thanks" follow-up. If you must respond, please put
"It worked, thanks" in the "Subject" so I can delete these quickly.


© 2004-2008 readlist.com