On 06May2020 18:15, Robert Moskowitz <r...@htt-consult.com> 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 <c...@cskk.id.au>
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
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@lists.fedoraproject.org

Reply via email to