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