Announcement

Collapse
No announcement yet.

How to change The return-path for a user

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • How to change The return-path for a user

    Hi,
    to meet my company requirement, i have to set a different mail address users reply to when receiving a mail from certain users, they asked me to change the return-path of mails sent by these users.
    in fact the reply to address is for a different SMTP domain and this domain is among the accepted domains of the company, for example, a user has "[email protected]" and the reply address is "[email protected]" when both "email.com" and "differentsmtp.com" are accepted domains of the organization.
    I was telled that there is a Powershell script to change the Return-Path for a user, but i searched in Google, Thechnet, forums... without finding anything; Has anyone done this before ?
    thanks in advance

  • #2
    Re: How to change The return-path for a user

    The return path is represented by the primary SMTP address (the one in bold with big SMTP).

    To change it you can use set-mailbox with the attribute PrimarySmtpAddress, you have to clear the flag for using policies too.

    Or if this should be done for multiple users, you can create a new address policy with:

    smtp:
    %username%@email.com SMTP:%username%@differentsmtp.com

    and a filter which matches these users.

    Comment


    • #3
      Re: How to change The return-path for a user

      thanks FischFra for the reply, but this will me all mails seem to be sent from "[email protected]" all the time, the goal is to have mails sent from "[email protected]" and have the Return-path modified to "[email protected]".

      Comment


      • #4
        Re: How to change The return-path for a user

        Hmm, the other method would be to create a second mailbox and give the user "send as" permission, so that he/she can send from this mailbox.

        But the mail will be always sent from the associated primary SMTP address of the mailbox from which the mail came from.

        Comment


        • #5
          Re: How to change The return-path for a user

          This is SMTP header rewriting. It is only available when you use an Edge server. You could also look at third party tools which can do the same thing, as an Edge server is very expensive and in most cases completely useless.

          Simon.
          --
          Simon Butler
          Exchange MVP

          Blog: http://blog.sembee.co.uk/
          More Exchange Content: http://exchange.sembee.info/
          Exchange Resources List: http://exbpa.com/
          In the UK? Hire me: http://www.sembee.co.uk/

          Sembee is a registered trademark, used here with permission.

          Comment

          Working...
          X