From d0a1fb72284423f4173615e72f37680e5b62d071 Mon Sep 17 00:00:00 2001 From: CronyAkatsuki Date: Sun, 7 Jan 2024 14:46:55 +0100 Subject: [PATCH] Site update --- ...hardening-level-pro-notify-on-ssh-login.md | 1 + content/blog/using-mblaze.md | 93 +++++++++++ content/blog/virgin-mutt-user-meet-mblaze.md | 7 +- .../index.html | 7 + public/blog/index.html | 3 + public/blog/index.xml | 69 +++++++- public/blog/using-mblaze/index.html | 154 ++++++++++++++++++ .../virgin-mutt-user-meet-mblaze/index.html | 12 +- public/sitemap.xml | 31 +++- public/tags/index.html | 18 ++ public/tags/linux/index.html | 96 +++++++++++ public/tags/mail/index.html | 93 +++++++++++ public/tags/mblaze/index.html | 93 +++++++++++ public/tags/ntfy/index.html | 90 ++++++++++ public/tags/security/index.html | 90 ++++++++++ public/tags/ssh/index.html | 90 ++++++++++ 16 files changed, 935 insertions(+), 12 deletions(-) create mode 100644 content/blog/using-mblaze.md create mode 100644 public/blog/using-mblaze/index.html create mode 100644 public/tags/linux/index.html create mode 100644 public/tags/mail/index.html create mode 100644 public/tags/mblaze/index.html create mode 100644 public/tags/ntfy/index.html create mode 100644 public/tags/security/index.html create mode 100644 public/tags/ssh/index.html diff --git a/content/blog/hardening-level-pro-notify-on-ssh-login.md b/content/blog/hardening-level-pro-notify-on-ssh-login.md index bf25508..bc8f6ae 100644 --- a/content/blog/hardening-level-pro-notify-on-ssh-login.md +++ b/content/blog/hardening-level-pro-notify-on-ssh-login.md @@ -2,6 +2,7 @@ title = 'Hardening Level Pro: Notify on SSH Login' date = 2023-11-10T19:27:27+01:00 draft = false +tags = [ 'linux', 'ssh', 'ntfy', 'security'] +++ You ever anxious about somebody possibly gaining access to your machine? Fret not, you can just make it so that on any kind of login to your system directly you can get a notification on your phone. diff --git a/content/blog/using-mblaze.md b/content/blog/using-mblaze.md new file mode 100644 index 0000000..655e3d8 --- /dev/null +++ b/content/blog/using-mblaze.md @@ -0,0 +1,93 @@ ++++ +title = 'Using Mblaze' +date = 2024-01-07T12:15:21+01:00 +draft = false +tags = ['linux', 'mblaze', 'mail' ] ++++ + +So you followed my last tutorial on setting up mblaze and friend's for you mail management, but now you are left just looking at it not understanding how to use the power you have been given now. So now I'm going to teach you some basic usage that you can have with it. + +# Helper function's + +I guess you haven't read my other blog on setting up mblaze and friend's if you need me to type them out here again, so go read it now! Here is the [link](https://cronyakatsuki.xyz/blog/virgin-mutt-user-meet-mblaze/). + +# Getting mail and reading it + +Now after you have actually read my last blog and got the two function's and the script installed and made them usefull, we can start getting and reading our mail. + +First you will choose what mail you wanna manage, or how I call it profile with my script. + +After choosing it you will now have to choose if you wan't to see all mail available on the server, or you will be just reading the new mail and based on that run either `mall` or `mnew`. + +Now we have a couple way's of listing and reading mail. + +We can use the command `mscan` that will show you simple one line summaries of your mail. The mail with `.` mean their status is undread. + +To read a single specific message we can use `mshow`. By default it will use the mail that when using `mscan` show's > as **currently choosen** mail. To read another mail you can choose the number of the mail from `mscan` and use mshow like this `mshow N` ( N being the number of the mail you wan't to read ). + +Now onto my favourite way of reading mail with mblaze, it's `mless`. You just run it and it will run a less instance showing all your mail, and have the ability to change between them with keybindings `:p` and `:n` with p going to preview and n going to next message. + +# Settings read status + +To flag mail as read we can use the mflag utiity. We do it by choosing what mail we wanna mark as read and running the command `mflag -S N`, but after that we need to fix our list because the filename changed because of the fact that we changed the flag to read. To fix that we will run `mseq -f : | mseq -S`. + +We can easily alias this sequence of command's into a function to streamline this. + +```bash +function mread() { + mflag -S $1 + mseq -f : | mseq -S +} +``` +You can place this function anywhere in your shell configuration. + +# Sending mail + +To write mail with mblaze we use command called `mcom`. After running it, it will a file in your editor of choice that looks like this: + +``` devbox +To: +Cc: +Bcc: +Subject: +From: John Doe +Message-Id: +User-Agent: mblaze/... + + +``` +In the `To:` file you write the name of mail you wan't to send to for example `Shit Shittington ` and subject to name of the subject like regular mail. + +After that you type the message in the last empty line at the bottom, of course you can make it as long as you wan't to. + +If you save the message as draft just run `mcom -r`. To reply to a message use `mrep N` to reply to a specific message. + +# Extending mless functionalitty + +We can extend the functionality of mless a bit by creating a file with custom keybindings that will go ahead and a few more function's to mless. + +Save this file to `~/.mblaze/mlesskey` + +``` lesskey +Q quit \1 +:cq quit \1 +[ prev-file +] next-file +{ noaction E1\n +} quit $ +$ quit $ +S noaction E//scan\n +` noaction E\#\n +H quit H +N quit N +R quit R +K quit k +d quit d +\^ quit \^ +``` +This will add keybindings like `]` and `[` for previous and next mail and `d` for setting read status on mail. Rest you can checkout yourself by looking at this part of mless script on github, [link](https://github.com/leahneukirchen/mblaze/blob/master/mless#L92). + + +# Conclusion + +I guess this is it now, hope this help's you on making your own mail be even more amazing. diff --git a/content/blog/virgin-mutt-user-meet-mblaze.md b/content/blog/virgin-mutt-user-meet-mblaze.md index 52cd6d5..f9fc201 100644 --- a/content/blog/virgin-mutt-user-meet-mblaze.md +++ b/content/blog/virgin-mutt-user-meet-mblaze.md @@ -1,6 +1,7 @@ +++ title = 'Virgin (Neo)Mutt User Meet Mblaze' date = 2023-10-24T18:13:18+02:00 +tags = [ 'linux', 'mail', 'mblaze' ] draft = false +++ @@ -173,7 +174,7 @@ The script is able to print the current profile when run without argument, listi # mblaze functions # Get new mail for current profile -mnew () { +function mnew () { maildir=$(grep "^Maildir:" $HOME/.mblaze/profile | cut -d: -f 2 | sed 's/ //g') profile=$(basename $maildir) if [ "$profile" = "local" ]; then @@ -181,11 +182,12 @@ mnew () { else mbsync -V $profile mlist -s "$maildir"/INBOX | msort -dr | mseq -S + minc "$maildir/INBOX" > /dev/null fi } # Get full mail for current profile including threads -mall () { +function mall () { maildir=$(grep "^Maildir:" $HOME/.mblaze/profile | cut -d: -f 2 | sed 's/ //g') sent=$(grep "^Outbox:" $HOME/.mblaze/profile | cut -d: -f 2 | sed 's/ //g') profile=$(basename $maildir) @@ -194,6 +196,7 @@ mall () { else mbsync -V $profile mlist "$maildir"/INBOX | mthread -r -S "$sent" | mseq -S + minc "$maildir/INBOX" > /dev/null fi } ``` diff --git a/public/blog/hardening-level-pro-notify-on-ssh-login/index.html b/public/blog/hardening-level-pro-notify-on-ssh-login/index.html index 104ee79..2680bb6 100644 --- a/public/blog/hardening-level-pro-notify-on-ssh-login/index.html +++ b/public/blog/hardening-level-pro-notify-on-ssh-login/index.html @@ -42,6 +42,13 @@

10-11-2023

+

+ | + linux | + ssh | + ntfy | + security

+
diff --git a/public/blog/index.html b/public/blog/index.html index eba8af0..1a54333 100644 --- a/public/blog/index.html +++ b/public/blog/index.html @@ -40,6 +40,9 @@
+ + 07-01-2024 || Using Mblaze
+ 10-11-2023 || Hardening Level Pro: Notify on SSH Login
diff --git a/public/blog/index.xml b/public/blog/index.xml index 0ce2a40..3b0bc42 100644 --- a/public/blog/index.xml +++ b/public/blog/index.xml @@ -6,11 +6,72 @@ Recent content in Blog on Crony Akatsuki's Website Hugo -- gohugo.io en-us - Fri, 10 Nov 2023 19:27:27 +0100 + Sun, 07 Jan 2024 12:15:21 +0100 + +Using Mblaze +https://cronyakatsuki.xyz/blog/using-mblaze/ +07-01-2024 + + https://cronyakatsuki.xyz/blog/using-mblaze/ +<p>So you followed my last tutorial on setting up mblaze and friend&rsquo;s for you mail management, but now you are left just looking at it not understanding how to use the power you have been given now. So now I&rsquo;m going to teach you some basic usage that you can have with it.</p> +<h1 id="helper-functions">Helper function&rsquo;s</h1> +<p>I guess you haven&rsquo;t read my other blog on setting up mblaze and friend&rsquo;s if you need me to type them out here again, so go read it now! Here is the <a href="https://cronyakatsuki.xyz/blog/virgin-mutt-user-meet-mblaze/">link</a>.</p> +<h1 id="getting-mail-and-reading-it">Getting mail and reading it</h1> +<p>Now after you have actually read my last blog and got the two function&rsquo;s and the script installed and made them usefull, we can start getting and reading our mail.</p> +<p>First you will choose what mail you wanna manage, or how I call it profile with my script.</p> +<p>After choosing it you will now have to choose if you wan&rsquo;t to see all mail available on the server, or you will be just reading the new mail and based on that run either <code>mall</code> or <code>mnew</code>.</p> +<p>Now we have a couple way&rsquo;s of listing and reading mail.</p> +<p>We can use the command <code>mscan</code> that will show you simple one line summaries of your mail. The mail with <code>.</code> mean their status is undread.</p> +<p>To read a single specific message we can use <code>mshow</code>. By default it will use the mail that when using <code>mscan</code> show&rsquo;s &gt; as <strong>currently choosen</strong> mail. To read another mail you can choose the number of the mail from <code>mscan</code> and use mshow like this <code>mshow N</code> ( N being the number of the mail you wan&rsquo;t to read ).</p> +<p>Now onto my favourite way of reading mail with mblaze, it&rsquo;s <code>mless</code>. You just run it and it will run a less instance showing all your mail, and have the ability to change between them with keybindings <code>:p</code> and <code>:n</code> with p going to preview and n going to next message.</p> +<h1 id="settings-read-status">Settings read status</h1> +<p>To flag mail as read we can use the mflag utiity. We do it by choosing what mail we wanna mark as read and running the command <code>mflag -S N</code>, but after that we need to fix our list because the filename changed because of the fact that we changed the flag to read. To fix that we will run <code>mseq -f : | mseq -S</code>.</p> +<p>We can easily alias this sequence of command&rsquo;s into a function to streamline this.</p> +<div class="highlight"><pre tabindex="0" style="color:#c6d0f5;background-color:#303446;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-bash" data-lang="bash"><span style="display:flex;"><span><span style="color:#ca9ee6">function</span> mread<span style="color:#99d1db;font-weight:bold">()</span> <span style="color:#99d1db;font-weight:bold">{</span> +</span></span><span style="display:flex;"><span> mflag -S <span style="color:#f2d5cf">$1</span> +</span></span><span style="display:flex;"><span> mseq -f : | mseq -S +</span></span><span style="display:flex;"><span><span style="color:#99d1db;font-weight:bold">}</span> +</span></span></code></pre></div><p>You can place this function anywhere in your shell configuration.</p> +<h1 id="sending-mail">Sending mail</h1> +<p>To write mail with mblaze we use command called <code>mcom</code>. After running it, it will a file in your editor of choice that looks like this:</p> +<pre tabindex="0"><code class="language-devbox" data-lang="devbox">To: +Cc: +Bcc: +Subject: +From: John Doe &lt;john@doe.com&gt; +Message-Id: &lt;random-id&gt; +User-Agent: mblaze/... +</code></pre><p>In the <code>To:</code> file you write the name of mail you wan&rsquo;t to send to for example <code>Shit Shittington &lt;shit@shittington.com&gt;</code> and subject to name of the subject like regular mail.</p> +<p>After that you type the message in the last empty line at the bottom, of course you can make it as long as you wan&rsquo;t to.</p> +<p>If you save the message as draft just run <code>mcom -r</code>. To reply to a message use <code>mrep N</code> to reply to a specific message.</p> +<h1 id="extending-mless-functionalitty">Extending mless functionalitty</h1> +<p>We can extend the functionality of mless a bit by creating a file with custom keybindings that will go ahead and a few more function&rsquo;s to mless.</p> +<p>Save this file to <code>~/.mblaze/mlesskey</code></p> +<pre tabindex="0"><code class="language-lesskey" data-lang="lesskey">Q quit \1 +:cq quit \1 +[ prev-file +] next-file +{ noaction E1\n +} quit $ +$ quit $ +S noaction E//scan\n +` noaction E\#\n +H quit H +N quit N +R quit R +K quit k +d quit d +\^ quit \^ +</code></pre><p>This will add keybindings like <code>]</code> and <code>[</code> for previous and next mail and <code>d</code> for setting read status on mail. Rest you can checkout yourself by looking at this part of mless script on github, <a href="https://github.com/leahneukirchen/mblaze/blob/master/mless#L92">link</a>.</p> +<h1 id="conclusion">Conclusion</h1> +<p>I guess this is it now, hope this help&rsquo;s you on making your own mail be even more amazing.</p> + + + Hardening Level Pro: Notify on SSH Login https://cronyakatsuki.xyz/blog/hardening-level-pro-notify-on-ssh-login/ @@ -184,7 +245,7 @@ Scan-Format: %c%u%r %-3n %10d %17f %t %2i%s <div class="highlight"><pre tabindex="0" style="color:#c6d0f5;background-color:#303446;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-bash" data-lang="bash"><span style="display:flex;"><span><span style="color:#737994;font-style:italic"># mblaze functions</span> </span></span><span style="display:flex;"><span> </span></span><span style="display:flex;"><span><span style="color:#737994;font-style:italic"># Get new mail for current profile</span> -</span></span><span style="display:flex;"><span>mnew <span style="color:#99d1db;font-weight:bold">()</span> <span style="color:#99d1db;font-weight:bold">{</span> +</span></span><span style="display:flex;"><span><span style="color:#ca9ee6">function</span> mnew <span style="color:#99d1db;font-weight:bold">()</span> <span style="color:#99d1db;font-weight:bold">{</span> </span></span><span style="display:flex;"><span> <span style="color:#f2d5cf">maildir</span><span style="color:#99d1db;font-weight:bold">=</span><span style="color:#ca9ee6">$(</span>grep <span style="color:#a6d189">&#34;^Maildir:&#34;</span> <span style="color:#f2d5cf">$HOME</span>/.mblaze/profile | cut -d: -f <span style="color:#ef9f76">2</span> | sed <span style="color:#a6d189">&#39;s/ //g&#39;</span><span style="color:#ca9ee6">)</span> </span></span><span style="display:flex;"><span> <span style="color:#f2d5cf">profile</span><span style="color:#99d1db;font-weight:bold">=</span><span style="color:#ca9ee6">$(</span>basename <span style="color:#f2d5cf">$maildir</span><span style="color:#ca9ee6">)</span> </span></span><span style="display:flex;"><span> <span style="color:#ca9ee6">if</span> <span style="color:#99d1db;font-weight:bold">[</span> <span style="color:#a6d189">&#34;</span><span style="color:#f2d5cf">$profile</span><span style="color:#a6d189">&#34;</span> <span style="color:#99d1db;font-weight:bold">=</span> <span style="color:#a6d189">&#34;local&#34;</span> <span style="color:#99d1db;font-weight:bold">]</span>; <span style="color:#ca9ee6">then</span> @@ -192,11 +253,12 @@ Scan-Format: %c%u%r %-3n %10d %17f %t %2i%s </span></span><span style="display:flex;"><span> <span style="color:#ca9ee6">else</span> </span></span><span style="display:flex;"><span> mbsync -V <span style="color:#f2d5cf">$profile</span> </span></span><span style="display:flex;"><span> mlist -s <span style="color:#a6d189">&#34;</span><span style="color:#f2d5cf">$maildir</span><span style="color:#a6d189">&#34;</span>/INBOX | msort -dr | mseq -S +</span></span><span style="display:flex;"><span> minc <span style="color:#a6d189">&#34;</span><span style="color:#f2d5cf">$maildir</span><span style="color:#a6d189">/INBOX&#34;</span> &gt; /dev/null </span></span><span style="display:flex;"><span> <span style="color:#ca9ee6">fi</span> </span></span><span style="display:flex;"><span><span style="color:#99d1db;font-weight:bold">}</span> </span></span><span style="display:flex;"><span> </span></span><span style="display:flex;"><span><span style="color:#737994;font-style:italic"># Get full mail for current profile including threads</span> -</span></span><span style="display:flex;"><span>mall <span style="color:#99d1db;font-weight:bold">()</span> <span style="color:#99d1db;font-weight:bold">{</span> +</span></span><span style="display:flex;"><span><span style="color:#ca9ee6">function</span> mall <span style="color:#99d1db;font-weight:bold">()</span> <span style="color:#99d1db;font-weight:bold">{</span> </span></span><span style="display:flex;"><span> <span style="color:#f2d5cf">maildir</span><span style="color:#99d1db;font-weight:bold">=</span><span style="color:#ca9ee6">$(</span>grep <span style="color:#a6d189">&#34;^Maildir:&#34;</span> <span style="color:#f2d5cf">$HOME</span>/.mblaze/profile | cut -d: -f <span style="color:#ef9f76">2</span> | sed <span style="color:#a6d189">&#39;s/ //g&#39;</span><span style="color:#ca9ee6">)</span> </span></span><span style="display:flex;"><span> <span style="color:#f2d5cf">sent</span><span style="color:#99d1db;font-weight:bold">=</span><span style="color:#ca9ee6">$(</span>grep <span style="color:#a6d189">&#34;^Outbox:&#34;</span> <span style="color:#f2d5cf">$HOME</span>/.mblaze/profile | cut -d: -f <span style="color:#ef9f76">2</span> | sed <span style="color:#a6d189">&#39;s/ //g&#39;</span><span style="color:#ca9ee6">)</span> </span></span><span style="display:flex;"><span> <span style="color:#f2d5cf">profile</span><span style="color:#99d1db;font-weight:bold">=</span><span style="color:#ca9ee6">$(</span>basename <span style="color:#f2d5cf">$maildir</span><span style="color:#ca9ee6">)</span> @@ -205,6 +267,7 @@ Scan-Format: %c%u%r %-3n %10d %17f %t %2i%s </span></span><span style="display:flex;"><span> <span style="color:#ca9ee6">else</span> </span></span><span style="display:flex;"><span> mbsync -V <span style="color:#f2d5cf">$profile</span> </span></span><span style="display:flex;"><span> mlist <span style="color:#a6d189">&#34;</span><span style="color:#f2d5cf">$maildir</span><span style="color:#a6d189">&#34;</span>/INBOX | mthread -r -S <span style="color:#a6d189">&#34;</span><span style="color:#f2d5cf">$sent</span><span style="color:#a6d189">&#34;</span> | mseq -S +</span></span><span style="display:flex;"><span> minc <span style="color:#a6d189">&#34;</span><span style="color:#f2d5cf">$maildir</span><span style="color:#a6d189">/INBOX&#34;</span> &gt; /dev/null </span></span><span style="display:flex;"><span> <span style="color:#ca9ee6">fi</span> </span></span><span style="display:flex;"><span><span style="color:#99d1db;font-weight:bold">}</span> </span></span></code></pre></div><p>For the rest of usage of mblaze, I really recommend to use <code>man mblaze</code> since the software is really well documented, or you can also watch this <a href="https://piped.cronyakatsuki.xyz/watch?v=5YS8RPC4zwc">video</a> I took the inspiration from for this setup.</p> diff --git a/public/blog/using-mblaze/index.html b/public/blog/using-mblaze/index.html new file mode 100644 index 0000000..a196e7f --- /dev/null +++ b/public/blog/using-mblaze/index.html @@ -0,0 +1,154 @@ + + + + + + + + +Using Mblaze + + + + + + + + + + + +
+

Crony Akatsuki

+ +
+ + +
+
+ +

Using Mblaze

+ + + +
+

07-01-2024

+ +

+ | + linux | + mblaze | + mail

+ + +
+
+ +

So you followed my last tutorial on setting up mblaze and friend’s for you mail management, but now you are left just looking at it not understanding how to use the power you have been given now. So now I’m going to teach you some basic usage that you can have with it.

+

Helper function’s

+

I guess you haven’t read my other blog on setting up mblaze and friend’s if you need me to type them out here again, so go read it now! Here is the link.

+

Getting mail and reading it

+

Now after you have actually read my last blog and got the two function’s and the script installed and made them usefull, we can start getting and reading our mail.

+

First you will choose what mail you wanna manage, or how I call it profile with my script.

+

After choosing it you will now have to choose if you wan’t to see all mail available on the server, or you will be just reading the new mail and based on that run either mall or mnew.

+

Now we have a couple way’s of listing and reading mail.

+

We can use the command mscan that will show you simple one line summaries of your mail. The mail with . mean their status is undread.

+

To read a single specific message we can use mshow. By default it will use the mail that when using mscan show’s > as currently choosen mail. To read another mail you can choose the number of the mail from mscan and use mshow like this mshow N ( N being the number of the mail you wan’t to read ).

+

Now onto my favourite way of reading mail with mblaze, it’s mless. You just run it and it will run a less instance showing all your mail, and have the ability to change between them with keybindings :p and :n with p going to preview and n going to next message.

+

Settings read status

+

To flag mail as read we can use the mflag utiity. We do it by choosing what mail we wanna mark as read and running the command mflag -S N, but after that we need to fix our list because the filename changed because of the fact that we changed the flag to read. To fix that we will run mseq -f : | mseq -S.

+

We can easily alias this sequence of command’s into a function to streamline this.

+
function mread() {
+    mflag -S $1
+    mseq -f : | mseq -S
+}
+

You can place this function anywhere in your shell configuration.

+

Sending mail

+

To write mail with mblaze we use command called mcom. After running it, it will a file in your editor of choice that looks like this:

+
To: 
+Cc: 
+Bcc: 
+Subject: 
+From: John Doe <john@doe.com>
+Message-Id: <random-id>
+User-Agent: mblaze/...
+

In the To: file you write the name of mail you wan’t to send to for example Shit Shittington <shit@shittington.com> and subject to name of the subject like regular mail.

+

After that you type the message in the last empty line at the bottom, of course you can make it as long as you wan’t to.

+

If you save the message as draft just run mcom -r. To reply to a message use mrep N to reply to a specific message.

+

Extending mless functionalitty

+

We can extend the functionality of mless a bit by creating a file with custom keybindings that will go ahead and a few more function’s to mless.

+

Save this file to ~/.mblaze/mlesskey

+
Q quit \1
+:cq quit \1
+[ prev-file
+] next-file
+{ noaction E1\n
+} quit $
+$ quit $
+S noaction E//scan\n
+` noaction E\#\n
+H quit H
+N quit N
+R quit R
+K quit k
+d quit d
+\^ quit \^
+

This will add keybindings like ] and [ for previous and next mail and d for setting read status on mail. Rest you can checkout yourself by looking at this part of mless script on github, link.

+

Conclusion

+

I guess this is it now, hope this help’s you on making your own mail be even more amazing.

+
+
+ + + + + diff --git a/public/blog/virgin-mutt-user-meet-mblaze/index.html b/public/blog/virgin-mutt-user-meet-mblaze/index.html index a941d5d..66421cd 100644 --- a/public/blog/virgin-mutt-user-meet-mblaze/index.html +++ b/public/blog/virgin-mutt-user-meet-mblaze/index.html @@ -42,6 +42,12 @@

24-10-2023

+

+ | + linux | + mail | + mblaze

+
@@ -182,7 +188,7 @@ Scan-Format: %c%u%r %-3n %10d %17f %t %2i%s
# mblaze functions
 
 # Get new mail for current profile
-mnew () {
+function mnew () {
   maildir=$(grep "^Maildir:" $HOME/.mblaze/profile | cut -d: -f 2 | sed 's/ //g')
   profile=$(basename $maildir)
   if [ "$profile" = "local" ]; then
@@ -190,11 +196,12 @@ Scan-Format: %c%u%r %-3n    %10d    %17f %t %2i%s
   else
     mbsync -V $profile
     mlist -s "$maildir"/INBOX | msort -dr | mseq -S
+    minc "$maildir/INBOX" > /dev/null
   fi
 }
 
 # Get full mail for current profile including threads
-mall () {
+function mall () {
   maildir=$(grep "^Maildir:" $HOME/.mblaze/profile | cut -d: -f 2 | sed 's/ //g')
   sent=$(grep "^Outbox:" $HOME/.mblaze/profile | cut -d: -f 2 | sed 's/ //g')
   profile=$(basename $maildir)
@@ -203,6 +210,7 @@ Scan-Format: %c%u%r %-3n    %10d    %17f %t %2i%s
   else
     mbsync -V $profile
     mlist "$maildir"/INBOX | mthread -r -S "$sent" | mseq -S
+    minc "$maildir/INBOX" > /dev/null
   fi
 }
 

For the rest of usage of mblaze, I really recommend to use man mblaze since the software is really well documented, or you can also watch this video I took the inspiration from for this setup.

diff --git a/public/sitemap.xml b/public/sitemap.xml index db99b1a..4c8aeea 100644 --- a/public/sitemap.xml +++ b/public/sitemap.xml @@ -3,13 +3,37 @@ xmlns:xhtml="http://www.w3.org/1999/xhtml"> https://cronyakatsuki.xyz/blog/ - 2023-11-10T19:27:27+01:00 + 2024-01-07T12:15:21+01:00 https://cronyakatsuki.xyz/ - 2023-11-10T19:27:27+01:00 + 2024-01-07T12:15:21+01:00 + + https://cronyakatsuki.xyz/tags/linux/ + 2024-01-07T12:15:21+01:00 + + https://cronyakatsuki.xyz/tags/mail/ + 2024-01-07T12:15:21+01:00 + + https://cronyakatsuki.xyz/tags/mblaze/ + 2024-01-07T12:15:21+01:00 + + https://cronyakatsuki.xyz/tags/ + 2024-01-07T12:15:21+01:00 + + https://cronyakatsuki.xyz/blog/using-mblaze/ + 2024-01-07T12:15:21+01:00 https://cronyakatsuki.xyz/blog/hardening-level-pro-notify-on-ssh-login/ 2023-11-10T19:27:27+01:00 + + https://cronyakatsuki.xyz/tags/ntfy/ + 2023-11-10T19:27:27+01:00 + + https://cronyakatsuki.xyz/tags/security/ + 2023-11-10T19:27:27+01:00 + + https://cronyakatsuki.xyz/tags/ssh/ + 2023-11-10T19:27:27+01:00 https://cronyakatsuki.xyz/blog/virgin-mutt-user-meet-mblaze/ 2023-10-24T18:13:18+02:00 @@ -25,9 +49,6 @@ https://cronyakatsuki.xyz/blog/setup-dns-pihole-unbound/ 2023-09-27T00:00:00+00:00 - - https://cronyakatsuki.xyz/tags/ - 2023-09-27T00:00:00+00:00 https://cronyakatsuki.xyz/tags/unbound/ 2023-09-27T00:00:00+00:00 diff --git a/public/tags/index.html b/public/tags/index.html index 9c0c382..7786cb0 100644 --- a/public/tags/index.html +++ b/public/tags/index.html @@ -60,6 +60,24 @@ dns
+ + ssh
+ + + security
+ + + ntfy
+ + + mblaze
+ + + mail
+ + + linux
+
diff --git a/public/tags/linux/index.html b/public/tags/linux/index.html new file mode 100644 index 0000000..a418f14 --- /dev/null +++ b/public/tags/linux/index.html @@ -0,0 +1,96 @@ + + + + + + + + +linux + + + + + + + + + +
+

Crony Akatsuki

+ +
+ + +
+ +
+ + + + + diff --git a/public/tags/mail/index.html b/public/tags/mail/index.html new file mode 100644 index 0000000..8b9377b --- /dev/null +++ b/public/tags/mail/index.html @@ -0,0 +1,93 @@ + + + + + + + + +mail + + + + + + + + + +
+

Crony Akatsuki

+ +
+ + +
+ +
+ + + + + diff --git a/public/tags/mblaze/index.html b/public/tags/mblaze/index.html new file mode 100644 index 0000000..d19cd31 --- /dev/null +++ b/public/tags/mblaze/index.html @@ -0,0 +1,93 @@ + + + + + + + + +mblaze + + + + + + + + + +
+

Crony Akatsuki

+ +
+ + +
+ +
+ + + + + diff --git a/public/tags/ntfy/index.html b/public/tags/ntfy/index.html new file mode 100644 index 0000000..9f1d147 --- /dev/null +++ b/public/tags/ntfy/index.html @@ -0,0 +1,90 @@ + + + + + + + + +ntfy + + + + + + + + + +
+

Crony Akatsuki

+ +
+ + +
+ +
+ + + + + diff --git a/public/tags/security/index.html b/public/tags/security/index.html new file mode 100644 index 0000000..8afaeb2 --- /dev/null +++ b/public/tags/security/index.html @@ -0,0 +1,90 @@ + + + + + + + + +security + + + + + + + + + +
+

Crony Akatsuki

+ +
+ + +
+ +
+ + + + + diff --git a/public/tags/ssh/index.html b/public/tags/ssh/index.html new file mode 100644 index 0000000..07ee426 --- /dev/null +++ b/public/tags/ssh/index.html @@ -0,0 +1,90 @@ + + + + + + + + +ssh + + + + + + + + + +
+

Crony Akatsuki

+ +
+ + +
+ +
+ + + + +