Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 09 Jul 2020 14:37:55 +0200
From:      Evilham <contact@evilham.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: Sending system mail to remote mail server
Message-ID:  <afa76bcc-3be1-4e71-8de5-f88917ed1845@yggdrasil.evilham.com>
In-Reply-To: <7cc8380a-9d6b-ca3e-4611-fa675bf5983c@beepc.ch>
References:  <5FD21AAE-BEB7-4FAB-9F01-70403A59AA7D@kreme.com> <7cc8380a-9d6b-ca3e-4611-fa675bf5983c@beepc.ch>

next in thread | previous in thread | raw e-mail | index | archive | help
On dj., jul. 09 2020, xpetrl wrote:

>> I'd like to setup my machines to send the local system mail to 
>> the mail server (things like the weekly repots to root, cron 
>> output, etc), which means setting up submission on these 
>> machines. I don't even know where to start on this.
>>
> You can start from here:
>
> https://www.freebsd.org/doc/handbook/outgoing-only.html

I'd use dma, it's simple to automate and configure and is in base 
(unlike ssmtp).

man 8 dma should get you started and there is also 
/usr/share/examples/dma/mailer.conf which tells you how to setup 
mailer.conf (see man 5 mailer.conf).
--
Evilham



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?afa76bcc-3be1-4e71-8de5-f88917ed1845>