[Katello] e-mail notifications does not work

Hi

I have subscribed my user to receive e-mails but I don't get any. Under
e-mail preferences Mail enabled is checked and when I do Test email I
receive test e-mail.

Foreman test email This is a test message to confirm that Foreman's email
configuration is working.

However I don't receive any automatic e-mail after repo sync, etc. I don't
see any log files entries regarding e-mails. Nothing. In Dynflow console,
under ErrataMail I can see:

Started at: 2016-08-16 23:02:26 UTC

Ended at: 2016-08-16 23:02:26 UTC

Real time: 0.04s

Execution time (excluding suspended state): 0.04s

Input:

··· --- repo: 2407 last_updated: '2016-08-17 01:01:54 +0200' contents_changed: true

Output:

— {}

Not sure what does it mean, but no e-mails are sent.

This is content of /etc/foreman/email.yaml

Outgoing email settings

production:
delivery_method: :smtp
smtp_settings:
address: mailgw.local.org
port: 25
domain: local.org
authentication: :none

Any ideas?

Katello version 3.0.2
CentOS 7

Edgars

Hi

Any idea why e-mails does not work in Katello 3.0.2?

trešdiena, 2016. gada 17. augusts 10:18:39 UTC+2, Edgars M. rakstīja:

··· > > Hi > > I have subscribed my user to receive e-mails but I don't get any. Under > e-mail preferences Mail enabled is checked and when I do Test email I > receive test e-mail. > > Foreman test email This is a test message to confirm that Foreman's email > configuration is working. > > However I don't receive any automatic e-mail after repo sync, etc. I don't > see any log files entries regarding e-mails. Nothing. In Dynflow console, > under ErrataMail I can see: > > *Started at:* 2016-08-16 23:02:26 UTC > > *Ended at:* 2016-08-16 23:02:26 UTC > > *Real time:* 0.04s > > *Execution time (excluding suspended state):* 0.04s > > *Input:* > > --- > repo: 2407 > last_updated: '2016-08-17 01:01:54 +0200' > contents_changed: true > > *Output:* > > --- {} > > > Not sure what does it mean, but no e-mails are sent. > > This is content of /etc/foreman/email.yaml > > # Outgoing email settings > > > production: > delivery_method: :smtp > smtp_settings: > address: mailgw.local.org > port: 25 > domain: local.org > authentication: :none > > > Any ideas? > > Katello version 3.0.2 > CentOS 7 > > > Edgars >

> Hi
>
> Any idea why e-mails does not work in Katello 3.0.2?
>
> trešdiena, 2016. gada 17. augusts 10:18:39 UTC+2, Edgars M. rakstīja:
>
> Hi
>
> I have subscribed my user to receive e-mails but I don't get any.
> Under e-mail preferences Mail enabled is checked and when I do
> Test email I receive test e-mail.
>

Did you 'opt in' for emails under your user's settings?

··· On 08/23/2016 06:40 AM, Edgars M. wrote:
    Foremantest email


        This is a test message to confirm that Foreman's email
        configuration is working.


However I don't receive any automatic e-mail after repo sync, etc.
I don't see any log files entries regarding e-mails. Nothing. In
Dynflow console, under ErrataMail I can see:

*Started at:* 2016-08-16 23:02:26 UTC

*Ended at:* 2016-08-16 23:02:26 UTC

*Real time:* 0.04s

*Execution time (excluding suspended state):* 0.04s

*Input:*

---repo:2407last_updated:'2016-08-17 01:01:54
+0200'contents_changed:true

*Output:*

---{}


Not sure what does it mean, but no e-mails are sent.

This is content of /etc/foreman/email.yaml

>
# Outgoing email settings


production:
  delivery_method::smtp
  smtp_settings:
    address:mailgw.local.org
    port:25
    domain:local.org
    authentication::none
>


Any ideas?

Katello version 3.0.2
CentOS 7


Edgars


You received this message because you are subscribed to the Google
Groups “Foreman users” group.
To unsubscribe from this group and stop receiving emails from it, send
an email to foreman-users+unsubscribe@googlegroups.com
mailto:foreman-users+unsubscribe@googlegroups.com.
To post to this group, send email to foreman-users@googlegroups.com
mailto:foreman-users@googlegroups.com.
Visit this group at https://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/d/optout.

Hi

Yes, I did

<https://lh3.googleusercontent.com/-ZPkdPxCfABk/V71GJSGExdI/AAAAAAAAACU/7b_DOl44cE4hMQ0gOoQPblzQUNQFBsPeACLcB/s1600/mailsettings.jpg>

Edgars

otrdiena, 2016. gada 23. augusts 16:52:29 UTC+2, jsherril rakstīja:

··· > > On 08/23/2016 06:40 AM, Edgars M. wrote: > > Hi > > Any idea why e-mails does not work in Katello 3.0.2? > > trešdiena, 2016. gada 17. augusts 10:18:39 UTC+2, Edgars M. rakstīja: >> >> Hi >> >> I have subscribed my user to receive e-mails but I don't get any. Under >> e-mail preferences Mail enabled is checked and when I do Test email I >> receive test e-mail. >> > > Did you 'opt in' for emails under your user's settings? > > >> Foreman test email This is a test message to confirm that Foreman's >> email configuration is working. >> >> However I don't receive any automatic e-mail after repo sync, etc. I >> don't see any log files entries regarding e-mails. Nothing. In Dynflow >> console, under ErrataMail I can see: >> >> *Started at:* 2016-08-16 23:02:26 UTC >> >> *Ended at:* 2016-08-16 23:02:26 UTC >> >> *Real time:* 0.04s >> >> *Execution time (excluding suspended state):* 0.04s >> >> *Input:* >> >> --- >> repo: 2407 >> last_updated: '2016-08-17 01:01:54 +0200' >> contents_changed: true >> >> *Output:* >> >> --- {} >> >> >> Not sure what does it mean, but no e-mails are sent. >> >> This is content of /etc/foreman/email.yaml >> >> # Outgoing email settings >> >> >> production: >> delivery_method: :smtp >> smtp_settings: >> address: mailgw.local.org >> port: 25 >> domain: local.org >> authentication: :none >> >> >> Any ideas? >> >> Katello version 3.0.2 >> CentOS 7 >> >> >> Edgars >> > -- > You received this message because you are subscribed to the Google Groups > "Foreman users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to foreman-user...@googlegroups.com . > To post to this group, send email to forema...@googlegroups.com > . > Visit this group at https://groups.google.com/group/foreman-users. > For more options, visit https://groups.google.com/d/optout. > > >

> Hi
>
> Yes, I did
>
> <https://lh3.googleusercontent.com/-ZPkdPxCfABk/V71GJSGExdI/AAAAAAAAACU/7b_DOl44cE4hMQ0gOoQPblzQUNQFBsPeACLcB/s1600/mailsettings.jpg>
>
>

Apologies, i believe this is a bug:
http://projects.theforeman.org/issues/16303

I will take a look at fixing it.

-Justin

··· On 08/24/2016 03:01 AM, Edgars M. wrote:

Edgars

otrdiena, 2016. gada 23. augusts 16:52:29 UTC+2, jsherril rakstīja:

On 08/23/2016 06:40 AM, Edgars M. wrote:
Hi

Any idea why e-mails does not work in Katello 3.0.2?

trešdiena, 2016. gada 17. augusts 10:18:39 UTC+2, Edgars M.
rakstīja:

    Hi

    I have subscribed my user to receive e-mails but I don't get
    any. Under e-mail preferences Mail enabled is checked and
    when I do Test email I receive test e-mail.
Did you 'opt in' for emails under your user's settings?
        Foremantest email


            This is a test message to confirm that Foreman's
            email configuration is working.


    However I don't receive any automatic e-mail after repo sync,
    etc. I don't see any log files entries regarding e-mails.
    Nothing. In Dynflow console, under ErrataMail I can see:

    *Started at:* 2016-08-16 23:02:26 UTC

    *Ended at:* 2016-08-16 23:02:26 UTC

    *Real time:* 0.04s

    *Execution time (excluding suspended state):* 0.04s

    *Input:*

    ---repo:2407last_updated:'2016-08-17 01:01:54
    +0200'contents_changed:true

    *Output:*

    ---{}


    Not sure what does it mean, but no e-mails are sent.

    This is content of /etc/foreman/email.yaml

    >
    # Outgoing email settings


    production:
      delivery_method::smtp
      smtp_settings:
        address:mailgw.local.org
        port:25
        domain:local.org
        authentication::none
    >


    Any ideas?

    Katello version 3.0.2
    CentOS 7


    Edgars

-- 
You received this message because you are subscribed to the
Google Groups "Foreman users" group.
To unsubscribe from this group and stop receiving emails from it,
send an email to foreman-user...@googlegroups.com <javascript:>.
To post to this group, send email to forema...@googlegroups.com
<javascript:>.
Visit this group at https://groups.google.com/group/foreman-users
<https://groups.google.com/group/foreman-users>.
For more options, visit https://groups.google.com/d/optout
<https://groups.google.com/d/optout>.


You received this message because you are subscribed to the Google
Groups “Foreman users” group.
To unsubscribe from this group and stop receiving emails from it, send
an email to foreman-users+unsubscribe@googlegroups.com
mailto:foreman-users+unsubscribe@googlegroups.com.
To post to this group, send email to foreman-users@googlegroups.com
mailto:foreman-users@googlegroups.com.
Visit this group at https://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/d/optout.

Thanks!

Edgars

ceturtdiena, 2016. gada 25. augusts 20:40:46 UTC+2, jsherril rakstīja:

··· > > On 08/24/2016 03:01 AM, Edgars M. wrote: > > Hi > > Yes, I did > > > > > > Apologies, i believe this is a bug: > http://projects.theforeman.org/issues/16303 > > I will take a look at fixing it. > > -Justin > > > Edgars > > otrdiena, 2016. gada 23. augusts 16:52:29 UTC+2, jsherril rakstīja: >> >> On 08/23/2016 06:40 AM, Edgars M. wrote: >> >> Hi >> >> Any idea why e-mails does not work in Katello 3.0.2? >> >> trešdiena, 2016. gada 17. augusts 10:18:39 UTC+2, Edgars M. rakstīja: >>> >>> Hi >>> >>> I have subscribed my user to receive e-mails but I don't get any. Under >>> e-mail preferences Mail enabled is checked and when I do Test email I >>> receive test e-mail. >>> >> >> Did you 'opt in' for emails under your user's settings? >> >> >>> Foreman test email This is a test message to confirm that Foreman's >>> email configuration is working. >>> >>> However I don't receive any automatic e-mail after repo sync, etc. I >>> don't see any log files entries regarding e-mails. Nothing. In Dynflow >>> console, under ErrataMail I can see: >>> >>> *Started at:* 2016-08-16 23:02:26 UTC >>> >>> *Ended at:* 2016-08-16 23:02:26 UTC >>> >>> *Real time:* 0.04s >>> >>> *Execution time (excluding suspended state):* 0.04s >>> >>> *Input:* >>> >>> --- >>> repo: 2407 >>> last_updated: '2016-08-17 01:01:54 +0200' >>> contents_changed: true >>> >>> *Output:* >>> >>> --- {} >>> >>> >>> Not sure what does it mean, but no e-mails are sent. >>> >>> This is content of /etc/foreman/email.yaml >>> >>> # Outgoing email settings >>> >>> >>> production: >>> delivery_method: :smtp >>> smtp_settings: >>> address: mailgw.local.org >>> port: 25 >>> domain: local.org >>> authentication: :none >>> >>> >>> Any ideas? >>> >>> Katello version 3.0.2 >>> CentOS 7 >>> >>> >>> Edgars >>> >> -- >> You received this message because you are subscribed to the Google Groups >> "Foreman users" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to foreman-user...@googlegroups.com. >> To post to this group, send email to forema...@googlegroups.com. >> Visit this group at https://groups.google.com/group/foreman-users. >> For more options, visit https://groups.google.com/d/optout. >> >> >> -- > You received this message because you are subscribed to the Google Groups > "Foreman users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to foreman-user...@googlegroups.com . > To post to this group, send email to forema...@googlegroups.com > . > Visit this group at https://groups.google.com/group/foreman-users. > For more options, visit https://groups.google.com/d/optout. > > >