• Re: [gentoo-user] emerge notice

    From Jude DaShiell@21:1/5 to Thelma on Sun Jul 7 01:50:02 2024
    you could first pipe portage output to tee perhaps portage.log for a file
    to hold output then use grep on portage.log to find notifications in
    context sofollowing lines of notifications would be preserved. I've not
    used grep with lines of context before yet so don't know how that feature
    would work.


    --
    Jude <jdashiel at panix dot com>
    "There are four boxes to be used in defense of liberty:
    soap, ballot, jury, and ammo.
    Please use in that order."
    Ed Howdershelt 1940.

    On Sat, 6 Jul 2024, Thelma wrote:

    I have in my make.conf:

    PORTAGE_ELOG_CLASSES="warn error log"
    PORTAGE_ELOG_SYSTEM="mail"
    PORTAGE_ELOG_MAILURI="info@domain.com /usr/sbin/sendmail" PORTAGE_ELOG_MAILFROM="portage"
    PORTAGE_ELOG_MAILSUBJECT="package \${PACKAGE} merged on \${HOST} with notice"

    It used to work, but ever since Rogers took over Shaw network, they started making changes to their mail server and most email sent from command line to myself via my provider doesn't work.

    Is there an alternative, example send these notifications to a file or print them at the end of emerge.



    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Thelma@21:1/5 to Jude DaShiell on Sun Jul 7 02:00:01 2024
    On 7/6/24 17:46, Jude DaShiell wrote:
    you could first pipe portage output to tee perhaps portage.log for a file
    to hold output then use grep on portage.log to find notifications in
    context sofollowing lines of notifications would be preserved. I've not
    used grep with lines of context before yet so don't know how that feature would work.


    --
    Jude <jdashiel at panix dot com>
    "There are four boxes to be used in defense of liberty:
    soap, ballot, jury, and ammo.
    Please use in that order."
    Ed Howdershelt 1940.

    What the command would look like.
    Maybe it would be a solution for single emerge but I'm not sure how it would work with "emerge -uDNavq world" when a system emerges over 300 packages.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Thelma@21:1/5 to All on Sun Jul 7 01:40:02 2024
    I have in my make.conf:

    PORTAGE_ELOG_CLASSES="warn error log"
    PORTAGE_ELOG_SYSTEM="mail"
    PORTAGE_ELOG_MAILURI="info@domain.com /usr/sbin/sendmail" PORTAGE_ELOG_MAILFROM="portage"
    PORTAGE_ELOG_MAILSUBJECT="package \${PACKAGE} merged on \${HOST} with notice"

    It used to work, but ever since Rogers took over Shaw network, they started making changes to their mail server and most email sent from command line to myself via my provider doesn't work.

    Is there an alternative, example send these notifications to a file or print them at the end of emerge.

    --
    Thelma

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Wols Lists@21:1/5 to Thelma on Sun Jul 7 10:50:01 2024
    On 07/07/2024 00:31, Thelma wrote:
    I have in my make.conf:

    PORTAGE_ELOG_CLASSES="warn error log"
    PORTAGE_ELOG_SYSTEM="mail"
    PORTAGE_ELOG_MAILURI="info@domain.com /usr/sbin/sendmail" PORTAGE_ELOG_MAILFROM="portage"
    PORTAGE_ELOG_MAILSUBJECT="package \${PACKAGE} merged on \${HOST} with
    notice"

    It used to work, but ever since Rogers took over Shaw network, they
    started making changes to their mail server and most email sent from
    command line to myself via my provider doesn't work.

    Is there an alternative, example send these notifications to a file or
    print them at the end of emerge.

    Bear in mind I've tried to do stuff like this, and failed miserably, but
    I run a local mailserver type setup.

    And reading between the lines, if you could get this to work, you could probably get the command line to work too ...

    But get something like exim or postfix or whatever set up locally,
    configure it to send deliver local mail locally, and forward the rest to Rogers.

    Or if you actually want to use Rogers as your cloud email provider, get
    it to send everything.

    As a last resort, create an independent local system, so any mail sent
    using standard *nix utilities stays on the local system (you'll probably
    have to configure both the client and server to use a non-standard port
    like 26) and now all your emerge and system monitoring stuff stays local
    and under your control.

    I feel your pain, my wife's laptop has suddenly stopped communicating
    with gmail using thunderbird. But I can access those same accounts, with
    the identical config, no problem. What the **** is going on?

    Cheers,
    Wol

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)