Perl and cgi script installation

Discussion in 'General' started by linuxuser1, Mar 22, 2006.

  1. falko

    falko Super Moderator

    Then it might be a problem with your /etc/hosts file, i.e. localhost doesn't exist in it or points to a wrong IP address. What's in /etc/hosts?
     
  2. linuxuser1

    linuxuser1 New Member

    Hi falko,

    etc/hosts is like this:

    127.0.0.1 localhost.localdomain localhost debian1

    192.168.21.233 debian1.mydomain.com debian1

    192.168.21.234 virtual-ip1.mydomain.com virtual-ip1



    # The following lines are desirable for IPv6 capable hosts

    ::1 ip6-localhost ip6-loopback

    fe00::0 ip6-localnet

    ff00::0 ip6-mcastprefix

    ff02::1 ip6-allnodes

    ff02::2 ip6-allrouters

    ff02::3 ip6-allhosts
     
  3. falko

    falko Super Moderator

    Hm, looks ok... :confused:
    I'd then use the IP address 127.0.0.1 in your script, that should work.
     
  4. linuxuser1

    linuxuser1 New Member

    Hi Falko,

    I am trying to install sendmail on another newly installed server following your perfect setup at http://www.falkotimme.com/howtos/sendmail_smtp_auth_tls/index.php. When i now try to test if its working and got this result:

    debian:~# telnet localhost 25
    Trying 127.0.0.1...
    Connected to localhost.localdomain.
    Escape character is '^]'.
    220 server12.mydomain.com ESMTP Exim 4.50 Mon, 03 Apr 2006 20:11:29 +0100
    ehlo localhost
    250-server12.mydomain.com Hello localhost [127.0.0.1]
    250-SIZE 52428800
    250-PIPELINING
    250 HELP


    Thanks.
     
  5. falko

    falko Super Moderator

    What is the question?
     
  6. linuxuser1

    linuxuser1 New Member

    Hi Falko,

    The question is when as per your perfect setup you tested with telnet,
    you got many outputs like

    250-ENHANCEDSTATUSCODES
    PIPELINING
    8BITTIME
    DSN
    ETRN
    AUTH LOGIN PLAIN
    STARTTLS
    DELIVERY
    HELP


    whereas my own output on has
    250-SIZE 52428800
    250-PIPELINING
    250 HELP
    and am wondering why

    Thank you
     
  7. falko

    falko Super Moderator

    What's the output of
    Code:
    /usr/sbin/sendmail -d0.1 -bv root
    ?
     
  8. linuxuser1

    linuxuser1 New Member

    Hi Falko,

    Output as follows:

    server1:~# /usr/sbin/sendmail -d0.1 -bv root
    Version 8.13.6
    Compiled with: DNSMAP LOG MATCHGECOS MILTER MIME7TO8 MIME8TO7
    NAMED_BIND NETINET NETUNIX NEWDB PIPELINING SASLv2 SCANF
    STARTTLS USERDB XDEBUG

    ============ SYSTEM IDENTITY (after readcf) ============
    (short domain name) $w = server1x
    (canonical domain name) $j = server1.mydomain.com
    (subdomain name) $m = mydomain.com
    (node name) $k = server1.mydomain.com
    ========================================================

    root... deliverable: mailer local, user root


    Many Thanks.
     
  9. falko

    falko Super Moderator

    Looks ok. Did you create /etc/mail/sendmail.cf exactly as described in the tutorial?
     
  10. linuxuser1

    linuxuser1 New Member

    Hi Falko,

    Yes exactly

    Thanks
     
  11. falko

    falko Super Moderator

    Can you try the tutorial again? Please copy & paste from the tutorial.
     

Share This Page