On Wed, Feb 24, 2016 at 04:15:13PM -0500, Wietse Venema wrote:

> > However, I wonder where the signal 11 (SIGSEGV) comes from.
> 
> To be resolved.

The OP must not be using 2.11.4 or later:

    20141025

       Bugfix (introduced: Postfix 2.11): core dump when
       smtp_policy_maps specifies an invalid TLS level. Viktor
       Dukhovni. File: smtp/smtp_tls_policy.c.

    commit 47ce65e715f1441aac01cb6100cf5eaf2e2ee256
    Author: Wietse Venema <wie...@porcupine.org>
    Date:   Sun Feb 8 00:00:00 2015 -0500

        postfix-2.11.4

    diff --git a/postfix/src/smtp/smtp_tls_policy.c 
b/postfix/src/smtp/smtp_tls_policy.c
    index f280810..b4c61e9 100644
    --- a/postfix/src/smtp/smtp_tls_policy.c
    +++ b/postfix/src/smtp/smtp_tls_policy.c
    @@ -516,9 +516,11 @@ static void *policy_create(const char *unused_key, 
void *context)
         switch (site_level) {
         default:
            tls->level = site_level;
    +       /* FALLTHROUGH */
         case TLS_LEV_NOTFOUND:
            break;
         case TLS_LEV_INVALID:
    +       tls->level = site_level;
            return ((void *) tls);
         }

-- 
        Viktor.

Reply via email to