On Nov 23, 2007, at 8:13 PM, Xavier Destombes wrote:
Hi,
Even if I found a message stated it's not a good idea to send a
mail to many (1000+) recipients resulting in really poor
performance (and I agree because I already experienced such
performance issue), is there a way to tune Postfix to allow my
client to do a mass-mailing with about 2000 recipients?
Actually if my client does that, it gets more than 24hours to empty
the mail queue and many other server services get slow or even
unresponsive...
I'm trying to understand where are the main pitfalls. It seems spam/
virus scanning is the most consuming part.
I know I shouldn't white-list my client domain as it could easily
be used from "fake" emails, and if I remember correctly it's even
not really sure amavisd/spamassassin will respect that and won't
scan the messages.
Could someone with a heavy Postfix usage could tell me what he has
done to tune the mail server?
Rather than send email out to 1000+ discrete addresses it would be
much better to use a list for this. (Even if the list of recipients
changes with each mailing.)
One method is to use a mail aliases, defining some local email
address as a list stored in a text file. That text file could be
located in the users $HOME directory and they could change the
contents as necessary. This way postfix will behave more smartly and
it will eliminate the issues that occur when mail messages are sent
(and treating on receipt where tehy are delivered.)
The better method is to set up the list using mailman. It will also
manage bounces much better as well and it already understands how to
send out messages to large numbers of users more efficiently and also
through postfix.
Lastly you should disable the AV scanning on these messages.
Using he above most messages should get out within a couple minutes.
-dhan
------------------------------------------------------------------------
Dan Shoop
Computer Scientist
iWiring / U.S. Technical Services