Am 20.11.2012 14:13, schrieb Sam Jones: > Good afternoon, > > I'm looking to get some views and advice on the best way to set Postfix > up so I can segregate a large newsletter list up into a semi decent > working structure. > > Basically my newsletter server has a /29 and I want to set up Postfix to > (hopefully) do something like this: > > eth0:1 1.1.1.1 GMAIL Subscribers > eth0:2 2.2.2.2 AoL Subscribers > eht0:3 3.3.3.3 all others > > I'd like to be able to rate control the Gmail & AoL to complicate issues > a little. I know how powerful and fast Postfix can be and I don't want > to exceed the limits set on small scale mailers like us. > > What I'm looking for is the best approach to do this? > > I don't think I can do this with multiple instances as the incoming mail > stream from the newsletter server (SMTP) has a stream of recipients at > various domains, so what arrives in the Instance of Postfix will be > mixed to start with. > > So I guess this means I'll need to simply do this in transports. I think > I read that it's possible to create transports for specific SMTP > destinations in the Book of Postfix. I guess I'd need to ask 'can I > assign a specific interface/IP on a per transport basis?' > > Any suggestions or feedback would be gratefully received. > > Sam >
perhaps do it like this ( total untested ) master.cf smtpaol unix - - n - - smtp .... -o smtp_bind_address=1.2.3.1 smtpgmail unix - - n - - smtp ..... -o smtp_bind_address=1.2.3.2 main.cf smtpaol_destination_concurrency_limit = 2 smtpaol_destination_recipient_limit = 5 smtpaol_destination_rate_delay = 1s smtpaol_destination_concurrency_failed_cohort_limit = 100 smtpgmail_destination_concurrency_limit = 2 smtpgmail_destination_recipient_limit = 5 smtpgmail_destination_rate_delay = 1s smtpgmail_destination_concurrency_failed_cohort_limit = 100 transport googlemail.com smtpgmail:googlemail.com aol.com smtpaol:aol.com Best Regards MfG Robert Schetterer -- [*] sys4 AG http://sys4.de, +49 (89) 30 90 46 64 Franziskanerstraße 15, 81669 München Sitz der Gesellschaft: München, Amtsgericht München: HRB 199263 Vorstand: Patrick Ben Koetter, Axel von der Ohe, Marc Schiffbauer Aufsichtsratsvorsitzender: Joerg Heidrich