1
0
James Ketrenos f333789ec9 Add recipient_delimeter multiple matches
Signed-off-by: James Ketrenos <james_git@ketrenos.com>
2024-05-21 10:39:08 -07:00
..
2024-05-21 10:38:42 -07:00
2023-10-10 18:14:54 -07:00

To blacklist an alias:

echo "alias@ketrenos.com reject" | sudo tee -a recipient_restrictions
sudo postmap hash:/etc/postfix/recipient_restrictions
sudo systemctl restart postfix

To black list a sender:

echo "name@address.com" | sudo tee -a sender_access
sudo postmap hash:/etc/postfix/sender_access
sudo systemctl restart postfix

To add a sender (eg firsttechfed.com) to the whitelist of sender DNS:

echo "firsttechfed.com OK" | sudo tee -a sender_access
sudo postmap hash:/etc/postfix/sender_access
sudo systemctl restart postfix

To add a new list, append entries to /etc/aliases and run:

echo "alias" | sudo tee -a /etc/aliases
sudo postalias /etc/aliases
sudo systemctl restart postfix