From: Neil Williams <neil.williams@linaro.org>
Date: Thursday, 12 July 2018 at 20:43
To: Diego Russo <Diego.Russo@arm.com>
Cc: Lava Users Mailman list <lava-users@lists.linaro.org>
Subject: Re: [Lava-users] LAVA email notification configuration

 

On Thu, 12 Jul 2018 at 20:13, Diego Russo <Diego.Russo@arm.com> wrote:

Hello,

In my LAVA pipeline I have the following snippet:

notify:
    recipients:
    - to:
       method: email
       mail: diego.russo@arm.com
    criteria:
      status: finished
    verbosity: verbose

When the job ends though I'm not receiving any email. I've looked at the documentation, but I couldn’t find anything about mail configuration. Logs also are not very helpful to debug this issue.
How/where can I configure the email client? I'm also interested in changing the "from:" field.

 

​The email client is the one installed on the base system. All the configuration for that is standard Debian admin. If you can send email from the command line mail program, you will generally be able to send email from django. exim4 is installed by default, that has support for all the email features you would need. Only the master sends notifications, so it is only the master that needs MTA configuration.

 

This is already in the documentation, under initial admin: https://staging.validation.linaro.org/static/docs/v2/simple-admin.html#debian-system-administration

To send email, LAVA relies on the basic Django email support using a standard sendmail interface​

 

Neil, I missed that bit. Thanks for the pointer.

 

Cheers

 

 


Thanks

--
Diego Russo
Staff Software Engineer - diego.russo@arm.com
Direct Tel. no: +44 1223 405920
Main   Tel. no: +44 1223 400400
ARM Ltd. CPC1, Capital Park, Cambridge Road, Fulbourn, CB21 5XE, United Kingdom
http://www.diegor.co.uk - http://twitter.com/diegor
http://www.linkedin.com/in/diegor

IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.
_______________________________________________
Lava-users mailing list
Lava-users@lists.linaro.org
https://lists.linaro.org/mailman/listinfo/lava-users


 

--


Neil Williams
=============
neil.williams@linaro.org
http://www.linux.codehelp.co.uk/

IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.