Some notes on how to configure Postfix: Postfix SMTP-AUTH 4 DUMMIES.
Category Archives: Sys Admin
Dovecot SASL
Here’s some info about Dovecot SASL. I integrate this facility for Postfix authentication too. So my SMTP system has a dependency on my IMAP/POP3 system. In the backend it’s a MySQL database…
openssl dhparam -out dh.pem
So I was getting errors like this in syslog:
Jul 6 17:35:53 integrity systemd[1]: Started Dovecot IMAP/POP3 email server. Jul 6 17:35:53 integrity dovecot[10775]: doveconf: Fatal: Error in configuration file /etc/dovecot/conf.d/10-ssl.conf line 79: ssl_dh: Can't open file /etc/dovecot/dh.pem: No such file or directory Jul 6 17:35:53 integrity systemd[1]: dovecot.service: Main process exited, code=exited, status=89/n/a Jul 6 17:35:53 integrity systemd[1]: dovecot.service: Failed with result 'exit-code'.
This failure was affecting other parts of my system (i.e. postfix SASL).
The solution was to generate the dh.pem file:
root@integrity:/etc/dovecot # openssl dhparam -out dh.pem 4096
Cool Bash
Today via lobsters: Cool things I learned about Bash this week.
A Tired Raccoon’s Containerization Manifesto
Today on lobsters: A Tired Raccoon’s Containerization Manifesto a call to containerize…
Modern Unix
This via r/programming today: Modern Unix. A list of powerful replacements for ancient Unix commands.
Postfix Backwards-Compatibility Safety Net
Today I discovered the Postfix Backwards-Compatibility Safety Net via my mail log. Gonna have to review my Postfix settings…
John’s PHP Extension library
Note to self: my PHP extension is here: jj5@tact:/home/jj5/repo/git/git.php.net/php-src/ext/pext
The .so file (shared object) is in modules/pext.so
I linked it in like this:
------------------- Sun May 23 13:44:22 root@tact:/usr/lib/php/20170718 # ln -s /home/jj5/repo/git/git.php.net/php-src/ext/pext/modules/pext.so . -------------------
Configured it like this:
------------------- Sun May 23 13:44:47 root@tact:/usr/lib/php/20170718 # cat /etc/php/7.2/cli/conf.d/pext.ini extension=pext.so -------------------
And I can build it like this:
------------------- Sun May 23 13:51:37 jj5@tact:/home/jj5/repo/git/git.php.net/php-src/ext/pext $ make clean && make
What problems do people solve with strace?
This via r/programming today: What problems do people solve with strace?
The Bourne shell and Bash aren’t the right languages for larger programs
Today I read The Bourne shell and Bash aren’t the right languages for larger programs. It linked to this DKMS script which was interesting. TIL: ‘readonly’ in BASH.