Categories
Useful & Productive

Simple sieve script to move junk emails

Spammy emails are frustrating and if you are running your own email server, chances are, you might still be getting spammy emails in your inbox without it being redirected to the spam folder. This little sieve script can solve your problem. Essentially, it looks for the subject. If the subject contains certain terms, you can forward those emails to a certain destination.

We are using Poste.io which is a scalable email solution that you can host yourself. It has an option where it can prepend spammy emails with whatever string you set on the settings page. We set it to “*****SPAM*****“. Now, all we have to do is ask the sieve script to move those emails with that string to a folder of your choice. This is helpful because now my inbox isn’t crowded with ‘potential’ spam to look through early in the morning when I just want to get to the real deal. Hope it helps you. I also found some cool sieve scripts that do more than just move emails into specific folders. I’ll link them up under resources. Have fun 😉

Sieve script

require ["fileinto", "mailbox"];
if header :contains "Subject" "*****SPAM*****" {
    fileinto "Spam";
}

Resources

Number of useful examples
Easy sieve testing
Wiki on sieve
Some more examples

 

Categories
Bible Quote

Quote

Holy Spirit is Jesus in Spirit. How wonderful is that for a thought?

Categories
Inspirational

Faithful – Erik Nieder

Lord you search me, how you know me
You perceive my every thought from afar
In all my wandering, still you love me
King of glory you pursue my anxious heart

Even when I’m not, you’re faithful
Even when I doubt your truth holds
Even when I’m lost you won’t let me go
When my heart is dry your grace flows
No matter where I run, I’m not far from home
Yea, I may be weak but you’re able
Even when I’m not, you’re faithful
Even when I’m not, you’re faithful

Lord you search me, how you know me
You perceive my every thought from afar
In all my wandering, still you love me
King of glory you pursue my anxious heart

Categories
Blog Inspirational

You can do anything! – Maggie Doyne

Life is short so make every day count. Stories like these inspire me and I hope they inspire you too, to do something worthwhile. I’ve been blessed with many things in life but I have not found greater joy and satisfaction in anything as much as I do in giving. Giving with right motives brings in fruit. Hats off to people like Maggie who I think have the best job and life in the world. I envy what they’ve accomplished in their life so far. This is what is a success should mean for everyone.

“The great use of life is to spend it for something that will outlast it.” —William James
“That is your legacy on this Earth when you leave this Earth: how many hearts you touched.” —Patti Davis

Categories
Inspirational Quote

Quote

If you have Him, you have everything. But if you have everything, you might not have Him.