I start one thread for 2 problems I have at the moment. But the problems must be looked at together.
I have set my mail-server to be reachable at mail.mydomain.dom. But when I do a reverse lookup of the IP, I get ns.mydomain.dom. Could be a problem with some mailservers.
How can I set the reverse-zone of bind, to bring mail.mydomain.dom when I do a reverse lookup? Or better, how do I set it in ISPconfig? The zone-file is generated from ISPconfig, so if I change it by hand, it will be overwritten when I do changes in ISPconfig.
My reverse-zone-file looks like this:
@ IN SOA ns.mydomain.dom. hostmaster.mydomain.dom. (
2005111601 ; serial, todays date + todays serial #
28800 ; Refresh
7200 ; Retry
604800 ; Expire
86400) ; Minimum TTL
22 PTR mydomain.dom.
22 PTR www.mydomain.dom.
22 PTR secure.mydomain.dom.
22 PTR mail.mydomain.dom.
22 PTR ns.mydomain.dom.
22 PTR ftp.mydomain.dom.
22 PTR subdomain.mydomain.dom.
;;;; MAKE MANUAL ENTRIES BELOW THIS LINE! ;;;;
How do I use the SPF records in the right way? I have not found a description in the manuals. What to set as hostname (should this be mail?)? And what are all the other things?
I think for this to work, I need to resolve the first problem.