From b71633cad69d0b8fade8419cfd7a333615ad3aee Mon Sep 17 00:00:00 2001 From: Miguel Date: Mon, 18 Feb 2019 18:24:01 +0100 Subject: simpler is better --- .../00010_Monospace-Font-Bitmap-Generator/index.md | 64 +++++++++ .../00020_Notes-on-Mail-Clients/index.md | 144 +++++++++++++++++++++ 080_blog/00_Old-And-Outdated/index.md | 5 + 3 files changed, 213 insertions(+) create mode 100644 080_blog/00_Old-And-Outdated/00010_Monospace-Font-Bitmap-Generator/index.md create mode 100644 080_blog/00_Old-And-Outdated/00020_Notes-on-Mail-Clients/index.md create mode 100644 080_blog/00_Old-And-Outdated/index.md (limited to '080_blog/00_Old-And-Outdated') diff --git a/080_blog/00_Old-And-Outdated/00010_Monospace-Font-Bitmap-Generator/index.md b/080_blog/00_Old-And-Outdated/00010_Monospace-Font-Bitmap-Generator/index.md new file mode 100644 index 0000000..3df7719 --- /dev/null +++ b/080_blog/00_Old-And-Outdated/00010_Monospace-Font-Bitmap-Generator/index.md @@ -0,0 +1,64 @@ +monospaced font bitmaps +======================= + July 4, 2017 + +Since once in a while I have the need to generate my own simple bitmap fonts, which I might embed directly in my code (as in this little class, for example), today I publish this simple python script that will convert a textfile filled with ‘X’es and spaces into an array of integers + +* space = bit off +* ‘X’ = bit on + +![Example usage of bitmap fonts in my simple experimental FoolOS Operating System, which I might write about some other time.](/DATA/foolos.png){.img-fluid} + + +The script has some severe limitations but easily can be extended: + +* works for 5×5 bitmaps only +* every 6th lines is skipped (used for commenting) +* reads a file called “fonts.txt” from same directory + +~~~~~~~~~~~~~~~~~~~~~ {.bash .numberLines} +# filename: convert.py +f = open('fonts.txt','r'); + +i=0; +value=(2**25)-1; + +for line in f: + if (i % 6 ==0): + c=0; + if(i>0): + print(str(value)+","); + value=0 + else: + for j in range(0,5): + if j Account Settings +* In the Account-Actions Dropdown select New eMail Account +* Enter your full Name, your email address (also aliases work) and your password and click Continue +* Thunderbird will now try out typical mailserver settings, if this processis not succesfull or if you want to configure yourself click Manual Setting +* For the Incoming mailserver select IMAP. As server address Thunderbird will use the domain of the Mail adress entered above, complete it to imap.softwarefools.com (alternativly imap.yourdomain will also work). As Security Method select SSL/TSL at the Standard Port: 993. The Authentification Method should be set to: Password,normal. +* The Outgoing mailserver is of course an SMTP server, just complete the server address to smtp.softwarefools.com (alternativly smtp.yourdomain). As Security Method select STARTTSL at Port: 587. Authentification Method again should be set to: Password,normal +* The Usernames used for both servers are the full email address (e.g. name@domain), aliases will not work. + +#### Android Mail Client + +To add a new mail account to your Android mail client open settings and click on Add Account. Enter your mail-address and password and click Continue. The client will now ask what type of Mail account you would like to set up. Again we emphasize using IMAP.This choice is final in Android Mail Client, if you want to change the method you have to delete the mail account and create a new one. Android will now propose some settings for the Incoming Mailserver (the serveraddress will be composed of your method and the mails domain, the username will be the mailname,etc.), yet these are not yet correct. Complete the usernameto your full email address and select Securitytype SSL (accept all certificates) (on port 993). When clicking Continue the client will try out the settings and if correct continue to the outgoing mailserver settings. Again the client will propose some settings such as using the same username and password and again precompose the serveraddress. The only thing left to do is selecting the securitymethod: TLS (accept all certificates) (Port should be 587). On some newer Android Systems (5+) its possible to get repeated “Server not responding” messages if you try SSL (accept all certificates) on the incoming server directly. This can be fixed by using strict SSL once to get a “Certificate not valid” note and Then select SSL (accept all certificates). Same applies for TSL on the outgoing server. + +As accessing your mails with your mobile can be data intensive android mail client offers some additional settings on the next page of the configurator. You can select in what frame of time the mails should be synced with your phone and how often this synchronisation take place (ordinarily and in rush hours). The starting and ending time of your rush hours can be set for all your accounts in the clent properties. On the last page of the configurator you can name the mail account on your phone to better recognize it, and you have to enter the name displayed to an recipient of your mails. + +#### iPhone Mail Client + +Setting up a new Mail account on your iPhone works pretty much like on android device. Visit [1] for more information. + +#### Claws Mail + +The following was tested on my debian-wheezy system with Claws Mail version 3.8.1. + +* Configuration -> Create new account +* Basic: Name of Account: whatever +* Basic: Full name: whatever +* Basic: Mail address: user@domain.com +* Basic: Protocol: IMAP4 +* Basic: Server for receiving: mail.softwarefools.com +* Basic: SMTP server (send): mail.softwarefools.com +* Basic: User ID: user@domain.com +* Basic: Password: secret_password +* Receive: Authentication method: LOGIN +* Send: SMTP Authentication (SMTP AUTH): LOGIN +* SSL: IMAP4: Use SSL for IMAP4 connection +* SSL: Send (SMTP): Use STARTTLS command to start SSL session + +It might be necessery to rebuild your folder-tree: proceed as follows: + +* Right mouse-click on account main-folder -> +* Rebuild folder tree -> +* YES + +#### Mutt + +Ideally mutt will serve only the purpose of a MUA, outsourcing the retrieval of emails to a MRA (e.g. fechmail) and the relaying of emails to a MTA (e.g. postfix). Configuration is trivial in that case. Adapt your .muttrc as follows: + + set spoolfile=/var/mai/username + +You can also access your imap mails directly from within mutt: + + set imap_user=user@domain.com + set imap_pass=secret_password + set spoolfile=imaps://mail.softwarefools.com/INBOX + +#### Fetchmail + +For the simplest configuration of fetchmail as your MRA, add the following line to your .fetchmailrc (adapt user@domain.com, secret_password and local_username): + + poll mail.softwarefools.com protocol IMAP user "user@domain.com" there with password "secret_password" is local_username here ssl sslfingerprint '02:B0:72:78:F7:F1:28:40:C4:DB:37:3F:18:BB:E1:AF' fetchall + +#### Postfix + +In many scenarios it is recommended to use a seperate MTA (e.g. postfix) to relay your outgoing emails to remote hosts. If you decide to use postfix read on here: http://www.postfix.org/ + + diff --git a/080_blog/00_Old-And-Outdated/index.md b/080_blog/00_Old-And-Outdated/index.md new file mode 100644 index 0000000..3055918 --- /dev/null +++ b/080_blog/00_Old-And-Outdated/index.md @@ -0,0 +1,5 @@ +Old and Outdated +================ + +Here you can find some some old and outdtdated articles, please do not read them. +They are kept here only for historical reference reasons. -- cgit v1.2.3