Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Aug 2017 20:45:49 -0400
From:      Mikhail Goriachev <mikhailg@webanoide.org>
To:        freebsd-questions@freebsd.org
Cc:        Edgar Pettijohn <edgar@pettijohn-web.com>
Subject:   Re: sendmail seperate mta/msa processes
Message-ID:  <3bf45be2-9053-7a1b-6564-dd25c6b0f1cf@webanoide.org>
In-Reply-To: <20170810231352.GA55461@FreeBSD>
References:  <20170806152213.GB29094@FreeBSD> <20170810192912.GB9482@avalon.thwn> <20170810231352.GA55461@FreeBSD>

next in thread | previous in thread | raw e-mail | index | archive | help
On 10/08/2017 19:13, Edgar Pettijohn wrote:
> On Thu, Aug 10, 2017 at 09:29:12PM +0200, fml wrote:
>> On Sun, Aug 06, 2017 at 10:22:13AM -0500, Edgar Pettijohn wrote:
>>> Currently my mail server is working well enough. However, I would like to try setting up multiple sendmail processses with their own configurations. So I can have one running on port 25 with spam milters, no relays allowed, and deliver mail to dovecot lmtp. Then have a seperate process with its own config running on port 587 that requires tls+auth before it relays.
>>>
>>> Is this something people do regularly and is easy to implement? Or is it one of those things that after I begin I will wish I had never attempted.
>>>
>>
>> If you do not need milter interfaces, OpenSMTPD is worth a try (it's
>> in ports).
>> It supports mail filters but, as far as I know, they aren't
>> milter-compatible.
>> Or just go with Postfix as you've been told to.
>> I think that if today you stick with sendmail you:
>> a) know why you *need* sendmail OR
>> b) have some legacy software bound to sendmail OR
>> c) just play "if it ain't broken, don't fix it" game (like me).
> 
> I mainly just wanted to give it a shot.  I will probably go back to
> postfix.  The configuration isn't all that difficult once you get the
> hang of it.  The main problem seems to be the documentation I have 
> found doesn't explain things fully and make references to "rule sets"
> and macros that I don't understand yet, so then I have to go search for 
> those.  Try to figure them out and how they apply to what I was reading
> before, etc, etc.  It seems looking at the source, that it hasn't been 
> updated well.  Probably time to retire it or a complete rewrite.


Hi Edgar,

Once upon a time I read an article[1] which stated the following:

"never to put SMTP incoming and outgoing in the same servers"

That caught my attention. Since then I've been segregating services with
jails. One jail as MTA and another as MSA. Definitely greater control in
every aspect.

Back to your question. I'm sure this is something others do regularly.
Implementation maybe isn't that easy but you should attempt it.


Cheers,
Mikhail.

[1] -
http://www.pl.freebsd.org/doc/en_US.ISO8859-1/articles/casestudy-argentina.com/index.html

-- 
Mikhail Goriachev
Webanoide



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3bf45be2-9053-7a1b-6564-dd25c6b0f1cf>