Dear Mr. Dukhovni, I'm sorry for re-posting my last message, but I'd like to know your answer regarding my last question:
### How many instances can I set up on the same machine without deteriorating perfomances? ### What's your advice? Thank you a lot -Francesco -----Messaggio originale----- Da: owner-postfix-us...@postfix.org [mailto:owner-postfix-us...@postfix.org] Per conto di i...@itrezero.it Inviato: martedì 24 marzo 2015 15:51 A: postfix-users@postfix.org Oggetto: R: R: R: R: Strange behaviour of my multi-instance server So, you suggest to: 1) use many singleIP-instances with specific smtp/slow/veryslow/etc. transports (all bound on the same IP) 2) not use a randomizer script in the master.cf BUT randomizing the outbound address through web application (that is a PHP script) Is it correct? But here I have a further question (never really answered in my searches on Internet): how many instances can I set up on the same machine without deteriorating perfomances? I know that this answer is linked to the resources of the server, so suppose that it's a dual-core with 4 GB RAM. Thanks again -Francesco -----Messaggio originale----- Da: owner-postfix-us...@postfix.org [mailto:owner-postfix-us...@postfix.org] Per conto di Viktor Dukhovni Inviato: martedì 24 marzo 2015 14:30 A: postfix-users@postfix.org Oggetto: Re: R: R: R: Strange behaviour of my multi-instance server On Tue, Mar 24, 2015 at 11:29:42AM +0100, i...@itrezero.it wrote: > ------------------------------- MASTER.CF----------------------------- > 127.0.0.1:21025 inet n n n - 0 spawn user=nobody > argv=/etc/postfix/random-block1.pl > smtp2 unix - - n - - smtp > -o syslog_name=postfix-smtp2 > -o smtp_helo_name=mx2.dominio1.it > -o smtp_bind_address=xxx.xxx.xxx.111 > smtp3 unix - - n - - smtp > -o syslog_name=postfix-smtp3 > -o smtp_helo_name=mx3. dominio1.it > -o smtp_bind_address= xxx.xxx.xxx.112 > smtp1 unix - - n - - smtp > -o syslog_name=postfix-smtp5 > -o smtp_helo_name=mx5. dominio1.it > -o smtp_bind_address= xxx.xxx.xxx.113 > > veryslow unix - - n - - smtp > -o smtp_fallback_relay= > slow unix - - n - - smtp > -o smtp_fallback_relay= > ------------------------------- END > MASTER.CF----------------------------- To distribute load among multiple IPs also for slow/veryslow, you'll need to have multiple instances of slow and very slow, and appropriate ways to randomly distribute load among them. At which point it is clear that you're much better off with separate Postfix instances per address, each with its own "smtp/slow/veryslow" transport. And just inject the mail into those at random. The second solution ensures that for any given message the address used is stable over time, and so encounters shorter greylisting delays. Your current configuration is a bad idea, so don't make it worse by also splitting the slow/veryslow transports. Happy snow-shoeing... -- Viktor. --- Questa e-mail è stata controllata per individuare virus con Avast antivirus. http://www.avast.com --- Questa e-mail è stata controllata per individuare virus con Avast antivirus. http://www.avast.com