On 29/12/15 13:15, Dennis Steinkamp wrote: > i read many times that 'myhostname' in the postfix configuration should > be the same as the ptr
Yes. > and some say even the same as the mx record. No, the MX of your domains is irrelevant to the ptr of your server. The MX is only ever used for other servers to send mail to you, the only exception to this is when you specify "mx" as one of the atoms in your SPF string. > So i played around with it a little bit and figured, that even though i > ve set the 'myhostname' to mail.greatserver.com, whereas the hostname of > the machine running postifx and the ptr is > just greatserver.com, the smtp banner check on mxtoolbox reports > everything is fine. That may be the case, but I tend to recommend that myhostname match up exactly to the PTR record. > So i am asking myself, is it really necessary that the HELO of my > postfix server and the ptr are exactly the same? Nothing is completely necessary, but different servers have different policies when it comes to SPAM testing, and the best way to ensure that you pass the FCRDNS tests of all the different servers is to make sure that these match exactly. > Excuse me if it sounds like a stupid question but i am new to all of > this and i just wanna do things right from the start and understand it > correctly. It's all about trying to control SPAM. Generally speaking spam bots won't have a myhostname that matches up with the PTR record, this is because they tend to not have control over the PTR record of the server they are using, so in that sense it is sufficient to test that the domain matches and the hostname need not be exactly correct. That being said, what tests are actually performed when this is implemented may indeed be more strict than this as clueless server admins have a tendency to over-react and put in tests that are too strict, therefore if you want your mail to be accepted by as many servers as possible it is best to comply with the strictest possible standards. Peter