mail sending

Discussion in 'Technical' started by zaqavis, Aug 16, 2007.

  1. zaqavis

    zaqavis New Member

    I have a Enterprise Linux 4 . (sendmail & dovecot)

    my all LAN users could able to send & receive emails.
    but on server terminal could not send message to any others users.

    what I m looking for.
     
  2. falko

    falko Super Moderator Howtoforge Staff

    What command did you use for sending mails? Any errors in your mail log?
     
  3. zaqavis

    zaqavis New Member

    I m using mail command on terminal and eroor found is could not reached your server. I have telnet my host name with port 25 but not responding but when I telnet with my ip its reply.
     
  4. falko

    falko Super Moderator Howtoforge Staff

    Is your hostname listed in /etc/hosts?
     
  5. zaqavis

    zaqavis New Member

    my host file is :

    127.0.0.1 hblpk.com hblpk localhost.localdomain localhost localh
    ost.com localhost.com.


    my email server is

    192.168.0.53

    DNs is
    202.163.96.3 (my ISP DNS)
     
  6. falko

    falko Super Moderator Howtoforge Staff

    And is your hostname in there? What's your hostname?
    Is your mail server on the same machine, or is it a different system?
     
  7. zaqavis

    zaqavis New Member

    my host name is "hblpk.com" there is only one server.
    IP is 192.168.0.53

    another question is this under /etc/mail/sendmail.cf
    smart relay host option can I put IP adddress except host name.
     
  8. falko

    falko Super Moderator Howtoforge Staff

    Add
    Code:
    192.168.0.53 hblpk.com
    to /etc/hosts.
     

Share This Page