local delivery performance weakness?

2009-03-18 Thread devel anaconda
Hello everybody! I have a little problem with local delivery performance. Due to specific mail routes (it's complicated), on a couples of my SMTP gateways, I have to deliver all local mail to another smtp:host:25. I do the following: myhostname = external.mydomain.com mydomain = mydomain.com ma

Re: local delivery performance weakness?

2009-03-18 Thread devel anaconda
18.03.09, 18:27, "Wietse Venema" : > devel anaconda: > > Hello everybody! > > > > I have a little problem with local delivery performance. Due to > > specific mail routes (it's complicated), on a couples of my SMTP > > gateways, I have to deliv

How to defermessages, that fails to deliver to local script?

2009-10-21 Thread devel anaconda
Hi everybody! I have installed postfix-2.5.6 system on my server and I have a question. There is one alias, that delivers messages to local bash script via pipe: user: |/my/script.sh And I want to have behaviour, when script fails (for some reasons) and such messages should be deferred, not b

Re: How to defermessages, that fails to deliver to local script?

2009-10-21 Thread devel anaconda
21.10.09, 19:30, "Wietse Venema" : > devel anaconda: > > Hi everybody! > > > > I have installed postfix-2.5.6 system on my server and I have a question. > > There is one alias, that delivers messages to local bash script via pipe: > > > >

how to increase throughput of postfix to local user?

2009-11-05 Thread devel anaconda
Hello everybody! I have a high-performance server (dual quad-core Xeon 2.8Ghz + 16GB RAM + 2SCSI disks 140Gb), RedHat Enterprise Linux 5.4, software RAID1 + Postfix 2.5.9. This server serves only smtp traffic. The only thing postfix should do - receive mails for one user and send it to local scr

Re: how to increase throughput of postfix to local user?

2009-11-05 Thread devel anaconda
05.11.09, 17:58, "Kenneth Marshall" : > On Fri, Nov 06, 2009 at 02:19:34AM +0300, devel anaconda wrote: > > Hello everybody! > > > > I have a high-performance server (dual quad-core Xeon 2.8Ghz + 16GB RAM + > > 2SCSI disks 140Gb), RedHat Enterprise Linux 5.4

Re: how to increase throughput of postfix to local user?

2009-11-05 Thread devel anaconda
06.11.09, 00:02, "Stan Hoeppner" : > devel anaconda put forth on 11/5/2009 5:19 PM: > > Hello everybody! > > > > I have a high-performance server (dual quad-core Xeon 2.8Ghz + 16GB RAM + > > 2SCSI disks 140Gb), RedHat Enterprise Linux 5.4, software RAID1

Re: how to increase throughput of postfix to local user?

2009-11-05 Thread devel anaconda
06.11.09, 01:58, "Victor Duchovni" : > On Fri, Nov 06, 2009 at 12:02:45AM -0600, Stan Hoeppner wrote: > > If it's a 1U server, I can tell you already that you are screwed, and > > that you need a bigger chassis with more SCSI/SAS disk bays, at least 8 > > disks given your load of 250-300 msgs/sec.

Re: how to increase throughput of postfix to local user?

2009-11-08 Thread devel anaconda
07.11.09, 13:41, "Stan Hoeppner" : > > Have you tried a filesystem other than ext3 like Reiser or XFS? The > > performance of ext3 really, really sucks if you have a lot of files in > > one directory as a mail spool is bound to have. > I'd stay away from Reiser, for multiple reasons, but XFS woul

Re: how to increase throughput of postfix to local user?

2009-11-08 Thread devel anaconda
06.11.09, 02:32, "Victor Duchovni" : > > That's why I use postfix and that's why I can't use pre-queued > > filter. I thought about different scheme, but postfix is the "easy way", > > so I'm trying speedup things a bit :) > You are not going to succeed without more spindles and likely more CPUs.

Re: how to increase throughput of postfix to local user?

2009-11-08 Thread devel anaconda
08.11.09, 12:28, "James MacLachlan" : > Is your queue disk mounted aysnc? If so you are in ram for the most > part anyway, Well, actually - not. Yes, it's mounted with async. I straced the cleanup daemon. Two things slows down HDD's: write() and fsync() on each message. So, I disabled fsync(