Ing. Davy Leon wrote:
Hi again
I'm having troubles with these again, let me explain myself better this
time. I have a LAN with 10 PC conected to my linux box with postfix in
it. I have a dialup link from the linux machine to the internet to
deliver and fetch mail from our ISP. Due to bandwith limitation, I want
Postfix to deliver the queue to the ISP one message at the time, I mean
one by one until the queue is empty, but at the same time Postfix can
accept conections of all the PC conected to the LAN.
So, my question is if I set
default_process_limit=1 in main.cf
I'm telling Postix to run only one child processes, so it can't receive
smtp conections from LAN while delivering to the ISP?
I need clarification in this point. I need to process the queue one by
one, but still can receive mail from my LAN in eth0 interface from
several PC at the same time without delays.
I apreciate your help
David
As documented, setting default_process_limit to 1 allows
postfix to run one copy of each service in master.cf
simultaineously. So, one incoming connection, one outgoing
connection.
If you want to accept more incoming connections but only allow
one outbound connection, find the "smtp unix" service in
master.cf and change the "process count" column to 1.
# master.cf, allow only one outbound connection
smtp unix - - n - 1 smtp
-- Noel Jones