Discover Centmin Mod today
Register Now

Sysadmin Yum Updates Email

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

Tags:
  1. Jimmy

    Jimmy Well-Known Member

    1,788
    390
    83
    Oct 24, 2015
    East Coast USA
    Ratings:
    +990
    Local Time:
    10:22 PM
    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

    54,858
    12,239
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,810
    Local Time:
    12:22 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    did you resolve this ? seems I missed this thread heh

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

    Jimmy Well-Known Member

    1,788
    390
    83
    Oct 24, 2015
    East Coast USA
    Ratings:
    +990
    Local Time:
    10:22 PM
    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

    54,858
    12,239
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,810
    Local Time:
    12:22 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    Could be.. though I haven't experienced this myself with yum-cron yet :)
     
  5. Jimmy

    Jimmy Well-Known Member

    1,788
    390
    83
    Oct 24, 2015
    East Coast USA
    Ratings:
    +990
    Local Time:
    10:22 PM
    I have to re-install both my servers. If I have the issue again, I'll post it.