I don't understand Postfix internals so deeply, but I see another
possible problem. Please correct me if I'm wrong!

Basically, you want to run separate instances of Postfix in separate
processes, right? These instances (if not configured carefully)
probably put their queue files in the same directory
(/var/spool/postfix by Debian default). Isn't it possible that there
is a race condition between multiple instances, and an e-mail queued
by one instance actually gets delivered by another instance (thus
another IP)?

If you've taken care of this, or it is not a problem for Postfix, or
in case I said something very stupid, I'm sorry.


2015-03-24 11:29 GMT+01:00 <i...@itrezero.it>:
>
> Dear Mr. Dukhovni,
> you're right, I'm not a great expert of Postfix but I'm here to learn!
> In fact, you're last answer is the solution of my problem:
>
> > Sure looks like you don't understand that each instance of an
> > smtp(8) transport needs all the relevant settings specified.
> > There's no "inheritance" between "smtp" and "slow" for example.
>
> I just updated my master.cf, and ALL IS FINALLY CORRECT:
>  -------------------------------------- MASTER.CF
> -----------------------------------
> xxx.xxx.xxx.79:smtp inet n - n - 10 smtpd
> smtp           unix - - n - - smtp
>                 -o syslog_name=postfix-smtp79
>                 -o smtp_helo_name=mx4.domain.it
>                 -o myhostname= mx4.domain.it
>                 -o smtp_bind_address= xxx.xxx.xxx.79
> veryslow unix - - n - - smtp
>                 -o smtp_fallback_relay=
>                 -o syslog_name=postfix- smtp79
>                 -o smtp_helo_name= mx4.domain.it
>                 -o myhostname= mx4.domain.it
>                 -o smtp_bind_address= xxx.xxx.xxx.79
> slow unix - - n - - smtp
>                 -o smtp_fallback_relay=
>                 -o syslog_name=postfix- smtp79
>                 -o smtp_helo_name= mx4.domain.it
>                 -o myhostname= mx4.domain.it
>                 -o smtp_bind_address= xxx.xxx.xxx.79
> -------------------------------------- END MASTER.CF
> -----------------------------------
> I thought that was ineritance between smtp and other transports settings
> (slow, veryslow, etc.) :-(
> THANK YOU A LOT!
>
>
>
>
>
> However I've another question. Here below is a snippet from master.cf of
> another instance where I use a Perl script for randomizing the smtp client
> to be used for outbound email:
>
> ------------------------------- 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-----------------------------
>
> Here is the transport file used in my configuration:
>
> ------------------------------------ TRANSPORT -------------------------
> testdom.it slow:
> testdom.com veryslow:
> trydom.it slow:
> trydom.com slow:
> ------------------------------------ END TRANSPORT -------------------------
>
> Well: with the configuration files above, how can I update veryslow and slow
> transports for each IPs?
> What smtp_bind_address I have to set for slow/veryslow?
>
> Uhmm... I hope to have been clear.
>
> Thanks for your help!
>
> -Francesco
>
>
> ---
> Questa e-mail รจ stata controllata per individuare virus con Avast antivirus.
> http://www.avast.com
>

Reply via email to