Frank Steinmetzger wrote:
> Am Sat, Aug 31, 2024 at 01:57:25PM -0500 schrieb Dale:
>
>>>>>> I expect any MTA would do the task of sending emails - but since you've
>>>>>> installed s-nail check the configuration examples offered here:
>>>>>>
>>>>>> https://wiki.archlinux.org/title/S-nail
>>> Thank you. I will look into this wiki.
>>>
>>>>>  email seems to be one of the more complicated things to manage in linux.
>>> That's why I avoided it so far. :)
>>>
>>>
>> I set this up on my old machine and transferred it over to my new rig. 
>> I use mail-mta/ssmtp and it works fine.  I haven't tested it yet on new
>> rig but worked on old rig.  Only thing that uses it is SMART for hard
>> drives, that I know of anyway.  This is my config file, less comments. 
>> /etc/ssmtp/ssmtp.conf
>>
>> root=postmaster
>>
>> root=rdalek1...@gmail.com  #Change to your preferred email address
>>
>> […]
>>
>> Hope that helps.   Someone else may add to this.  Or correct things. 
> Well, the OP wants to have local delivery, not delivery via SMTP to an 
> external server. That means the mail is generated by the local service (like 
> ZED or smartd), reaches the MTA and that—without any network traffic—puts 
> the mail directly into a local folder, where it can be viewed with a reader 
> like mutt, or trigger a “you have mail” notification at logon.
>
> I use dma for that. I can’t remember anymore whether I had to set up 
> anything specific, but my /etc/dma/dma.conf is completely vanilla and has 
> all lines commented out. When I do something like
>
> echo hi | mutt root -s testmail
> echo hi | mutt frank -s testmail
>
> I get a new mail in /var/spool/mail/root and /var/spool/mail/frank, 
> respectively.
>

Oh, that kind of local.  I never tried that.  Although I would like one
day to set up my own email thing so I can use whatever client I want. 
Sounds complicated so that's a while off. 

Dale

:-)  :-) 

Reply via email to