SPF (Sender Policy Framework) support

1 post / 0 new
#1 Sat, 02/18/2017 - 18:27
prcek

SPF (Sender Policy Framework) support

Hi guys,

I wonder there is no mention about SRS or Postsrsd support on the forum until today. Correct me if I am wrong. Because it is very easy to make Virtualmin supporting SRS, I am posting the (Debian 8) howto:

mkdir /opt/postsrsd
cd /opt/postsrsd
apt-get install cmake chkconfig
wget https://github.com/roehling/postsrsd/archive/master.zip
unzip master
cd postsrsd-master
make
make install
postconf -e "sender_canonical_maps = tcp:127.0.0.1:10001"
postconf -e "sender_canonical_classes = envelope_sender"
postconf -e "recipient_canonical_maps = tcp:127.0.0.1:10002"
postconf -e "recipient_canonical_classes = envelope_recipient"
chkconfig postsrsd on
service postsrsd restart
rm -r /opt/postsrsd

That's all, enjoy.