Set hostname so confirmation emails work.

Not 100% certain this is the best place to set this, but it's working for me without any obvious negatives so far.