Suddenly, it's not possible to send email through your php application (phpBB3 in my case)?
Maybe it looks like:
[phpBB Debug] PHP Notice: in file /includes/functions_messenger.php on line 846: fsockopen() [function.fsockopen]: unable to connect to localhost:25 (Connection refused)
At first I thought it was PHP that "wasn't allowed" to talk to SMTP anymore. So I checked the allow_fopen in php.ini - which was still set to "on".
Next, I tried changing the "localhost" setting to the FQDN, which resulted in "relaying not permitted" errors - of course ;)
After some research on google (didn't find too much) I found this:
http://markus.bundschuh.de/2007/10/php5_fopen_blockiert_bei_zugri.html
Which obviously points out a problem in Windows Vista - but guess what? It's the same thing for Lenny.
One look in my /etc/hosts revealed:
www.xxx.yyy.zzz fqdn.domain.tld hostname
127.0.0.1 localhost.localdomain hostname
::1 localhost ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts
After commenting out the ::1 (which is the ipv6 name for localhost) everything worked again.
Thank you, Mr. Bundschuh ;)


