UFW is blocking some outgoing connections on my server, such as Akismet, the spam killing plugin for my Wordpress site. According to Akismet's firewall info I need to allow contact with four IPs. My ufw rules allow all outgoing traffic. I tried explicitly adding rules both for the IPs concerned, but it made no difference.
Mail on the same server is also blocked when doing a CNAME lookup. This makes the logs, whereas ufw doesn't.
Apache serves pages fine, and I can get in over SSH, etc in accordance with ufw's inbound rules.
Clearly I've just got ufw set up wrong, as everything works fine when I disable ufw.