Error al accesar al recurso compartido de archivos
Documento Confidencial
Mostrar menú Ocultar el menú
| L | M | X | J | V | S | D |
|---|---|---|---|---|---|---|
| 1 | ||||||
| 2 | 3 | 4 | 5 | 6 | 7 | 8 |
| 9 | 10 | 11 | 12 | 13 | 14 | 15 |
| 16 | 17 | 18 | 19 | 20 | 21 | 22 |
| 23 | 24 | 25 | 26 | 27 | 28 | |
Daniel Davila Lopez
Error al accesar al recurso compartido de archivos
Documento Confidencial
Parámetro: DisponibleClienteAlerta
Descripción: Indica si se valida que el cliente solo use el disponible que tiene y evitar exceder el monto a pagar a crédito, evitando el envió del vale a lista negra. la cantidad restante de importe por pagar debe ser saldada por otra forma de pago.
Creación del parámetro en servidor VISCOIDB.VISCOI.DBO.PARAMETROS_CONTROL
USE viscoi
GO
PRINT '01) DECLARACION DE VARIABLES'
DECLARE @ID_PARAMETRO AS VARCHAR(50) = 'DisponibleClienteAlerta'
DECLARE @DESCRIPCION AS VARCHAR(MAX) = 'VENTA SOLO POR DISPONIBLE DEL CLIENTE'
DECLARE @VALOR AS VARCHAR(50) = 'NO'
DECLARE @USUARIO AS VARCHAR(12) = 'JARREOLA'
PRINT '02) GENERAR BASE CON LAS SUCURSALES A LAS QUE SE LES CREARA EL PARAMETRO'
IF OBJECT_ID('tempdb..#suc') > 0
DROP TABLE #suc
SELECT plaza,id_sucursal
INTO #suc
FROM sucursales
WHERE id_empresa = 'BHERMANOS'
AND curp = 'no'
AND subtipo <> 'credito'
AND id_sucursal NOT LIKE 'VM_%'
AND id_sucursal NOT LIKE 'OUTLET_%'
AND id_sucursal NOT LIKE 'OFERTAZ_%'
--AND (plaza NOT IN ('01 TORREON','02 DURANGO','09 PARRAL','25 GOMEZ PALACIO','28 TEPIC','56 FCO I MADERO')
--AND zona <> 'PACIFICO')
ORDER BY plaza
PRINT '03) ACTUALIZAR EL CAMPO DE LA PLAZA'
UPDATE SUC SET SUC.PLAZA = S.plaza
FROM #suc SUC
JOIN SUCURSALES S WITH(NOLOCK)
ON S.id_sucursal = SUC.id_sucursal
AND S.id_empresa = 'BHERMANOS'
PRINT '04) CREAMOS LA TEMPORAL DE #PARAMETROS_CONTROL'
IF OBJECT_ID('tempdb..#TMP_PARAMETROS_CONTROL') > 0
DROP TABLE #TMP_PARAMETROS_CONTROL
CREATE TABLE #TMP_PARAMETROS_CONTROL
(
id_parametro VARCHAR(50)
, llave VARCHAR(50)
, sistema VARCHAR(20)
, id_empresa VARCHAR(12)
, id_sucursal VARCHAR(12)
, usuario VARCHAR(12)
, nombre TEXT
, valor VARCHAR(50)
, fum DATETIME
, id_usuario VARCHAR(12)
)
PRINT '05) GENERAMOS EL PRIMER PARAMETRO: ' + @ID_PARAMETRO
INSERT INTO #TMP_PARAMETROS_CONTROL
SELECT id_parametro = @ID_PARAMETRO
,llave = 'BHERMANOS'+id_sucursal
,sistema = 'CAJA REGISTRADORA'
,id_empresa = 'BHERMANOS'
,id_sucursal
,usuario = ''
,nombre = @DESCRIPCION
,valor = @VALOR
,fum = GETDATE()
,id_usuario = @USUARIO
FROM #suc S WITH(NOLOCK)
PRINT '06) VERIFICAMOS SI YA EXISTE EL PARAMETRO Y ACTUALIZAMOS'
UPDATE PC SET PC.VALOR = TPC.VALOR, PC.FUM=TPC.FUM, PC.id_usuario = TPC.id_usuario
FROM #TMP_PARAMETROS_CONTROL TPC
JOIN PARAMETROS_CONTROL PC WITH(NOLOCK)
ON PC.ID_PARAMETRO = TPC.ID_PARAMETRO
AND PC.LLAVE = TPC.LLAVE
PRINT '07) SI NO EXISTE EL PARAMETRO LO INSERTAMOS'
INSERT INTO PARAMETROS_CONTROL
SELECT TPC.*
FROM #TMP_PARAMETROS_CONTROL TPC WITH(NOLOCK)
LEFT JOIN PARAMETROS_CONTROL PC WITH(NOLOCK)
ON PC.ID_PARAMETRO = TPC.ID_PARAMETRO
AND PC.LLAVE = TPC.LLAVE
WHERE PC.ID_PARAMETRO IS NULL
PRINT '08) VALIDAMOS QUE EL PARAMETRO VIAJE A CORPORATIVO, SI NO VIAJA LO AGREGAMOS'
IF NOT EXISTS(SELECT * FROM parametros_control_envio WHERE ID_PARAMETRO = @ID_PARAMETRO)
BEGIN
INSERT INTO parametros_control_envio
SELECT @ID_PARAMETRO,@DESCRIPCION
END
PRINT '09) PARAMETRO CREADO/ACTUALIZADO CON EXITO!!!'
SELECT * FROM parametros_control WHERE id_parametro = @ID_PARAMETRO
Documento Confidencial
Carpetas Origen:
Documento Confidencial
Ingresamos al siguiente link: https://webmail.bhermanos.com/ecp/
Ingresamos usuario y contraseña con permisos.
Enseguida se muestra la siguiente pantalla:
Lo que nos interesa es la parte de migración como se muestra en la sig. pantalla.
Presionaremos el símbolo de (+) para agregar un nuevo Buzon, el cual vamos a mover a una distinta base de datos.
Así como se muestra en la siguiente figura.
Enseguida se abre una venta diferente como en la sig. imagen.
presionamos en (+) para que se despliegue la sig. ventana, En la barra de búsqueda pondremos el nombre de el buzón que queremos mover. Lo Seleccionamos y lo agregamos, después pulsamos aceptar.
Le pondremos nombre al lote de buzones que deseamos migrar.
Elegimos la ubicación nueva, la base de datos a la cual moveremos el lote de buzones
confirmamos la nueva ubicación de el lote que moveremos y presionamos siguiente.
por ultimo una vez que estamos seguros de los movimientos que se harán solo presionamos en el botón «nuevo» y empezaremos con el proceso.
Se agrega el buzón o lote a la cola para empezar el proceso de migración.
Solo queda esperar a que se sincronicen los buzones y empiece el proceso .
Se muestra claramente cuando finalizo el proceso.
Hasta aquí se tiene una migración correcta .
Número de Buzónes por Base de Datos
--
(Get-MailboxDatabase) | ForEach-Object {Write-Host $_.Name (Get-Mailbox -Database $_.Name).Count}
-Para que no marque error al contabilizar mas de 1000 elementos se agrega el parametro -ResultSize Unlimited
(Get-MailboxDatabase) | ForEach-Object {Write-Host $_.Name (Get-Mailbox -Database $_.Name -ResultSize Unlimited).Count}
--
Listar estado de buzones migrados
-- -- Listado simple Get-MoveRequest -- Listado completo y enviado a archivo Get-MoveRequest | select * | Out-File -filepath c:\exported.txt --Listado simple y enviado a archivo Get-MoveRequest | Out-File -filepath c:\exported-single.txt Get-moverequest | get-moverequeststatistics --
Buzones que se encuentran en una Base de Datos
-- --Listar buzones Get-MailboxDatabase "MBCorporativo2" --Listar todos los buzones con todas sus carcteristicas Get-MailboxDatabase "MBCorporativo2" | Get-MailboxStatistics --Ordenados por tamaño de Buzon Get-MailboxDatabase "MBCorporativo2" | Get-MailboxStatistics | Sort totalitemsize -desc --Listado de buzones mostrando unicamente "displayname" Get-MailboxDatabase "MBCorporativo2" | Get-MailboxStatistics | Sort totalitemsize -desc | ft displayname --Envio del resultado a un archivo Get-MailboxDatabase "MBCorporativo2" | Get-MailboxStatistics | Sort totalitemsize -desc | ft displayname | Out-File -filepath c:\MBCorporativo2.txt --
<blockquote>
<p style=»text-align: right;»><strong>Documento Confidencial</strong></p>
</blockquote>[/vc_column_text][/vc_column][/vc_row]
Documento Confidencial
-- Notepad %ExchangeInstallPath%Bin\EdgeTransport.exe.config --
<appSettings> .
-- <add key="QueueDatabasePath" value="<LocalPath>" /> <add key="QueueDatabaseLoggingPath" value="<LocalPath>" /> --
-- net stop MSExchangeTransport && net start MSExchangeTransport --
(Revisar servicios en services.msc en caso de que el transport service este abajo,levantar el servicio)
srvmailbox–EdgeTransport.exe.config (antes)
<?xml version="1.0" encoding="utf-8"?> <configuration> <configSections> <section name="customLists" type="Microsoft.Exchange.Transport.TransportAppConfig+ConfigurationListsSection,Microsoft.Exchange.Transport, Version=15.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" requirePermission="false" /> </configSections> <runtime> <gcServer enabled="true" /> <generatePublisherEvidence enabled="false" /> <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"> <dependentAssembly> <assemblyIdentity name="Microsoft.OData.Edm" culture="neutral" publicKeyToken="31bf3856ad364e35" /> <codeBase version="6.15.0.0" href="./DSAPIClient/Microsoft.OData.Edm.dll" /> </dependentAssembly> <dependentAssembly> <assemblyIdentity name="Microsoft.OData.Core" culture="neutral" publicKeyToken="31bf3856ad364e35" /> <codeBase version="6.15.0.0" href="./DSAPiClient/Microsoft.OData.Core.dll" /> </dependentAssembly> <dependentAssembly> <assemblyIdentity name="Microsoft.OData.Client" culture="neutral" publicKeyToken="31bf3856ad364e35" /> <codeBase version="6.15.0.0" href="./DSAPiClient/Microsoft.OData.Client.dll" /> </dependentAssembly> <dependentAssembly> <assemblyIdentity name="Microsoft.Spatial" culture="neutral" publicKeyToken="31bf3856ad364e35" /> <codeBase version="6.15.0.0" href="./DSAPiClient/Microsoft.Spatial.dll" /> </dependentAssembly> </assemblyBinding> <NGenReserveForJumpStubs value="10" /> <CodeHeapReserveForJumpStubs value="10" /> </runtime> <appSettings> <add key="AgentLogEnabled" value="true" /> <add key="ResolverRetryInterval" value="30" /> <add key="DeliverMoveMailboxRetryInterval" value="2" /> <add key="ResolverLogLevel" value="Disabled" /> <add key="ExpansionSizeLimit" value="1000" /> <add key="MaxIdleTimeBeforeResubmit" value="12:00:00" /> <add key="MailboxDeliveryQueueRetryInterval" value="00:05:00" /> <add key="MailboxDeliveryFastQueueRetryInterval" value="00:00:02" /> <add key="QuarantinedMailboxRetryInterval" value="00:05:00" /> <add key="QueueGlitchRetryInterval" value="00:01:00" /> <add key="QueueGlitchRetryCount" value="4" /> <add key="PFReplicaAgeThreshold" value="2.00:00:00" /> <add key="MaxQueueViewerQueryResultCount" value="250000" /> <add key="RoutingConfigReloadInterval" value="12:00:00" /> <add key="DumpsterAllowDuplicateDelivery" value="false" /> <add key="DatabaseCheckPointDepthMax" value="384MB" /> <add key="DatabaseMaxCacheSize" value="512MB" /> <add key="DatabaseMinCacheSize" value="32MB" /> <add key="DatabaseCacheFlushStart" value="3" /> <add key="DatabaseCacheFlushStop" value="5" /> <add key="BufferedStreamSize" value="32KB" /> <add key="QueueDatabaseMaxConnections" value="4" /> <add key="QueueDatabaseLoggingFileSize" value="5MB" /> <add key="QueueDatabaseLoggingBufferSize" value="5MB" /> <add key="QueueDatabaseMaxBackgroundCleanupTasks" value="32" /> <add key="QueueDatabaseOnlineDefragSchedule" value="1:00:00" /> <add key="QueueDatabaseOnlineDefragTimeToRun" value="3:00:00" /> <add key="QueueDatabasePath" value="C:\Program Files\Microsoft\Exchange Server\V15\TransportRoles\data\Queue" /> <add key="QueueDatabaseLoggingPath" value="C:\Program Files\Microsoft\Exchange Server\V15\TransportRoles\data\Queue" /> <add key="IPFilterDatabasePath" value="C:\Program Files\Microsoft\Exchange Server\V15\TransportRoles\data\IpFilter" /> <add key="IPFilterDatabaseLoggingPath" value="C:\Program Files\Microsoft\Exchange Server\V15\TransportRoles\data\IpFilter" /> <add key="TemporaryStoragePath" value="C:\Program Files\Microsoft\Exchange Server\V15\TransportRoles\data\Temp" /> <add key="CrashOnStopTimeout" value="false" /> <add key="DnsFaultTolerance" value="Lenient" /> <add key="PriorityQueuingEnabled" value="false" /> <add key="MaxPerDomainHighPriorityConnections" value="3" /> <add key="MaxPerDomainNormalPriorityConnections" value="15" /> <add key="MaxPerDomainLowPriorityConnections" value="2" /> <add key="HighPriorityMessageExpirationTimeout" value="8:00:00" /> <add key="NormalPriorityMessageExpirationTimeout" value="2.00:00:00" /> <add key="LowPriorityMessageExpirationTimeout" value="2.00:00:00" /> <add key="HighPriorityDelayNotificationTimeout" value="00:30:00" /> <add key="NormalPriorityDelayNotificationTimeout" value="4:00:00" /> <add key="LowPriorityDelayNotificationTimeout" value="8:00:00" /> <add key="MaxHighPriorityMessageSize" value="250KB" /> <add key="ByteEncoderTypeFor7BitCharsets" value="1" /> <add key="PercentileLatencyExpiryInterval" value="00:05:00" /> <add key="PercentileLatencyInfinityInterval" value="00:15:00" /> <add key="SyncLogEnabled" value="false" /> <add key="SyncLogLoggingLevel" value="0" /> <add key="SmtpAvailabilityMinConnectionsToMonitor" value="20" /> <add key="DeliveryFailureMinSampleRouting5_4_4" value="200" /> <add key="DeliveryFailureMinSampleResolver5_1_4" value="0" /> <add key="DeliveryFailureMinSampleResolver5_2_0" value="1000" /> <add key="DeliveryFailureMinSampleResolver5_2_4" value="200" /> <add key="DeliveryFailureMinSampleResolver5_4_6" value="0" /> <add key="DeliveryFailureMinSampleDeliverySMTP5_6_0" value="200" /> <add key="DeliveryFailureMinSampleStoreDriver5_2_0" value="500" /> <add key="DeliveryFailureMinSampleStoreDriver5_6_0" value="100" /> <add key="DeliveryFailureMinSampleDeliveryAgent" value="1000" /> <add key="DeliveryFailureMinSampleForeignConnector" value="1000" /> <add key="DnsIpv6Enabled" value="true" /> <add key="OAuthHttpModule.Profiles" value="StiAppOnly" /> <add key="OAuthHttpModule.V1AppRoles" value="TransportHttpSubmission-Internal.Post" /> <add key="OAuthHttpModule.EnableBEAuthVersion" value="15.00.0959.000" /> <add key="OAuthHttpModule.AllowedAudience" value="https://outlook.office.com|https://outlook.office365.com|https://sdfpilot.outlook.com|https://exchangelabs.live-int.com" /> <add key="OAuthHttpModule.ResourceType" value="Exchange" /> <add key="SmtpSendTreatTransientErrorsAsPermanentErrors" value="true" /> <add key="IsResolverEnabled" value="True" /> </appSettings> <system.net> <connectionManagement> <add address="*" maxconnection="10" /> </connectionManagement> </system.net> <system.serviceModel> <bindings> <netTcpBinding> <binding name="SecureBinding" maxConnections="100000"> <security mode="Transport"> <transport protectionLevel="EncryptAndSign" /> </security> </binding> </netTcpBinding> </bindings> <client> <endpoint address="net.tcp://localhost:1009/Microsoft.Exchange.Security.Authentication.FederatedAuthService" binding="netTcpBinding" bindingConfiguration="SecureBinding" contract="Microsoft.Exchange.Security.Authentication.FederatedAuthService.IAuthService" name="Microsoft.Exchange.Security.Authentication.FederatedAuthService" /> </client> </system.serviceModel> <customLists> <downgradedResponses> <add value="504 5.7.4 Unrecognized authentication type" /> <add value="530 5.7.0 Must issue a STARTTLS command first" /> <add value="530 5.7.1 Client was not authenticated" /> <add value="530 5.7.1 Not authenticated" /> <add value="535 5.7.3 Authentication unsuccessful" /> <add value="550 5.2.2 Submission quota exceeded" /> <add value="550 5.3.5 System incorrectly configured" /> <add value="550 5.4.1" /> <add value="550 5.7.1" /> <add value="550 5.7.7 Access Denied, bad EHLO" /> <add value="554 5.4.4 Unable to route" /> <add value="554 5.4.4 Unable to route due to invalid recipient address" /> <add value="554 5.6.0 Invalid message content" /> <add value="554 5.7.3 Unable to initialize security subsystem" /> </downgradedResponses> <upgradedResponses> <add value="421 4.7.1 ^.*All messages from .* will be permanently deferred" /> </upgradedResponses> </customLists> </configuration>
srvmailbox–EdgeTransport.exe.config (despues)
<?xml version="1.0" encoding="utf-8"?> <configuration> <configSections> <section name="customLists" type="Microsoft.Exchange.Transport.TransportAppConfig+ConfigurationListsSection,Microsoft.Exchange.Transport, Version=15.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" requirePermission="false" /> </configSections> <runtime> <gcServer enabled="true" /> <generatePublisherEvidence enabled="false" /> <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"> <dependentAssembly> <assemblyIdentity name="Microsoft.OData.Edm" culture="neutral" publicKeyToken="31bf3856ad364e35" /> <codeBase version="6.15.0.0" href="./DSAPIClient/Microsoft.OData.Edm.dll" /> </dependentAssembly> <dependentAssembly> <assemblyIdentity name="Microsoft.OData.Core" culture="neutral" publicKeyToken="31bf3856ad364e35" /> <codeBase version="6.15.0.0" href="./DSAPiClient/Microsoft.OData.Core.dll" /> </dependentAssembly> <dependentAssembly> <assemblyIdentity name="Microsoft.OData.Client" culture="neutral" publicKeyToken="31bf3856ad364e35" /> <codeBase version="6.15.0.0" href="./DSAPiClient/Microsoft.OData.Client.dll" /> </dependentAssembly> <dependentAssembly> <assemblyIdentity name="Microsoft.Spatial" culture="neutral" publicKeyToken="31bf3856ad364e35" /> <codeBase version="6.15.0.0" href="./DSAPiClient/Microsoft.Spatial.dll" /> </dependentAssembly> </assemblyBinding> <NGenReserveForJumpStubs value="10" /> <CodeHeapReserveForJumpStubs value="10" /> </runtime> <appSettings> <add key="AgentLogEnabled" value="true" /> <add key="ResolverRetryInterval" value="30" /> <add key="DeliverMoveMailboxRetryInterval" value="2" /> <add key="ResolverLogLevel" value="Disabled" /> <add key="ExpansionSizeLimit" value="1000" /> <add key="MaxIdleTimeBeforeResubmit" value="12:00:00" /> <add key="MailboxDeliveryQueueRetryInterval" value="00:05:00" /> <add key="MailboxDeliveryFastQueueRetryInterval" value="00:00:02" /> <add key="QuarantinedMailboxRetryInterval" value="00:05:00" /> <add key="QueueGlitchRetryInterval" value="00:01:00" /> <add key="QueueGlitchRetryCount" value="4" /> <add key="PFReplicaAgeThreshold" value="2.00:00:00" /> <add key="MaxQueueViewerQueryResultCount" value="250000" /> <add key="RoutingConfigReloadInterval" value="12:00:00" /> <add key="DumpsterAllowDuplicateDelivery" value="false" /> <add key="DatabaseCheckPointDepthMax" value="384MB" /> <add key="DatabaseMaxCacheSize" value="512MB" /> <add key="DatabaseMinCacheSize" value="32MB" /> <add key="DatabaseCacheFlushStart" value="3" /> <add key="DatabaseCacheFlushStop" value="5" /> <add key="BufferedStreamSize" value="32KB" /> <add key="QueueDatabaseMaxConnections" value="4" /> <add key="QueueDatabaseLoggingFileSize" value="5MB" /> <add key="QueueDatabaseLoggingBufferSize" value="5MB" /> <add key="QueueDatabaseMaxBackgroundCleanupTasks" value="32" /> <add key="QueueDatabaseOnlineDefragSchedule" value="1:00:00" /> <add key="QueueDatabaseOnlineDefragTimeToRun" value="3:00:00" /> <add key="QueueDatabasePath" value="R:\Exchange Server\Mailbox\Queue" /> <add key="QueueDatabaseLoggingPath" value="R:\Exchange Server\Mailbox\Queue" /> <add key="IPFilterDatabasePath" value="C:\Program Files\Microsoft\Exchange Server\V15\TransportRoles\data\IpFilter" /> <add key="IPFilterDatabaseLoggingPath" value="C:\Program Files\Microsoft\Exchange Server\V15\TransportRoles\data\IpFilter" /> <add key="TemporaryStoragePath" value="C:\Program Files\Microsoft\Exchange Server\V15\TransportRoles\data\Temp" /> <add key="CrashOnStopTimeout" value="false" /> <add key="DnsFaultTolerance" value="Lenient" /> <add key="PriorityQueuingEnabled" value="false" /> <add key="MaxPerDomainHighPriorityConnections" value="3" /> <add key="MaxPerDomainNormalPriorityConnections" value="15" /> <add key="MaxPerDomainLowPriorityConnections" value="2" /> <add key="HighPriorityMessageExpirationTimeout" value="8:00:00" /> <add key="NormalPriorityMessageExpirationTimeout" value="2.00:00:00" /> <add key="LowPriorityMessageExpirationTimeout" value="2.00:00:00" /> <add key="HighPriorityDelayNotificationTimeout" value="00:30:00" /> <add key="NormalPriorityDelayNotificationTimeout" value="4:00:00" /> <add key="LowPriorityDelayNotificationTimeout" value="8:00:00" /> <add key="MaxHighPriorityMessageSize" value="250KB" /> <add key="ByteEncoderTypeFor7BitCharsets" value="1" /> <add key="PercentileLatencyExpiryInterval" value="00:05:00" /> <add key="PercentileLatencyInfinityInterval" value="00:15:00" /> <add key="SyncLogEnabled" value="false" /> <add key="SyncLogLoggingLevel" value="0" /> <add key="SmtpAvailabilityMinConnectionsToMonitor" value="20" /> <add key="DeliveryFailureMinSampleRouting5_4_4" value="200" /> <add key="DeliveryFailureMinSampleResolver5_1_4" value="0" /> <add key="DeliveryFailureMinSampleResolver5_2_0" value="1000" /> <add key="DeliveryFailureMinSampleResolver5_2_4" value="200" /> <add key="DeliveryFailureMinSampleResolver5_4_6" value="0" /> <add key="DeliveryFailureMinSampleDeliverySMTP5_6_0" value="200" /> <add key="DeliveryFailureMinSampleStoreDriver5_2_0" value="500" /> <add key="DeliveryFailureMinSampleStoreDriver5_6_0" value="100" /> <add key="DeliveryFailureMinSampleDeliveryAgent" value="1000" /> <add key="DeliveryFailureMinSampleForeignConnector" value="1000" /> <add key="DnsIpv6Enabled" value="true" /> <add key="OAuthHttpModule.Profiles" value="StiAppOnly" /> <add key="OAuthHttpModule.V1AppRoles" value="TransportHttpSubmission-Internal.Post" /> <add key="OAuthHttpModule.EnableBEAuthVersion" value="15.00.0959.000" /> <add key="OAuthHttpModule.AllowedAudience" value="https://outlook.office.com|https://outlook.office365.com|https://sdfpilot.outlook.com|https://exchangelabs.live-int.com" /> <add key="OAuthHttpModule.ResourceType" value="Exchange" /> <add key="SmtpSendTreatTransientErrorsAsPermanentErrors" value="true" /> <add key="IsResolverEnabled" value="True" /> </appSettings> <system.net> <connectionManagement> <add address="*" maxconnection="10" /> </connectionManagement> </system.net> <system.serviceModel> <bindings> <netTcpBinding> <binding name="SecureBinding" maxConnections="100000"> <security mode="Transport"> <transport protectionLevel="EncryptAndSign" /> </security> </binding> </netTcpBinding> </bindings> <client> <endpoint address="net.tcp://localhost:1009/Microsoft.Exchange.Security.Authentication.FederatedAuthService" binding="netTcpBinding" bindingConfiguration="SecureBinding" contract="Microsoft.Exchange.Security.Authentication.FederatedAuthService.IAuthService" name="Microsoft.Exchange.Security.Authentication.FederatedAuthService" /> </client> </system.serviceModel> <customLists> <downgradedResponses> <add value="504 5.7.4 Unrecognized authentication type" /> <add value="530 5.7.0 Must issue a STARTTLS command first" /> <add value="530 5.7.1 Client was not authenticated" /> <add value="530 5.7.1 Not authenticated" /> <add value="535 5.7.3 Authentication unsuccessful" /> <add value="550 5.2.2 Submission quota exceeded" /> <add value="550 5.3.5 System incorrectly configured" /> <add value="550 5.4.1" /> <add value="550 5.7.1" /> <add value="550 5.7.7 Access Denied, bad EHLO" /> <add value="554 5.4.4 Unable to route" /> <add value="554 5.4.4 Unable to route due to invalid recipient address" /> <add value="554 5.6.0 Invalid message content" /> <add value="554 5.7.3 Unable to initialize security subsystem" /> </downgradedResponses> <upgradedResponses> <add value="421 4.7.1 ^.*All messages from .* will be permanently deferred" /> </upgradedResponses> </customLists> </configuration>
¿Cómo saber si el proceso se ha completado correctamente?
Otro Detalle a considerar
Quizas hay mucho trafico en tu organización y el mail.que que corresponde al safety Net (En versiones anteriores llamado Transport Dumpster) retiene copias de los mensajes por 2 días. A esto se le conoce como Shadow Redundancy
Sin embargo, Puedes hacer un bypass interno para que no demoren tanto los agentes en tu propio dominio mediante el comando:
-- Set-SenderFilterConfig -BypassedSenderDomains "imvo.com" --
(aqui agrega tus dominios internos)
Dale un tiempo para que tome los cambios, si no ves mejoras lo que podrias hacer es modificar el tiempo que duran los correos dentro de safety net (mail.que) y el tiempo que tardan los correos en expirar al momento que son puestos en pipa de transporte con los siguientes comandos:
-- Set-TransportConfig SafetyNetHoldTime 1.00:00:00 Get-TransportService | Set-TransportService -MessageExpirationTimeout 1.00:00:00 --
Por default estas configuraciones son mayores, al cambiarlas a 1 día (1:00:00:00) se estarán depurando de mail.que de forma mas rápida
Fuentes:
https://technet.microsoft.com/es-es/library/bb125177(v=exchg.160).aspx
https://social.technet.microsoft.com/Forums/es-ES/85cb433e-7de6-4c0e-86da-0f3206cf7c99/archivo-mailque-se-incrementa-de-tamao-muy-rpido-en-exchange-2013?forum=exchangees
Agregar User
-- useradd -g grupo1 -d /home/usuario1 -m -s /bin/bash usuario1 passwd usuario1 --
Crear Grupos
-- groupadd grupo1 --
Agregar User a un grupo
-- sudo usermod -append -G grupo user --
Agregar User a un grupo
-- sudo gpasswd -d user grupo --
para ver los GID de los grupos en los que se encuentra el nuevo usuario creado
-- cat /etc/group cat /etc/passwd --
Para ver los datos relativos a un usuario podemos ejecutar el comando
-- id nombreusuario --
Para ver qué usuario estamos utilizando (mostrar el nombre de usuario):
-- whoami --
Añadir usuario a sudoers
-- sudo vi /etc/sudoers root ALL=(ALL) ALL new_user ALL=(ALL) ALL --
Instalación JAVA
-- sudo apt-get update sudo apt-get upgrade sudo apt-get install default-jre sudo apt-get install default-jdk --
Instalar Tomcat
Prerequisitos JAVA
-- sudo groupadd tomcat sudo useradd -s /bin/false -g tomcat -d /opt/tomcat tomcat cd /tmp curl -O http://apache.mirrors.ionfish.org/tomcat/tomcat-8/v8.5.5/bin/apache-tomcat-8.5.5.tar.gz (se puede utilizar getw) sudo mkdir /opt/tomcat sudo tar xzvf apache-tomcat-8*tar.gz -C /opt/tomcat --strip-components=1 cd /opt/tomcat sudo chgrp -R tomcat /opt/tomcat sudo chmod -R g+r conf sudo chmod g+x conf sudo chown -R tomcat webapps/ work/ temp/ logs/ --
Para saber la version instalad de JAVA
-- sudo update-java-alternatives -l --
JAVA_HOME
/usr/lib/jvm/java-1.8.0-openjdk-amd64/jre
-- sudo vim /etc/systemd/system/tomcat.service --(verificar la variable JAVA_HOME)
Detener y reiniciar servicios Tomcat
-- sudo systemctl daemon-reload sudo systemctl start tomcat sudo systemctl status tomcat --
Ajustar el Firewall
-- sudo ufw allow 8080 sudo ufw status sudo ufw status verbose sudo ufw status numbered sudo ufw delete 1 --
Habilitar el inicio de tomcat al arrancar el sistema
-- sudo systemctl enable tomcat --
Habilitar Rutas estáticas
-- sudo route add -net 172.16.2.0 netmask 255.255.255.0 gw 192.168.190.254 --
Links fuente:
https://www.digitalocean.com/community/tutorials/how-to-install-apache-tomcat-8-on-ubuntu-16-04
sudo ufw status
Habilitar port to UFW
-- sudo ufw allow from 172.16.2.161 proto tcp to any port 3306 sudo ufw allow from 172.16.2.161 proto tcp to any port 22 --
Comentarios