i am trying to get postfix to rewrite one of the headers that appears in all 
the emails i send, in every email i send incl. this one there is:
Received: from mycroft.excession (localhost.localdomain [127.0.0.1])
        by host.domain.tld (Postfix) 

as one of the first headers, mycroft.excession is the host machine name but 
obviously doesn't resolve outside my local network

i've tried editing /etc/postfix/main.cf to include:
canonical_maps = hash:/etc/postfix/canonical

and edited canonical to read:
#lots of commented text
@mycroft.excession @test.cxm

this doesn't do the trick even after restarting/reloading postfix,
is it that the syntax is wrong or am i barking up the wrong tree?
as i understand things this particular header exists because kmail sends to 
postfix which then sends the mail on hence the:
Received: from mycroft.excession 
means that postfix received the mail on port 25 on this host
is it possible to rewrite this header to something else (without changing my 
hostname back to 'localhost')?

bascule
-- 
Crowley was in Hell's bad books. Not that Hell has any other kind.
        -- (Terry Pratchett & Neil Gaiman, Good Omens)


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to