Administrative email from FreeBSD jails

Arthur Chance freebsd at qeng-ho.org
Tue Feb 20 13:15:53 UTC 2018


On 16/02/2018 17:06, Michael Grimm wrote:
> James B. Byrne via freebsd-questions <freebsd-questions at freebsd.org> wrote:
> 
>> Is the any simpler software package that can forward all application
>> and system generated email from a jail to an external hub?
>>
>> How do other people handle this requirement in their jails?
> 
> I did substitute sendmail by DragonFly Mail Agent in mail/dma some time ago. It runs at the host and in all those jails not running postfix. Easy setup [1], fine replacement of sendmail.
> 
> [1] in my case it's a two line config (your milage my vary) with 10.1.2.3 running my postfix MTA:
> 
> 	# Your smarthost (also called relayhost).
> 	SMARTHOST 10.1.2.3
> 	# The internet hostname dma uses to identify the host.
> 	MAILNAME kaan-bock.net

[This is a bit delayed, I've been offline with flu.]

I'll second DMA. I've looked at various solutions over the years, and if
you want mail to go out sensibly but don't need incoming mail DMA is the
simplest solution I've found.

-- 
An amusing coincidence: log2(58) = 5.858 (to 0.0003% accuracy).


More information about the freebsd-questions mailing list