Hello everyone.
I have a mail server running postfix. the server has man different ip's
associated with it, and many domains pointing at it. As Im sure you all know,
when the server gets a connection request, it responds with a greeting message.
something along the lines of "220 cattlejobs.com ESMTP". I would like to have
each greeting message sent have the domain name (in this case cattlejobs.com )
be tailored to match which ever IP the client is connecting to. Up until now, I
have just been adding more lines to my /etc/postfix/master.cf file as shown
below:
69.74.158.54:smtp inet n - - - - smtpd -o myhostname=cattlejobs.com
69.77.250.125:smtp inet n - - - - smtpd -o myhostname=cattlejobs.com
69.77.243.21:smtp inet n - - - - smtpd -o myhostname=cattlejobs.com
69.77.124.200:smtp inet n - - - - smtpd -o myhostname=cattlejobs.com
It has worked well, but now I am trying to add lots of entries like this
(2000+). Once I have much more than 300 entries I start to get an error
fatal: pipe: Too many open files
Can anyone suggest a different way to acheive this, or a work around to this
problem?
Thanks in advance, Steve.