thanks for your mail and hints.
However, this does not work for me.
The "MOUNT=fakeuser@fakedomain.. smtp://email@example.com"
does not work.
If I send mail to fakeuser@fakedomain.. delegate tries to open a connection to fakedomain.com !?!?
That does not work, of course.
So, the option
given later on the command-line is not honoured (or wrong ?).
I don't know why and I give up.
I tested a lot of different ways, with and w/o SMTPGATE and come to the conclusion:
You can either have rewriting of the user (with SMTPGATE) OR specifying Mailservers for a domain
but not both.
So we have to decide whether hiding the E-Mail address or have high-available sending of SMS is
more important for us.
> -----Original Message-----
> From: Yutaka Sato [mailto:firstname.lastname@example.org]
> Sent: Friday, March 06, 2009 8:24 PM
> To: email@example.com
> Cc: Bladt, Norbert
> Subject: Re: [DeleGate-En] dg 9.9.1 as SMTP gateway
> In message
ms.ch> on 03/06/09(17:56:08)
> you "Bladt, Norbert" <firstname.lastname@example.org> wrote:
> |Is this setup
> | using our internal mail-servers for some (or all) domains,
> | two other mail-servers for one specific domain and
> | rewrite the recipient to use this specific domain
> |at all possible ?
> I'm not so sure about your requirment but it might be useful to use
> MOUNT for STMP (without SMTPGATE) extended in DeleGate/9.8.2 with
> which you can specify the recipient value (to be sent in RCPT TO
> to the SMTP server) as follows:
> MOUNT="user1@domain1 smtp://user2@domain2@server2"
> By this MOUNT, a message from client with:
> RCPT TO: user1@domain1
> will be forwarded to server (server2) with:
> RCPT TO: user2@domain2
> If necessary, you can specify MX of server2 as this:
> Also the MOUNT can be represented alternatively as
> MOUNT="//domain1/user1 smtp://server2/user2@domain2"
> MOUNT="//domain1/user1 smtp://server2/domain2/user2"
> 9 9 Yutaka Sato <email@example.com> http://delegate.org/y.sato/
> ( ~ ) National Institute of Advanced Industrial Science and
> _< >_ 1-1-4 Umezono, Tsukuba, Ibaraki, 305-8568 Japan
> Do the more with the less -- B. Fuller