sendmail on Solaris 9

From: Christopher L. Barnard (cbar44_at_tsg.cbot.com)
Date: 08/27/03

  • Next message: Silja Rajendran: "synchronizing the passwords"
    To: sunmanagers@sunmanagers.org
    Date: Wed, 27 Aug 2003 15:45:26 -0500
    
    

    A sendmail/solaris 9 problem:

    On most of our solaris 9 machines, I have configured them to not run in
    daemon mode. An outbound email message is sent straight to the mailhost
    and is processed there. The only difference between this implementation
    and the sendmail implementation that shipped with Solaris 8 is that aliases
    are expanded on the mailhost, not locally. This works perfectly.

    This is fine except on one machine where we do not control the mailhost.
    So the aliases must be expanded locally. Running sendmail in daemon mode
    on this server is deemed to be too much of a security risk. Running it in
    daemon mode but only listening to localhost is deemed unacceptable due to
    the difficulty of verifying that this modification has been saved after a
    sendmail patch is applied. This server will actually send out messages
    fairly infrequently, so the much slower option of spawning sendmail out
    of inetd.conf is acceptable here. It will also be possible to use tcp
    wrappers to restrict by IP what servers can connect to this sendmail
    instance.

    On solaris 8 boxes, all I needed to do was to put an entry into the inetd.conf
    file
    smtp stream tcp nowait root /usr/sbin/tcpd /usr/lib/sendmail -bs

    When I do this on a solaris 9 box, however, it does not work. The email
    loops on localhost until the max hop count is exceeded, and is never sent.
    I have tried this with and without the "sendmail -Ac" process running as
    smmsp.

    Has anyone else accomplished, on a Solaris 9 box, running sendmail as needed
    from inetd?

    TIA, and of course I will summarize.

    +-----------------------------------------------------------------------+
    | Christopher L. Barnard O When I was a boy I was told that |
    | cbarnard@tsg.cbot.com / \ anybody could become president. |
    | (312) 347-4901 O---O Now I'm beginning to believe it. |
    | http://www.cs.uchicago.edu/~cbarnard --Clarence Darrow |
    +----------PGP public key available via finger or PGP keyserver---------+
    _______________________________________________
    sunmanagers mailing list
    sunmanagers@sunmanagers.org
    http://www.sunmanagers.org/mailman/listinfo/sunmanagers


  • Next message: Silja Rajendran: "synchronizing the passwords"

    Relevant Pages

    • SUMMARY: sendmail on Solaris 9
      ... An outbound email message is sent straight to the mailhost ... Running sendmail in daemon mode ... > On solaris 8 boxes, all I needed to do was to put an entry into the ...
      (SunManagers)
    • Re: Solaris 8 - Configuring sendmail relay (NoAuth inbound -> SSL outbound)
      ... that mail.local was not really intended for a more or less "stock" Solaris system. ... Having removed SUNWsndmr and SUNWsndmu, should I consider the warning to be inapplicable in my case, and go ahead and install this component? ... Also in the syslog I see messages about "broken pipe", "unknown mailer error 5", and "cannot save rejected mail anywhere". ... It seems from the mail -x output that mail is handing off to sendmail just fine, if I'm correct in assuming that no blatantly bad news there is good news. ...
      (comp.mail.sendmail)
    • Re: How to enable network on Solaris 10 experimental
      ... This command may be removed in a future Solaris ... after login I get the "DT messaging system could not ... I still can not send mail by sendmail to ... You seem to have gotten DNS configured somehow since nslookup gave you an address for google. ...
      (comp.unix.solaris)
    • RESOLVED: Solaris 8 - Configuring sendmail relay (NoAuth inbound -> SSL outbound)
      ... If your smtp server is smtp.att.yahoo.com then the default sendmail installed with Solaris 8 will no longer be able to send mail. ... gunzip & untar BerkeleyDB.4.2; install per the README. ...
      (comp.mail.sendmail)
    • Re: sending e-mail to oneself (w/ sendmail 8.13.8+Sun/8.13.8)
      ... I hate to ask a basic question. ... I have been using Solaris 9 for years. ... My sendmail.mc with older sendmail worked okay for years. ... The mail is stored in a spool because sendmail failed to ...
      (comp.mail.sendmail)