Cameron,

Oh I have done a lot with postfix:

http://www.htt-consult.com/Centos7-mailserver.html

On 5/6/20 7:28 PM, Cameron Simpson wrote:
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:

better to use the

postconf -e

command had have the commands put in the proper places.  Or append to the end, as postfix reads main.cf in order and last command wins.

I go way back years on the postfix list on things like this.


   # 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.

So I can do postfix, and if I have a problem I will ask, but I wanted just a local mail delivery like maybe esmtp.

_______________________________________________
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