Traducerea acestei pagini nu este completă încă. Până când va fi, părțile incomplete utilizează originalul în limba engleză.
Sistemul de mail Haiku
Utilizarea de statusuri personalizate
Utilizarea de interogări
Mai multe sfaturi

Seminar: Administrare Email

This workshop takes a look on how to manage email under Haiku. It assumes that the email services are correctly configured with the E-Mail preferences and you're familiar with the basic features of the Mail application.

index Sistemul de mail Haiku

If you come to Haiku from other operating systems, you're probably used to big applications like MS Outlook or Mozilla's Thunderbird. You have to configure them by entering all the info on mail server addresses etc. and they use their own contacts database. They take care of sending and fetching email and store them in some big special file.
Changing you email client can be a hassle with quite some ex/importing and converting going on. Using more than one client in parallel to check out what else is available is also not without the occasional kerfuffle.

Sistemul de email Haiku este diferit. Se împarte în module separate mai mici.

Există mail_daemon care are grijă de comunicarea cu serverele de email. Preferințele E-Mail sunt punctul central pentru configurarea conturilor de email pe care le aveți și cât de frecvent sunt verificate, de exemplu.

Every message that is fetched or sent is saved as one single email file, with its header information (like sender, subject, date) and status (like New, Replied, Sent) in BFS attributes. This enables searching/filtering them with Haiku's fast queries.


With every email being in a separate file, viewing them becomes just as easy as browsing through a folder (or query result) of images with ShowImage. Leaving the Tracker window open, you'll see the moving selection of the currently viewed file while you use the previous/next button to move through them.
As they are independent files, using a viewer other than Haiku's Mail causes no problems whatsoever.

Similarly, creating a new message results in just another file that is handed to the mail_daemon that takes care of sending it off. Contact management is deferred to the People application.

In a nutshell, where other mail clients do everything, from communicating with the mail servers to providing a view with all your mails and tools to search and filter them, Haiku uses a chain of smaller tools and general file management:

Especially using Tracker and queries to manage emails is a powerful idea. The experience you gain can be transferred to any other problem that is dealing with files. Be it images, music, video, contacts or any other documents, using Tracker is at the core of all file managing.
Also, improvements in any of these system areas benefit not just emailing, but all applications that make use of them.

index Utilizarea de statusuri personalizate

When you browse through your newly arrived email, you may want to come back to some of them later to think about it in more depth. While you could use Mail's menu Close and | Leave as New to keep them in your "New messages" query, things tend to pile up that way…

O soluție este desigur doar să începeți un răspuns și să-l salvați drept ciornă. Dar dacă nu vă așteptați să scrieți un răspuns și doar vreți să recitiți emailul mai târziu, această metodă nu este ideală.


Better use Close and | Set to… to create a new status and use that to categorize your mail. For example, you could call the status "Later", and then query for that when you find more time.
Or you use different statuses for specific projects. For example, I created a status "HUG" (for "Haiku user guide") under which I collect every mail that may influence the contents of the user guide, like commit messages about code changes that alter or introduce some feature or anything else I feel could improve the user guide.
In any case, try to keep the status name short. That way it always fits in a normally wide "Status" column in Tracker.

You don't have to open an email with the Mail application to set its status. With the Tracker add-ons Mark as Read and Mark as… you can select some email files and set their status in one go.

index Utilizarea de interogări

Sure, you specify a folder to store all your email, you can open it et voilà, there's all you mail. But over time the folder becomes crowded and showing all will take longer and longer as thousands of files and their attributes have to be parsed and sorted. Also, most of the time you don't really care about two year old emails of Nigerian princes and their inheritory trouble…

A lot of time when populating a folder is spent on putting files read from disk into the correct sorting order and displaying that in the window. If you do have to open a folder with a huge number of files, you can shorten the wait by making the Tracker window "invisible", i.e. either minimize it or change to another workspace. Watch ProcessController to see how it affects CPU usage.

Interogări, salvatoare!

Prin utilizarea interogărilor, puteți restrânge vizualizarea de email. De fapt, pictograma căsuței poștale de pe Deskbar utilizează interogări.


The Open Draft submenu does a query for the status "Draft", which is set by Mail when you save a message.

Open Inbox Folder and Open Mail Folder are just links to regular folders (and not very useful in my opinion).

The # new messages submenu is populated by a query for email with the status "New" (that same query is used to change the mailbox icon to show some letters in it, by the way).

De asemenea, puteți adăuga interogările personale (sau dosarele, aplicațiile, scripturile, etc.) la acel meniu contextual, prin adăugarea acestora sau legături către acestea la ~/config/settings/Mail/Menu Links.

The query ~/config/settings/Mail/mailbox is a special case: It is executed when left-clicking the mailbox icon in the Deskbar. If you want to change that behavior, you can replace it with any other file (or link to a file), just name it "mailbox". It doesn't have to be a query, a link to a folder of queries or a script or application works just as well.

index Exemple de interogări

Iată câteva exemple de interogări utile:

query-1.png query-2.png
Găsește toate email-urile cu starea personalizată „Mai târziu”. Găsește toate email-urile din ultimele două zile.
query-3.png query-4.png
Găsește toate email-urile de Ingo Weinhold din ultimele 2 săptămâni. Găsește toate mesajele din lista de commituri Haiku din ultimele 12 ore.

index Mai multe sfaturi