SPF relay added, some bugfixes