Joachim Trinkwitz, 2001-Nov-10 20:15 +0100: > Dear all, > > to rewrite my mail address correctly (ppp connection to university > ISP), I inserted the following lines in the config files: > > - /etc/postfix/main.cf:relayhost = mailout.uni-bonn.de > myhostname = wabe.germanistik.uni-bonn.de > masquerade_domains = uni-bonn.de > - /etc/postfix/canonical:joachim [EMAIL PROTECTED] > - /etc/postfix/sender_canonical:joachim [EMAIL PROTECTED] > > This works for my part, but there is a problem when I send a mail to > someone with an address like [EMAIL PROTECTED]': the address is > delivered correctly, but the `To:' address in the header too is > rewritten to [EMAIL PROTECTED]' (without the `xyz'). This wouldn't be > a real problem, but I'm driving people crazy who've got a mail with > such an address in the `CC' field and wants to do a `Reply to all' ... > > Hoping someone can give me a clue, > joachim
It looks like postfix is setting the deliverto: header with the correct desitination but changing the To: header to your masquaraded domain. By masquarading, postfix will strip any subdomain structures, so you probably shouldn't be using this feature. jc -- Jeff Coppock Systems Engineer Diggin' Debian Admin and User