Forward mail from Exchange server to another mail server at a different host

Hello,

When I try the command, I get the following:

WARNING: The command completed successfully buy no settings of 'DomainName.local/Users/User' have been modified

Please advise.

Thank you,

Don
GEMCCAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

AlanConsultantCommented:
Hi GEMCC,

What command are you using, and what are you using it on?

From your subject, I am guessing you might be talking about a PowerShell command on an Exchange Server, but without some details, it will be very difficult for us to help you.

Thanks,

Alan.
0
GEMCCAuthor Commented:
Hi Alan,

Yes I am talking about the PowerShell command.  I need to have e-mail I am hosting to forward to another provider.

Thanks,

Don
0
timgreen7077Exchange EngineerCommented:
You normally get this message when you attempt to make a change that has already been made. basically whatever change you are attempting to make is already in place.
0
Redefine Your Security with AI & Machine Learning

The implications of AI and machine learning in cyber security are massive and constantly growing, creating both efficiencies and new challenges across the board. Check out our on-demand webinar to learn more about how AI can help your organization!

GEMCCAuthor Commented:
Understood, but I test the forwarding and it does not work.
0
AlanConsultantCommented:
Hi,

Have you tried running a different command and seeing if that works?

Alan.
0
timgreen7077Exchange EngineerCommented:
The error is because you are using the same cmd, but if cmd is not correct or you are missing something that is a different issue.
What cmdlets are you running?
0
Jose Gabriel Ortega CastroCEOCommented:
For this, you just need to create an external send connector (internet) with the smart host IP to send out emails to another smart host. you need to specify the command and not just tell us the error, we're not fortune tellers.
0
GEMCCAuthor Commented:
Apologies.  I thought I included not only the command, but what had been done.

Please see here.

Thank you,

Don
0
AlanConsultantCommented:
Hi GEMCC,

Please can you confirm that this is the command you have been referring to in all the above posts:

set-mailbox <user's username> -forwardingsmtpaddress <user@def.com> -delivertomailboxandforward:$true

Open in new window


If so, and you are getting this error:

WARNING: The command completed successfully buy no settings of 'DomainName.local/Users/User' have been modified

Open in new window


that implies that you already had the forwarding setup for that user.

If the forwarding is not happening, then try a different destination (forwarding address), preferably somewhere where you can access full logs, then check both your server's logs, and those of the destination server (you may have to enlist the help of a friend who has such), and see whether the email is transiting out of your Exchange Server, and if so, is it getting to their server.  If getting to their server, but not to the mailbox, then they would need to ascertain why that is.

Alan.
0
GEMCCAuthor Commented:
Hi Alan,

Yes that is the command and the error.  Could I . . .

set-mailbox <user's username> -forwardingsmtpaddress <user@def.com> -delivertomailboxandforward:$false

and then . . .

set-mailbox <user's username> -forwardingsmtpaddress <user@def.com> -delivertomailboxandforward:$true

Thanks,

Don
0
AlanConsultantCommented:
You could try that first - no harm.
0
GEMCCAuthor Commented:
Did false then true.  I did true once and then tested to see if messages forward, but they are not.
0
AlanConsultantCommented:
Okay, what was the outcome of the test to a different forwarding address?

What did the logs show?

Thanks,

Alan.
0
GEMCCAuthor Commented:
My test message went to the original recipient but did not get forwarded.  Not sure where the logs are.
0
AlanConsultantCommented:
Okay - so are you sure that it was not forwarded?  Is it possible it *was* forwarded, but the recipient's mailserver or spam filter blocked it from getting to them?

Did you forward it to someone who knows how to access their mail logs?  If so, ask them if it was received.

I am guessing from your post that you are not the Exchange Admin, or at least, you are not an expert in Exchange.  This link gives you a starting point with respect to your own logs, but if you have never looked at them before, maybe easiest to enlist the help of a 'friend' who controls their own mail-server as per my previous post and above.

Microsoft - Transport logs in Exchange 2010 / 2013 / 2016 (Select version from the drop down)

Hope that helps,

Alan.
0
GEMCCAuthor Commented:
Hello,

I will address this issue after the weekend.

Thank you,

Don
0
GEMCCAuthor Commented:
Hello,

Ended up creating a rule in Outlook to redirect the messages.

Thank you,

Don

P.S. Never sure about marking the correct answer.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
AlanConsultantCommented:
Solved their own problem.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Powershell

From novice to tech pro — start learning today.