OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
From: Chuck Yerkes (chuck+obsdsnew.com)
Date: Sun Apr 14 2002 - 12:26:34 CDT

  • Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

    You will have to edit your sendmail's .m4 file to remove the
    support for IPv6 (sendmail has been told to listen to ipv6 and
    must be told otherwise) then regenerate the config file. We
    don't edit /bin/ls to make changes; we don't edit sendmail.cf
    to make changes. Change the source for those files and
    regenerate them.

    Quoting Jason Stout (jasonstoutringzerosecurity.com):
    > After recompiling the kernel and disabling IPv6, sendmail doesn't
    > work anymore.
    >
    > I tried recompiling sendmail.cf after removing the line which
    > references inet6, that didn't work.
    >
    > Any idea how I can fix this?
    >
    > The following lines were removed:
    >
    > option INET6 # IPv6 (needs INET)
    > pseudo-device gif 4 # IPv[46] over IPv[46] tunnel (RFC1933)
    > #pseudo-device faith 1 # IPv[46] tcp relay translation i/f
    >
    > After which I get the following messages in maillog:
    >
    > Apr 14 07:53:41 sentinel sm-mta[2462]: starting daemon (8.12.1):
    > SMTP+queueing00:30:00
    > Apr 14 07:53:42 sentinel sm-mta[2462]: NOQUEUE: SYSERR(root):
    > opendaemonsocket: daemon MTA6: can't create server SMTP socket: Protoc
    > ol not supported
    > Apr 14 07:53:42 sentinel sm-mta[2462]: NOQUEUE: SYSERR(root):
    > opendaemonsocket: daemon MTA6: optional socket disabled
    > Apr 14 07:53:42 sentinel sm-mta[2462]: NOQUEUE: SYSERR(root):
    > opendaemonsocket: daemon MSA6: can't create server SMTP socket: Protoc
    > ol not supported
    > Apr 14 07:53:42 sentinel sm-mta[2462]: daemon MSA6: problem creating SMTP
    > socket
    > Apr 14 07:53:42 sentinel sm-mta[2462]: NOQUEUE: SYSERR(root):
    > opendaemonsocket: daemon MSA6: server SMTP socket wedged: exiting
    > Apr 14 07:55:00 sentinel sendmail[5395]: g3EEt0Po005395: from=root, size=5,
    > class=0, nrcpts=1, msgid=<200204141455.g3EEt0Po005395se
    > ntinel.oc.cox.net>, relay=rootlocalhost
    > Apr 14 07:55:00 sentinel sendmail[5395]: g3EEt0Po005395: to=root,
    > ctladdr=root (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay,
    > pri=30010, relay=localhost [127.0.0.1], dsn=4.0.0, stat=Deferred:
    > Connection refused by localhost
    >
    > Thanks,
    > Jason Stout