0 votes

Hi,

i look for a solution as a helpdesk point were the agent can establish a mail forwarding in Adaxes if possible with end date.

I've set a custom command with paramters, date and deputy, but I'm struggeling with the deputy, because the PS script awaits an mailadress.

Is there a smoother solution?

mailfwd.JPG

by (450 points)

1 Answer

0 votes
by (267k points)

Hello Boris,

There is no need to use scripts. You can use the Modify Exchange properties action in your custom command. The forwarding recipient can be directly passed to the action using the corresponding value reference: image.png For details about using the action, have a look at the following tutorial: https://www.adaxes.com/tutorials_AutomatingDailyTasks_AutomateExchangeMailboxConfiguration.htm.

As for disabling the feature on a specific date, your custom command should save the specified one to a user attribute. For example, you can use one of Adaxes custom date attributes (e.g. CustomAttribtueDate1). Then, a scheduled task will disable the feature and clear the attribute when time comes. Finally, you should have something like the following:

Custom command image.png Scheduled task image.png

2nd action not available

Related questions

0 votes
1 answer

Hello, you helped us with a script to set the oof-message. Now we want to know, if it's possible to activate/deactivate the mail-forwarding option time-based. In the ... deactivate it accordingly on "param-abw-ende" Can you help me with that? Thanks Carsten

asked Nov 17, 2022 by lohnag (140 points)
0 votes
1 answer

Hello, I need to modify e-mails for all users in an OU. Does anyone know how to do it quickly? Thanks

asked Jun 4, 2018 by miesam (50 points)
0 votes
1 answer

Hello, I need to modify e-mails for all users in an OU. Does anyone know how to do it quickly? Thanks

asked Sep 24, 2009 by tjohns (20 points)
0 votes
0 answers

Hello, Why Adaxes cannot manage email forwarding configured as SMTP address? It works only with email forwarding when forwarding is done to mail contact or other mailbox ... frustrated team members because forwarding exists but is not represented in Adaxes...

asked Dec 6, 2018 by DLe (760 points)
0 votes
0 answers

I am using adm-CustomAttributeText2 to capture external email address. And then using the same to create mail enabled exchange account. But I would like ... " -EmailAddressPolicyEnabled $true # Close connection to Exchange Server Remove-PSSession $session

asked Nov 2, 2015 by Brajesh (460 points)
3,298 questions
2,996 answers
7,668 comments
544,227 users