[LUNI] debugging_pc#2_dial_up_email_as_of_0303_1400

From: Max (amw18@home.com)
Date: Sun Mar 04 2001 - 10:24:52 CST

  • Next message: David Rock: "Re: [LUNI] 3dfx?"

     

        debugging_PC#2_email_as_of_0303_1400

        thank you for your help so far!

        recap to this point:
        (email to & from amw18@home.com via pc#1 using dsl works,
        allowing these messages)

        pc#2 has this much set-up:
          a fresh installation of Red Hat Linux Ver6.2
             using the custom installation including all packages

          one year's dialup connection purchased from icdc.com giving
             the following specs:
             ip address : dynamic
             userid : amw
             password : (password)
             emailaddress : amw@icdc.com
             mail server : mail.icdc.com
             primary name server: 208.244.152.26
             primary name server: 208.244.152.26

          following ISP-Connectivity-mini-HOWTO by Michael Strates,
             ppp_files shown in appendix_A were created, allowing
             a root user to get a successful ppp connection with
             icdc.com. Successful ppp connection was proven by:
               a. /sbin/ifconfig
               b. any user able to whois
               c. any ussr able to ftp

          netscape/edit/preferences were filled in a shown in appendix_B
     
          at this point pc#2 can
               a. use netscape to surf the net,
               b. use netscape to receive email to amw@icdc.com

          remaining bug is:
               pc#2 cannot yet send email
               a. attempts to send email using netscape get error message
                   shown in Appendix_C.
               b. attempts to send email using mail get error message
                   shown in Appendix_D.
               c. at the same time pc#1 connected via dsl is able to
                   send the same message to the same recipient

          I am now reading the O'Reilly sendmail book (Costales & Allman) for
          requirements of sendmail.cf. I'll happily try a shortcut, if you
          have one to suggest . .
      
          Max

        ______________________________________________________________________
        appendix_A

        procedure to set up files for pppd adapted from
        ISP-Connectivity-mini-HOWTO

        the following files were created and placed using the procedure that
        follows this list:

        /etc/HOSTNAME
        /etc/hosts
        /etc/hosts,allow
        /etc/hosts.deny
        /etc/networks
        /etc/resolv.conf
        /etc/ppp/pap-secrets
        /usr/local/lib/connect.sh
        /usr/local/bin/ppp-up.sh

        procedure for creating and placing:

    01 become root user

    02 edit HOSTNAME so it has the hostname (computer name) as shown:
        (example below)
        002

    03 edit hosts so it has the hostname (computer name) as shown:
        (example below)
        127.0.0.1 localhost
        0.0.0.0 002

    04 edit hosts.allow so it has:
        (example below)
        ALL: LOCAL

    05 edit hosts.deny so it has:
        (example below)
        ALL: ALL

    06 edit networks so it has:
        (example below)
        loopback 127.0.0.0
        localnet 0.0.0.0

    07 edit resolv.conf so it has:
        (example below)
        search idcd.com
        nameserver 208.244.152.26
        nameserver 208.244.152.10

    08 edit pap-secrets so it has:
        (example below)
        # Secrets for authentication using PAP
        # client server secret IP addresses
        amw@ICN * (paaaword)

    09 edit connect.sh so it has:
        (example below)
        #!/bin/sh
        /usr/sbin/chat -v -t 45 \
        "" ATZ \
        OK ATDT2958961 \
        CONNECT "" \
        ogin: amw@ICN \
        assword: (password)

    10 do chmod 755 connect.sh to make it executable

    11 edit ppp-up.sh so it has:
        (example below)
        #!/bin/sh
        PATH=/usr/sbin:/sbin
        /usr/sbin/pppd connect /usr/local/lib/connect.sh \
        crtscts lock defaultroute \
        noipdefault passive /dev/modem 115200

    12 do chmod 755 ppp-up.sh to make it executable

    13 copy the following files into /etc
          HOSTNAME
          hosts
          hosts.allow
          hosts.deny
          networks
          resolv.conf

    14 copy pap-secrets into /etc/ppp

    15 copy connect.sh into /usr/local/lib

    17 copy ppp-up.sh into /usr/local/bin

    18 do ln -s /dev/ttyS0 /dev/modem<enter>
        to associate modem with ttyS0

       (end of procedure for creating and placing)

        ______________________________________________________________________
        appendix_B

        preferences set in netsape/edit/preferences:

        email_address : amw@icdc.com
        incoming mail server : mail.icdc.com
        server type : POP
        user name : amw
        outgoing mail server : mail.icdc.com
        outgoing user name : amw

        ______________________________________________________________________
        appendix_C

               A network error occurred
               unable to connect to server (TCP Error No route to host)
               The server may be down or unreachable

               Try connecting again later

        ______________________________________________________________________
        appendix_D

         ----- The following addresses had transient non-fatal errors -----
    amw18@home.com

       ----- Transcript of session follows -----
    451 amw18@home.com... home.com: Name server timeout
    Warning: message still undelivered after 4 hours
    Will keep trying until message is 5 days old

        ______________________________________________________________________

    -=-
    Linux Users Of Northern Illinois: General Discussion Mailing list.
    For unsubscription, archives, and announcements only see http://luni.org



    This archive was generated by hypermail 2b29 : Sun Mar 04 2001 - 10:20:22 CST

  •