error when running ehlo localhost (postmail)

Discussion in 'HOWTO-Related Questions' started by cruz, Apr 23, 2007.

  1. cruz

    cruz New Member

    I get this error when running the ehlo localhost command.
    HTML:
    500 5.5.2 Error: bad syntax
     
  2. falko

    falko Super Moderator Howtoforge Staff

    Any errors in your mail log? What's the output of
    Code:
    postcheck
    ?
     
  3. cruz

    cruz New Member

    How do I get that up?

    How can I get that to come up? Or were do I look. I am new to the shell and learning. Thanks...
     
  4. cruz

    cruz New Member

    error in mail

    Is this the commnad? /etc/postfix/main.cf
    I ran this from putty as root and get permission denied
     
  5. falko

    falko Super Moderator Howtoforge Staff

    /etc/postfix/main.cf is a file, not a command. To see what's in it, run
    Code:
    cat /etc/postfix/main.cf 
    postcheck is a command that you can run on the shell. Your mail log is in /var/log/.
     

Share This Page