OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
PATCH: Re: signal 11 with smtpd_sasl_auth_enable = no and check_policy_service

Victor.DuchovniMorganStanley.com
Date: Mon May 03 2004 - 09:53:14 CDT


On Mon, 3 May 2004, David Schweikert wrote:

> Hi,
>
> I am experiencing signal 11 crashes of the smtpd process.
>
> * Config 2: signal 11
>
> smtpd_sasl_auth_enable = no
>
> smtpd_recipient_restrictions =
> ...
> check_policy_service inet:127.0.0.1:9998
> permit
>

Index: src/smtpd/smtpd_state.c
--- src/smtpd/smtpd_state.c 22 Apr 2004 03:46:13 -0000 1.1.1.1
+++ src/smtpd/smtpd_state.c 3 May 2004 14:52:30 -0000
-117,6 +117,11
         var_smtpd_sasl_enable = 0;
     if (var_smtpd_sasl_enable)
         smtpd_sasl_connect(state, VAR_SMTPD_SASL_OPTS, var_smtpd_sasl_opts);
+ else {
+ state->sasl_username = 0;
+ state->sasl_method = 0;
+ state->sasl_sender = 0;
+ }
 #endif

     /*

--
        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:majordomopostfix.org?body=unsubscribe%20postfix-users>