I don't know Sendmail, but I think what you want is: myorigin = foo.org.uk Join the Postfix e-mail list (see www.postfix.org). Very helpful group. HTH, Jeffrey Quoting Dave Smith <Dave.Smith@st.com>:
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...
-- I don't do Windows and I don't come to work before nine. -- Johnny Paycheck