sendmail 8.13.6 on FC2 server with SASL/STARTTLS

Discussion in 'Server Operation' started by Anne H, Mar 30, 2006.

  1. Anne H

    Anne H New Member

    Hi,

    We installed sendmail 8.13.6, but authorization using a username and
    password from Thunderbird is not working as before.

    I don't have time to upgrade the server to FC4 or 5 right now. I'd just
    like to configure sendmail 8.13.6 so that it worked as before.

    The latest sendmail built for FC is 8.12.11, so I can't use that because
    of the security problem.

    The instructions with sendmail were used:
    sh Build
    sh Build -c -f `pwd`/devtools/Site/site.config.m4

    to include STARTTLS, etc.

    The previous configuration files (sendmail.mc) from 8.12.11 were
    used.

    The only thing I can think of is that the sendmail binary
    produced is a dynamic library, whereas the one distributed
    with FC2 is a shared executable. I've built sendmail shared, but it
    fails with a segmentation fault.

    Does anyone know the ENVDEFS that should be used to build
    a shared binary for FC?

    Thanks in advance. Any advice appreciated.

    Anne Hammond
     
  2. falko

    falko Super Moderator

    What's in the mail log when you try to send a mail?
    What's the output of
    Code:
    telnet localhost 25
    and then
    Code:
    ehlo localhost
    ?
    What's the output of
    Code:
    netstat -tap
    ?
     
  3. Anne H

    Anne H New Member

    [root@geta sendmail-8.13.6]# telnet localhost 25
    Trying 127.0.0.1...
    Connected to localhost.
    Escape character is '^]'.
    220 geta.colorado.edu ESMTP Sendmail 8.13.6/8.13.6; Fri, 31 Mar 2006 17:13:08 -0700
    ehlo localhost
    250-geta.colorado.edu Hello geta.colorado.edu [127.0.0.1], pleased to meet you
    250-ENHANCEDSTATUSCODES
    250-PIPELINING
    250-8BITMIME
    250-SIZE
    250-DSN
    250-ETRN
    250-AUTH DIGEST-MD5 CRAM-MD5
    250-STARTTLS
    250-DELIVERBY
    250 HELP

    so STARTTLS is starting. Perhaps it has to do with AUTH not listing PLAIN
    or LOGIN?

    Not sure what you are looking for with netstat. It is really long so
    I just cut out the part about imaps and pop3s.


    [root@geta sendmail-8.13.6]# netstat -tap
    Active Internet connections (servers and established)
    Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
    tcp 0 0 *:imaps *:* LISTEN 1612/dovecot
    tcp 0 0 *:pop3s *:* LISTEN 1612/dovecot

    --------------
    [root@geta sendmail-8.13.6]# file /etc/sendmail8.12.11/sendmail
    /etc/sendmail8.12.11/sendmail: setgid ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), stripped
    [root@geta sendmail-8.13.6]# file /etc/sendmail8.13.6/sendmail
    /etc/sendmail8.13.6/sendmail: setgid ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for GNU/Linux 2.2.5, dynamically linked (uses shared libs), not stripped

    If I build sendmail with
    APPENDDEF(`confLDOPTS', `-shared')

    I get a segmentation fault. It doesn't start at all.
     
  4. Anne H

    Anne H New Member

    [root@geta sendmail-8.13.6]# file obj.Linux.2.6.5-1.358smp.i686/sendmail/sendmail
    obj.Linux.2.6.5-1.358smp.i686/sendmail/sendmail: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), not stripped
    [root@geta sendmail-8.13.6]# ./obj.Linux.2.6.5-1.358smp.i686/sendmail/sendmail -d0.1
    Segmentation fault
     
  5. falko

    falko Super Moderator

    Yes, some email clients such as Outlook Express need LOGIN.

    I wanted to see if sendmail is running, but you didn't post that part (or sendmail is really not running).
     
  6. Anne H

    Anne H New Member

    tcp 0 0 *:smtp *:* LISTEN
    8866/

    Yes, sendmail is running.
     

Share This Page