Gentoo Archives: gentoo-user

From: Grant Edwards <grant.b.edwards@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Re: mail cannot send emails (trying to use it with smartd)
Date: Thu, 02 Apr 2020 14:18:42
Message-Id: r64s7l$39ti$1@ciao.gmane.io
In Reply to: Re: [gentoo-user] Re: mail cannot send emails (trying to use it with smartd) by Caveman Al Toraboran
1 On 2020-04-02, Caveman Al Toraboran <toraboracaveman@××××××××××.com> wrote:
2 > On Wednesday, April 1, 2020 10:20 AM, Ian Zimmerman <itz@××××××××××××.org> wrote:
3 >
4 >> Normally the mail program works by execing /usr/sbin/sendmail to to the
5 >> hard part :-P Do you have it? It doesn't have to be the "real"
6 >> sendmail - any MTA program you install usually makes a symlink from
7 >> /usr/sbin/sendmail to itself.
8 >
9 > i got sendmail around. but didn't do any configurations.
10 >
11 > what's the minimum configuration to do? i'm really not planning
12 > anything ultra-professional.
13
14 Then DO NOT use sendmail. Sendmail is only for the ultra-professional
15 who already knows how to configure it (not joking).
16
17 If all your mail gets sent via a single SMTP server at your ISP (or
18 wherever), then Sendmail is definitely not what you want.
19
20 > i hope it to send an email the shameless style (just send an smtp
21 > message to the smtp server where my email is hosted)
22
23 If you don't need local queueing (so you can send email while
24 offline), then I'd pick ssmtp. NB: ssmtp is a bit old and in need of
25 a ebuild maintainer, so might not be my first choice if I wasn't
26 already familiar it.
27
28 https://wiki.archlinux.org/index.php/SSMTP
29
30 Nullmailer is also a good option with the added bonus of queueing
31 outbound mail while you're offline.:
32
33 https://github.com/bruceg/nullmailer
34 https://wiki.archlinux.org/index.php/Nullmailer
35
36 If you want something even more sophisticated (e.g. something that can
37 deliver mail locally and receive inbound mail using SMTP), then postfix
38 or exim would probably the be the next step up:
39
40 https://wiki.gentoo.org/wiki/Postfix
41 https://wiki.archlinux.org/index.php/Postfix
42
43 https://wiki.gentoo.org/wiki/Exim
44 https://wiki.archlinux.org/index.php/Exim
45
46 I've read claims that there are things you can do with sendmail that
47 Exim or Postfix can't handle, but I'm not sure I believe it. I am
48 sure I'll never need to do any of those things.
49
50 --
51 Grant

Replies

Subject Author
Re: [gentoo-user] Re: mail cannot send emails (trying to use it with smartd) Caveman Al Toraboran <toraboracaveman@××××××××××.com>
Re: [gentoo-user] Re: mail cannot send emails (trying to use it with smartd) Caveman Al Toraboran <toraboracaveman@××××××××××.com>
Re: [gentoo-user] Re: mail cannot send emails (trying to use it with smartd) Grant Taylor <gtaylor@×××××××××××××××××××××.net>