Bill / Richard,
Many thanks to both of you for your answers, they helped me take a step back and look at this again - and when I did that I found the problem in under 5 minutes :)
Turns out my first guess (and indeed second guess) was wrong; it had nothing to do with Dovecot (as you'd both said). It was actually Postfix, which is configured to filter headers using the 'headers_check' functionality. I'd noticed this before, but when I saw the following:
/^Received:/ IGNORE
I initially assumed (incorrectly) that 'ignore' meant 'don't try check this header'. It doesn't, it means 'please remove it from the message'
Remove that line and all is well with the world.
Matt
-----Original Message----- From: Bill Oliver [mailto:vendor@billoblog.com] Sent: 29 August 2013 23:01 To: Matt Devaney Cc: dovecot@dovecot.org Subject: Re: [Dovecot] Received header only showing localhost
On Thu, 29 Aug 2013, Bill Oliver wrote:
nonsense
Sorry, belay that -- I misread my own output. Doh. Headsmack. I thought I had fixed that issue but did not.
billo