LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-28-2007, 03:55 PM   #1
fakie_flip
Senior Member
 
Registered: Feb 2005
Location: San Antonio, Texas
Distribution: Gentoo Hardened using OpenRC not Systemd
Posts: 1,495

Rep: Reputation: 85
sending mail using postfix


How can I send an email using telnet and my mail server including my name. For example.

Code:
chris@ubuntu:~$ telnet localhost 25
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
220 ubuntu ESMTP Postfix (Ubuntu)
HELO server.com
250 ubuntu
MAIL FROM: Chris F. <username@gmail.com>
555 5.5.4 Unsupported option: F.
MAIL FROM: Chris <username@gmail.com>
555 5.5.4 Unsupported option: <username@gmail.com>
MAIL FROM: Chris username@gmail.com
555 5.5.4 Unsupported option: username@gmail.com
MAIL FROM: "Chris user@gmail.com"    
250 2.1.0 Ok
MAIL FROM: "Chris F. user@gmail.com"
503 5.5.1 Error: nested MAIL command
I want the message to appear from me and my name.
 
Old 12-29-2007, 09:44 AM   #2
Berhanie
Senior Member
 
Registered: Dec 2003
Location: phnom penh
Distribution: Fedora
Posts: 1,625

Rep: Reputation: 165Reputation: 165
Code:
MAIL FROM:<me@mydomain>
RCPT TO:<him@hisdomain>
DATA
From: My Name <me@mydomain>
To: His Name <him@hisdomain>
... additional headers ...
<blank line>
Body of email
.
 
Old 12-29-2007, 10:05 AM   #3
fakie_flip
Senior Member
 
Registered: Feb 2005
Location: San Antonio, Texas
Distribution: Gentoo Hardened using OpenRC not Systemd
Posts: 1,495

Original Poster
Rep: Reputation: 85
Quote:
Originally Posted by Berhanie View Post
Code:
MAIL FROM:<me@mydomain>
RCPT TO:<him@hisdomain>
DATA
From: My Name <me@mydomain>
To: His Name <him@hisdomain>
... additional headers ...
<blank line>
Body of email
.
Thanks. I just sent a spoofed email from "failure delivery" to get a girl to quit emailing me. I told her I was changing my email, but I didn't really.
 
Old 12-30-2007, 02:41 PM   #4
twantrd
Senior Member
 
Registered: Nov 2002
Location: CA
Distribution: redhat 7.3
Posts: 1,440

Rep: Reputation: 52
Why not just blacklist her?

-twantrd
 
Old 12-30-2007, 11:55 PM   #5
fakie_flip
Senior Member
 
Registered: Feb 2005
Location: San Antonio, Texas
Distribution: Gentoo Hardened using OpenRC not Systemd
Posts: 1,495

Original Poster
Rep: Reputation: 85
Quote:
Originally Posted by twantrd View Post
Why not just blacklist her?

-twantrd
I've already reported her as spam, and her emails don't even go to my spam folder.
 
Old 12-31-2007, 05:01 AM   #6
twantrd
Senior Member
 
Registered: Nov 2002
Location: CA
Distribution: redhat 7.3
Posts: 1,440

Rep: Reputation: 52
No, I meant setting up user blacklists in postfix since that's the MTA that you are using. Look at this site:

http://www.cyberciti.biz/faq/howto-b...email-address/

-twantrd
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How do you test POSTFIX for sending mail out? LneonGREEN Linux - Software 2 11-20-2008 05:24 PM
Postfix weird mail sending RestInPieces Debian 3 07-03-2006 03:48 PM
Postfix mail transfer agent not sending mail locally or to other servers sketelsen Linux - Software 3 02-09-2006 11:16 AM
Sending mail outside my LAN using Postfix Harlin Linux - Networking 1 07-18-2005 04:16 AM
Sending mail to Postfix on LAN JimKyle Linux - Networking 0 02-11-2003 04:12 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:02 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration