viernes, 23 de octubre de 2009

Configurar Exchange 2007 para permitir "relay" de un server de mensajeria interno

  1. Crear un conector Tipo "Custom" . Si tenemos diferentes direcciones IP en el server de Exchange 2007 que estén a la escucha de la recepción de sesiones de correo establecer cual de ellas va a servir a nuestro conector dentro de la opcion de Local Network settings. Capturar la dirección IP del server que queremos permitir el Relay dentro de remote network settings y seleccionar "new" para crear el conector.
  2. Editar las propiedades del conector recien creado, la pestaña de autenticación la dejamos como esta y modificamos la pestaña de permission group para habilitar "anonymous users".
  3. Por último para hacer efectivo el permiso de relay ejecutar el siguiente comando dentro del Shell de Exchange 2007 (EMS) [donde dice "Receive Connector Name" cambiarlo por el nombre del conector creado en el paso 1 y señalizarlo entre comillas " "si el nombre contiene algún espacio en blanco.

Get-ReceiveConnector "Receive Connector Name" Add-ADPermission -User "NT AUTHORITY\ANONYMOUS LOGON" -ExtendedRights "MS-Exch-SMTP-Accept-Any-Recipient".

martes, 13 de octubre de 2009

Configuring IIS to Run 32-bit ASP.NET Applications on 64-bit Windows

Applies To: Windows Server 2003, Windows Server 2003 R2, Windows Server 2003 with SP1

If you intend to run 32-bit ASP.NET applications on 64-bit Windows, you must configure IIS to create 32-bit worker processes. For more information about running 32-bit applications on 64-bit Windows, see Running 32-bit Applications on 64-bit Windows.

IIS cannot run 32-bit and 64-bit applications concurrently on the same server.

To enable IIS 6.0 to run 32-bit ASP.NET applications on 64-bit Windows
Open a command prompt and navigate to the %systemdrive%\Inetpub\AdminScripts directory.

Type the following command:

cscript.exe adsutil.vbs set W3SVC/AppPools/Enable32BitAppOnWin64 true

Press ENTER.

Download and install the Microsoft .NET Framework Version 1.1 Redistributable Package.

lunes, 10 de agosto de 2009

Cambia contraseña olvidada de usuario SA de SQL2005

Escenario: No recuerdo la contraseña del usuario SA de SQL, mi usuario administrador local no tiene todos los permisos (le falta sysadmin). La autenticación está habilitada en modo mixto.



Solución:




  • Iniciar sesion al equipo de SQL server con un usuario administrador local.


  • Inicial SQL en modo de usuario único. (SQL Server in Single User Mode).


  • Abrir SQL Configuration Manager -> Propiedades de la instanacia que vamos a modificar->Pestaña advance->Parametros de inicio (startup parameters) agregar -m; al inicio de la linea. Reiniciar el servicio de la instancia.








  • Abrir SQL Server Management Studio(con cuenta de administrador local de windows)->Security->Logins->Crear un usuario o utilizar la cuenta built-in administrators-> en las propiedades->Server Roles-> Asignar el role de sysadmin.





  • Despues de eso puedes iniciar sesion a SQL con la cuenta que acabas de asignar el rol y cambiar la contraseña de SA.
  • Despues de esto volver a abrir SQL Configuration Manager para remover el parametro -m; en las propiedades de inicio del servicio y reiniciar nuevamente este.















lunes, 18 de mayo de 2009

Cambiar "product Key" de office 2007.

Para los casos que sea necesario cambiar o acualizar el "product Key" de tu licencia de 2007 he aqui el procedimiento.

  1. Cierra las aplicaciones de Office 2007
  2. Selecciona inicio, teclea regedit en el recuadro y selecciona la opcion OK.
  3. Localiza la llave : HKEY_LOCAL_MACHINE\Software\Microsoft\Office\12.0\
  4. Dentro de ella una sub llave como : {91120000-0011-0000-0000-0000000FF1CE}
  5. Identifica dentro de la llave la version de office que tienes y ubica las siguientes entradas: DigitalProductID / ProductID ; Elimina dichas entradas.
  6. Cierra el editor de registro.
  7. Abra alguna aplicacion de office 2007, te va a pedir el nuevo "product key", teclealo y selecciona la opcion continuar y despues la opcion de instalar para actulizar los valores.
  8. Cierra la apliacion y vuelve a entrar para registrar dicha licencia.

martes, 12 de mayo de 2009

Regular Expressions in Transport Rules (Exchange 2007)

Para el examen de certificacion de EXC07 me di a la tarea aclarar la duda sobre el manejo de reglas para administrar correos y contenido de correos tanto internos como externos.


En estas reglas se utilizan expresiones regulares para crear una platilla para por ejemplo bloquear que ciertos numero de cuenta con un formato en especifico pero con informacion variable no salga de la empresa.


He aqui un poco de informacion y la tabla de dichas expresiones.



What Are Regular Expressions?

First, you must understand what a simple expression is. A simple expression represents a specific value that you want to match with a condition or exception. A piece of data in an e-mail message must exactly match a simple expression to satisfy a condition or exception in transport rules.


A regular expression is a concise and flexible notation for finding patterns of text in a message. The notation consists of two basic character types: literal (normal) text characters, which indicate text that must exist in the target string, and metacharacters, which indicate or control how the text can vary in the target string.

Pattern string Description
\S The \S pattern string matches any single character that is not a space.
\s The \s pattern string matches any single white-space character.
\D The \D pattern string matches any non-numeric digit.
\d The \d pattern string matches any single numeric digit.
\w The \w pattern string matches any single Unicode character categorized as a letter or decimal digit.
The pipe ( ) character performs an OR function.
* The wildcard ( * ) character matches zero or more instances of the previous character. For example, ab*c matches the following strings: ac, abc, abbbbc.
( ) Parentheses act as grouping delimiters. For example, a(bc)* matches the following strings: a, abc, abcbc, abcbcbc, and so on.
\ The backslash ( \ ) is the escape character that is used together with a special character. Special characters are the following characters that are used in pattern strings:
• Backslash: \
• Pipe:
• Asterisk: *
• Opening parenthesis: (
• Closing parenthesis: )
• Caret: ^
• Dollar: $
For example, if you want to match a string that contains (525), you would type \(525\).
\\ Two backslashes are used when you want the backslash character to be recognized as a backslash and not as an escape character. For example, if you want to match a string that contains \d, you would type \\d.
^ The caret ( ^ ) character indicates that the pattern string that follows the caret must exist at the start of the text string that is being matched. For example, ^fred@contoso matches fred@contoso.com and fred@contoso.co.uk but not alfred@contoso.com.
This character can also be used with the dollar ( $ ) character to specify an exact string to match. For example, ^kim@contoso.com$ matches only kim@contoso.com and does not match anything else, such as kim@contoso.com.au.
$ The dollar ( $ ) character indicates that the preceding pattern string must exist at the end of the text string that is being matched. For example, contoso.com$ matches adam@contoso.com and kim@research.contoso.com, but does not match kim@contoso.com.au.
This character can also be used with the caret ( ^ ) character to specify an exact string to match. For example, ^kim@contoso.com$ matches only kim@contoso.com and does not match anything else, such as chris@sales.contoso.com.

Exchange 2007 ebook free and legal

Ya lo he descargado, este es un excelente compilacion de varias publicaciones de Sybex, es gratuito y la informacion es bastante clara y concisa.

10 Full-Length Chapters • 350 Pages of “Must-Know” Information

http://www.simple-talk.com/exchange/

He aqui una descripcion del contenido:

Mastering Exchange Server 2007
Barry Gerber, Jim McBee
Chapter 2: Exchange Server Architecture
Chapter 6: Scaling Upward and Outward

Exchange Server 2007 Infrastructure Design: A Service-Oriented Approach
David W. Tschanz
Chapter 4: Applying Planning Principles to Exchange Sever 2007

Exchange Server 2007 Implementation & Administration
Jim McBee, Benjamin Craig
Chapter 2: Exchange Server Administration
Chapter 4: Installing Exchange Server 2007
Chapter 12: Sizing Storage Groups and Databases

MCITP: Microsoft Exchange Server 2007 Messaging, Designand Deployment Study Guide (Exams 70-237 & 70-238)
Rawlinson Rivera
Chapter 5: Defining Policies and Security Procedures
Chapter 10: Planning a Backup and Recovery Solution for Exchange Server 2007
Chapter 15: Planning Exchange Server 2007 Security

MCTS: Microsoft Exchange Server 2007 ConfigurationStudy Guide (Exam 70-236)
Will Schmied, Kevin Miller
Chapter 10: Creating, Managing Highly Available Exchange Server Solutions

Sender ID Framework SPF Record Wizard

Este es un link excelente para la generacion del registro SPF para la validacion del envio de correo.

http://www.microsoft.com/mscorp/safety/content/technologies/senderid/wizard/