Sending system mail to remote mail server

Dale Scott dalescott at shaw.ca
Thu Jul 9 21:41:52 UTC 2020


ssmtp is NOT a service, it is an executable that runs when a message is sent and terminates on completion.


----- Original Message -----
> From: "@lbutlr" <kremels at kreme.com>
> To: "freebsd-questions" <freebsd-questions at freebsd.org>
> Sent: Thursday, July 9, 2020 6:56:58 AM
> Subject: Re: Sending system mail to remote mail server

> On 09 Jul 2020, at 06:47, @lbutlr <kremels at 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 WOULD BE A MILLION TO ONE CHANCE, said Death. EXACTLY A MILLION TO
>	ONE CHANCE. 'Oh,' said the Bursar, intensely relieved. 'Oh dear.
>	What a shame.' --Eric
> 
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"


More information about the freebsd-questions mailing list