A few days ago, I had an interview for a job that was not posted online. I got the interview opportunity thanks to my friend's referral. If I were hired, the interviewer would be my direct boss (so he wasn't an HR person).
After the interview, which I think went very well, the interviewer asked me to email him some references. He said he would contact them and would ask the HR office to post the job online because the company regulations dictate that a new job must be posted for an X amount of time. Interestingly (I think), he also asked me to email his current team members for any questions I might have regarding their work, work environment, etc.
I wonder if this is a good sign.