Mutt history

My colleague came to me for help. The conversation went something like this:

- Look, I urgently need to add a client Linux server to the monitoring. Gave access.
- And what's the problem? Can't connect? Or the rights in the system are not enough?
— No, I connect normally. And there are superuser rights. But there is almost no room. And constantly a message about mail climbs to the console.
So check this mail.
- How?! The server is not directly accessible from outside!
- Run the client directly on the server. If it is not there, install it, you have the rights.
- There is almost no room! And in general, a full-fledged application with a graphical interface will not start there.

I had to drop in on a colleague and show him a simple and effective way to solve a problem. A method that he knew for sure, but never used. And in a stressful situation, he simply could not remember.

Yes, there is a full-featured mail client that can be launched in the console without any magic. And a very long time ago. It's called mother.

Despite advanced age project, it is actively developing, and today it supports work with such services as gmail и Yandex Mail. And also knows how to work with servers microsoft Exchange. Great stuff, isn't it?

This is how, for example, working with GMail looks like:

Mutt history

And also in mother there is:

  • The address book;
  • message processing automation;
  • various types of display;
  • the ability to mark letters of different categories with different colors;
  • change the appearance and colors of the interface in principle;
  • support for encryption and digital signatures;
  • macros for complex actions;
  • aliases for postal addresses and mailing lists;
  • the ability to use spell check;
  • and much more.

Moreover, a significant part of these opportunities were realized many, many years ago. Due to the lack of a graphical interface mother It weighs almost nothing, and at the same time, it’s hard for me to name an email client that would allow you to configure yourself with the same flexibility.

Unfortunately, this wonderful email client is not worth recommending to the average user. Well, except perhaps in the case when you strongly dislike him for something. And there are a number of reasons for this. Firstly, the flexibility of setting has a downside - the setting is by no means done with one click and requires some knowledge. Most ordinary users do not have them as unnecessary.

Secondly, Google, Yandex, Microsoft and other vendors consider mail only as an integral part of their products and services and do not welcome the use of third-party clients in every possible way. And they can be understood motherYou won't push ads.

Thirdly, it is extremely difficult to find a person who would work exclusively in the console. And it's not that users without exception need a graphical interface. There are simply tasks that are inconvenient or even impossible to perform in the console. For example, a photo was sent to you by mail. mother will allow it to be saved to disk, but viewing it without launching the graphic subsystem will not work without black magic and a shaman's tambourine. Most ordinary users simply will not waste their time on this, especially when they have a computer or smartphone on which this is done quickly and conveniently. For these reasons mother only in demand among geeks who want to feel the rebellious hacker spirit, challenge society.

Mutt history

But this does not make the client a less convenient tool for professionals who know exactly how, where and for what it can be used. For example, mother can be called from the command line with parameters to perform various tasks without starting the application. The simplest example is the formation and sending of mail messages. This allows you to use it when writing scripts.

In the case I mentioned at the beginning of the article, it only took reading mail from local storage, which was implemented long before the founding of Google.

Installation and launch mother without making any adjustments (which took only a couple of minutes) immediately revealed a huge number of exactly the same letters from the superuser, and reading one of them to choose from is the culprit of this mess: a script poorly written by a retired system administrator of the server owners. The problem of lack of space and annoying messages in the console were immediately resolved.

An attentive reader, of course, will immediately tell me that it would be more correct to run the utility duto find out what is taking up space, view system logs, and thus identify the source of the problem. I agree that this is the correct approach. But in my case, it’s faster to launch the mail client, especially since the system itself offers to do this.

So why did I write this?

To the fact that it is, of course, impossible to know everything, but what you already know is easy to forget if this knowledge is not used. Therefore, sometimes it is not a sin to remind.
To the fact that a good tool is great, and the more of them, the better.
In addition, sometimes, if the system asks you to check your mail, you just need to check your mail.

Thank you for attention.

What else can you read on the blog? Cloud4Y

Pentesters at the forefront of cybersecurity
The path of artificial intelligence from a fantastic idea to a scientific industry
4 ways to save on cloud backups
Configuring top in GNU/Linux
How a smart electric bike was created

Subscribe to our Telegram-channel, so as not to miss the next article! We write no more than twice a week and only on business.

Source: habr.com

Add a comment