Erbil KARAMAN a écrit : > hi, > > i have been working on different configuration combinations for hours > but couldn't be able to succeed with anything.. > > here is what i'm trying to do... > i have 8 different IP addresses configured on my linux machine. > > i want them all behave like a virtual MTA (as in PowerMTA), hence > receive/send only from their own IP with their own hostname. > so when i connect to xx.yy.zz.dd (mta01.foo.domain) to send email i > want all the outgoing emails go through xx.yy.zz.dd (mta01.foo.domain) > too..
use multiple instances: run postfix 8 times, each with its own config dir, queue dir, data dir, ... etc, and configure each for its own domain(s). > and i want to enable submission port on those, to sign all outgoing > emails with DKIMproxy (both DKIM+DomainKeys) > so any email going to xx.yy.zz.dd:587 (mta01.foo.domain) will be > signed properly with dkim + domainkeys and will lastly originate from > xx.yy.zz.dd (mta01.foo.domain) as well.. actually this is a classical > multi-ip/host model, but couldn't be able to find sufficient > documentation/example on internet. i found some partial ones but > didn't worked out for the whole scenario. > amavisd-new (recent versions) can DKIM sign mail. make amavisd-new listen on different ports (one for each postfix) and forward to the right smtpd depending on this port (by default, amavisd forwards to port+1 if it received mail on port "port".