LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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
 
LinkBack Search this Thread
Old 12-28-2007, 03:55 PM   #1
fakie_flip
Senior Member
 
Registered: Feb 2005
Location: san antonio, texas
Distribution: Fedora 64 bit RAID0 + LUKS, CentOS (server), Backtrack, Gentoo Hardened
Posts: 1,439

Rep: Reputation: 80
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,614

Rep: Reputation: 164Reputation: 164
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: Fedora 64 bit RAID0 + LUKS, CentOS (server), Backtrack, Gentoo Hardened
Posts: 1,439

Original Poster
Rep: Reputation: 80
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,438

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: Fedora 64 bit RAID0 + LUKS, CentOS (server), Backtrack, Gentoo Hardened
Posts: 1,439

Original Poster
Rep: Reputation: 80
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,438

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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Trackbacks are Off
Pingbacks are On
Refbacks are 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


All times are GMT -5. The time now is 07:56 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration