# # Original File # ------------ # http://www.Linux-Sec.net/Mail/etc.mail/sendmail.manually.txt # # # Manually Sending mail to target.com # # # 30-Mar-04 amo Date-of-Birth # # # Connect to their mail server # ---------------------------- telnet Mail.Target-Domain.com 25 # Trying w.x.y.z... # Connected to target.com. # Escape character is '^]'. # 220 Mail.Target.com ESMTP Postfix (Debian/GNU) # # # be nice EHLO your-domain.com # # # who are you # MAIL From: you@your-domain.com # 250 2.1.0 you@your-domain.com... Sender ok # # who is getting the email at somebody@target.com # RCPT To: somebody@target-domain.com # 250 2.1.5 alvin@linux-consulting.com... Recipient ok # # send your message # DATA # 354 Enter mail, end with "." on a line by itself your email content # # End the email with "." . # 250 2.0.0 i2V3NXEh021682 Message accepted for delivery # # # Quit the test sesssion # quit # 221 2.0.0 Mail.Target-Domain.com closing connection # Connection closed by foreign host. # # # End of file