If you want to disable IPv6 at the OS level you can do so by going to /etc/nf and adding the following line: .disable_ipv6 = 1 save the file, then reload the system ip configuration by issuing this command: sysctl -p Keep in mind you will still need to disable IPv6 in main.cf to inform postfix that you are only using ipv4Ĭ. I do not need IPv6, nor is it supported end to end everywhere, so I don’t want it to ever be an issue until I know IPv6 is supported everywhere. OPTIONAL: I also took the liberty to disable IPv6 at the Centos OS level as well. The inet_protocols = ipv4 tells postfix to not use ipv6. Add the following to the end of /etc/postfix/ main.cf (You can’t do this from the admin module, SSH only) If you already have an ip4: in there with an IP, you can add another.ī. V=spf1 ip4: **** include: ~all <- be sure to replace with your public ip address So, with representing your public pbx ip address, this is what your TEXT record should read as: Since Office 365 requires an SPF record already, you will not so much need to add it, but modify the existing one it so that it include the external IP of your PBX. This informs Office 365 that you are a “known and trusted system”. Edit your DNS records and setup a SPF text record for your domain.
Office 365 Exchange Servers require a few things before an email can be relayed to them. Many of the Asterisk/FreePBX/Linux gurus out there don’t yet fully understand that Office 365 is more paranoid than most SMTP systems.
Getting FreePBX to work with Office 365 can be tricky.