OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
From: Len Conrad (LConrad_at_Go2France.com)
Date: Thu Feb 27 2003 - 10:08:37 CST

  • Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

    >Hi all !
    >I have the task of setting up a mailserver capabel of sending 400 000 mail
    >in a max time of 12 hours.
    >All mails have an attachment of 1 mb

    400K x 1MB = 400 GB x 4/3 for MIME encoding = 530 GB

    / 43200 secs/12hours = 12.5 MB/sec

    So you'd need an Internet connection of 25 MB/sec = 200 Mbits/sec

    but see below about sending one msg to multiple recipients in one SMTP
    session.

    >The system should be a mailer for a newsletter system. As I made quite a
    >couple of things with postfix, my concern is the amount

    your concern is well targeted :))

    Try very hard to convince the newsletter owner to send the same message
    body (body + attachment) 400K times, and not 400K customized messages one
    time. This is important for sending to postfix, chunking recipients into
    100 per SMTP session to send one DATA command and.

    And if you can send 40 usersaol.de a single 1MB msg, rather than 40 users
    x 1MB msg.

    Use a caching disk controller of 64+ MB cache. separate disks for logging
    and mailqueue.

    Use 3 or 4 machines.

    1 GB RAM

    See the postfix faq for tuning for large numbers of files.

    Put BIND 8 on each machine

    Sort the address list by recipient.domain, then group you RCTP TO/SMTP
    session by recipient.domain and send to postfix in that order.

    Len