RE: [SLE] Sending Mail on the LAN (SUSE 8.0)

From: Ted Harding (Ted.Harding_at_nessie.mcc.ac.uk)
Date: 10/15/04

  • Next message: Mike McMullin: "Re: [SLE] SuSE Pro Licencing"
    Date: Fri, 15 Oct 2004 10:32:08 +0100 (BST)
    To: Don Parris <webdev@matheteuo.org>
    
    

    On 15-Oct-04 Don Parris wrote:
    > Well gang, I've got a few boxes running SUSE 8.0 Pro. I would
    > like to be able to send mail between hosts on the LAN, which
    > is not connected to the outside world. The Yast Mail module
    > didn't do anything that I can tell. At leasat I don't get e-mail
    > between hosts. Having viewed the READMEs and other documentation,
    > I think I'm more confused than enlightened.
    >
    > I'm using a hosts file - not a DNS server. (I know that sendmail
    > can use a "well-formed" hosts file.)

    You may need to probe a bit to get to the bottom of what's wrong.
    Sendmail should work fine on a LAN (there can be complications
    if you also mail to the outside world, e.g. via dial-up: you may
    then need to explicitly despatch the outgoing mail using a modified
    sendmail.cf file so as to masquerade your sending machine).

    As a first test, try seeing of you can send mail between your
    local machines using explicit IP addresses.

    Suppose (but modifiy the IP addresses to match your local setup)
    you have three machines whose IP addresses are

      192.168.0.1 192.168.0.2 192.168.0.3

    and you are sitting at [1] and want to send a message to user "don"
    at [2]. Then, when entering the "To:" destination address, enter

      don@[192.168.0.2]

    (note the square brackets). If it goes through, then sendmail is
    doing its job and also [2] is accepting SMTP connections.

    If not, then have a look at /var/log/mail where you should see
    a comment about what happened to the mail. As a further test of
    what went wrong in this case, try a manual SMTP dialogue from
    machine [1] by telnet to port 25 on machine [2], like

    telnet 192.168.0.2 25
    [220-response from remote]
    ehlo 192.168.0.1
    [250-response from remote]
    mail from: userid@[192.168.0.1]
    [250-response from remote]
    rcpt to: don@[192.168.0.2]
    [250-response from remote]
    data
    [354-response from remote]
    Subject: test message

    This is a test
    .
    [response from remote]

    at which stage you should see that the message has been accepted
    for delivery, and it should turn up in don's inbox on [2].

    If it fails anywhere along the line, you will get an explicit
    error message at that stage. In particular, wherever it says
    "250-response" above you should get a response beginning with
    "250" which is the SMTP code for "OK, valid so far".

    As a template for what you should see, here is a complete dialogue
    between two of my machines:

    ============================================================
    > telnet 192.168.0.6 25
    Trying 192.168.0.6...
    Connected to 192.168.0.6.
    Escape character is '^]'.
    220 brandy.fort.knox.uk ESMTP Sendmail 8.11.3/8.11.3/SuSE Linux
    8.11.1-0.5; Fri, 15 Oct 2004 10:13:16 +0100
    ehlo 192.168.0.7
    250-brandy.fort.knox.uk Hello compo.fort.knox.uk [192.168.0.7], pleased
    to meet you
    250-ENHANCEDSTATUSCODES
    250-8BITMIME
    250-SIZE
    250-DSN
    250-ONEX
    250-ETRN
    250-XUSR
    250 HELP
    mail from: ted@[192.168.0.7]
    250 2.1.0 ted@[192.168.0.7]... Sender ok
    rcpt to: ted@[192.168.0.6]
    250 2.1.5 ted@[192.168.0.6]... Recipient ok
    data
    354 Enter mail, end with "." on a line by itself
    Subject: test message

    This is a test
    .
    250 2.0.0 i9F9Dm817669 Message accepted for delivery
    quit
    221 2.0.0 brandy.fort.knox.uk closing connection
    Connection closed by foreign host.
    ============================================================

    Possible system-setting reasons for failure can include security
    settings on inetd services. You may get "conection refused" on
    the first line, so that port 25 (SMTP) on [2] is refusing connections.
    You may get down to the "rcpt to:" line, and then get something
    like "relaying denied".

    You may get through the above dialogue and yet the mail does not
    turn up in don's inbox on [2], in which case while the mail has been
    accepted by [2], it has not been delivered. This is then a problem
    with the mail delivery software on [2]. And so on.

    Anyway, try things out and let us know what happens.

    Good luck,
    Ted.

    --------------------------------------------------------------------
    E-Mail: (Ted Harding) <Ted.Harding@nessie.mcc.ac.uk>
    Fax-to-email: +44 (0)870 094 0861 [NB: New number!]
    Date: 15-Oct-04 Time: 10:32:08
    ------------------------------ XFMail ------------------------------

    -- 
    Check the headers for your unsubscription address
    For additional commands send e-mail to suse-linux-e-help@suse.com
    Also check the archives at http://lists.suse.com
    Please read the FAQs: suse-linux-e-faq@suse.com
    

  • Next message: Mike McMullin: "Re: [SLE] SuSE Pro Licencing"

    Relevant Pages

    • RE: SMTP sending failure, connection is dropped by remote host
      ... we can see the remote connection is reset by some ... the SBS external NIC to the internet connection to see if the issue still ... Please also recreate SMTP connectors for an external domainwhich you ... I will be here waiting for your updates. ...
      (microsoft.public.windows.server.sbs)
    • Re: Rmote Access problem
      ... The client could not connect to the remote computer. ... Remote connections ... Re-running CEICW on SBS server: ...
      (microsoft.public.windows.server.sbs)
    • Re: SBS Exchange 2003: too many "Current Sessions" opened
      ... that kills inetinfo.exe and starts SMTP - should ... Windows Small Business Server 2008 Unleashed ... Since exchange defaults to accepting ... IF, after a week, you are still seeing some connections, try *DISABLING* ...
      (microsoft.public.windows.server.sbs)
    • RE: Exchange will not send messages with attachments
      ... Cisco pix firewall with the SMTP filtering enable ... data following the Microsoft Exchange Server XEXCH50 command. ... Please first check the settings on the hardware firewall, ... First let's use nslookup to query the remote SMTP server IP address: ...
      (microsoft.public.windows.server.sbs)
    • Re: /remote desktop control suddenly broken - critical
      ... The client computer may not be turned on. ... Remote Desktop connections may not be enabled on the client ... Verify that Remote Desktop is enabled on the computer you are ... connection from another computer on the Windows Small Business Server ...
      (microsoft.public.windows.server.sbs)