Mail In SPAM

Hi,
I am using bind9 on debian etch vps server. Have postfix installed. I noticed one thing that incase a mail is sent with smtp server localhost it goes to spam but incase it is sent from any other smtp server like gmail for example then it reaches inbox.
xxx.x.xxx.rev