| Server IP : 82.208.35.60 / Your IP : 216.73.216.89 Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31 System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64 User : studiokobylisy_cz ( 1008) PHP Version : 7.3.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /usr/ports/mail/greyfix/files/ |
Upload File : |
[
{ type: install
message: <<EOM
Edit Postfix's master configuration file, master.cf, and add the following:
greyfix unix - n n - - spawn
user=nobody argv=%%PREFIX%%/sbin/greyfix -/ 24
(The -/ argument specifies how much of the IP address to consider significant,
in this case the first 24 bits.)
Edit Postfix's main configuration file, main.cf and add the following:
smtpd_recipient_restrictions = permit_mynetworks,
reject_unauth_destination,
check_policy_service unix:private/greyfix
If there is already a smtpd_recipient_restrictions configuration line you
should edit it rather than add a new one. The important part for Greyfix is
that you should add check_policy_service unix:private/greyfix to it.
Finally have postfix reload its configuration with:
%%PREFIX%%/etc/rc.d/postfix reload
EOM
}
]