powerhouse,
The title asked how to tell if Sendmail is on a server, but the body of the node asked how to tell which "mailing" system was present. This could be far from trivial to figure out:

  • Is the service running on the standard port - 25? You could try telneting into port 25 or netstat -an | grep LISTEN
  • If you are able to telnet into port 25 - does the banner identify iteself? Do you trust what it says? Can you type help to query further?
  • What program shows up in the process table? ps -ef and the like
  • Are there more than one mail program on the same system? Perhaps configured to work in conjunction with each other on different ports
  • Is there a start up script/config file for Sendmail

    The list goes on and on. I would take jeffa's advice if you do not absolutely need to use Sendmail and make it as portable as possible.

    Cheers - L~R


    In reply to Re: How to tell if a server has Sendmail? by Limbic~Region
    in thread How to tell if a server has Sendmail? by powerhouse

    Title:
    Use:  <p> text here (a paragraph) </p>
    and:  <code> code here </code>
    to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.