public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Postfix is very slow
@ 2004-12-06  8:16 Patrick Marquetecken
  2004-12-06  8:41 ` Huib van Wees
  2004-12-06  9:08 ` Kevin Philp
  0 siblings, 2 replies; 10+ messages in thread
From: Patrick Marquetecken @ 2004-12-06  8:16 UTC (permalink / raw
  To: gentoo-user

Hi,

I have installed postfix for sending out mass e-mails. Batches less then 10 emails are deliverd in seconds, batches of 100 emails takes sometimes 5 min before they leave.
If we do the same on our "old" exchange 5 it takes seconds for 100 emails.
I must send about 10.000 emails in one night.
The machine is a pentium3 like the exchange and has 128mb ram (uses 57mb, no swap)
Kernel: 2.4.25
Postfix: 2.1.15-r1

any advice to get it faster would be fine.
Patrick



--
gentoo-user@gentoo.org mailing list


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [gentoo-user] Postfix is very slow
  2004-12-06  8:16 [gentoo-user] Postfix is very slow Patrick Marquetecken
@ 2004-12-06  8:41 ` Huib van Wees
  2004-12-06  8:48   ` Patrick Marquetecken
  2004-12-06  9:08 ` Kevin Philp
  1 sibling, 1 reply; 10+ messages in thread
From: Huib van Wees @ 2004-12-06  8:41 UTC (permalink / raw
  To: gentoo-user

On Mon, 6 Dec 2004 09:16:22 +0100, Patrick Marquetecken
<patrick.marquetecken@pandora.be> wrote:
> Hi,
> 
> I have installed postfix for sending out mass e-mails. Batches less then 10 emails are deliverd in seconds, batches of 100 emails takes sometimes 5 min before they leave.
> If we do the same on our "old" exchange 5 it takes seconds for 100 emails.
> I must send about 10.000 emails in one night.
> The machine is a pentium3 like the exchange and has 128mb ram (uses 57mb, no swap)
> Kernel: 2.4.25
> Postfix: 2.1.15-r1
> 
> any advice to get it faster would be fine.
> Patrick
> 
> --
> gentoo-user@gentoo.org mailing list
> 
> 

Do you have any e-mail content scanner as in anti virus scanner or
something like this.
It look like your postfix chokes in the the amount of mail.


-- 
Met vriendelijke groet / With kind regards,

H. van Wees
---
The official Gentoo motto is, "If it moves, compile it."

--
gentoo-user@gentoo.org mailing list


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [gentoo-user] Postfix is very slow
  2004-12-06  8:41 ` Huib van Wees
@ 2004-12-06  8:48   ` Patrick Marquetecken
  2004-12-06 13:47     ` Patrick Marquetecken
  0 siblings, 1 reply; 10+ messages in thread
From: Patrick Marquetecken @ 2004-12-06  8:48 UTC (permalink / raw
  To: gentoo-user

On Mon, 6 Dec 2004 09:41:31 +0100
Huib van Wees <hvwees@gmail.com> wrote:

> On Mon, 6 Dec 2004 09:16:22 +0100, Patrick Marquetecken
> <patrick.marquetecken@pandora.be> wrote:
> > Hi,
> > 
> > I have installed postfix for sending out mass e-mails. Batches less then 10 emails are deliverd in seconds, batches of 100 emails takes sometimes 5 min before they leave.
> > If we do the same on our "old" exchange 5 it takes seconds for 100 emails.
> > I must send about 10.000 emails in one night.
> > The machine is a pentium3 like the exchange and has 128mb ram (uses 57mb, no swap)
> > Kernel: 2.4.25
> > Postfix: 2.1.15-r1
> > 
> > any advice to get it faster would be fine.
> > Patrick
> > 
> > --
> > gentoo-user@gentoo.org mailing list
> > 
> > 
> 
> Do you have any e-mail content scanner as in anti virus scanner or
> something like this.
> It look like your postfix chokes in the the amount of mail.
> 
> 
There is only postfix on the machine ...
i'm going to change the amount of postfix processes it can run, according to the postfix faq
and see what happens.

> -- 
> Met vriendelijke groet / With kind regards,
> 
> H. van Wees
> ---
> The official Gentoo motto is, "If it moves, compile it."
> 
> --
> gentoo-user@gentoo.org mailing list
> 
> 
> 


--
gentoo-user@gentoo.org mailing list


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [gentoo-user] Postfix is very slow
  2004-12-06  8:16 [gentoo-user] Postfix is very slow Patrick Marquetecken
  2004-12-06  8:41 ` Huib van Wees
@ 2004-12-06  9:08 ` Kevin Philp
  2004-12-06  9:20   ` Jason Stubbs
  1 sibling, 1 reply; 10+ messages in thread
From: Kevin Philp @ 2004-12-06  9:08 UTC (permalink / raw
  To: gentoo-user

I think before answering the question your note begs the question....what are 
you doing? Are you a professional spammer??

Kevin

On Monday 6 December 2004 08:16, Patrick Marquetecken wrote:
>Hi,
>
>I have installed postfix for sending out mass e-mails. Batches less then 10
> emails are deliverd in seconds, batches of 100 emails takes sometimes 5 min
> before they leave. If we do the same on our "old" exchange 5 it takes
> seconds for 100 emails. I must send about 10.000 emails in one night.
>The machine is a pentium3 like the exchange and has 128mb ram (uses 57mb, no
> swap) Kernel: 2.4.25
>Postfix: 2.1.15-r1
>
>any advice to get it faster would be fine.
>Patrick
>
>
>
>--
>gentoo-user@gentoo.org mailing list


--
gentoo-user@gentoo.org mailing list


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [gentoo-user] Postfix is very slow
  2004-12-06  9:08 ` Kevin Philp
@ 2004-12-06  9:20   ` Jason Stubbs
  2004-12-06 13:43     ` Patrick Marquetecken
  0 siblings, 1 reply; 10+ messages in thread
From: Jason Stubbs @ 2004-12-06  9:20 UTC (permalink / raw
  To: gentoo-user

On Monday 06 December 2004 18:08, Kevin Philp wrote:
> I think before answering the question your note begs the question....what
> are you doing? Are you a professional spammer??

Ermm.. There are many reasons for needing to send bulk email.

Regards,
Jason Stubbs

--
gentoo-user@gentoo.org mailing list


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [gentoo-user] Postfix is very slow
  2004-12-06  9:20   ` Jason Stubbs
@ 2004-12-06 13:43     ` Patrick Marquetecken
  0 siblings, 0 replies; 10+ messages in thread
From: Patrick Marquetecken @ 2004-12-06 13:43 UTC (permalink / raw
  To: gentoo-user

On Mon, 6 Dec 2004 18:20:43 +0900
Jason Stubbs <jstubbs@gentoo.org> wrote:

> On Monday 06 December 2004 18:08, Kevin Philp wrote:
> > I think before answering the question your note begs the question....what
> > are you doing? Are you a professional spammer??
> 
> Ermm.. There are many reasons for needing to send bulk email.

Indeed i work for a company that works together with the Belgium goverment, we need to send a confermation to our customers, and that are a lot of people.

> 
> Regards,
> Jason Stubbs
> 
> --
> gentoo-user@gentoo.org mailing list
> 
> 
> 


--
gentoo-user@gentoo.org mailing list


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [gentoo-user] Postfix is very slow
  2004-12-06  8:48   ` Patrick Marquetecken
@ 2004-12-06 13:47     ` Patrick Marquetecken
  2004-12-06 16:43       ` Kashani
  0 siblings, 1 reply; 10+ messages in thread
From: Patrick Marquetecken @ 2004-12-06 13:47 UTC (permalink / raw
  To: gentoo-user

On Mon, 6 Dec 2004 09:48:44 +0100
Patrick Marquetecken <patrick.marquetecken@pandora.be> wrote:

> On Mon, 6 Dec 2004 09:41:31 +0100
> Huib van Wees <hvwees@gmail.com> wrote:
> 
> > On Mon, 6 Dec 2004 09:16:22 +0100, Patrick Marquetecken
> > <patrick.marquetecken@pandora.be> wrote:
> > > Hi,
> > > 
> > > I have installed postfix for sending out mass e-mails. Batches less then 10 emails are deliverd in seconds, batches of 100 emails takes sometimes 5 min before they leave.
> > > If we do the same on our "old" exchange 5 it takes seconds for 100 emails.
> > > I must send about 10.000 emails in one night.
> > > The machine is a pentium3 like the exchange and has 128mb ram (uses 57mb, no swap)
> > > Kernel: 2.4.25
> > > Postfix: 2.1.15-r1
> > > 
> > > any advice to get it faster would be fine.
> > > Patrick
> > > 
> > > --
> > > gentoo-user@gentoo.org mailing list
> > > 
> > > 
> > 
> > Do you have any e-mail content scanner as in anti virus scanner or
> > something like this.
> > It look like your postfix chokes in the the amount of mail.
> > 
> > 
> There is only postfix on the machine ...
> i'm going to change the amount of postfix processes it can run, according to the postfix faq
> and see what happens.

After changing the hdparm parameters and in main.cf default_destination_concurrency_limit to 20 the speed whent up and i send now 100 email in seconds.

Patrick


--
gentoo-user@gentoo.org mailing list


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [gentoo-user] Postfix is very slow
  2004-12-06 13:47     ` Patrick Marquetecken
@ 2004-12-06 16:43       ` Kashani
  2004-12-06 20:48         ` Uwe Thiem
  2004-12-07  8:11         ` Patrick Marquetecken
  0 siblings, 2 replies; 10+ messages in thread
From: Kashani @ 2004-12-06 16:43 UTC (permalink / raw
  To: gentoo-user

Patrick Marquetecken wrote:
> After changing the hdparm parameters and in main.cf
> default_destination_concurrency_limit to 20 the speed whent up and i
> send now 100 email in seconds.
> 

	I'd bump the limit up to 100 or so if the box can handle it. If it 
can't I'd suggest increasing the RAM. As you've likely noticed disk I/O 
is going to be your main bottle neck. You can do interesting things like 
adding a second drive and running another instance of Postfix on it. You 
can also turn off all logging, but for 10k you shouldn't need to do 
anything creative.

	If you've never sent an email to your customers you're going to have a 
lot of bounces. It's just one of those things. From past experiences I'd 
consider myself lucky to get 80% working email addresses. This brings me 
to my main point, bounce handling. Bounce handling is going to be 
expensive in system resources initially, but your return is pretty quick.

	Proper bounce handling should update you db with a marking of not 
active, etc for addresses that bounce. Also if it bounces, it's dead. 
I've seen some people wait for 5 bounces before marking an address dead. 
That's just dumb. I'd go maybe as high as 2 bounces, this ain't 1996 and 
mail pretty much just works now. All bounce handling should be done 
before the next mailing, so you can run with a cleaner lists. You should 
also run a few reports on you logs to see if anyone is marking you as 
spam. Again it's one of those things. Some idiot somewhere will complain 
and you'll either be blocked locally or end up on a list no matter how 
in the right you are. Best you're prepared to deal with it.

kashani


--
gentoo-user@gentoo.org mailing list


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [gentoo-user] Postfix is very slow
  2004-12-06 16:43       ` Kashani
@ 2004-12-06 20:48         ` Uwe Thiem
  2004-12-07  8:11         ` Patrick Marquetecken
  1 sibling, 0 replies; 10+ messages in thread
From: Uwe Thiem @ 2004-12-06 20:48 UTC (permalink / raw
  To: gentoo-user

On Monday 06 December 2004 18:43, Kashani wrote:

> 	If you've never sent an email to your customers you're going to have a
> lot of bounces. It's just one of those things. From past experiences I'd
> consider myself lucky to get 80% working email addresses. This brings me
> to my main point, bounce handling. Bounce handling is going to be
> expensive in system resources initially, but your return is pretty quick.
>
> 	Proper bounce handling should update you db with a marking of not
> active, etc for addresses that bounce. Also if it bounces, it's dead.
> I've seen some people wait for 5 bounces before marking an address dead.
> That's just dumb. I'd go maybe as high as 2 bounces, this ain't 1996 and
> mail pretty much just works now. 

If they are real bounces, yes. And in that case you should react on the first 
bounce rather than on the second. There are other cases. Think of a messed-up 
DNS server so the target mail server's name can't be resolved for a couple of 
hours. Think of the case that *you* have ended up in a spam database for 
whatever reason. Lots of other circumstances that can cause "bounces" that 
actually are temporary errors.

Uwe

-- 
Alternative phrasing of the First Law of Thermodynamics:
If you eat it, and you don't burn it off, you'll sit on it.

http://www.uwix.iway.na (last updated: 20.06.2004)

--
gentoo-user@gentoo.org mailing list


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [gentoo-user] Postfix is very slow
  2004-12-06 16:43       ` Kashani
  2004-12-06 20:48         ` Uwe Thiem
@ 2004-12-07  8:11         ` Patrick Marquetecken
  1 sibling, 0 replies; 10+ messages in thread
From: Patrick Marquetecken @ 2004-12-07  8:11 UTC (permalink / raw
  To: gentoo-user

On Mon, 06 Dec 2004 10:43:06 -0600
Kashani <kashani-list@badapple.net> wrote:

> Patrick Marquetecken wrote:
> > After changing the hdparm parameters and in main.cf
> > default_destination_concurrency_limit to 20 the speed whent up and i
> > send now 100 email in seconds.
> > 
> 
> 	I'd bump the limit up to 100 or so if the box can handle it. If it 
> can't I'd suggest increasing the RAM. As you've likely noticed disk I/O 
> is going to be your main bottle neck. You can do interesting things like 
> adding a second drive and running another instance of Postfix on it. You 
> can also turn off all logging, but for 10k you shouldn't need to do 
> anything creative.
> 
> 	If you've never sent an email to your customers you're going to have a 
> lot of bounces. It's just one of those things. From past experiences I'd 
We have send emails to our clients, but from a Exchange server. We are switching from Exchange 5.5 to 2000. The reason for choosing postfix is that we have a corporate disclamer, but it may not appear on the batch mailing. With exchange 5.5 you could choose how to enable this but with version 2000 its not possible anymore.
If all goes well (i'm know it will) next year we are going to use postfix as mail relay for the incomming mails and also for spam.


> consider myself lucky to get 80% working email addresses. This brings me 
> to my main point, bounce handling. Bounce handling is going to be 
> expensive in system resources initially, but your return is pretty quick.
> 
> 	Proper bounce handling should update you db with a marking of not 
> active, etc for addresses that bounce. Also if it bounces, it's dead. 
> I've seen some people wait for 5 bounces before marking an address dead. 
> That's just dumb. I'd go maybe as high as 2 bounces, this ain't 1996 and 
> mail pretty much just works now. All bounce handling should be done 
> before the next mailing, so you can run with a cleaner lists. You should 
> also run a few reports on you logs to see if anyone is marking you as 
> spam. Again it's one of those things. Some idiot somewhere will complain 
> and you'll either be blocked locally or end up on a list no matter how 
> in the right you are. Best you're prepared to deal with it.
> 
> kashani
> 
> 
> --
> gentoo-user@gentoo.org mailing list
> 
> 
Patrick


--
gentoo-user@gentoo.org mailing list


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2004-12-07 11:42 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-12-06  8:16 [gentoo-user] Postfix is very slow Patrick Marquetecken
2004-12-06  8:41 ` Huib van Wees
2004-12-06  8:48   ` Patrick Marquetecken
2004-12-06 13:47     ` Patrick Marquetecken
2004-12-06 16:43       ` Kashani
2004-12-06 20:48         ` Uwe Thiem
2004-12-07  8:11         ` Patrick Marquetecken
2004-12-06  9:08 ` Kevin Philp
2004-12-06  9:20   ` Jason Stubbs
2004-12-06 13:43     ` Patrick Marquetecken

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox