gevisz wrote:
> сб, 31 авг. 2024 г. в 20:45, Michael <confabul...@kintzios.com>:
>
>>>> 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

mailhub=smtp.gmail.com:465  #Could also use port 587 for STARTTLS

rewriteDomain=Gentoo-1  #Something to denote your machine's name

FromLineOverride=YES

UseTLS=YES  #Can also try UseSTARTTLS=YES as an alternative

AuthUser=rdalek<annoy bots>1...@gmail.com
AuthPass=<password for email> #Special characters seem to barf with ssmtp

mailhub=mail

hostname=_HOSTNAME_



Don't forget to set up aliases as well.  /etc/mail/aliases



root: rdalek<annoy bots>1...@gmail.com



That's all I had to add.  There is other lines in there that other
packages added.  I wouldn't mess with them. 

I gotta remember how I tested that thing to make sure it works.  I used
to do it but that was years ago.  No clue now. 

Hope that helps.   Someone else may add to this.  Or correct things. 

Dale

:-)  :-) 

Reply via email to