S
S
sarapulov_k2020-06-30 06:26:27
linux
sarapulov_k, 2020-06-30 06:26:27

How to hide IP address when sending mail?

Hi all!

Task: you need to set up anonymous sending and receiving of mail.

If everything is more or less clear with reception - you can proxy through the same cloudflare, then when sending, headers are constantly added to the letter and the sender's IP address is indicated there.

I read somewhere that you can, in principle, cut these headers, but then the letters will not reach at all. And here I am completely at an impasse.

And hence the question - is it possible in principle to create an anonymous mail sending? If yes, how?

And is the option with cutting headers at the server level suitable, is there an instruction on how to do this on a linux (ubuntu) server?

Mail is not created for spam, but only single responses (they write to me, I answer. For a rare case, I start a conversation)

Answer the question

In order to leave comments, you need to log in

5 answer(s)
S
Sergey Sokolov, 2020-06-30
@sarapulov_k

You can use privacy-oriented email services.
For example, ProtonMail .
They also have a free VPN service to hide your home ip from everyone except them. But, like, Switzerland.

M
MaxKozlov, 2020-06-30
@MaxKozlov

If you look at the Received: headers of a typical letter, for example, from Google.

Received: from mail-ua1-f41.google.com (mail-ua1-f41.google.com [209.85.222.41])
  (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
  (No client certificate requested)
  by xxx.xxx.ru (Postfix) with ESMTPS id 537297EC5E
  for <[email protected]>; Fri, 15 May 2020 11:58:38 +0300 (MSK)
Received: by mail-ua1-f41.google.com with SMTP id c17so510696uaq.13
        for <[email protected]>; Fri, 15 May 2020 01:58:38 -0700 (PDT)

Then you can see that the sender's IP address is not there. that is, the correct answer to your question would be "use the address on Google" :)
You can, of course, cut out the Received headers, but there are also all sorts of headers from DKIM and SPF, without which correct delivery is not always possible in our time. And ip addresses can appear there. And these headers are added by the receiving side, not the sending one. That is, you cannot cut them, so the advice to "score" has the right to life

D
Dmitry, 2020-06-30
@q2digger

Sending mail (well, if there is a goal for the letter to be accepted by that side), it involves a server that is configured in a certain way. that is, this is a server that must have a name, this name must be registered in DNS, have a DKIM record, and much more.
Yes, there is no obligation to have all this in the standards, and you can pull the letter from the command line using just telnet mail.example.ru 25 and enter three commands there, but most likely it will not be delivered.
So what am I talking about, that's all about what is above (about the server) - it identifies you much better than some kind of IP address. Even if you resist and “supposedly anonymously” buy a virtual machine for bitcoins, register the name as something else, you will still sleep with your address somewhere - either when buying or when using this server, and _specialist_ will figure you out anyway.
And so, well, there are mail services that say that they do not disclose customer data, use them. But just who believes them "at their word"?

E
Eugene, 2020-06-30
@yellowmew

1. If you want your mail to be sent - the IP address of the mail server from which the mail is sent (and from the connection of your server IP - target IP you will not go anywhere) must have a lot of links in the public DNS and is known to anti-spam systems as an IP with good reputation. Dmitry mentioned this.
The header is the 10th thing here
2. In principle, you can hide "your" (more precisely, the one that your provider provided you) IP in the headers - find or configure a relay that will cut the header and send your mail only through it. However, here we return to point 1 - now the target side (and the entire Internet) whether you like it or not, the address of this relay is known and, if desired, it can be easily associated with you.
3. You can use web mail without a local client on some already promoted mailer, but as you understand, now the mailer knows your IP.
If this is unacceptable for you, arrange for him to delete it =; D but I can’t even imagine how much it can cost you and whether the agreements will actually be fulfilled. The greatest anonymity here can be achieved by registering each time a new email from a new IP address (and a clean browser :D ) . Use a permanent email address - in the end, statistics will be collected from which addresses you visit it.
To summarize:
By using a mail client you will display either your IP address or the IP address of a forwarder that will be associated with you. Using only a browser to work with mail - you will expose your IP address to the provider of the mail service, its addresses will appear in the headers. Using various public proxies or tor for anonymization, you will be blocked by the very servers to which you want to connect, the reputation of the first and the second in antispam systems is not ok.

C
CityCat4, 2020-06-30
@CityCat4

What is the task - to have mail that is not associated with the IP of the home provider or have mail that cannot be blocked?
If the first is enough to buy a VPS in Zabugoria, set up a mail relay there, set up a web mail service with strong authentication and write from it. Yes, everyone will know his IP - and what will happen to them?
If the second - each time to register a new box.
If you really care about your privacy - never trust those who say they don't leak your data. The intruder always has an unlimited budget for bribery. (Yes, VPS can also be stolen, but emails can be encrypted)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question