Tomasz Chmielewski пишет: > mouss schrieb: >> Tomasz Chmielewski wrote: > >>> Basically, if Postfix can specify the source IP address, that should >>> be fine for me... provided that it can make some decisions here >>> (i.e., which outgoing interface to choose, depending on From: or >>> Received: etc). >>> >> >> >> since you have one network card, you have one outgoing interface. >> Choosing among one thing would be strange outside of maths ;-p > > Now I see I didn't pick the thread's title very well ;) > (should be: "multiple outgoing IP addresses"). > > master.cf:
... 127.0.0.1:10025 inet n - n - - smtpd -o cleanup_service_name=example-cleanup -o myhostname=example-smtp.example.org -o smtpd_client_restrictions= -o smtpd_helo_restrictions= -o smtpd_sender_restrictions= -o smtpd_recipient_restrictions=permit_mynetworks,reject -o smtpd_data_restrictions= -o smtpd_end_of_data_restrictions= example-smtp unix - - n - - smtp -o smtp_bind_address=ip.add.re.ss -o myhostname=example-smtp.example.org example-rewrite unix - - n - - trivial-rewrite -o default_transport=example-smtp: example-qmgr fifo n - n 300 1 qmgr -o rewrite_service_name=example-rewrite example-cleanup unix n - n - 0 cleanup -o queue_service_name=example-qmgr and write rule to filter (this another question) PS sorry for my english -- С Уважением, Янченко Игорь email: mailto:[EMAIL PROTECTED] jabber: xmpp://[EMAIL PROTECTED] SKIF ISP IGR0-UANIC