Re: SMTP Forwarding Connector: powershell cmd errors
- From: ainsof <ainsof@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Mon, 15 Sep 2008 13:04:00 -0700
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 <ain...@xxxxxxxxxxxxxxxxxxxxxxxxx> 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" <ain...@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:BA4B26EE-9141-465D-85A7-7D8398AA6BDF@xxxxxxxxxxxxxxxx
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 -
- Follow-Ups:
- Re: SMTP Forwarding Connector: powershell cmd errors
- From: Michael Dragone
- Re: SMTP Forwarding Connector: powershell cmd errors
- References:
- SMTP Forwarding Connector: powershell cmd errors
- From: ainsof
- Re: SMTP Forwarding Connector: powershell cmd errors
- From: Michael Dragone
- Re: SMTP Forwarding Connector: powershell cmd errors
- From: ainsof
- Re: SMTP Forwarding Connector: powershell cmd errors
- From: Jamestechman
- SMTP Forwarding Connector: powershell cmd errors
- Prev by Date: Exchange 2007 and Digital ID's with Outlook 2003
- Next by Date: Re: Decommissioning an Exchange 2003 server
- Previous by thread: Re: SMTP Forwarding Connector: powershell cmd errors
- Next by thread: Re: SMTP Forwarding Connector: powershell cmd errors
- Index(es):
Relevant Pages
|