Re: Getting crontab to send an email

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 6/26/25 3:22 PM, Robert Moskowitz wrote:


On 6/26/25 6:20 PM, Samuel Sieb wrote:
On 6/26/25 3:15 PM, Robert Moskowitz via users wrote:


On 6/26/25 6:09 PM, Will McDonald wrote:
On Thu, 26 Jun 2025 at 23:05, Will McDonald <wmcdonald@xxxxxxxxx> wrote:

    On Thu, 26 Jun 2025 at 22:50, Robert Moskowitz via users
    <users@xxxxxxxxxxxxxxxxxxxxxxx> wrote:

        I want to get emails from my Fedora notebook for crontab
        activities.


    First figure out if your MTA is working, then you can figure out
    what you want to *actually* send, whether Logwatch rolled-up
    reports, or just the individual crontabs. There's almost certainly
    a bunch of ways you can slice this.

    If you fix your MTA it'll probably Just Start Working I suspect.


Correcting myself, once you have setup /etc/logwatch/conf/ logwatch.conf appropriately, too.

I don't have an MTA on this notebook, and my readings on cron mailings seemed to indicate without an MTA it is just a local mail delivery.  And since MAILTO = is in the crontab, I SHOULD be seeing these mails in / var/mail/root

But I am not.

There has to be something to process the email, so you need some sort of MTA installed.

Try mailx for starters?

Or does it need more...

To get the terms right, you need an MDA or LDA, not an MTA. :-)
Something that can do local mail delivery and it seems that there are no options available other than the usual servers.

If you really don't want to do that, you can try something from https://unix.stackexchange.com/questions/82093/minimal-mta-that-delivers-mail-locally-for-cron

--
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux