Pottypotsworth
Programmer
Hi guys i have a slight problem.
I need to direct all mail from one domain to another but i need to retain the user (so the part before the @).
So if someone mails support@domain1.com it needs to be directed to support@domain2.com, or if someone mails advice@domain1.com it needs to goto advice@domain2.com etc etc.
I cracked open virtusetable and put
@domain1.com @domain2.com
I rehashed virtusetable.db and restarted sendmail but it doesn't work. I get a "to many hops" e-mail returned to my e-mail adress which i sent the e-mail from.
if i do @domain1.com bob@domain2.com it works fine, but obviously that doesnt help due to the fact that all mail to domain1.com will only goto bob@domain2.com
I dont know wether it makes any difference but domain2.com is on MDEAMON because the user uses exchange.
I hope this makes sense.
Dean
I need to direct all mail from one domain to another but i need to retain the user (so the part before the @).
So if someone mails support@domain1.com it needs to be directed to support@domain2.com, or if someone mails advice@domain1.com it needs to goto advice@domain2.com etc etc.
I cracked open virtusetable and put
@domain1.com @domain2.com
I rehashed virtusetable.db and restarted sendmail but it doesn't work. I get a "to many hops" e-mail returned to my e-mail adress which i sent the e-mail from.
if i do @domain1.com bob@domain2.com it works fine, but obviously that doesnt help due to the fact that all mail to domain1.com will only goto bob@domain2.com
I dont know wether it makes any difference but domain2.com is on MDEAMON because the user uses exchange.
I hope this makes sense.
Dean