So there’s a thread over at ProgClub about me and my new Pi. I definitely gotta get me some more of these!
Category Archives: Internet
Triggering a PHP script when your Postfix server receives a mail
Today I discovered Triggering a PHP script when your Postfix server receives a mail. Looks interesting. Gonna have a read. It references this Postfix Architecture Overview document that is even more interesting, and which I will read first!
Programming Quotes
I came across these Programming Quotes over on cat-v.org today. Their Bumper-Sticker Computer Science is also good.
My favourite was “You can’t trust code that you did not totally create yourself.” — Ken Thompson
10 Popular PHP frameworks in 2020
I enjoyed reviewing 10 Popular PHP frameworks in 2020.
HTML forms
Found a cool series of articles: How to Build HTML Forms Right. Only the first two of five articles have been published so far, but I’m looking forward to the next three. The articles are about how to do forms right in HTML 5.
The articles are rich with links, click through for heaps of info. Some things that I found:
Adding a sender blacklist to Postfix
Here at ProgClub, as moderator for our mailing lists, I get a bunch of spam that I have to get rid of every day, to keep our lists sparkling and spam-free. I regularly get spam from senders from ofenews.co.uk, and I wanted to add their entire domain to a blacklist on our mail server… I hadn’t configured a Postfix blacklist before, so I did a little research and came up with this:
I created a file /etc/postfix/sender_access like this:
ofenews.co.uk REJECT
Then I created the access database:
# postmap /etc/postfix/sender_access
Then I added the sender restrictions into /etc/postfix/main.cf:
smtpd_sender_restrictions = check_sender_access hash:/etc/postfix/sender_access
Then I restarted postfix and was done! Everything is easy when you know how.
For reference, here is the doco which I read to help me:
HTML <table> CSS width not working
If your table isn’t automatically adjusting to the width specified by your CSS, make sure you haven’t set display: inline-block; on the <table> element.
Migrating from Firebug to Firefox Developer Tools
See Migrating from Firebug and Firefox Developer Tools to get started. Also of interest was Web Console Helpers.
Alternative verification methods for Let’s Encrypt
How to open the current page in a new Firefox window
You can press Ctrl+N to open a new window, but the new window loads with your home page. What I’ve found myself wanting to do is to open a copy of the current page in a new window. The way I figured was to click History in the menu bar and then Shift+Click to load the page on the top of the list (assuming the page you want is actually on the top of the list… if that’s not what you want keep looking down the list!).