|
|
|
date: Mon, 15 Sep 2008 11:20:01 -0700,
group: microsoft.public.exchange.admin
back
SMTP Forwarding Connector: powershell cmd errors
Hi,
I need to setup and configure a new SMTP connector in exchange 2007.
Creating the connector wasn't the problem.
Mail messages need to be forwarded from one specific IP, but will be coming
from outside our domain.
I've followed these instructions:
http://www.shudnow.net/2008/08/21/how-anonymous-relay-works-in-exchange-2007/
... and I should be able to run this command in the power shell:
Get-ReceiveConnector "LISTSERV SMTP FWD" | Add-ADPermission -User "NT
AUTHORITY\ANONYMOUS LOGON" -ExtendedRights
"Ms-Exch-SMTP-Accept-Any-Recipient"
But I keep getting the following error (or permutations thereof).
PS C:\Documents and Settings\netadmin> GetReceiveConnector "LISTSERV SMTP
FWD"|Add-ADPermission -User "NT AUTHORITY\ANON
YMOUS LOGON" -ExtendedRights "Ms-Exch-SMTP-Accept-Any-Recipient"
The term 'GetReceiveConnector' is not recognized as a cmdlet, function,
operable program, or script file. Verify the term and try again.
At line:1 char:20
+ GetReceiveConnector <<<< "LISTSERV SMTP FWD"|Add-ADPermission -User "NT
AUTHORITY\ANONYMOUS LOGON" -ExtendedRights "
Ms-Exch-SMTP-Accept-Any-Recipient"
PS C:\Documents and Settings\netadmin> GetReceiveConnector"LISTSERV SMTP
FWD"|Add-ADPermission -User "NT AUTHORITY\ANONY
MOUS LOGON" -ExtendedRights "Ms-Exch-SMTP-Accept-Any-Recipient"
The term 'GetReceiveConnectorLISTSERV SMTP FWD' is not recognized as a
cmdlet, function, operable program, or script file. Verify the term and try
again.
At line:1 char:39
+ GetReceiveConnector"LISTSERV SMTP FWD"| <<<< Add-ADPermission -User "NT
AUTHORITY\ANONYMOUS LOGON" -ExtendedRights "M
s-Exch-SMTP-Accept-Any-Recipient"
PS C:\Documents and Settings\netadmin> GetReceiveConnector"LISTSERV SMTP
FWD" |Add-ADPermission -User "NT AUTHORITY\ANON
YMOUS LOGON" -ExtendedRights "Ms-Exch-SMTP-Accept-Any-Recipient"
The term 'GetReceiveConnectorLISTSERV SMTP FWD' is not recognized as a
cmdlet, function, operable program, or script file. Verify the term and try
again.
At line:1 char:39
+ GetReceiveConnector"LISTSERV SMTP FWD" <<<< |Add-ADPermission -User "NT
AUTHORITY\ANONYMOUS LOGON" -ExtendedRights "
Ms-Exch-SMTP-Accept-Any-Recipient"
PS C:\Documents and Settings\netadmin>
Each time, the Line and Char noted refers to "whitespace." Each time I ran
the command (to produce the errors above) I manually entered the string, but
left out the offending space... then the next whitespace, etc...
You can see the results...
Can anyone please explain to me what I'm doing wrong here? Is there a
better way to do this?
I really need to get this system setup and running.
Thanks in advance.
date: Mon, 15 Sep 2008 11:20:01 -0700
author: ainsof
Re: SMTP Forwarding Connector: powershell cmd errors
It looks like you're missing the hyphen in Get-ReceiveConnector.
"ainsof" wrote in message
news:BA4B26EE-9141-465D-85A7-7D8398AA6BDF@microsoft.com...
> Hi,
>
> I need to setup and configure a new SMTP connector in exchange 2007.
> Creating the connector wasn't the problem.
>
> Mail messages need to be forwarded from one specific IP, but will be
> coming
> from outside our domain.
>
> I've followed these instructions:
>
> http://www.shudnow.net/2008/08/21/how-anonymous-relay-works-in-exchange-2007/
>
> ... and I should be able to run this command in the power shell:
>
> Get-ReceiveConnector "LISTSERV SMTP FWD" | Add-ADPermission -User "NT
> AUTHORITY\ANONYMOUS LOGON" -ExtendedRights
> "Ms-Exch-SMTP-Accept-Any-Recipient"
>
> But I keep getting the following error (or permutations thereof).
>
>
> PS C:\Documents and Settings\netadmin> GetReceiveConnector "LISTSERV SMTP
> FWD"|Add-ADPermission -User "NT AUTHORITY\ANON
> YMOUS LOGON" -ExtendedRights "Ms-Exch-SMTP-Accept-Any-Recipient"
>
> The term 'GetReceiveConnector' is not recognized as a cmdlet, function,
> operable program, or script file. Verify the term and try again.
> At line:1 char:20
> + GetReceiveConnector <<<< "LISTSERV SMTP FWD"|Add-ADPermission -User "NT
> AUTHORITY\ANONYMOUS LOGON" -ExtendedRights "
> Ms-Exch-SMTP-Accept-Any-Recipient"
>
> PS C:\Documents and Settings\netadmin> GetReceiveConnector"LISTSERV SMTP
> FWD"|Add-ADPermission -User "NT AUTHORITY\ANONY
> MOUS LOGON" -ExtendedRights "Ms-Exch-SMTP-Accept-Any-Recipient"
>
> The term 'GetReceiveConnectorLISTSERV SMTP FWD' is not recognized as a
> cmdlet, function, operable program, or script file. Verify the term and
> try
> again.
> At line:1 char:39
>
> + GetReceiveConnector"LISTSERV SMTP FWD"| <<<< Add-ADPermission -User "NT
> AUTHORITY\ANONYMOUS LOGON" -ExtendedRights "M
> s-Exch-SMTP-Accept-Any-Recipient"
>
> PS C:\Documents and Settings\netadmin> GetReceiveConnector"LISTSERV SMTP
> FWD" |Add-ADPermission -User "NT AUTHORITY\ANON
> YMOUS LOGON" -ExtendedRights "Ms-Exch-SMTP-Accept-Any-Recipient"
>
> The term 'GetReceiveConnectorLISTSERV SMTP FWD' is not recognized as a
> cmdlet, function, operable program, or script file. Verify the term and
> try
> again.
> At line:1 char:39
>
> + GetReceiveConnector"LISTSERV SMTP FWD" <<<< |Add-ADPermission -User "NT
> AUTHORITY\ANONYMOUS LOGON" -ExtendedRights "
> Ms-Exch-SMTP-Accept-Any-Recipient"
>
> PS C:\Documents and Settings\netadmin>
>
> Each time, the Line and Char noted refers to "whitespace." Each time I
> ran
> the command (to produce the errors above) I manually entered the string,
> but
> left out the offending space... then the next whitespace, etc...
>
> You can see the results...
>
> Can anyone please explain to me what I'm doing wrong here? Is there a
> better way to do this?
>
> I really need to get this system setup and running.
>
> Thanks in advance.
date: Mon, 15 Sep 2008 14:25:54 -0400
author: Michael Dragone
Re: SMTP Forwarding Connector: powershell cmd errors
Hi Michael,
Thanks for the quick reply. Sorry, that's my typo, I wish it were that
simple. :)
I get the exact same error with the hyphen between Get & Receive.
"Michael Dragone" wrote:
> It looks like you're missing the hyphen in Get-ReceiveConnector.
>
> "ainsof" wrote in message
> news:BA4B26EE-9141-465D-85A7-7D8398AA6BDF@microsoft.com...
> > Hi,
> >
> > I need to setup and configure a new SMTP connector in exchange 2007.
> > Creating the connector wasn't the problem.
> >
> > Mail messages need to be forwarded from one specific IP, but will be
> > coming
> > from outside our domain.
> >
> > I've followed these instructions:
> >
> > http://www.shudnow.net/2008/08/21/how-anonymous-relay-works-in-exchange-2007/
> >
> > ... and I should be able to run this command in the power shell:
> >
> > Get-ReceiveConnector "LISTSERV SMTP FWD" | Add-ADPermission -User "NT
> > AUTHORITY\ANONYMOUS LOGON" -ExtendedRights
> > "Ms-Exch-SMTP-Accept-Any-Recipient"
> >
> > But I keep getting the following error (or permutations thereof).
> >
> >
> > PS C:\Documents and Settings\netadmin> GetReceiveConnector "LISTSERV SMTP
> > FWD"|Add-ADPermission -User "NT AUTHORITY\ANON
> > YMOUS LOGON" -ExtendedRights "Ms-Exch-SMTP-Accept-Any-Recipient"
> >
> > The term 'GetReceiveConnector' is not recognized as a cmdlet, function,
> > operable program, or script file. Verify the term and try again.
> > At line:1 char:20
> > + GetReceiveConnector <<<< "LISTSERV SMTP FWD"|Add-ADPermission -User "NT
> > AUTHORITY\ANONYMOUS LOGON" -ExtendedRights "
> > Ms-Exch-SMTP-Accept-Any-Recipient"
> >
> > PS C:\Documents and Settings\netadmin> GetReceiveConnector"LISTSERV SMTP
> > FWD"|Add-ADPermission -User "NT AUTHORITY\ANONY
> > MOUS LOGON" -ExtendedRights "Ms-Exch-SMTP-Accept-Any-Recipient"
> >
> > The term 'GetReceiveConnectorLISTSERV SMTP FWD' is not recognized as a
> > cmdlet, function, operable program, or script file. Verify the term and
> > try
> > again.
> > At line:1 char:39
> >
> > + GetReceiveConnector"LISTSERV SMTP FWD"| <<<< Add-ADPermission -User "NT
> > AUTHORITY\ANONYMOUS LOGON" -ExtendedRights "M
> > s-Exch-SMTP-Accept-Any-Recipient"
> >
> > PS C:\Documents and Settings\netadmin> GetReceiveConnector"LISTSERV SMTP
> > FWD" |Add-ADPermission -User "NT AUTHORITY\ANON
> > YMOUS LOGON" -ExtendedRights "Ms-Exch-SMTP-Accept-Any-Recipient"
> >
> > The term 'GetReceiveConnectorLISTSERV SMTP FWD' is not recognized as a
> > cmdlet, function, operable program, or script file. Verify the term and
> > try
> > again.
> > At line:1 char:39
> >
> > + GetReceiveConnector"LISTSERV SMTP FWD" <<<< |Add-ADPermission -User "NT
> > AUTHORITY\ANONYMOUS LOGON" -ExtendedRights "
> > Ms-Exch-SMTP-Accept-Any-Recipient"
> >
> > PS C:\Documents and Settings\netadmin>
> >
> > Each time, the Line and Char noted refers to "whitespace." Each time I
> > ran
> > the command (to produce the errors above) I manually entered the string,
> > but
> > left out the offending space... then the next whitespace, etc...
> >
> > You can see the results...
> >
> > Can anyone please explain to me what I'm doing wrong here? Is there a
> > better way to do this?
> >
> > I really need to get this system setup and running.
> >
> > Thanks in advance.
>
>
date: Mon, 15 Sep 2008 11:43:02 -0700
author: ainsof
Re: SMTP Forwarding Connector: powershell cmd errors
Here's my most recent failure...
PS C:\Documents and Settings\netadmin> Get-ReceiveConnector "LISTSERV SMTP
FWD" | Add-ADPermission -User "NT AUTHORITY\ANONYMOUS LOGON" -ExtendedRights
"Ms-Exch-SMTP-Accept-Any-Recipient"
The term 'Get-ReceiveConnector' is not recognized as a cmdlet, function,
operable program, or script file. Verify the term and try again.
At line:1 char:21
+ Get-ReceiveConnector <<<< "LISTSERV SMTP FWD" | Add-ADPermission -User
"NT AUTHORITY\ANONYMOUS LOGON" -ExtendedRight
s "Ms-Exch-SMTP-Accept-Any-Recipient"
PS C:\Documents and Settings\netadmin>
"Michael Dragone" wrote:
> It looks like you're missing the hyphen in Get-ReceiveConnector.
>
> "ainsof" wrote in message
> news:BA4B26EE-9141-465D-85A7-7D8398AA6BDF@microsoft.com...
> > Hi,
> >
> > I need to setup and configure a new SMTP connector in exchange 2007.
> > Creating the connector wasn't the problem.
> >
> > Mail messages need to be forwarded from one specific IP, but will be
> > coming
> > from outside our domain.
> >
> > I've followed these instructions:
> >
> > http://www.shudnow.net/2008/08/21/how-anonymous-relay-works-in-exchange-2007/
> >
> > ... and I should be able to run this command in the power shell:
> >
> > Get-ReceiveConnector "LISTSERV SMTP FWD" | Add-ADPermission -User "NT
> > AUTHORITY\ANONYMOUS LOGON" -ExtendedRights
> > "Ms-Exch-SMTP-Accept-Any-Recipient"
> >
> > But I keep getting the following error (or permutations thereof).
> >
> >
> > PS C:\Documents and Settings\netadmin> GetReceiveConnector "LISTSERV SMTP
> > FWD"|Add-ADPermission -User "NT AUTHORITY\ANON
> > YMOUS LOGON" -ExtendedRights "Ms-Exch-SMTP-Accept-Any-Recipient"
> >
> > The term 'GetReceiveConnector' is not recognized as a cmdlet, function,
> > operable program, or script file. Verify the term and try again.
> > At line:1 char:20
> > + GetReceiveConnector <<<< "LISTSERV SMTP FWD"|Add-ADPermission -User "NT
> > AUTHORITY\ANONYMOUS LOGON" -ExtendedRights "
> > Ms-Exch-SMTP-Accept-Any-Recipient"
> >
> > PS C:\Documents and Settings\netadmin> GetReceiveConnector"LISTSERV SMTP
> > FWD"|Add-ADPermission -User "NT AUTHORITY\ANONY
> > MOUS LOGON" -ExtendedRights "Ms-Exch-SMTP-Accept-Any-Recipient"
> >
> > The term 'GetReceiveConnectorLISTSERV SMTP FWD' is not recognized as a
> > cmdlet, function, operable program, or script file. Verify the term and
> > try
> > again.
> > At line:1 char:39
> >
> > + GetReceiveConnector"LISTSERV SMTP FWD"| <<<< Add-ADPermission -User "NT
> > AUTHORITY\ANONYMOUS LOGON" -ExtendedRights "M
> > s-Exch-SMTP-Accept-Any-Recipient"
> >
> > PS C:\Documents and Settings\netadmin> GetReceiveConnector"LISTSERV SMTP
> > FWD" |Add-ADPermission -User "NT AUTHORITY\ANON
> > YMOUS LOGON" -ExtendedRights "Ms-Exch-SMTP-Accept-Any-Recipient"
> >
> > The term 'GetReceiveConnectorLISTSERV SMTP FWD' is not recognized as a
> > cmdlet, function, operable program, or script file. Verify the term and
> > try
> > again.
> > At line:1 char:39
> >
> > + GetReceiveConnector"LISTSERV SMTP FWD" <<<< |Add-ADPermission -User "NT
> > AUTHORITY\ANONYMOUS LOGON" -ExtendedRights "
> > Ms-Exch-SMTP-Accept-Any-Recipient"
> >
> > PS C:\Documents and Settings\netadmin>
> >
> > Each time, the Line and Char noted refers to "whitespace." Each time I
> > ran
> > the command (to produce the errors above) I manually entered the string,
> > but
> > left out the offending space... then the next whitespace, etc...
> >
> > You can see the results...
> >
> > Can anyone please explain to me what I'm doing wrong here? Is there a
> > better way to do this?
> >
> > I really need to get this system setup and running.
> >
> > Thanks in advance.
>
>
date: Mon, 15 Sep 2008 11:47:01 -0700
author: ainsof
Re: SMTP Forwarding Connector: powershell cmd errors
Try running from a CAS role; see if you can do just Get-
ReceiveConnector. If that works then try Get-ReceiveConnector
"servername\LISTSERV SMTP FWD"
If that doesn't work try updating your Exchange 2007 to sp1 RU3 if it
isn't.
James Chong (MVP)
MCITP | EMA; MCSE | M, S,
Security, Project, ITIL
msexchangetips.blogspot.com
On Sep 15, 2:47 pm, ainsof wrote:
> Here's my most recent failure...
>
> PS C:\Documents and Settings\netadmin> Get-ReceiveConnector "LISTSERV SMTP
> FWD" | Add-ADPermission -User "NT AUTHORITY\ANONYMOUS LOGON" -ExtendedRights
> "Ms-Exch-SMTP-Accept-Any-Recipient"
>
> The term 'Get-ReceiveConnector' is not recognized as a cmdlet, function,
> operable program, or script file. Verify the term and try again.
>
> At line:1 char:21
>
> Get-ReceiveConnector <<<< "LISTSERV SMTP FWD" | Add-ADPermission -User
> "NT AUTHORITY\ANONYMOUS LOGON" -ExtendedRight
> s "Ms-Exch-SMTP-Accept-Any-Recipient"
>
> PS C:\Documents and Settings\netadmin>
>
>
>
> "Michael Dragone" wrote:
> > It looks like you're missing the hyphen in Get-ReceiveConnector.
>
> > "ainsof" wrote in message
> >news:BA4B26EE-9141-465D-85A7-7D8398AA6BDF@microsoft.com...
> > > Hi,
>
> > > I need to setup and configure a new SMTP connector in exchange 2007.
> > > Creating the connector wasn't the problem.
>
> > > Mail messages need to be forwarded from one specific IP, but will be
> > > coming
> > > from outside our domain.
>
> > > I've followed these instructions:
>
> > >http://www.shudnow.net/2008/08/21/how-anonymous-relay-works-in-exchan.> > > ... and I should be able to run this command in the power shell:
>
> > > Get-ReceiveConnector "LISTSERV SMTP FWD" | Add-ADPermission -User "NT
> > > AUTHORITY\ANONYMOUS LOGON" -ExtendedRights
> > > "Ms-Exch-SMTP-Accept-Any-Recipient"
>
> > > But I keep getting the following error (or permutations thereof).
>
> > > PS C:\Documents and Settings\netadmin> GetReceiveConnector "LISTSERV SMTP
> > > FWD"|Add-ADPermission -User "NT AUTHORITY\ANON
> > > YMOUS LOGON" -ExtendedRights "Ms-Exch-SMTP-Accept-Any-Recipient"
>
> > > The term 'GetReceiveConnector' is not recognized as a cmdlet, function,
> > > operable program, or script file. Verify the term and try again.
> > > At line:1 char:20
> > > GetReceiveConnector <<<< "LISTSERV SMTP FWD"|Add-ADPermission -User "NT
> > > AUTHORITY\ANONYMOUS LOGON" -ExtendedRights "
> > > Ms-Exch-SMTP-Accept-Any-Recipient"
>
> > > PS C:\Documents and Settings\netadmin> GetReceiveConnector"LISTSERV SMTP
> > > FWD"|Add-ADPermission -User "NT AUTHORITY\ANONY
> > > MOUS LOGON" -ExtendedRights "Ms-Exch-SMTP-Accept-Any-Recipient"
>
> > > The term 'GetReceiveConnectorLISTSERV SMTP FWD' is not recognized as a
> > > cmdlet, function, operable program, or script file. Verify the term and
> > > try
> > > again.
> > > At line:1 char:39
>
> > > GetReceiveConnector"LISTSERV SMTP FWD"| <<<< Add-ADPermission -User "NT
> > > AUTHORITY\ANONYMOUS LOGON" -ExtendedRights "M
> > > s-Exch-SMTP-Accept-Any-Recipient"
>
> > > PS C:\Documents and Settings\netadmin> GetReceiveConnector"LISTSERV SMTP
> > > FWD" |Add-ADPermission -User "NT AUTHORITY\ANON
> > > YMOUS LOGON" -ExtendedRights "Ms-Exch-SMTP-Accept-Any-Recipient"
>
> > > The term 'GetReceiveConnectorLISTSERV SMTP FWD' is not recognized as a
> > > cmdlet, function, operable program, or script file. Verify the term and
> > > try
> > > again.
> > > At line:1 char:39
>
> > > GetReceiveConnector"LISTSERV SMTP FWD" <<<< |Add-ADPermission -User "NT
> > > AUTHORITY\ANONYMOUS LOGON" -ExtendedRights "
> > > Ms-Exch-SMTP-Accept-Any-Recipient"
>
> > > PS C:\Documents and Settings\netadmin>
>
> > > Each time, the Line and Char noted refers to "whitespace." Each time I
> > > ran
> > > the command (to produce the errors above) I manually entered the string,
> > > but
> > > left out the offending space... then the next whitespace, etc...
>
> > > You can see the results...
>
> > > Can anyone please explain to me what I'm doing wrong here? Is there a
> > > better way to do this?
>
> > > I really need to get this system setup and running.
>
> > > Thanks in advance.- Hide quoted text -
>
> - Show quoted text -
date: Mon, 15 Sep 2008 12:01:36 -0700 (PDT)
author: Jamestechman
Re: SMTP Forwarding Connector: powershell cmd errors
Hi James,
Thanks, (forgive my ignorance, I'm new to exchange) but what is a CAS role?
"Jamestechman" wrote:
> Try running from a CAS role; see if you can do just Get-
> ReceiveConnector. If that works then try Get-ReceiveConnector
> "servername\LISTSERV SMTP FWD"
>
> If that doesn't work try updating your Exchange 2007 to sp1 RU3 if it
> isn't.
>
>
> James Chong (MVP)
> MCITP | EMA; MCSE | M+, S+,
> Security+, Project+, ITIL
> msexchangetips.blogspot.com
> On Sep 15, 2:47 pm, ainsof wrote:
> > Here's my most recent failure...
> >
> > PS C:\Documents and Settings\netadmin> Get-ReceiveConnector "LISTSERV SMTP
> > FWD" | Add-ADPermission -User "NT AUTHORITY\ANONYMOUS LOGON" -ExtendedRights
> > "Ms-Exch-SMTP-Accept-Any-Recipient"
> >
> > The term 'Get-ReceiveConnector' is not recognized as a cmdlet, function,
> > operable program, or script file. Verify the term and try again.
> >
> > At line:1 char:21
> >
> > + Get-ReceiveConnector <<<< "LISTSERV SMTP FWD" | Add-ADPermission -User
> > "NT AUTHORITY\ANONYMOUS LOGON" -ExtendedRight
> > s "Ms-Exch-SMTP-Accept-Any-Recipient"
> >
> > PS C:\Documents and Settings\netadmin>
> >
> >
> >
> > "Michael Dragone" wrote:
> > > It looks like you're missing the hyphen in Get-ReceiveConnector.
> >
> > > "ainsof" wrote in message
> > >news:BA4B26EE-9141-465D-85A7-7D8398AA6BDF@microsoft.com...
> > > > Hi,
> >
> > > > I need to setup and configure a new SMTP connector in exchange 2007.
> > > > Creating the connector wasn't the problem.
> >
> > > > Mail messages need to be forwarded from one specific IP, but will be
> > > > coming
> > > > from outside our domain.
> >
> > > > I've followed these instructions:
> >
> > > >http://www.shudnow.net/2008/08/21/how-anonymous-relay-works-in-exchan....
> >
> > > > ... and I should be able to run this command in the power shell:
> >
> > > > Get-ReceiveConnector "LISTSERV SMTP FWD" | Add-ADPermission -User "NT
> > > > AUTHORITY\ANONYMOUS LOGON" -ExtendedRights
> > > > "Ms-Exch-SMTP-Accept-Any-Recipient"
> >
> > > > But I keep getting the following error (or permutations thereof).
> >
> > > > PS C:\Documents and Settings\netadmin> GetReceiveConnector "LISTSERV SMTP
> > > > FWD"|Add-ADPermission -User "NT AUTHORITY\ANON
> > > > YMOUS LOGON" -ExtendedRights "Ms-Exch-SMTP-Accept-Any-Recipient"
> >
> > > > The term 'GetReceiveConnector' is not recognized as a cmdlet, function,
> > > > operable program, or script file. Verify the term and try again.
> > > > At line:1 char:20
> > > > + GetReceiveConnector <<<< "LISTSERV SMTP FWD"|Add-ADPermission -User "NT
> > > > AUTHORITY\ANONYMOUS LOGON" -ExtendedRights "
> > > > Ms-Exch-SMTP-Accept-Any-Recipient"
> >
> > > > PS C:\Documents and Settings\netadmin> GetReceiveConnector"LISTSERV SMTP
> > > > FWD"|Add-ADPermission -User "NT AUTHORITY\ANONY
> > > > MOUS LOGON" -ExtendedRights "Ms-Exch-SMTP-Accept-Any-Recipient"
> >
> > > > The term 'GetReceiveConnectorLISTSERV SMTP FWD' is not recognized as a
> > > > cmdlet, function, operable program, or script file. Verify the term and
> > > > try
> > > > again.
> > > > At line:1 char:39
> >
> > > > + GetReceiveConnector"LISTSERV SMTP FWD"| <<<< Add-ADPermission -User "NT
> > > > AUTHORITY\ANONYMOUS LOGON" -ExtendedRights "M
> > > > s-Exch-SMTP-Accept-Any-Recipient"
> >
> > > > PS C:\Documents and Settings\netadmin> GetReceiveConnector"LISTSERV SMTP
> > > > FWD" |Add-ADPermission -User "NT AUTHORITY\ANON
> > > > YMOUS LOGON" -ExtendedRights "Ms-Exch-SMTP-Accept-Any-Recipient"
> >
> > > > The term 'GetReceiveConnectorLISTSERV SMTP FWD' is not recognized as a
> > > > cmdlet, function, operable program, or script file. Verify the term and
> > > > try
> > > > again.
> > > > At line:1 char:39
> >
> > > > + GetReceiveConnector"LISTSERV SMTP FWD" <<<< |Add-ADPermission -User "NT
> > > > AUTHORITY\ANONYMOUS LOGON" -ExtendedRights "
> > > > Ms-Exch-SMTP-Accept-Any-Recipient"
> >
> > > > PS C:\Documents and Settings\netadmin>
> >
> > > > Each time, the Line and Char noted refers to "whitespace." Each time I
> > > > ran
> > > > the command (to produce the errors above) I manually entered the string,
> > > > but
> > > > left out the offending space... then the next whitespace, etc...
> >
> > > > You can see the results...
> >
> > > > Can anyone please explain to me what I'm doing wrong here? Is there a
> > > > better way to do this?
> >
> > > > I really need to get this system setup and running.
> >
> > > > Thanks in advance.- Hide quoted text -
> >
> > - Show quoted text -
>
>
date: Mon, 15 Sep 2008 13:04:00 -0700
author: ainsof
Re: SMTP Forwarding Connector: powershell cmd errors
Client Access Server. In other words, try running the command on the machine
that has the CAS role, not from, say, a machine that only has the Mailbox
role installed.
"ainsof" wrote in message
news:6469C14C-8F1A-4015-8AAA-636B98395BEC@microsoft.com...
> Hi James,
>
> Thanks, (forgive my ignorance, I'm new to exchange) but what is a CAS
> role?
>
> "Jamestechman" wrote:
>
>> Try running from a CAS role; see if you can do just Get-
>> ReceiveConnector. If that works then try Get-ReceiveConnector
>> "servername\LISTSERV SMTP FWD"
>>
>> If that doesn't work try updating your Exchange 2007 to sp1 RU3 if it
>> isn't.
>>
>>
>> James Chong (MVP)
>> MCITP | EMA; MCSE | M+, S+,
>> Security+, Project+, ITIL
>> msexchangetips.blogspot.com
date: Mon, 15 Sep 2008 16:07:07 -0400
author: Michael Dragone
Re: SMTP Forwarding Connector: powershell cmd errors
BTW, thank you for the update info. SP1 RU3 was not installed. Downloading
now...
"Jamestechman" wrote:
> Try running from a CAS role; see if you can do just Get-
> ReceiveConnector. If that works then try Get-ReceiveConnector
> "servername\LISTSERV SMTP FWD"
>
> If that doesn't work try updating your Exchange 2007 to sp1 RU3 if it
> isn't.
>
>
> James Chong (MVP)
> MCITP | EMA; MCSE | M+, S+,
> Security+, Project+, ITIL
> msexchangetips.blogspot.com
> On Sep 15, 2:47 pm, ainsof wrote:
> > Here's my most recent failure...
> >
> > PS C:\Documents and Settings\netadmin> Get-ReceiveConnector "LISTSERV SMTP
> > FWD" | Add-ADPermission -User "NT AUTHORITY\ANONYMOUS LOGON" -ExtendedRights
> > "Ms-Exch-SMTP-Accept-Any-Recipient"
> >
> > The term 'Get-ReceiveConnector' is not recognized as a cmdlet, function,
> > operable program, or script file. Verify the term and try again.
> >
> > At line:1 char:21
> >
> > + Get-ReceiveConnector <<<< "LISTSERV SMTP FWD" | Add-ADPermission -User
> > "NT AUTHORITY\ANONYMOUS LOGON" -ExtendedRight
> > s "Ms-Exch-SMTP-Accept-Any-Recipient"
> >
> > PS C:\Documents and Settings\netadmin>
> >
> >
> >
> > "Michael Dragone" wrote:
> > > It looks like you're missing the hyphen in Get-ReceiveConnector.
> >
> > > "ainsof" wrote in message
> > >news:BA4B26EE-9141-465D-85A7-7D8398AA6BDF@microsoft.com...
> > > > Hi,
> >
> > > > I need to setup and configure a new SMTP connector in exchange 2007.
> > > > Creating the connector wasn't the problem.
> >
> > > > Mail messages need to be forwarded from one specific IP, but will be
> > > > coming
> > > > from outside our domain.
> >
> > > > I've followed these instructions:
> >
> > > >http://www.shudnow.net/2008/08/21/how-anonymous-relay-works-in-exchan....
> >
> > > > ... and I should be able to run this command in the power shell:
> >
> > > > Get-ReceiveConnector "LISTSERV SMTP FWD" | Add-ADPermission -User "NT
> > > > AUTHORITY\ANONYMOUS LOGON" -ExtendedRights
> > > > "Ms-Exch-SMTP-Accept-Any-Recipient"
> >
> > > > But I keep getting the following error (or permutations thereof).
> >
> > > > PS C:\Documents and Settings\netadmin> GetReceiveConnector "LISTSERV SMTP
> > > > FWD"|Add-ADPermission -User "NT AUTHORITY\ANON
> > > > YMOUS LOGON" -ExtendedRights "Ms-Exch-SMTP-Accept-Any-Recipient"
> >
> > > > The term 'GetReceiveConnector' is not recognized as a cmdlet, function,
> > > > operable program, or script file. Verify the term and try again.
> > > > At line:1 char:20
> > > > + GetReceiveConnector <<<< "LISTSERV SMTP FWD"|Add-ADPermission -User "NT
> > > > AUTHORITY\ANONYMOUS LOGON" -ExtendedRights "
> > > > Ms-Exch-SMTP-Accept-Any-Recipient"
> >
> > > > PS C:\Documents and Settings\netadmin> GetReceiveConnector"LISTSERV SMTP
> > > > FWD"|Add-ADPermission -User "NT AUTHORITY\ANONY
> > > > MOUS LOGON" -ExtendedRights "Ms-Exch-SMTP-Accept-Any-Recipient"
> >
> > > > The term 'GetReceiveConnectorLISTSERV SMTP FWD' is not recognized as a
> > > > cmdlet, function, operable program, or script file. Verify the term and
> > > > try
> > > > again.
> > > > At line:1 char:39
> >
> > > > + GetReceiveConnector"LISTSERV SMTP FWD"| <<<< Add-ADPermission -User "NT
> > > > AUTHORITY\ANONYMOUS LOGON" -ExtendedRights "M
> > > > s-Exch-SMTP-Accept-Any-Recipient"
> >
> > > > PS C:\Documents and Settings\netadmin> GetReceiveConnector"LISTSERV SMTP
> > > > FWD" |Add-ADPermission -User "NT AUTHORITY\ANON
> > > > YMOUS LOGON" -ExtendedRights "Ms-Exch-SMTP-Accept-Any-Recipient"
> >
> > > > The term 'GetReceiveConnectorLISTSERV SMTP FWD' is not recognized as a
> > > > cmdlet, function, operable program, or script file. Verify the term and
> > > > try
> > > > again.
> > > > At line:1 char:39
> >
> > > > + GetReceiveConnector"LISTSERV SMTP FWD" <<<< |Add-ADPermission -User "NT
> > > > AUTHORITY\ANONYMOUS LOGON" -ExtendedRights "
> > > > Ms-Exch-SMTP-Accept-Any-Recipient"
> >
> > > > PS C:\Documents and Settings\netadmin>
> >
> > > > Each time, the Line and Char noted refers to "whitespace." Each time I
> > > > ran
> > > > the command (to produce the errors above) I manually entered the string,
> > > > but
> > > > left out the offending space... then the next whitespace, etc...
> >
> > > > You can see the results...
> >
> > > > Can anyone please explain to me what I'm doing wrong here? Is there a
> > > > better way to do this?
> >
> > > > I really need to get this system setup and running.
> >
> > > > Thanks in advance.- Hide quoted text -
> >
> > - Show quoted text -
>
>
date: Mon, 15 Sep 2008 13:31:01 -0700
author: ainsof
Re: SMTP Forwarding Connector: powershell cmd errors
Hi Ed,
Thanks for your input. I'm running this from the windows power shell?
What??? Now I'm totally confused... :)
Okay, how do I run a cmd line function from inside the EMC itself? (What's
the point of the power shell then?)
Also, how then, do I add the Exchange componants to the power shell?
Both (EMC and PS) were installed at the same time on the box in question. I
take it there's another patch / installer / update or other arcane add-on?
Thanks again.
"Ed Crowley [MVP]" wrote:
> Are you doing this from Windows PowerShell or from the Exchange Management
> Console? You need to run it from the latter or add in the Exchange
> components into Windows PowerShell (which is basically what the EMC does).
> --
> Ed Crowley MVP
> "There are seldom good technological solutions to behavioral problems."
> ..
>
> "ainsof" wrote in message
> news:BA1D5717-F6EE-443F-8275-860141C52734@microsoft.com...
> >I get the following:
> >
> > PS C:\Documents and Settings\netadmin> Get-ReceiveConnector
> >
> > The term 'Get-ReceiveConnector' is not recognized as a cmdlet, function,
> > operable program, or script file. Verify the term and try again.
> >
> > At line:1 char:21
> > + Get-ReceiveConnector <<<<
> > PS C:\Documents and Settings\netadmin>
> >
> > Looks like this command doesn't even exist???
> >
> > "Michael Dragone" wrote:
> >
> >> What happens when you run Get-ReceiveConnector without any arguments?
> >>
> >> "ainsof" wrote in message
> >> news:E5046577-70DF-4912-8DDC-8369E3153E6B@microsoft.com...
> >> > Here's my most recent failure...
> >> >
> >> > PS C:\Documents and Settings\netadmin> Get-ReceiveConnector "LISTSERV
> >> > SMTP
> >> > FWD" | Add-ADPermission -User "NT AUTHORITY\ANONYMOUS
> >> > LOGON" -ExtendedRights
> >> > "Ms-Exch-SMTP-Accept-Any-Recipient"
> >> >
> >> > The term 'Get-ReceiveConnector' is not recognized as a cmdlet,
> >> > function,
> >> > operable program, or script file. Verify the term and try again.
> >> >
> >> > At line:1 char:21
> >> >
> >> > + Get-ReceiveConnector <<<< "LISTSERV SMTP FWD" |
> >> > Add-ADPermission -User
> >> > "NT AUTHORITY\ANONYMOUS LOGON" -ExtendedRight
> >> > s "Ms-Exch-SMTP-Accept-Any-Recipient"
> >> >
> >> > PS C:\Documents and Settings\netadmin>
> >>
> >>
>
>
>
date: Tue, 16 Sep 2008 07:28:02 -0700
author: ainsof
Re: SMTP Forwarding Connector: powershell cmd errors
Looks like Ed found it;
Start; programs; Microsoft Exchange Server 2007; Microsoft Exchange
Management Shell.
James Chong (MVP)
MCITP | EMA; MCSE | M, S,
Security, Project, ITIL
msexchangetips.blogspot.com
On Sep 16, 10:28 am, ainsof wrote:
> Hi Ed,
>
> Thanks for your input. I'm running this from the windows power shell?
>
> What??? Now I'm totally confused... :)
>
> Okay, how do I run a cmd line function from inside the EMC itself? (What's
> the point of the power shell then?)
>
> Also, how then, do I add the Exchange componants to the power shell?
>
> Both (EMC and PS) were installed at the same time on the box in question. I
> take it there's another patch / installer / update or other arcane add-on> Thanks again.
>
>
>
> "Ed Crowley [MVP]" wrote:
> > Are you doing this from Windows PowerShell or from the Exchange Management
> > Console? You need to run it from the latter or add in the Exchange
> > components into Windows PowerShell (which is basically what the EMC does).
> > --
> > Ed Crowley MVP
> > "There are seldom good technological solutions to behavioral problems."
> > ..
>
> > "ainsof" wrote in message
> >news:BA1D5717-F6EE-443F-8275-860141C52734@microsoft.com...
> > >I get the following:
>
> > > PS C:\Documents and Settings\netadmin> Get-ReceiveConnector
>
> > > The term 'Get-ReceiveConnector' is not recognized as a cmdlet, function,
> > > operable program, or script file. Verify the term and try again.
>
> > > At line:1 char:21
> > > Get-ReceiveConnector <<<<
> > > PS C:\Documents and Settings\netadmin>
>
> > > Looks like this command doesn't even exist???
>
> > > "Michael Dragone" wrote:
>
> > >> What happens when you run Get-ReceiveConnector without any arguments> > >> "ainsof" wrote in message
> > >>news:E5046577-70DF-4912-8DDC-8369E3153E6B@microsoft.com...
> > >> > Here's my most recent failure...
>
> > >> > PS C:\Documents and Settings\netadmin> Get-ReceiveConnector "LISTSERV
> > >> > SMTP
> > >> > FWD" | Add-ADPermission -User "NT AUTHORITY\ANONYMOUS
> > >> > LOGON" -ExtendedRights
> > >> > "Ms-Exch-SMTP-Accept-Any-Recipient"
>
> > >> > The term 'Get-ReceiveConnector' is not recognized as a cmdlet,
> > >> > function,
> > >> > operable program, or script file. Verify the term and try again.
>
> > >> > At line:1 char:21
>
> > >> > Get-ReceiveConnector <<<< "LISTSERV SMTP FWD" |
> > >> > Add-ADPermission -User
> > >> > "NT AUTHORITY\ANONYMOUS LOGON" -ExtendedRight
> > >> > s "Ms-Exch-SMTP-Accept-Any-Recipient"
>
> > >> > PS C:\Documents and Settings\netadmin>- Hide quoted text -
>
> - Show quoted text -
date: Tue, 16 Sep 2008 07:35:10 -0700 (PDT)
author: Jamestechman
Re: SMTP Forwarding Connector: powershell cmd errors
Aha! Thanks James & Ed
"Jamestechman" wrote:
> Looks like Ed found it;
>
>
> Start; programs; Microsoft Exchange Server 2007; Microsoft Exchange
> Management Shell.
>
>
>
> James Chong (MVP)
> MCITP | EMA; MCSE | M+, S+,
> Security+, Project+, ITIL
> msexchangetips.blogspot.com
>
>
> On Sep 16, 10:28 am, ainsof wrote:
> > Hi Ed,
> >
> > Thanks for your input. I'm running this from the windows power shell?
> >
> > What??? Now I'm totally confused... :)
> >
> > Okay, how do I run a cmd line function from inside the EMC itself? (What's
> > the point of the power shell then?)
> >
> > Also, how then, do I add the Exchange componants to the power shell?
> >
> > Both (EMC and PS) were installed at the same time on the box in question. I
> > take it there's another patch / installer / update or other arcane add-on?
> >
> > Thanks again.
> >
> >
> >
> > "Ed Crowley [MVP]" wrote:
> > > Are you doing this from Windows PowerShell or from the Exchange Management
> > > Console? You need to run it from the latter or add in the Exchange
> > > components into Windows PowerShell (which is basically what the EMC does).
> > > --
> > > Ed Crowley MVP
> > > "There are seldom good technological solutions to behavioral problems."
> > > ..
> >
> > > "ainsof" wrote in message
> > >news:BA1D5717-F6EE-443F-8275-860141C52734@microsoft.com...
> > > >I get the following:
> >
> > > > PS C:\Documents and Settings\netadmin> Get-ReceiveConnector
> >
> > > > The term 'Get-ReceiveConnector' is not recognized as a cmdlet, function,
> > > > operable program, or script file. Verify the term and try again.
> >
> > > > At line:1 char:21
> > > > + Get-ReceiveConnector <<<<
> > > > PS C:\Documents and Settings\netadmin>
> >
> > > > Looks like this command doesn't even exist???
> >
> > > > "Michael Dragone" wrote:
> >
> > > >> What happens when you run Get-ReceiveConnector without any arguments?
> >
> > > >> "ainsof" wrote in message
> > > >>news:E5046577-70DF-4912-8DDC-8369E3153E6B@microsoft.com...
> > > >> > Here's my most recent failure...
> >
> > > >> > PS C:\Documents and Settings\netadmin> Get-ReceiveConnector "LISTSERV
> > > >> > SMTP
> > > >> > FWD" | Add-ADPermission -User "NT AUTHORITY\ANONYMOUS
> > > >> > LOGON" -ExtendedRights
> > > >> > "Ms-Exch-SMTP-Accept-Any-Recipient"
> >
> > > >> > The term 'Get-ReceiveConnector' is not recognized as a cmdlet,
> > > >> > function,
> > > >> > operable program, or script file. Verify the term and try again.
> >
> > > >> > At line:1 char:21
> >
> > > >> > + Get-ReceiveConnector <<<< "LISTSERV SMTP FWD" |
> > > >> > Add-ADPermission -User
> > > >> > "NT AUTHORITY\ANONYMOUS LOGON" -ExtendedRight
> > > >> > s "Ms-Exch-SMTP-Accept-Any-Recipient"
> >
> > > >> > PS C:\Documents and Settings\netadmin>- Hide quoted text -
> >
> > - Show quoted text -
>
>
date: Tue, 16 Sep 2008 08:56:16 -0700
author: ainsof
Re: SMTP Forwarding Connector: powershell cmd errors
Thanks gents. The connector permissions have been set. However, my test
emails are still being bounced with, yet another, innocuous error message:
"Your message wasn't delivered because of security policies."
Is there some way I can find out just what "security policies" I'm running
up against? The configuration of this connector seemed so simple, but
there's still room for more human error on my part. Any suggestions?
"ainsof" wrote:
> Aha! Thanks James & Ed
>
> "Jamestechman" wrote:
>
> > Looks like Ed found it;
> >
> >
> > Start; programs; Microsoft Exchange Server 2007; Microsoft Exchange
> > Management Shell.
> >
> >
> >
> > James Chong (MVP)
> > MCITP | EMA; MCSE | M+, S+,
> > Security+, Project+, ITIL
> > msexchangetips.blogspot.com
> >
> >
> > On Sep 16, 10:28 am, ainsof wrote:
> > > Hi Ed,
> > >
> > > Thanks for your input. I'm running this from the windows power shell?
> > >
> > > What??? Now I'm totally confused... :)
> > >
> > > Okay, how do I run a cmd line function from inside the EMC itself? (What's
> > > the point of the power shell then?)
> > >
> > > Also, how then, do I add the Exchange componants to the power shell?
> > >
> > > Both (EMC and PS) were installed at the same time on the box in question. I
> > > take it there's another patch / installer / update or other arcane add-on?
> > >
> > > Thanks again.
> > >
> > >
> > >
> > > "Ed Crowley [MVP]" wrote:
> > > > Are you doing this from Windows PowerShell or from the Exchange Management
> > > > Console? You need to run it from the latter or add in the Exchange
> > > > components into Windows PowerShell (which is basically what the EMC does).
> > > > --
> > > > Ed Crowley MVP
> > > > "There are seldom good technological solutions to behavioral problems."
> > > > ..
> > >
> > > > "ainsof" wrote in message
> > > >news:BA1D5717-F6EE-443F-8275-860141C52734@microsoft.com...
> > > > >I get the following:
> > >
> > > > > PS C:\Documents and Settings\netadmin> Get-ReceiveConnector
> > >
> > > > > The term 'Get-ReceiveConnector' is not recognized as a cmdlet, function,
> > > > > operable program, or script file. Verify the term and try again.
> > >
> > > > > At line:1 char:21
> > > > > + Get-ReceiveConnector <<<<
> > > > > PS C:\Documents and Settings\netadmin>
> > >
> > > > > Looks like this command doesn't even exist???
> > >
> > > > > "Michael Dragone" wrote:
> > >
> > > > >> What happens when you run Get-ReceiveConnector without any arguments?
> > >
> > > > >> "ainsof" wrote in message
> > > > >>news:E5046577-70DF-4912-8DDC-8369E3153E6B@microsoft.com...
> > > > >> > Here's my most recent failure...
> > >
> > > > >> > PS C:\Documents and Settings\netadmin> Get-ReceiveConnector "LISTSERV
> > > > >> > SMTP
> > > > >> > FWD" | Add-ADPermission -User "NT AUTHORITY\ANONYMOUS
> > > > >> > LOGON" -ExtendedRights
> > > > >> > "Ms-Exch-SMTP-Accept-Any-Recipient"
> > >
> > > > >> > The term 'Get-ReceiveConnector' is not recognized as a cmdlet,
> > > > >> > function,
> > > > >> > operable program, or script file. Verify the term and try again.
> > >
> > > > >> > At line:1 char:21
> > >
> > > > >> > + Get-ReceiveConnector <<<< "LISTSERV SMTP FWD" |
> > > > >> > Add-ADPermission -User
> > > > >> > "NT AUTHORITY\ANONYMOUS LOGON" -ExtendedRight
> > > > >> > s "Ms-Exch-SMTP-Accept-Any-Recipient"
> > >
> > > > >> > PS C:\Documents and Settings\netadmin>- Hide quoted text -
> > >
> > > - Show quoted text -
> >
> >
date: Tue, 16 Sep 2008 12:01:01 -0700
author: ainsof
|
|