LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Sending anonymous emails from the Terminal (https://www.linuxquestions.org/questions/linux-software-2/sending-anonymous-emails-from-the-terminal-528481/)

memo007 02-12-2007 09:47 PM

Sending anonymous emails from the Terminal
 
I read in a book a while ago how you can send anonymous emails without anything special like GREP | something i dont remember exactly... Can anyone help me with that ?

macemoneta 02-12-2007 10:18 PM

You can send emails with a changed sender (the 'From:' address), but the email is not anonymous. It can be tracked back to your machine by IP address. Even if your IP address changes, your ISP maintains a record of what IP address you used, so that you can be identified.

In your email client, hunt around the menus and you'll find an item like "view all message headers". You'll see the step by step record of the systems your email passed through. That record is kept by each server for a long time for law enforcement purposes.

In addition, sending email with a changed 'From:' address is usually against the terms of service for your ISP. In order words, your ISP can cancel your service - even charge you with spaming.

Does that answer your question?

memo007 02-12-2007 11:02 PM

Almost, i believe u misunderstood me i know that in headers there is going to be the ip; however, i meant to send an email simply without an email address like hackstacy@hell.com. To specify what email i want others to see and simply send it like that.




Quote:

Originally Posted by macemoneta
You can send emails with a changed sender (the 'From:' address), but the email is not anonymous. It can be tracked back to your machine by IP address. Even if your IP address changes, your ISP maintains a record of what IP address you used, so that you can be identified.

In your email client, hunt around the menus and you'll find an item like "view all message headers". You'll see the step by step record of the systems your email passed through. That record is kept by each server for a long time for law enforcement purposes.

In addition, sending email with a changed 'From:' address is usually against the terms of service for your ISP. In order words, your ISP can cancel your service - even charge you with spaming.

Does that answer your question?


macemoneta 02-12-2007 11:17 PM

Ah, I think you are referring to a 'BCC:'. A BCC is a blind copy. The sender is disclosed, but the recipient list is not. If that's what you want, you can use the '-b' option on mail. For example:

Code:

cat emailbody.txt | \
  mail -s "subject here" -b "user1@a.com,user2@b.net" myemail@c.org

In the above example, the email will be sent to user1@a.com and user2@b.net but the only 'To:' visible will be myemail@c.org.

memo007 02-13-2007 04:48 AM

Thats exactly what i was saying, but i seem to get this error "bash: mail: command not found"
when i do the last command. I guess i need a mail server or something.


Quote:

Originally Posted by macemoneta
Ah, I think you are referring to a 'BCC:'. A BCC is a blind copy. The sender is disclosed, but the recipient list is not. If that's what you want, you can use the '-b' option on mail. For example:

Code:

cat emailbody.txt | \
  mail -s "subject here" -b "user1@a.com,user2@b.net" myemail@c.org

In the above example, the email will be sent to user1@a.com and user2@b.net but the only 'To:' visible will be myemail@c.org.


macemoneta 02-13-2007 09:38 AM

You need to install mailx for your distribution.

memo007 02-13-2007 05:13 PM

I installed mailx and i dont get any emails to the email address i send and when the command mail gives me this :

Message 1:
From MAILER-DAEMON Tue Feb 13 18:03:01 2007
X-Original-To: hackstacy@ISMonitor
Date: Tue, 13 Feb 2007 18:03:01 -0500 (EST)
From: MAILER-DAEMON@ISMonitor (Mail Delivery System)
Subject: Undelivered Mail Returned to Sender
To: hackstacy@ISMonitor
Auto-Submitted: auto-replied
MIME-Version: 1.0
Content-Type: multipart/report; report-type=delivery-status;
boundary="84F3324C22C.1171407781/ISMonitor"

This is a MIME-encapsulated message.

--84F3324C22C.1171407781/ISMonitor
Content-Description: Notification
Content-Type: text/plain; charset=us-ascii

This is the mail system at host ISMonitor.

I'm sorry to have to inform you that your message could not
be delivered to one or more recipients. It's attached below.

For further assistance, please send mail to <postmaster>

If you do so, please include this problem report. You can
delete your own text from the attached returned message.

The mail system

<xterminal01@yahoo.com>: host f.mx.mail.yahoo.com[68.142.202.247] said: 501
Syntax error in parameters or arguments (in reply to MAIL FROM command)

--84F3324C22C.1171407781/ISMonitor
Content-Description: Delivery report
Content-Type: message/delivery-status

Reporting-MTA: dns; ISMonitor
X-Postfix-Queue-ID: 84F3324C22C
X-Postfix-Sender: rfc822; hackstacy@ISMonitor
Arrival-Date: Tue, 13 Feb 2007 18:02:51 -0500 (EST)

final-Recipient: rfc822; xterminal01@yahoo.com
Action: failed
Status: 5.0.0
Remote-MTA: dns; f.mx.mail.yahoo.com
Diagnostic-Code: smtp; 501 Syntax error in parameters or arguments

--84F3324C22C.1171407781/ISMonitor
Content-Description: Undelivered Message
Content-Type: message/rfc822

Received: by ISMonitor (Postfix, from userid 1000)
id 84F3324C22C; Tue, 13 Feb 2007 18:02:51 -0500 (EST)
To: Admin@extazive.com
Subject: sup
Message-Id: <20070213230251.84F3324C22C@ISMonitor>
Date: Tue, 13 Feb 2007 18:02:51 -0500 (EST)
From: hackstacy@ISMonitor (mensur)
:


Quote:

Originally Posted by macemoneta
You need to install mailx for your distribution.


macemoneta 02-13-2007 05:21 PM

You ISP is not accepting mail from 'hackstacy@ISMonitor'. You will need to specify a valid 'From:' email address that your ISP recognizes.


All times are GMT -5. The time now is 12:03 AM.