RE: Possible to dedicate a number of smtpd processes for OUTBOUND mail only ??
- Thank you - I only hoped but as you write this is a logical problem.
I will take a look on the multi-instance.
Univ Of Southern Denmark
Fra: owner-postfix-users@... [mailto:owner-postfix-users@...] På vegne af Viktor Dukhovni
Sendt: 25. februar 2013 18:13
Emne: Re: Possible to dedicate a number of smtpd processes for OUTBOUND mail only ??
On Mon, Feb 25, 2013 at 10:30:41AM +0000, Peter S?rensen wrote:
> Currently we have a lot of attacks on Our gateway system serving up to
> 200 smtpd On each server. We have 3 servers which add up to max 600
> concurrent smtpd processes.
> I would like to reserve let's say 50 smtpd on each server to just
> handle outgoing mail.
> Is that possible ?
No, this is not a Postfix limitation, it is a logical impossibility, the SMTP server does not know which mail is "outgoing" and which is "incoming" until it has accepted the connection and started the SMTP transaction with the client, by which point it is no longer "reserved".
This said you are free to implement separate TCP (ip:port) endpoints for different service levels, and if necessary even restrict access to some of them via firewall rules or and/or network prefixes that are only routable internally to your organization.
Consider http://www.postfix.org/MULTI_INSTANCE_README.html as a best practice approach for supporting separate mail flows on a single Postfix server.