Articles written by Sorin Pohontu
Reducing the size of /dev/pve/root
(the root
logical volume in a default Proxmox setup using LVM) and extend the
space of /dev/pve/data
can be done using
SystemRescueCD (or any live Linux environment with LVM and
filesystem tools).
This i ...
To extract all destinations (i.e., the recipients
)
from the Postfix mail queue (mailq
), you can use the
following Bash one-liner:
mailq | awk '/^[A-F0-9]/ {in_msg=1; next} in_msg && /^[ \t]*[^ ]+@[^ ]+/ {print $1}' | sort | uniq
E ...
Here is a step by step guide to configure OpenDKIM with Postfix
on Debian 12 bookworm
.
We're gonna modify default configuration files to keep only minimal or required settings.
Install openDKIM
sudo apt-get install opendkim opendkim-tools
Conf ...
Sometimes I need to calculate a total disk usage of files older than a specified interval (days, months, years).
Here is a 1 liner to do that:
find . -type f -mtime +7 -print0 | du -hc --files0-from - | tail -n 1
Detailed info ?
Use
If you are in a search for an email archiving solution, MailPiler is a recommend solutions.
If you didn't heard about MailPiler, check out the comparison with MailAr ...
Excel doesn't do a very good job on exporting comma separated
files (CSV or TXT). Reading the file with fgetcsv
could fail, since the field separator might not be as expected (a
comma).
Here is a quick method to find the field delimiter from a CSV file. We'l ...