Find the answer to your Linux question:
Results 1 to 2 of 2
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. Thanks...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jun 2005
    Posts
    5

    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.

    Thanks

  2. #2
    Linux Guru sarumont's Avatar
    Join Date
    Apr 2003
    Location
    /dev/urandom
    Posts
    3,682
    You can use telnet:

    Code:
    telnet <IP> 25
    EHLO
    MAIL FROM&#58; <from-email>
    RCPT TO&#58; <recipient-email>
    DATA
    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
  •