OSEC

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

From: David Schweikert (dwsee.ethz.ch)
Date: Mon May 03 2004 - 08:56:56 CDT


Hi,

I am experiencing signal 11 crashes of the smtpd process.

* Compilation

  I did compile Postfix 2.1.0 on Solaris 8 (using GCC 3.2.3), including
  the TLS patch and configuring it to use SASL (2.1.18).
  
* Config 1: ok

  smtpd_sasl_auth_enable = yes

  smtpd_recipient_restrictions =
        ...
        permit_sasl_authenticated
        ...
        check_policy_service inet:127.0.0.1:9998
        permit

  (full config is attached)

* Config 2: signal 11

  smtpd_sasl_auth_enable = no

  smtpd_recipient_restrictions =
        ...
        check_policy_service inet:127.0.0.1:9998
        permit

* Config 3: ok

  smtpd_sasl_auth_enable = no

  smtpd_recipient_restrictions =
        ...
        permit

* Backtrace

  #0 0x0004a318 in vbuf_print ()
  #1 0x00043324 in vstream_fprintf ()
  #2 0x00046180 in attr_vprint_plain ()
  #3 0x000455a0 in attr_clnt_request ()
  #4 0x00022d74 in check_policy_service (state=0xffbef928,
      server=0x3f7848 "inet:127.0.0.1:9998",
      reply_name=0x4de050 "oetikeree.ethz.ch",
      reply_class=0x55b90 "Recipient address",
      def_acl=0x56148 "check_recipient_access") at smtpd_check.c:2890
  #5 0x000231c0 in generic_checks (state=0xffbef928, restrictions=0x3f7820,
      reply_name=0x4de050 "oetikeree.ethz.ch",
      reply_class=0x55b90 "Recipient address",
      def_acl=0x56148 "check_recipient_access") at smtpd_check.c:3056
  #6 0x00024784 in smtpd_check_rcpt (state=0xffbef928,
      recipient=0x4de050 "oetikeree.ethz.ch") at smtpd_check.c:3622
  #7 0x0001b9e4 in rcpt_cmd (state=0xffbef928, argc=3, argv=0x4c32f0)
      at smtpd.c:1453
  #8 0x0001da44 in smtpd_proto (state=0xffbef928,
      service=0x1d440 "\235γΏ\220\200¦`\001\002") at smtpd.c:2706
  #9 0x0001dd44 in smtpd_service (stream=0x4c0630, service=0xffbeff31 "smtp",
      argv=0xffbefe9c) at smtpd.c:2862
  #10 0x0002738c in single_server_wakeup ()
  #11 0x0003c888 in event_loop ()
  #12 0x00027c28 in single_server_main ()
  #13 0x0001e090 in main (argc=8, argv=0xffbefe7c) at smtpd.c:3100

Thanks for any help
David
--
     _
  __| |___ David Schweikert <dwsee.ethz.ch>
 / _` / __| IT Support Group, D-ITET, ETH-Zurich
| (_| \__ \ Tel: +41(0)1-6327019 Room: ETL F24.1
 \__,_|___/ http://people.ee.ethz.ch/~dws/