Hi. I'm in the middle of an attempted conversion from sendmail to postfix, and I've come across one problem. The machine I'm setting up is the smtp/imap for a local network, *.foonet. This domain is not a registered 'net domain, so that if I screw up the DNS setup, it doesn't mess up the entire DNS database... However, the machine is also the internet gateway for the network, using IP masquerading. The machine appears on the internet as foo.<isp>.co.uk. I have also purchased a domain name, foo.org.uk for the network, and set up web and mail forwarding. Incoming mail arrives via the ISP addressed to <username>@foo.org.uk, or Firstname.Lastname@foo.org.uk, and should be processed as local mail. I've got this setup working correctly. Outgoing mail arrives addressed from <username>@<machinename>.foonet. This needs to be re-written as Firstname.Lastname@foo.org.uk. I've managed to get the LHS rewriting working correctly (username -> Firstname.Lastname), but I can't get the RHS rewriting to work. The manual suggests domain masquerading, but as far as I can see, this will only rewrite @machinename.foonet to @foonet. What I'm looking for is the equivalent to the sendmail.cf DM option. Anyone have any ideas? TIA... -- David Smith Tel: +44 (0)1454 462380 (direct) STMicroelectronics Fax: +44 (0)1454 617910 1000 Aztec West TINA (ST only): (065) 2380 Almondsbury Home: 01454 616963 BRISTOL Mobile: 07932 642724 BS32 4SQ Work Email: Dave.Smith@st.com Home Email: David.Smith@ds-electronics.co.uk