Find the answer to your Linux question:
Results 1 to 2 of 2
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    How to test Postfix

    I telnetted to the Redhat server through port 25 and i connect but i want to know the commands to send mail from the session. Its postfix.


  2. #2
    Linux Guru sarumont's Avatar
    Join Date
    Apr 2003
    You can use telnet:

    telnet <IP> 25
    MAIL FROM&#58; <from-email>
    RCPT TO&#58; <recipient-email>
    Type message here.
    To get out of DATA, you put a . on a line by itself then hit enter. You should get a 250 OK at the end.
    "Time is an illusion. Lunchtime, doubly so."
    ~Douglas Adams, The Hitchhiker's Guide to the Galaxy

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts