Welcome to Pandora FMS Community › Forums › Soporte de la comunidad › Enviar alertas a correos Office365
-
Enviar alertas a correos Office365
Posted by David89 on January 8, 2021 at 11:27Buenos dÃas,
He estado intentando configurar las alertas para enviar los correos desde el servidor de pandora a nuestro correo de administración de office365, pero no he conseguido hacerlo funcionar.
Instalé postfix y configuré todo siguiendo el manual de alertas:
(https://pandorafms.com/docs/index.php?title=Pandora:Documentation_es:Alertas)
Configuré main.cf asÃ:
teniendo en cuenta que mis direcciones de correo son ([email protected])
myhostname = organizacion.es # Modificar por nombre propio relayhost = [smtp.office365.com]:587 mynetworks = 127.0.0.0/8 inet_interfaces = loopback-only smtp_use_tls = yes smtp_always_send_ehlo = yes smtp_sasl_auth_enable = yes smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd smtp_sasl_security_options = noanonymous smtp_sasl_tls_security_options = noanonymous smtp_tls_security_level = encrypt
Además de realizar los otros 6 pasos indicados en la guia, de crear sasl_passwd, hacerle hash, protegerle etc..
y Pandora_server.conf asÃ:
mta_address localhost #mta_port 25 #mta_user [email protected] #mta_pass mypassword #mta_auth LOGIN #mta_from Pandora FMS
La alerta se dispara en pandora FMS, pero el correo no llega a mi cuenta..Â
Al realizar el tail -f me muestra lo siguiente:
(He sustituido mi direccion por  [email protected])[root@PANDORA ~]# tail -f /var/log/maillog Jan 8 08:28:37 PANDORA postfix/qmgr[4359]: 36647221450: from=<>, size=23055, nrcpt=1 (queue active) Jan 8 08:28:37 PANDORA postfix/smtp[5670]: connect to smtp.office365.com[2603:1026:c0b:1d::2]:587: Network is unreachable Jan 8 08:28:37 PANDORA postfix/smtp[5670]: connect to smtp.office365.com[2603:1026:c0b:1c::2]:587: Network is unreachable Jan 8 08:28:37 PANDORA postfix/smtp[5670]: connect to smtp.office365.com[2603:1026:c0b:16::2]:587: Network is unreachable Jan 8 08:28:39 PANDORA postfix/smtp[5670]: BAD02221455: to=
, relay=smtp.office365.com[52.97.232.194]:587, delay=405, delays=403/0.11/1.4/0.67, dsn=5.2.0, status=bounced (host smtp.office365.com[52.97.232.194] said: 554 5.2.0 STOREDRV.Submission.Exception:SendAsDeniedException.MapiExceptionSendAsDenied; Failed to process message due to a permanent exception with message Cannot submit message. 0.35250:83310000, 1.36674:0A000000, 1.61250:00000000, 1.45378:02000000, 1.44866:E4270000, 1.36674:0E000000, 1.61250:00000000, 1.45378:E9270000, 1.44866:02020000, 16.55847:30130000, 17.43559:0000000024020000000000000000000000000000, 20.52176:140F9E8E0600F01F00000000, 20.50032:140F9E8E7617F01F00000000, 0.35180:140F9E8E, 255.23226:00000000, 255.27962:0A000000, 255.27962:0E000000, 255.31418:140F9E8E, 0.35250:0A002530, 1.36674:0A000000, 1.61250:00000000, 1.45378:02000000, 1.44866:4C000000, 1.36674:32000000, 1.61250:00000000, 1.45378:51000000, 1.44866:01000000, 16.55847:B8000000, 17.43559:0000000078030000000000000000000000000000, 20.52176:140F9E8E060010103F000000, 20.50032:140F9E8E7617000036000000, 0.35180:44000000, 255.23226:4800D13D, 255.27962:0A000000, 255.27962:32000000, 255.17082:DC040000, 0.27745:4E000000, 4.21921:DC040000, 255.27962:FA000000, 255.1494:77000000, 0.38698:05000780, 0.37692:01040480, 0.37948:01040480, 5.33852:00000000534D545000040480, 7.36354:010000000000010900000000, 4.56248:DC040000, 7.40748:010000000000010B39304D42, 7.57132:0000000000000000302D3135, 1.63016:32000000, 4.39640:DC040000, 8.45434:938DE6F423949B4FB2533EED3E5F730C4BCA1504, 1.46798:04000000, 5.10786:0000000031352E32302E333734322E3030363A414D37503139304D42303538313A61393639326336302D313562302D343133312D626561352D3163643632616361646233613A393237353600, 7.51330:8499BC04A7B3D80812000000, 0.39570:12000000, 1.55954:0A000000, 0.49266:56000000, 1.33010:0A000000, 2.54258:00000000, 0.40002:02000000, 1.56562:00000000, 1.64146:32000000, 1.33010:32000000, 2.54258:DC040000, 255.1750:0A005D36, 255.31418:6B010000, 0.22753:A0000000, 2 Jan 8 08:28:39 PANDORA postfix/smtp[5685]: B862E221454: to= , relay=smtp.office365.com[52.97.232.194]:587, delay=405, delays=403/0.11/1.4/0.66, dsn=5.2.0, status=bounced (host smtp.office365.com[52.97.232.194] said: 554 5.2.0 STOREDRV.Submission.Exception:SendAsDeniedException.MapiExceptionSendAsDenied; Failed to process message due to a permanent exception with message Cannot submit message. 0.35250:83310000, 1.36674:0A000000, 1.61250:00000000, 1.45378:02000000, 1.44866:E4270000, 1.36674:0E000000, 1.61250:00000000, 1.45378:E9270000, 1.44866:02020000, 16.55847:2E130000, 17.43559:0000000024020000000000000000000000000000, 20.52176:140F9E8E0600F01F00000000, 20.50032:140F9E8E7617F01F00000000, 0.35180:140F9E8E, 255.23226:0A000000, 255.27962:0A000000, 255.27962:0E000000, 255.31418:140F9E8E, 0.35250:0A002530, 1.36674:0A000000, 1.61250:00000000, 1.45378:02000000, 1.44866:4C000000, 1.36674:32000000, 1.61250:00000000, 1.45378:51000000, 1.44866:01000000, 16.55847:B8000000, 17.43559:0000000078030000000000000000000000000000, 20.52176:140F9E8E060010100C000000, 20.50032:140F9E8E7617101033000000, 0.35180:01000000, 255.23226:9B000000, 255.27962:0A000000, 255.27962:32000000, 255.17082:DC040000, 0.27745:140F9E8E, 4.21921:DC040000, 255.27962:FA000000, 255.1494:77000000, 0.38698:00000000, 0.37692:01000000, 0.37948:00000000, 5.33852:00000000534D545000040480, 7.36354:010000000000010900000000, 4.56248:DC040000, 7.40748:010000000000010B39304D42, 7.57132:0000000000000000302D3135, 1.63016:32000000, 4.39640:DC040000, 8.45434:938DE6F423949B4FB2533EED3E5F730C0FB9A604, 1.46798:04000000, 5.10786:0000000031352E32302E333734322E3030363A414D37503139304D42303538313A61393639326336302D313562302D343133312D626561352D3163643632616361646233613A393237353600, 7.51330:8499BC04A7B3D80818000000, 0.39570:00000000, 1.55954:0A000000, 0.49266:56000000, 1.33010:0A000000, 2.54258:00000000, 0.40002:02000000, 1.56562:00000000, 1.64146:32000000, 1.33010:32000000, 2.54258:DC040000, 255.1750:0A005D36, 255.31418:6B010000, 0.22753:A0000000, 2 Jan 8 08:28:39 PANDORA postfix/qmgr[4359]: B862E221454: removed Jan 8 08:28:39 PANDORA postfix/qmgr[4359]: BAD02221455: removed Jan 8 08:28:39 PANDORA postfix/smtp[5686]: 36647221450: to= , relay=smtp.office365.com[52.97.201.242]:587, delay=705, delays=703/0.12/1.5/0.55, dsn=5.2.0, status=bounced (host smtp.office365.com[52.97.201.242] said: 554 5.2.0 STOREDRV.Submission.Exception:SendAsDeniedException.MapiExceptionSendAsDenied; Failed to process message due to a permanent exception with message Cannot submit message. 0.35250:32040000, 1.36674:0A000000, 1.61250:00000000, 1.45378:02000000, 1.44866:DB270000, 1.36674:0E000000, 1.61250:00000000, 1.45378:E0270000, 1.44866:02020000, 16.55847:2D130000, 17.43559:0000000024020000000000000300000000000000, 20.52176:140F9E8E0600103100000000, 20.50032:140F9E8E7617000000000000, 0.35180:140F9E8E, 255.23226:54040000, 255.27962:0A000000, 255.27962:0E000000, 255.31418:56040000, 0.35250:1F001A00, 1.36674:0A000000, 1.61250:00000000, 1.45378:02000000, 1.44866:4C000000, 1.36674:32000000, 1.61250:00000000, 1.45378:51000000, 1.44866:01000000, 16.55847:B8000000, 17.43559:0000000078030000000000000000000000000000, 20.52176:140F9E8E0600101074020000, 20.50032:140F9E8E7617000010320000, 0.35180:79020000, 255.23226:0A008010, 255.27962:0A000000, 255.27962:32000000, 255.17082:DC040000, 0.27745:46320000, 4.21921:DC040000, 255.27962:FA000000, 255.1494:4B320000, 0.38698:05000780, 0.37692:01040480, 0.37948:01040480, 5.33852:00000000534D545000040480, 7.36354:010000000000010901040480, 4.56248:DC040000, 7.40748:010000000000010B302E3337, 7.57132:000000000000000039304D42, 1.63016:32000000, 4.39640:DC040000, 8.45434:938DE6F423949B4FB2533EED3E5F730C61646233, 1.46798:04000000, 5.10786:0000000031352E32302E333734322E3030363A414D37503139304D42303538313A61393639326336302D313562302D343133312D626561352D3163643632616361646233613A393237353600, 7.51330:BDA6C404A7B3D80812000000, 0.39570:12000000, 1.55954:0A000000, 0.49266:02000000, 1.33010:0A000000, 2.54258:00000000, 0.40002:7A000000, 1.56562:00000000, 1.64146:32000000, 1.33010:32000000, 2.54258:DC040000, 255.1750:0A002E81, 255.31418:49340000, 0.22753:CE020000, 2 Jan 8 08:28:39 PANDORA postfix/qmgr[4359]: 36647221450: removed Jan 8 08:52:02 PANDORA postfix/pickup[4358]: AAAFE22144E: uid=0 from= Jan 8 08:52:02 PANDORA postfix/cleanup[9992]: AAAFE22144E: message-id=<[email protected]> Jan 8 08:52:02 PANDORA postfix/qmgr[4359]: AAAFE22144E: from= , size=396, nrcpt=1 (queue active) Jan 8 08:52:02 PANDORA postfix/local[9994]: AAAFE22144E: to= , relay=local, delay=0.05, delays=0.03/0.01/0/0.01, dsn=5.1.1, status=bounced (unknown user: "nombre") Jan 8 08:52:02 PANDORA postfix/cleanup[9992]: B4942221450: message-id=<[email protected]> Jan 8 08:52:02 PANDORA postfix/qmgr[4359]: B4942221450: from=<>, size=2023, nrcpt=1 (queue active) Jan 8 08:52:02 PANDORA postfix/bounce[9995]: AAAFE22144E: sender non-delivery notification: B4942221450 Jan 8 08:52:02 PANDORA postfix/qmgr[4359]: AAAFE22144E: removed Jan 8 08:52:02 PANDORA postfix/local[9994]: B4942221450: to= , relay=local, delay=0.02, delays=0/0/0/0.01, dsn=2.0.0, status=sent (delivered to mailbox) Jan 8 08:52:02 PANDORA postfix/qmgr[4359]: B4942221450: removed Alguien me puede indicar si estoy realizando algo mal?
Gracias y un saludo.Raúl replied 1 year, 9 months ago 6 Members · 16 Replies -
16 Replies
-
::
Buenas,
¿PodrÃas indicarnos la versión de Pandora FMS que estas usando? También no seria de ayuda que configurases temporalmente la opción de verbosity del fichero padora_server.conf a 10 y que nos mandases la información que veas en el pandora_server.log referente al correo.
Además de eso, por lo que entiendo estas configurando el servidor de correo postfix para que envie los correos al servidor de correo de office 365… No se si sabes que puedes configurar pandora para que funcione directamente con tu servidor de office 365, lo cual creo que te ahorrarÃa mucho trabajo.
Saludos
Diego -
::
Buenos dÃas Diego y gracias por la respuesta.
La versión que estoy utilizando actualmente es 7.0NG.750 (P) 201111.
Para que pandora funcione directamente y evitar el postfix, que tendrÃa que hacer?
tendrÃa que cumplimentar todas las lineas del pandora_server.conf??Si me das instrucciones de como realizarlo lo intento, pero la única documentación que encontre al respecto era la de configurarlo mediante postfix.
-
::
Buenas,
Siempre recomendamos que Pandora FMS este actualizado a la ultima versión ya que puede darse el caso de que existan bugs que puedan darte problemas y que se solucionen simplemente actualizando, la ultima versión a dÃa de hoy es la 751.
Respecto a lo que preguntas de las lÃneas del pandora_server.conf, puedes configurar el correo de PandoraFMS tanto mediante consola como mediante el fichero .conf, solo tienes que saber que siempre prevalecerá lo que tengas en el fichero .conf, por lo que si descomentas las lÃneas que hacen referencia al correo lo que tengas en la consola no se usará.
En cuanto a los pasos que deberÃas seguir para configurar el correo te dejo un enlace a la wiki de Pandora FMS, siguiéndolo no deberÃas tener problemas. Ten en cuenta que este apartado configura todo mediante el fichero .conf, por lo que tengas configurado en la consola web de Pandora FMS no tendrá ningún valor.
Saludos
Diego -
::
Buenos dÃas Diego,
Voy a actualizar el firm a la versión 751.
Respecto al enlace que me has proporcionado, es el mismo el cual seguà en un principio, y las pautas que dá es para configurarlo mediante Postfix, que si no he entendido mal en tu primer mensaje es independiente de pandora, es decir, puedo hacerlo sin configurar postfix y deberÃa funcionar.
He tratado de configurarlo tanto por la consola, como por ficheros, y con ninguna de las dos he conseguido hacerlo funcionar.
Te dejo captura de la consola y configuración del pandora_server.conf, a ver si es que tengo algo mal configurado.
Consola:
https://ibb.co/nPP1gDtPandora_server.conf
mta_address smtp.office365.com mta_port 587 mta_user [email protected] mta_pass ****** mta_auth LOGIN mta_from Pandora FMS mta_encryption starttls
* He intentado el mta_address como localhost y con la IP de smtp.office365.com
En pandora_server.log aparece la linea:
"2021-01-18 08:28:39 Core: PANDORA [V1] [ERROR] Sending email to [email protected] with          subject [PANDORA] Alert"
En el maillog
[root@PANDORA ~]# cat /var/log/maillog Jan 17 04:01:04 PANDORA postfix/pickup[41793]: 32E77221445: uid=0 from= Jan 17 04:01:04 PANDORA postfix/cleanup[42562]: 32E77221445: message-id= Jan 17 04:01:04 PANDORA postfix/qmgr[4359]: 32E77221445: from=, size=13899, nrcpt=1 (q         ueue active) Jan 17 04:01:04 PANDORA postfix/local[42565]: 32E77221445: to=, orig_to=, relay=         local, delay=1.4, delays=1.3/0.01/0/0, dsn=2.0.0, status=sent (delivered to mailbox) Jan 17 04:01:04 PANDORA postfix/qmgr[4359]: 32E77221445: removed Jan 17 05:01:04 PANDORA postfix/pickup[41793]: 1F23E221445: uid=0 from= Jan 17 05:01:04 PANDORA postfix/cleanup[53552]: 1F23E221445: message-id= Jan 17 05:01:04 PANDORA postfix/qmgr[4359]: 1F23E221445: from=, size=13899, nrcpt=1 (q         ueue active) Jan 17 05:01:04 PANDORA postfix/local[53555]: 1F23E221445: to=, orig_to=, relay=         local, delay=1.4, delays=1.4/0.01/0/0, dsn=2.0.0, status=sent (delivered to mailbox) Jan 17 05:01:04 PANDORA postfix/qmgr[4359]: 1F23E221445: removed Jan 17 06:01:04 PANDORA postfix/pickup[59670]: 09D3C221445: uid=0 from= Jan 17 06:01:04 PANDORA postfix/cleanup[64367]: 09D3C221445: message-id= Jan 17 06:01:04 PANDORA postfix/qmgr[4359]: 09D3C221445: from=, size=13899, nrcpt=1 (q         ueue active) Jan 17 06:01:04 PANDORA postfix/local[64370]: 09D3C221445: to=, orig_to=, relay=         local, delay=1.3, delays=1.3/0.01/0/0, dsn=2.0.0, status=sent (delivered to mailbox) Jan 17 06:01:04 PANDORA postfix/qmgr[4359]: 09D3C221445: removed Jan 17 07:01:03 PANDORA postfix/pickup[59670]: D96AE221445: uid=0 from= Jan 17 07:01:03 PANDORA postfix/cleanup[10246]: D96AE221445: message-id= Jan 17 07:01:03 PANDORA postfix/qmgr[4359]: D96AE221445: from=, size=13899, nrcpt=1 (q         ueue active) Jan 17 07:01:03 PANDORA postfix/local[10249]: D96AE221445: to=, orig_to=, relay=         local, delay=1.3, delays=1.3/0.01/0/0, dsn=2.0.0, status=sent (delivered to mailbox) Jan 17 07:01:03 PANDORA postfix/qmgr[4359]: D96AE221445: removed Jan 17 08:01:04 PANDORA postfix/pickup[12450]: B780E221445: uid=0 from= Jan 17 08:01:04 PANDORA postfix/cleanup[21261]: B780E221445: message-id= Jan 17 08:01:04 PANDORA postfix/qmgr[4359]: B780E221445: from=, size=13898, nrcpt=1 (q         ueue active) Jan 17 08:01:04 PANDORA postfix/local[21264]: B780E221445: to=, orig_to=, relay=         local, delay=1.4, delays=1.3/0.01/0/0.01, dsn=2.0.0, status=sent (delivered to mailbox) Jan 17 08:01:04 PANDORA postfix/qmgr[4359]: B780E221445: removed Jan 17 09:01:04 PANDORA postfix/pickup[30565]: 86A44221445: uid=0 from= Jan 17 09:01:04 PANDORA postfix/cleanup[32070]: 86A44221445: message-id= Jan 17 09:01:04 PANDORA postfix/qmgr[4359]: 86A44221445: from=, size=13899, nrcpt=1 (q         ueue active) Jan 17 09:01:04 PANDORA postfix/local[32073]: 86A44221445: to=, orig_to=, relay=         local, delay=1.3, delays=1.3/0.01/0/0, dsn=2.0.0, status=sent (delivered to mailbox) Jan 17 09:01:04 PANDORA postfix/qmgr[4359]: 86A44221445: removed Jan 17 10:01:04 PANDORA postfix/pickup[30565]: 69312221445: uid=0 from= Jan 17 10:01:04 PANDORA postfix/cleanup[43095]: 69312221445: message-id= Jan 17 10:01:04 PANDORA postfix/qmgr[4359]: 69312221445: from=, size=13899, nrcpt=1 (q         ueue active) Jan 17 10:01:04 PANDORA postfix/local[43098]: 69312221445: to=, orig_to=, relay=         local, delay=1.4, delays=1.3/0.01/0/0, dsn=2.0.0, status=sent (delivered to mailbox) Jan 17 10:01:04 PANDORA postfix/qmgr[4359]: 69312221445: removed Jan 17 11:01:04 PANDORA postfix/pickup[48457]: 457A9221445: uid=0 from= Jan 17 11:01:04 PANDORA postfix/cleanup[54050]: 457A9221445: message-id= Jan 17 11:01:04 PANDORA postfix/qmgr[4359]: 457A9221445: from=, size=13899, nrcpt=1 (q         ueue active) Jan 17 11:01:04 PANDORA postfix/local[54053]: 457A9221445: to=, orig_to=, relay=         local, delay=1.4, delays=1.4/0.01/0/0, dsn=2.0.0, status=sent (delivered to mailbox) Jan 17 11:01:04 PANDORA postfix/qmgr[4359]: 457A9221445: removed Jan 17 12:01:04 PANDORA postfix/pickup[48457]: 289E4221445: uid=0 from= Jan 17 12:01:04 PANDORA postfix/cleanup[65030]: 289E4221445: message-id= Jan 17 12:01:04 PANDORA postfix/qmgr[4359]: 289E4221445: from=, size=13899, nrcpt=1 (q         ueue active) Jan 17 12:01:04 PANDORA postfix/local[65033]: 289E4221445: to=, orig_to=, relay=         local, delay=1.4, delays=1.4/0.01/0/0.01, dsn=2.0.0, status=sent (delivered to mailbox) Jan 17 12:01:04 PANDORA postfix/qmgr[4359]: 289E4221445: removed Jan 17 13:01:04 PANDORA postfix/pickup[1024]: 01FC0221445: uid=0 from= Jan 17 13:01:04 PANDORA postfix/cleanup[10702]: 01FC0221445: message-id= Jan 17 13:01:04 PANDORA postfix/qmgr[4359]: 01FC0221445: from=, size=13899, nrcpt=1 (q         ueue active) Jan 17 13:01:04 PANDORA postfix/local[10705]: 01FC0221445: to=, orig_to=, relay=         local, delay=1.3, delays=1.3/0.01/0/0, dsn=2.0.0, status=sent (delivered to mailbox) Jan 17 13:01:04 PANDORA postfix/qmgr[4359]: 01FC0221445: removed Jan 17 14:01:03 PANDORA postfix/pickup[19166]: DBDBB22144B: uid=0 from= Jan 17 14:01:03 PANDORA postfix/cleanup[21711]: DBDBB22144B: message-id= Jan 17 14:01:03 PANDORA postfix/qmgr[4359]: DBDBB22144B: from=, size=13899, nrcpt=1 (q         ueue active) Jan 17 14:01:03 PANDORA postfix/local[21714]: DBDBB22144B: to=, orig_to=, relay=         local, delay=1.4, delays=1.3/0.01/0/0, dsn=2.0.0, status=sent (delivered to mailbox) Jan 17 14:01:03 PANDORA postfix/qmgr[4359]: DBDBB22144B: removed Jan 17 14:41:55 PANDORA postfix/smtpd[29126]: connect from localhost[127.0.0.1] Jan 17 14:41:55 PANDORA postfix/smtpd[29126]: NOQUEUE: reject: RCPT from localhost[127.0.0.1]: 550 5         .1.1 : Recipient address rejected: User unknown in local recipient table; from= to= proto=ESMTP helo= Jan 17 14:41:55 PANDORA postfix/smtpd[29126]: lost connection after RCPT from localhost[127.0.0.1] Jan 17 14:41:55 PANDORA postfix/smtpd[29126]: disconnect from localhost[127.0.0.1] Jan 17 15:01:04 PANDORA postfix/pickup[19166]: CDC30221445: uid=0 from= Jan 17 15:01:04 PANDORA postfix/cleanup[32715]: CDC30221445: message-id= Jan 17 15:01:04 PANDORA postfix/qmgr[4359]: CDC30221445: from=, size=13899, nrcpt=1 (q         ueue active) Jan 17 15:01:04 PANDORA postfix/local[32718]: CDC30221445: to=, orig_to=, relay=         local, delay=1.4, delays=1.4/0.01/0/0, dsn=2.0.0, status=sent (delivered to mailbox) Jan 17 15:01:04 PANDORA postfix/qmgr[4359]: CDC30221445: removed Jan 17 16:01:04 PANDORA postfix/pickup[37114]: AADD1221445: uid=0 from= Jan 17 16:01:04 PANDORA postfix/cleanup[43607]: AADD1221445: message-id= Jan 17 16:01:04 PANDORA postfix/qmgr[4359]: AADD1221445: from=, size=13899, nrcpt=1 (q         ueue active) Jan 17 16:01:04 PANDORA postfix/local[43610]: AADD1221445: to=, orig_to=, relay=         local, delay=1.4, delays=1.3/0.01/0/0, dsn=2.0.0, status=sent (delivered to mailbox) Jan 17 16:01:04 PANDORA postfix/qmgr[4359]: AADD1221445: removed Jan 17 17:01:04 PANDORA postfix/pickup[37114]: 82BB9221445: uid=0 from= Jan 17 17:01:04 PANDORA postfix/cleanup[54608]: 82BB9221445: message-id= Jan 17 17:01:04 PANDORA postfix/qmgr[4359]: 82BB9221445: from=, size=13899, nrcpt=1 (q         ueue active) Jan 17 17:01:04 PANDORA postfix/local[54611]: 82BB9221445: to=, orig_to=, relay=         local, delay=1.3, delays=1.3/0.01/0/0, dsn=2.0.0, status=sent (delivered to mailbox) Jan 17 17:01:04 PANDORA postfix/qmgr[4359]: 82BB9221445: removed Jan 17 18:01:04 PANDORA postfix/pickup[55019]: 624FB221445: uid=0 from= Jan 17 18:01:04 PANDORA postfix/cleanup[65535]: 624FB221445: message-id= Jan 17 18:01:04 PANDORA postfix/qmgr[4359]: 624FB221445: from=, size=13899, nrcpt=1 (q         ueue active) Jan 17 18:01:04 PANDORA postfix/local[302]: 624FB221445: to=, orig_to=, relay=lo         cal, delay=1.4, delays=1.4/0.01/0/0, dsn=2.0.0, status=sent (delivered to mailbox) Jan 17 18:01:04 PANDORA postfix/qmgr[4359]: 624FB221445: removed Jan 17 19:01:04 PANDORA postfix/pickup[7961]: 3F093221445: uid=0 from= Jan 17 19:01:04 PANDORA postfix/cleanup[11413]: 3F093221445: message-id= Jan 17 19:01:04 PANDORA postfix/qmgr[4359]: 3F093221445: from=, size=13899, nrcpt=1 (q         ueue active) Jan 17 19:01:04 PANDORA postfix/local[11416]: 3F093221445: to=, orig_to=, relay=         local, delay=1.4, delays=1.3/0.01/0/0.01, dsn=2.0.0, status=sent (delivered to mailbox) Jan 17 19:01:04 PANDORA postfix/qmgr[4359]: 3F093221445: removed Jan 17 20:01:04 PANDORA postfix/pickup[7961]: 2C844221445: uid=0 from= Jan 17 20:01:04 PANDORA postfix/cleanup[22355]: 2C844221445: message-id= Jan 17 20:01:04 PANDORA postfix/qmgr[4359]: 2C844221445: from=, size=13899, nrcpt=1 (q         ueue active) Jan 17 20:01:04 PANDORA postfix/local[22358]: 2C844221445: to=, orig_to=, relay=         local, delay=1.4, delays=1.4/0.01/0/0, dsn=2.0.0, status=sent (delivered to mailbox) Jan 17 20:01:04 PANDORA postfix/qmgr[4359]: 2C844221445: removed Jan 17 21:01:04 PANDORA postfix/pickup[25873]: 09D1F221445: uid=0 from= Jan 17 21:01:04 PANDORA postfix/cleanup[33243]: 09D1F221445: message-id= Jan 17 21:01:04 PANDORA postfix/qmgr[4359]: 09D1F221445: from=, size=13899, nrcpt=1 (q         ueue active) Jan 17 21:01:04 PANDORA postfix/local[33246]: 09D1F221445: to=, orig_to=, relay=         local, delay=1.3, delays=1.3/0.01/0/0, dsn=2.0.0, status=sent (delivered to mailbox) Jan 17 21:01:04 PANDORA postfix/qmgr[4359]: 09D1F221445: removed Jan 17 22:01:03 PANDORA postfix/pickup[43934]: CDCED221445: uid=0 from= Jan 17 22:01:03 PANDORA postfix/cleanup[44141]: CDCED221445: message-id= Jan 17 22:01:03 PANDORA postfix/qmgr[4359]: CDCED221445: from=, size=13899, nrcpt=1 (q         ueue active) Jan 17 22:01:03 PANDORA postfix/local[44144]: CDCED221445: to=, orig_to=, relay=         local, delay=1.3, delays=1.3/0.01/0/0, dsn=2.0.0, status=sent (delivered to mailbox) Jan 17 22:01:03 PANDORA postfix/qmgr[4359]: CDCED221445: removed Jan 17 23:01:04 PANDORA postfix/pickup[43934]: A9251221445: uid=0 from= Jan 17 23:01:04 PANDORA postfix/cleanup[55123]: A9251221445: message-id= Jan 17 23:01:04 PANDORA postfix/qmgr[4359]: A9251221445: from=, size=13899, nrcpt=1 (q         ueue active) Jan 17 23:01:04 PANDORA postfix/local[55126]: A9251221445: to=, orig_to=, relay=         local, delay=1.4, delays=1.4/0.01/0/0, dsn=2.0.0, status=sent (delivered to mailbox) Jan 17 23:01:04 PANDORA postfix/qmgr[4359]: A9251221445: removed Jan 18 00:01:04 PANDORA postfix/pickup[61745]: 8A460221445: uid=0 from= Jan 18 00:01:04 PANDORA postfix/cleanup[791]: 8A460221445: message-id= Jan 18 00:01:04 PANDORA postfix/qmgr[4359]: 8A460221445: from=, size=13899, nrcpt=1 (q         ueue active) Jan 18 00:01:04 PANDORA postfix/local[795]: 8A460221445: to=, orig_to=, relay=lo         cal, delay=1.4, delays=1.3/0.01/0/0, dsn=2.0.0, status=sent (delivered to mailbox) Jan 18 00:01:04 PANDORA postfix/qmgr[4359]: 8A460221445: removed Jan 18 01:01:04 PANDORA postfix/pickup[61745]: 6B628221445: uid=0 from= Jan 18 01:01:04 PANDORA postfix/cleanup[11921]: 6B628221445: message-id= Jan 18 01:01:04 PANDORA postfix/qmgr[4359]: 6B628221445: from=, size=13899, nrcpt=1 (q         ueue active) Jan 18 01:01:04 PANDORA postfix/local[11924]: 6B628221445: to=, orig_to=, relay=         local, delay=1.4, delays=1.4/0.01/0/0, dsn=2.0.0, status=sent (delivered to mailbox) Jan 18 01:01:04 PANDORA postfix/qmgr[4359]: 6B628221445: removed Jan 18 02:01:04 PANDORA postfix/pickup[14653]: 4BE63221445: uid=0 from= Jan 18 02:01:04 PANDORA postfix/cleanup[22944]: 4BE63221445: message-id= Jan 18 02:01:04 PANDORA postfix/qmgr[4359]: 4BE63221445: from=, size=13899, nrcpt=1 (q         ueue active) Jan 18 02:01:04 PANDORA postfix/local[22947]: 4BE63221445: to=, orig_to=, relay=         local, delay=1.3, delays=1.3/0.01/0/0, dsn=2.0.0, status=sent (delivered to mailbox) Jan 18 02:01:04 PANDORA postfix/qmgr[4359]: 4BE63221445: removed Jan 18 03:01:04 PANDORA postfix/pickup[32580]: 28DB3221445: uid=0 from= Jan 18 03:01:04 PANDORA postfix/cleanup[33798]: 28DB3221445: message-id= Jan 18 03:01:04 PANDORA postfix/qmgr[4359]: 28DB3221445: from=, size=13899, nrcpt=1 (q         ueue active) Jan 18 03:01:04 PANDORA postfix/local[33800]: 28DB3221445: to=, orig_to=, relay=         local, delay=1.4, delays=1.4/0.01/0/0.07, dsn=2.0.0, status=sent (delivered to mailbox) Jan 18 03:01:04 PANDORA postfix/qmgr[4359]: 28DB3221445: removed Jan 18 04:01:03 PANDORA postfix/pickup[32580]: F0392221445: uid=0 from= Jan 18 04:01:03 PANDORA postfix/cleanup[44721]: F0392221445: message-id= Jan 18 04:01:04 PANDORA postfix/qmgr[4359]: F0392221445: from=, size=13899, nrcpt=1 (q         ueue active) Jan 18 04:01:04 PANDORA postfix/local[44724]: F0392221445: to=, orig_to=, relay=         local, delay=1.4, delays=1.4/0.01/0/0.02, dsn=2.0.0, status=sent (delivered to mailbox) Jan 18 04:01:04 PANDORA postfix/qmgr[4359]: F0392221445: removed Jan 18 05:01:04 PANDORA postfix/pickup[50528]: D30B6221445: uid=0 from= Jan 18 05:01:04 PANDORA postfix/cleanup[55646]: D30B6221445: message-id= Jan 18 05:01:04 PANDORA postfix/qmgr[4359]: D30B6221445: from=, size=13899, nrcpt=1 (q         ueue active) Jan 18 05:01:04 PANDORA postfix/local[55649]: D30B6221445: to=, orig_to=, relay=         local, delay=1.4, delays=1.3/0.01/0/0, dsn=2.0.0, status=sent (delivered to mailbox) Jan 18 05:01:04 PANDORA postfix/qmgr[4359]: D30B6221445: removed Jan 18 06:01:04 PANDORA postfix/pickup[50528]: B3ECA221445: uid=0 from= Jan 18 06:01:04 PANDORA postfix/cleanup[1382]: B3ECA221445: message-id= Jan 18 06:01:04 PANDORA postfix/qmgr[4359]: B3ECA221445: from=, size=13899, nrcpt=1 (q         ueue active) Jan 18 06:01:04 PANDORA postfix/local[1385]: B3ECA221445: to=, orig_to=, relay=l         ocal, delay=1.3, delays=1.3/0.01/0/0, dsn=2.0.0, status=sent (delivered to mailbox) Jan 18 06:01:04 PANDORA postfix/qmgr[4359]: B3ECA221445: removed Jan 18 06:24:10 PANDORA postfix/smtpd[5824]: connect from localhost[127.0.0.1] Jan 18 06:24:10 PANDORA postfix/smtpd[5824]: NOQUEUE: reject: RCPT from localhost[127.0.0.1]: 550 5.         1.1 : Recipient address rejected: User unknown in local recipient table; from= to= proto=ESMTP helo= Jan 18 06:24:10 PANDORA postfix/smtpd[5824]: lost connection after RCPT from localhost[127.0.0.1] Jan 18 06:24:10 PANDORA postfix/smtpd[5824]: disconnect from localhost[127.0.0.1] Jan 18 07:01:04 PANDORA postfix/pickup[3204]: 91DA1221445: uid=0 from= Jan 18 07:01:04 PANDORA postfix/cleanup[12468]: 91DA1221445: message-id= Jan 18 07:01:04 PANDORA postfix/qmgr[4359]: 91DA1221445: from=, size=13899, nrcpt=1 (q         ueue active) Jan 18 07:01:04 PANDORA postfix/local[12471]: 91DA1221445: to=, orig_to=, relay=         local, delay=1.3, delays=1.3/0.01/0/0, dsn=2.0.0, status=sent (delivered to mailbox) Jan 18 07:01:04 PANDORA postfix/qmgr[4359]: 91DA1221445: removed Jan 18 07:04:48 PANDORA postfix/smtpd[13244]: connect from localhost[127.0.0.1] Jan 18 07:04:48 PANDORA postfix/smtpd[13244]: NOQUEUE: reject: RCPT from localhost[127.0.0.1]: 550 5         .1.1 : Recipient address rejected: User unknown in local recipient table; from= to= proto=ESMTP helo= Jan 18 07:04:48 PANDORA postfix/smtpd[13244]: lost connection after RCPT from localhost[127.0.0.1] Jan 18 07:04:48 PANDORA postfix/smtpd[13244]: disconnect from localhost[127.0.0.1] Jan 18 08:00:31 PANDORA postfix/smtpd[23426]: connect from localhost[127.0.0.1] Jan 18 08:00:32 PANDORA postfix/smtpd[23426]: NOQUEUE: reject: RCPT from localhost[127.0.0.1]: 550 5         .1.1 : Recipient address rejected: User unknown in local recipient table; from= to= proto=ESMTP helo= Jan 18 08:00:32 PANDORA postfix/smtpd[23426]: lost connection after RCPT from localhost[127.0.0.1] Jan 18 08:00:32 PANDORA postfix/smtpd[23426]: disconnect from localhost[127.0.0.1] Jan 18 08:01:04 PANDORA postfix/pickup[21422]: 87BBB221445: uid=0 from= Jan 18 08:01:04 PANDORA postfix/cleanup[23541]: 87BBB221445: message-id= Jan 18 08:01:04 PANDORA postfix/qmgr[4359]: 87BBB221445: from=, size=20442, nrcpt=1 (q         ueue active) Jan 18 08:01:04 PANDORA postfix/local[23543]: 87BBB221445: to=, orig_to=, relay=         local, delay=1.5, delays=1.4/0.01/0/0, dsn=2.0.0, status=sent (delivered to mailbox) Jan 18 08:01:04 PANDORA postfix/qmgr[4359]: 87BBB221445: removed Jan 18 08:10:11 PANDORA postfix/smtpd[25222]: connect from localhost[127.0.0.1] Jan 18 08:10:11 PANDORA postfix/smtpd[25222]: NOQUEUE: reject: RCPT from localhost[127.0.0.1]: 550 5         .1.1 : Recipient address rejected: User unknown in local recipient table; from= to= proto=ESMTP helo= Jan 18 08:10:11 PANDORA postfix/smtpd[25222]: lost connection after RCPT from localhost[127.0.0.1] Jan 18 08:10:11 PANDORA postfix/smtpd[25222]: disconnect from localhost[127.0.0.1] Jan 18 08:10:26 PANDORA postfix/smtpd[25222]: connect from localhost[127.0.0.1] Jan 18 08:10:26 PANDORA postfix/smtpd[25222]: NOQUEUE: reject: RCPT from localhost[127.0.0.1]: 550 5         .1.1 : Recipient address rejected: User unknown in local recipient table; from= to= proto=ESMTP helo= Jan 18 08:10:26 PANDORA postfix/smtpd[25222]: lost connection after RCPT from localhost[127.0.0.1] Jan 18 08:10:26 PANDORA postfix/smtpd[25222]: disconnect from localhost[127.0.0.1] Jan 18 08:28:39 PANDORA postfix/smtpd[28593]: connect from localhost[127.0.0.1] Jan 18 08:28:39 PANDORA postfix/smtpd[28593]: NOQUEUE: reject: RCPT from localhost[127.0.0.1]: 550 5         .1.1 : Recipient address rejected: User unknown in local recipient table; from= to= proto=ESMTP helo= Jan 18 08:28:39 PANDORA postfix/smtpd[28593]: lost connection after RCPT from localhost[127.0.0.1] Jan 18 08:28:39 PANDORA postfix/smtpd[28593]: disconnect from localhost[127.0.0.1] [root@PANDORA ~]#
-
::
Buenas,
En log de PandoraFMS no esta aportando suficiente información respecto al problema que esta sucediendo, para arreglar esto, por favor, cambia dentro del fichero pandora_server.conf la linea “verbosity 3” y pon un 10 en lugar del 3 (o el numero que tengas configurado). Tras esto reinicia el proceso del servidor (/etc/init.d/pandora_server restart) y chequea de nuevo el error, esta vez deberÃa ser mucho mas extenso. Captúralo y mándanoslo para que lo revisemos.
Gracias.
Diego -
::
Yo también tuve muchos problemas para configurar el e-mail con office365. He tratado de configurarlo desde la interfaz web en varias ocasiones (Configuration -> General), sin éxito y lo tuve configurar a través del fichero pandora_server.conf. Lo tengo configurado de la siguiente manera.
# mta_address: External Mailer (MTA) IP Address to be used by Pandora FMS internal email capabilities
# If not set, the MTA configuration specified in the Pandora FMS Console will be used.mta_address smtp.office365.com
mta_port 587
mta_user [email protected]
mta_pass *********
mta_auth LOGIN
mta_from Pandora FMS
mta_encryption starttlsOtra cosa que te voy a decir, es que al crear la cuenta de correo en office 365 por defecto, aunque te ponga que tienes activado el envÃo de e-mails por smtp, este no funciona y hay que quitarle el permiso de envÃo smtp y luego volver a ponerselo y a la de un tiempo comienza a funcionar. Este problema me ha pasado con varias cuentas que envÃan e-mails por smtp, no sólo con Pandora y no entendÃa lo que estaba pasando.
Espero que esto te ayude a solucionar el problema.
-
::
Buenos dÃas,
@Diego.M, ya tenÃa el Verbosity en 10 pero no habÃa reiniciado el servidor después (no tenia constancia de ello) y es por eso que no se habÃa aplicado.
@P.Gutierrez muchÃsimas gracias, he realizado el paso que comentas de quitar y volver a poner el permiso de SMTP y ahora parece estar funcionando correctamente.
El problema ahora es que, desde la configuración si que envia el email de prueba y llega correctamente, pero cuando se dispara una alarma no lo hace.
La alarma esta configurada de la siguiente manera:
Y como se puede observar en la foto, ha sido disparada, pero esta no envÃa el correo.
-
-
::
Buenas,
Que correo tienes configurado en la accion “Mail to Admin”? Debes cambiar ahi la direccion de correo al que desees enviar el mail.
Saludos
DiegoTengo configurada la cuenta a la que quiero que se envie los correos. Que es la misma que utilicé para enviar el email de prueba desde la consola y llegó correctamente.
-
-
::
Buenas,
Creo que lo del log con el verbosity a 10 se quedo en el olvido, ¿podrias enviarnos el log o una parte en la que mencione que sucede con el correo? Esto nos deberia decir exactamente donde esta el error.
Mandanos tambien una captura de como tienes configurada la alerta, por si hubiera algo fuera de lo comun que se nos este pasando.
Saludos
Diego -
::
Buenos dÃas @Diego.M,
Siento la demora, aquà está como me pediste el log con el verbosity al 10.
Cambié el verbosity, reinicie el servidor entero y forcé la alarma para que enviase el correo.
Este es el contenido del maillog:
Mar 3 00:01:03 PANDORA postfix/pickup[26892]: E87C42214C5: uid=0 from= Mar 3 00:01:03 PANDORA postfix/cleanup[48691]: E87C42214C5: message-id= Mar 3 00:01:03 PANDORA postfix/qmgr[4150]: E87C42214C5: from=, size=13897, nrcpt=1 (                          queue active) Mar 3 00:01:03 PANDORA postfix/local[48694]: E87C42214C5: to=, orig_to=, relay                          =local, delay=1.4, delays=1.4/0.01/0/0, dsn=2.0.0, status=sent (delivered to mailbox) Mar 3 00:01:03 PANDORA postfix/qmgr[4150]: E87C42214C5: removed Mar 3 01:01:04 PANDORA postfix/pickup[50335]: B16C12214C6: uid=0 from= Mar 3 01:01:04 PANDORA postfix/cleanup[62946]: B16C12214C6: message-id= Mar 3 01:01:04 PANDORA postfix/qmgr[4150]: B16C12214C6: from=, size=13897, nrcpt=1 (                          queue active) Mar 3 01:01:04 PANDORA postfix/local[62949]: B16C12214C6: to=, orig_to=, relay                          =local, delay=1.3, delays=1.3/0.01/0/0, dsn=2.0.0, status=sent (delivered to mailbox) Mar 3 01:01:04 PANDORA postfix/qmgr[4150]: B16C12214C6: removed Mar 3 02:01:04 PANDORA postfix/pickup[8722]: 7ABE82214C7: uid=0 from= Mar 3 02:01:04 PANDORA postfix/cleanup[12133]: 7ABE82214C7: message-id= Mar 3 02:01:04 PANDORA postfix/qmgr[4150]: 7ABE82214C7: from=, size=13897, nrcpt=1 (                          queue active) Mar 3 02:01:04 PANDORA postfix/local[12136]: 7ABE82214C7: to=, orig_to=, relay                          =local, delay=1.4, delays=1.3/0.01/0/0, dsn=2.0.0, status=sent (delivered to mailbox) Mar 3 02:01:04 PANDORA postfix/qmgr[4150]: 7ABE82214C7: removed Mar 3 03:01:04 PANDORA postfix/pickup[8722]: 457BB2214D7: uid=0 from= Mar 3 03:01:04 PANDORA postfix/cleanup[26562]: 457BB2214D7: message-id= Mar 3 03:01:04 PANDORA postfix/qmgr[4150]: 457BB2214D7: from=, size=13897, nrcpt=1 (                          queue active) Mar 3 03:01:04 PANDORA postfix/local[26564]: 457BB2214D7: to=, orig_to=, relay                          =local, delay=1.4, delays=1.4/0.02/0/0.05, dsn=2.0.0, status=sent (delivered to mailbox) Mar 3 03:01:04 PANDORA postfix/qmgr[4150]: 457BB2214D7: removed Mar 3 04:01:04 PANDORA postfix/pickup[32264]: 28603221470: uid=0 from= Mar 3 04:01:04 PANDORA postfix/cleanup[41001]: 28603221470: message-id= Mar 3 04:01:04 PANDORA postfix/qmgr[4150]: 28603221470: from=, size=13897, nrcpt=1 (                          queue active) Mar 3 04:01:04 PANDORA postfix/local[41004]: 28603221470: to=, orig_to=, relay                          =local, delay=1.4, delays=1.4/0.01/0/0, dsn=2.0.0, status=sent (delivered to mailbox) Mar 3 04:01:04 PANDORA postfix/qmgr[4150]: 28603221470: removed Mar 3 05:01:03 PANDORA postfix/pickup[32264]: EC71E2214CA: uid=0 from= Mar 3 05:01:03 PANDORA postfix/cleanup[55232]: EC71E2214CA: message-id= Mar 3 05:01:03 PANDORA postfix/qmgr[4150]: EC71E2214CA: from=, size=13897, nrcpt=1 (                          queue active) Mar 3 05:01:03 PANDORA postfix/local[55235]: EC71E2214CA: to=, orig_to=, relay                          =local, delay=1.3, delays=1.3/0.01/0/0, dsn=2.0.0, status=sent (delivered to mailbox) Mar 3 05:01:03 PANDORA postfix/qmgr[4150]: EC71E2214CA: removed Mar 3 06:01:04 PANDORA postfix/pickup[55766]: C2EBF2214CB: uid=0 from= Mar 3 06:01:04 PANDORA postfix/cleanup[4346]: C2EBF2214CB: message-id= Mar 3 06:01:04 PANDORA postfix/qmgr[4150]: C2EBF2214CB: from=, size=13897, nrcpt=1 (                          queue active) Mar 3 06:01:04 PANDORA postfix/local[4349]: C2EBF2214CB: to=, orig_to=, relay=                          local, delay=1.4, delays=1.3/0.01/0/0, dsn=2.0.0, status=sent (delivered to mailbox) Mar 3 06:01:04 PANDORA postfix/qmgr[4150]: C2EBF2214CB: removed Mar 3 07:01:04 PANDORA postfix/pickup[14132]: 9619D2214CC: uid=0 from= Mar 3 07:01:04 PANDORA postfix/cleanup[18773]: 9619D2214CC: message-id= Mar 3 07:01:04 PANDORA postfix/qmgr[4150]: 9619D2214CC: from=, size=13897, nrcpt=1 (                          queue active) Mar 3 07:01:04 PANDORA postfix/local[18776]: 9619D2214CC: to=, orig_to=, relay                          =local, delay=1.4, delays=1.4/0.01/0/0, dsn=2.0.0, status=sent (delivered to mailbox) Mar 3 07:01:04 PANDORA postfix/qmgr[4150]: 9619D2214CC: removed Mar 3 08:01:04 PANDORA postfix/pickup[14132]: 6E89A2214CD: uid=0 from= Mar 3 08:01:04 PANDORA postfix/cleanup[33239]: 6E89A2214CD: message-id= Mar 3 08:01:04 PANDORA postfix/qmgr[4150]: 6E89A2214CD: from=, size=13897, nrcpt=1 (                          queue active) Mar 3 08:01:04 PANDORA postfix/local[33242]: 6E89A2214CD: to=, orig_to=, relay                          =local, delay=1.4, delays=1.4/0.01/0/0.01, dsn=2.0.0, status=sent (delivered to mailbox) Mar 3 08:01:04 PANDORA postfix/qmgr[4150]: 6E89A2214CD: removed Mar 3 09:01:04 PANDORA postfix/pickup[37857]: 589AF2214CE: uid=0 from= Mar 3 09:01:04 PANDORA postfix/cleanup[47718]: 589AF2214CE: message-id= Mar 3 09:01:04 PANDORA postfix/qmgr[4150]: 589AF2214CE: from=, size=20441, nrcpt=1 (                          queue active) Mar 3 09:01:04 PANDORA postfix/local[47721]: 589AF2214CE: to=, orig_to=, relay                          =local, delay=1.5, delays=1.4/0.01/0/0, dsn=2.0.0, status=sent (delivered to mailbox) Mar 3 09:01:04 PANDORA postfix/qmgr[4150]: 589AF2214CE: removed Mar 3 10:01:04 PANDORA postfix/pickup[61480]: 394092214D7: uid=0 from= Mar 3 10:01:04 PANDORA postfix/cleanup[61995]: 394092214D7: message-id= Mar 3 10:01:04 PANDORA postfix/qmgr[4150]: 394092214D7: from=, size=13897, nrcpt=1 (                          queue active) Mar 3 10:01:04 PANDORA postfix/local[61998]: 394092214D7: to=, orig_to=, relay                          =local, delay=1.4, delays=1.4/0.01/0/0, dsn=2.0.0, status=sent (delivered to mailbox) Mar 3 10:01:04 PANDORA postfix/qmgr[4150]: 394092214D7: removed Mar 3 11:01:04 PANDORA postfix/pickup[61480]: 0A3D222127B: uid=0 from= Mar 3 11:01:04 PANDORA postfix/cleanup[11140]: 0A3D222127B: message-id= Mar 3 11:01:04 PANDORA postfix/qmgr[4150]: 0A3D222127B: from=, size=13897, nrcpt=1 (                          queue active) Mar 3 11:01:04 PANDORA postfix/local[11143]: 0A3D222127B: to=, orig_to=, relay                          =local, delay=1.4, delays=1.3/0.01/0/0, dsn=2.0.0, status=sent (delivered to mailbox) Mar 3 11:01:04 PANDORA postfix/qmgr[4150]: 0A3D222127B: removed Mar 3 12:01:03 PANDORA postfix/pickup[19734]: D78E3221466: uid=0 from= Mar 3 12:01:03 PANDORA postfix/cleanup[25687]: D78E3221466: message-id= Mar 3 12:01:03 PANDORA postfix/qmgr[4150]: D78E3221466: from=, size=13897, nrcpt=1 (                          queue active) Mar 3 12:01:03 PANDORA postfix/local[25690]: D78E3221466: to=, orig_to=, relay                          =local, delay=1.3, delays=1.3/0.01/0/0, dsn=2.0.0, status=sent (delivered to mailbox) Mar 3 12:01:03 PANDORA postfix/qmgr[4150]: D78E3221466: removed Mar 3 12:02:53 PANDORA postfix/postfix-script[4124]: starting the Postfix mail system Mar 3 12:02:53 PANDORA postfix/master[4132]: daemon started -- version 2.10.1, configuration /etc/                           postfix
Y aquà te adjunto las capturas con los detalles de la alarma:
La alarma
Los detalles de configuración de la alarma
La alarma disparada varias veces
A ver si es posible resolver esta incidencia.
Si necesitas algo más no dudes en pedirmelo.
Un saludo.
-
::
Buenos dÃas,
Siento ser pesado con el tema, pero es que sin poder recibir alertas la funcionalidad de pandora disminuye muchÃsimo, por tanto es realmente importante solucionarlo.
Sigo con la problemática, de hecho, desde que actualicé a la versión 7.52 ha dejado de funcionar incluso la prueba de email desde la interfaz web que antes si funcionaba.
No he tocado nada, todo sigue configurado como siempre y sigue sin funcionar.El pandora_server.conf :Â
mta_address smtp.office365.com mta_port 587 mta_user [email protected] mta_pass ****** mta_auth LOGIN mta_from Pandora FMS mta_encryption starttls
En la interfaz web lo tengo configurado exactamente igual, aunque se supone que prevalece lo del archivo pandora_server.conf:
https://ibb.co/4MCJxh0El contenido de /var/log/maillog:
[root@PANDORA ~]# tail -f /var/log/maillog Mar 22 10:01:04 PANDORA postfix/qmgr[4153]: 1F1742214B2: from=, size=13897, nrcpt=1 (queue active) Mar 22 10:01:04 PANDORA postfix/local[16948]: 1F1742214B2: to=, orig_to=, relay=local, delay=1.5, delays=1.4/0.01/0/0, dsn=2.0.0, status=sent (delivered to mailbox) Mar 22 10:01:04 PANDORA postfix/qmgr[4153]: 1F1742214B2: removed Mar 22 11:01:03 PANDORA postfix/pickup[21750]: 34E902214B4: uid=0 from= Mar 22 11:01:03 PANDORA postfix/cleanup[31025]: 34E902214B4: message-id= Mar 22 11:01:03 PANDORA postfix/qmgr[4153]: 34E902214B4: from=, size=13897, nrcpt=1 (queue active) Mar 22 11:01:03 PANDORA postfix/local[31028]: 34E902214B4: to=, orig_to=, relay=local, delay=1.3, delays=1.3/0.01/0/0, dsn=2.0.0, status=sent (delivered to mailbox) Mar 22 11:01:03 PANDORA postfix/qmgr[4153]: 34E902214B4: removed Mar 22 11:27:08 PANDORA postfix/postfix-script[4142]: starting the Postfix mail system Mar 22 11:27:08 PANDORA postfix/master[4155]: daemon started -- version 2.10.1, configuration /etc/postfix Mar 22 10:01:04 PANDORA postfix/qmgr[4153]: 1F1742214B2: from=, size=13897, nrcpt=1 (queue active) Mar 22 10:01:04 PANDORA postfix/local[16948]: 1F1742214B2: to=, orig_to=, relay=local, delay=1.5, delays=1.4/0.01/0/0, dsn=2.0.0, status=sent (delivered to mailbox) Mar 22 10:01:04 PANDORA postfix/qmgr[4153]: 1F1742214B2: removed Mar 22 11:01:03 PANDORA postfix/pickup[21750]: 34E902214B4: uid=0 from= Mar 22 11:01:03 PANDORA postfix/cleanup[31025]: 34E902214B4: message-id= Mar 22 11:01:03 PANDORA postfix/qmgr[4153]: 34E902214B4: from=, size=13897, nrcpt=1 (queue active) Mar 22 11:01:03 PANDORA postfix/local[31028]: 34E902214B4: to=, orig_to=, relay=local, delay=1.3, delays=1.3/0.01/0/0, dsn=2.0.0, status=sent (delivered to mailbox) Mar 22 11:01:03 PANDORA postfix/qmgr[4153]: 34E902214B4: removed Mar 22 11:27:08 PANDORA postfix/postfix-script[4142]: starting the Postfix mail system Mar 22 11:27:08 PANDORA postfix/master[4155]: daemon started -- version 2.10.1, configuration /etc/postfix
A ver si alguien me puede echar una mano,
Muchas gracias,
Saludos.-
::
Buenas David89
A mi se me presento este problema con postfix. cuando cambie la contraseña de la cuenta de correo. me dejo de enviar las alertas.
Lo único que hice fue actualizar la contraseña en el archivo:
nano /etc/postfix/sasl_passwd
Transformamos /etc/postfix/sasl_passwd a un fichero indexado de tipo hash mediante la instrucción:
sudo postmap /etc/postfix/sasl_passwd
En tu caso solo tendrÃas que ejecutar el segundo comando.
Dejo esto por si alguien le sirve.
-
-
-