Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 Jul 2020 16:01:34 +0300
From:      Yuri Pankov <yuripv@yuripv.dev>
To:        "@lbutlr" <kremels@kreme.com>, FreeBSD <freebsd-questions@freebsd.org>
Subject:   Re: Sending system mail to remote mail server
Message-ID:  <caa35da6-b6be-c0ea-2445-e5d368222a36@yuripv.dev>
In-Reply-To: <57FCC468-AC34-44DB-8043-8FA87C2BED30@kreme.com>
References:  <5FD21AAE-BEB7-4FAB-9F01-70403A59AA7D@kreme.com> <7cc8380a-9d6b-ca3e-4611-fa675bf5983c@beepc.ch> <C7DB58F1-4BDD-4AEF-B373-4AB75CF930B1@kreme.com> <57FCC468-AC34-44DB-8043-8FA87C2BED30@kreme.com>

next in thread | previous in thread | raw e-mail | index | archive | help
@lbutlr wrote:
> On 09 Jul 2020, at 06:47, @lbutlr <kremels@kreme.com> wrote:
>>> https://www.freebsd.org/doc/handbook/outgoing-only.html
>>
>> Excellent! That was super simple. Thank you!
> 
> Oops. I lied. I don't see how to start the service/enable ssmtp. I have disabled and stopped sendmail but if I send a mail to root on the command=line I get this in maillog:
> 
> Jul  9 06:55:12 ns2 sendmail[50730]: 069CtCrh050730: to=root, ctladdr=lbutlr (1001/1001), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30068, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1]
> 
> There's nothing for ssmtp listed in service -e

It's not a service, and did you follow the instructions in ssmpt's 
pkg-message?



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?caa35da6-b6be-c0ea-2445-e5d368222a36>