On 2020-04-02, Caveman Al Toraboran <toraboracave...@protonmail.com> wrote: > On Wednesday, April 1, 2020 10:20 AM, Ian Zimmerman <i...@very.loosely.org> > wrote: > >> Normally the mail program works by execing /usr/sbin/sendmail to to the >> hard part :-P Do you have it? It doesn't have to be the "real" >> sendmail - any MTA program you install usually makes a symlink from >> /usr/sbin/sendmail to itself. > > i got sendmail around. but didn't do any configurations. > > what's the minimum configuration to do? i'm really not planning > anything ultra-professional.
Then DO NOT use sendmail. Sendmail is only for the ultra-professional who already knows how to configure it (not joking). If all your mail gets sent via a single SMTP server at your ISP (or wherever), then Sendmail is definitely not what you want. > i hope it to send an email the shameless style (just send an smtp > message to the smtp server where my email is hosted) If you don't need local queueing (so you can send email while offline), then I'd pick ssmtp. NB: ssmtp is a bit old and in need of a ebuild maintainer, so might not be my first choice if I wasn't already familiar it. https://wiki.archlinux.org/index.php/SSMTP Nullmailer is also a good option with the added bonus of queueing outbound mail while you're offline.: https://github.com/bruceg/nullmailer https://wiki.archlinux.org/index.php/Nullmailer If you want something even more sophisticated (e.g. something that can deliver mail locally and receive inbound mail using SMTP), then postfix or exim would probably the be the next step up: https://wiki.gentoo.org/wiki/Postfix https://wiki.archlinux.org/index.php/Postfix https://wiki.gentoo.org/wiki/Exim https://wiki.archlinux.org/index.php/Exim I've read claims that there are things you can do with sendmail that Exim or Postfix can't handle, but I'm not sure I believe it. I am sure I'll never need to do any of those things. -- Grant