Join the community today
Become a Member

Sysadmin Yum Updates Email

Discussion in 'System Administration' started by Jimmy, Feb 2, 2017.

Tags:
  1. Jimmy

    Jimmy Premium Member Premium Member

    1,113
    247
    63
    Oct 24, 2015
    East Coast USA
    Ratings:
    +596
    Local Time:
    5:59 PM
    1.13.x
    MariaDB 10.1.x
    I setup the Yum automatic update via yum-cron.

    I'm getting some weird formatting of the "from" in the email. I wanted to correct it, but I wasn't sure exactly where it was sending the message from.

    The message "from" looks like what is below. Not sure why I'm seeing two quotes before the @ and the < character.

    Code:
    ""@server1.mydomain.com <""@server1.mydomain.com>
    I have the yum-cron.conf setup:

    Code:
    [emitters]
    # Name to use for this system in messages that are emitted.  If
    # system_name is None, the hostname will be used.
    system_name = None
    
    # How to send messages.  Valid options are stdio and email.  If
    # emit_via includes stdio, messages will be sent to stdout; this is useful
    # to have cron send the messages.  If emit_via includes email, this
    # program will send email itself according to the configured options.
    # If emit_via is None or left blank, no messages will be sent.
    emit_via = email
    
    # The width, in characters, that messages that are emitted should be
    # formatted to.
    output_width = 80
    
    
    [email]
    # The address to send email messages from.
    # NOTE: 'localhost' will be replaced with the value of system_name.
    email_from = root@localhost
    
    # List of addresses to send messages to.
    email_to = support@domain.com
    
    # Name of the host to connect to to send email messages.
    email_host = localhost
    
     
  2. eva2000

    eva2000 Administrator Staff Member

    30,131
    6,778
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,128
    Local Time:
    7:59 AM
    Nginx 1.13.x
    MariaDB 5.5
    did you resolve this ? seems I missed this thread heh

    made any custom changes to your Postfix configuration ?
     
  3. Jimmy

    Jimmy Premium Member Premium Member

    1,113
    247
    63
    Oct 24, 2015
    East Coast USA
    Ratings:
    +596
    Local Time:
    5:59 PM
    1.13.x
    MariaDB 10.1.x
    No I didn't. I had a bunch of other items to do and this wasn't really that big of an issue. Wanted to see if anyone else had or knew how to resolve this.

    No I didn't make any changes to Postfix config.

    Actually, looking at this again, it might've cleared its self up. Not seeing it anymore in the emails. Maybe it was after I updated the root email address?
     
  4. eva2000

    eva2000 Administrator Staff Member

    30,131
    6,778
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,128
    Local Time:
    7:59 AM
    Nginx 1.13.x
    MariaDB 5.5
    Could be.. though I haven't experienced this myself with yum-cron yet :)
     
  5. Jimmy

    Jimmy Premium Member Premium Member

    1,113
    247
    63
    Oct 24, 2015
    East Coast USA
    Ratings:
    +596
    Local Time:
    5:59 PM
    1.13.x
    MariaDB 10.1.x
    I have to re-install both my servers. If I have the issue again, I'll post it.
     
    • Like Like x 1