Re: user crontab

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

 



On 06May2020 18:15, Robert Moskowitz <rgm@xxxxxxxxxxxxxxx> wrote:
On 5/6/20 6:08 PM, ToddAndMargo via users wrote:
MAILTO=rgm
[...]
Can you point me to some guide for this?  Local delivery for viewing with mutt is ok.  I don't have to send it to my mail server....

sendmail would take me running postfix locally.

Or would sendmail work for local store delivery?  Hmm.

I run postfix locally on my laptops. And I read mail with mutt.

Installing postfix is easy, _and_ being a proper mail system it also lets your queue and send. All the MAILTO= in crontab relies on is a "sendmail" executable, and all UNIX mail systems provide one. So installing postfix gets you one.

(So does installing exim or sendmail or qmail etc, but I like postfix's configuration.)

With postfix, I put the following settings at the top of /etc/postfix/main.cf:

# where to send email for off-this-host - I run something special, # but your ISP's mail service or the like should do just fine
   relayhost = 127.0.0.2:1025

   # what domain email from this machine has - I run my own domain
   mydomain = cskk.id.au
   myorigin = cskk.id.au

   # what domains get delivered locally
   mydestination = $mydomain, $myhostname, localhost.$mydomain, localhost

   # postfix will accept SMTP - my laptop only listens on localhost
   inet_interfaces = localhost

   # don't relay for anyone else, just the laptop
   mynetworks_style = host
   mynetworks = 127.0.0.0/8, [::1]/128

   # support the very cool "basic-address+suffix@" stuff
   recipient_delimiter = +

# my usual upstream SMTP service gets stupid if you try to be too # enthusiastic
   default_destination_concurrency_limit = 1

The supplied main.cf has almost all the interesting settings set out already, with comments. Those I change I comment out in the main file and put the changed setting at the top of the file.

Happy to help debug your setup.

Cheers,
Cameron Simpson <cs@xxxxxxxxxx>
_______________________________________________
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



[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