foward email send to xx@domainA to xx@domainB

nieuwhier

Verified User
Joined
Sep 8, 2005
Messages
280
Location
Netherlands
Hi there,

This is a nice one.

I have thousands of emailaddresses at domainA.com. Now I have a second domain, domainB.com.

Both domains are on seperate servers. One is DA and the other isn't. domainB.com is on the DA servers.

I don't want to create emailaddresses at domainB.com.

I want the email send to domainB.com to be delivered at domainA.com. So [email protected] has to go to [email protected].

I guess DomainB.com has to accept the mail, add/change the header and forward it to the other mailserver ?

Regards,
Michel.
 
This option is called domain forwarding in Cpanel and I'm looking for exactly the same.

Did anyone come up with a solution? I've been googling for it over the last days but to no result.
 
btw.. It is not to difficult to write a php program what does this.

But it was not important enough for me to do this(and I don't want any custimizing per customer).
 
From what I have read, CPanel seems to do it by editing the exim.conf file and putting something similar to this in it, for each forwared domain:
Code:
forward:
     driver = redirect
     domains = some.domain
     data = ${quote:$local_part}@other.domain
 
I didn't test the forward to see if it does what you want, but certainly customizing exim.conf is the way to add the feature.

If you want DA staff to consider it, then you should post it as a feature request. I can add it to the exim.conf file, but DA would have to write the code to put it into the interface. Or we could write a commercial plugin for it, but I'm not ready to do plugins yet.

Jeff
 
toml, I was editing my reply while you were reading it; you might want to look again :) .

Jeff
 
Great find tomi - where did you find it? I've been searching for this.

I just need to do this for 1 customer so it won't mess up my exim.

I still have a cpanel account but on it I can't find anything like your code in exim.conf.
 
Back
Top