Hi Remi,

I was going through the logs in server and I found below:

It is said as access denied.

Jul  3 10:09:53 lav01ny80 postfix/smtpd[21874]: connect from localhost[::1]
Jul  3 10:09:53 lav01ny80 postfix/smtpd[21874]: NOQUEUE: reject: RCPT from localhost[::1]: 454 4.7.1 <pawan4749@gmail.com>: Relay access denied; from=<root@localhost> to=<pawan4749@gmail.com> proto=ESMTP helo=<lav01ny80.resi.com>
Jul  3 10:09:53 lav01ny80 postfix/smtpd[21874]: lost connection after RSET from localhost[::1]
Jul  3 10:09:53 lav01ny80 postfix/smtpd[21874]: disconnect from localhost[::1] ehlo=1 mail=1 rcpt=0/1 rset=1 commands=3/4

Is there any configuration that needs to be enabled from the server side or it's a network issue.

Best Regards
Pavan Kumar


On Sun, Jul 2, 2023 at 6:40 PM pawanKumar <pawan4749@gmail.com> wrote:
Hello Remi,

In the gunicorn logs, I can see as below:
lava_notify-log.PNG
In LAVA interface the status how as "NOT SENT"
lava-notify.PNG
Any advice on how to receive the notification.

Best Regards
Pavan Kumar


On Fri, Jun 30, 2023 at 3:10 PM Remi Duraffort <remi.duraffort@linaro.org> wrote:
Hello,

have you looked at the gunicorn logs in /var/log/lava-server/gunicorn.log


Rgds

Le jeu. 29 juin 2023 à 18:47, pawanKumar <pawan4749@gmail.com> a écrit :

Hello Team,

I'm using notify action in the job definition to notify users about the status of the job. I'm already a registered user in lava and after completion of my job, the administration site shows the status as "not sent".
Please let me know what can be the reason, and how can i achieve it?
 
lava-notify.PNG
Below is the job definition i'm using:

device_type: ADT-UNIT1
job_name: sample test to notify user
timeouts:
  job:
    minutes: 15
  action:
    minutes: 10
  connection:
    minutes: 5
visibility: public
actions:
- command:
     name: relay_pwr_on
     timeout:
        minutes: 1
- deploy:
    to: flasher
    images:
      package:
              url: https://artifactory.softwaretools.com/artifactory/gop-generic-stable-local/build-artifacts/grip-quick/
- boot:
    method: u-boot
    commands:
       - setenv factorymode 1
       - boot
    auto_login:
      login_prompt: 'login:'
      username: root
      password_prompt: 'Password:'
      password: root
      login_commands:
      - touch /home/root/test_file
      - ifconfig
    prompts:
    - 'root@hon-grip'
    - 'root@GRIP'
notify:
  recipients:
  - to:
     method: email
     user: pavan
  criteria:
    status: finished
  verbosity: verbose

Thanks & Regards,
Pavan


_______________________________________________
Lava-devel mailing list -- lava-devel@lists.lavasoftware.org
To unsubscribe send an email to lava-devel-leave@lists.lavasoftware.org


--
Rémi Duraffort
Principal Tech Lead
Automation Software Team
Linaro