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

2009-11-05 Thread Stan Hoeppner
devel anaconda put forth on 11/6/2009 12:18 AM: > This is an 1U PowerEdge server with 4 slots for SCSI disks Ouch, 4 disks is very limiting. Given that the spool files are temporary in nature, your best option short of purchasing a new server or an external SCSI array enclosure, is to add two mo

Re: outbound spam filtering

2009-11-05 Thread Alex
Egoitz Aurrekoetxea Aurre wrote: Hi, I think outgoing scans are a little different. You have some advantages and disadvantages respect incoming mail scanning. Advantages are that you know you're users and more or less what they do or you have it controlled with some scripts. So you can i

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

2009-11-05 Thread Victor Duchovni
On Fri, Nov 06, 2009 at 10:16:35AM +0300, devel anaconda wrote: > Actually, I didn't tell the complete story. > The point is: > > MTA (postfix) recieves the message. Then I need to put this message > to 3 scripts (I must notify three different services about incoming > mail). Now it looks like th

Re: outbound spam filtering

2009-11-05 Thread Alex
ram wrote: On Thu, 2009-11-05 at 11:47 +0200, Alex wrote: Hello This is my first post on this list. I have a atypical configuration like : - an MX server for inbound mails; this server is configured virtual domains, graylisting , antivirus and antispam for all incoming mails; it

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-05 Thread 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. Does this application really need Postfix a

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 + Postfix > > 2.5.9. > > This server ser

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, software RAID1 + Postfix > > 2.5.9.

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

2009-11-05 Thread 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 + Postfix > 2.5.9. > This server serves only smtp traffic. The only thing postfix shou

Re: How to override an MX value for a particular domain only?

2009-11-05 Thread Victor Duchovni
On Thu, Nov 05, 2009 at 11:11:30PM -0500, Eric B. wrote: > > Not necessarily. They may have already opened all the files they need and > > loaded all the libraries they need before they chroot. Postfix processes > > chroot themselves, after they initialize and just before they drop privs, > > they

Re: How to override an MX value for a particular domain only?

2009-11-05 Thread Eric B.
"Victor Duchovni" wrote in message news:20091106004615.gn27...@np305c2n2.ms.com... > On Thu, Nov 05, 2009 at 06:36:28PM -0500, Eric B. wrote: > >> smtp 7886 postfix rtd DIR 253,0 4096 >> 1762695 /var/spool/postfix > > The smtp(8) delivery agent is chrooted. > >> So

答复: Question about multiple post fix instance, thank you very ver y much

2009-11-05 Thread coofucoo zhang
Hi Mouss: Thanks for your help. I have checked my main.cf, there are some small problem in it. So postfix does support this, just I make wrong setting. Thank you! Best regrads! Coofucoo -邮件原件- 发件人: owner-postfix-us...@postfix.org [mailto:owner-postfix-us...@postfix.org] 代表 mouss 发送时间: 2

Re: How to override an MX value for a particular domain only?

2009-11-05 Thread Victor Duchovni
On Thu, Nov 05, 2009 at 06:36:28PM -0500, Eric B. wrote: > smtp 7886 postfix rtd DIR 253,0 4096 > 1762695 /var/spool/postfix The smtp(8) delivery agent is chrooted. > So if these deamons are actually running chroot, wouldn't they need the lib > dirs? Not necessa

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

2009-11-05 Thread Victor Duchovni
On Fri, Nov 06, 2009 at 02:19:34AM +0300, devel anaconda wrote: > user:|/usr/local/bin/script > > The flow is about 250-300 mails per second. Stop right there. At 200 msgs/sec, fork/exec of scripts via local(8) is never going to give you the right performance. You need (in addition to the fa

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

2009-11-05 Thread Wietse Venema
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 on

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

2009-11-05 Thread Kenneth Marshall
On Thu, Nov 05, 2009 at 04:03:13PM -0800, Corey Chandler wrote: > Kenneth Marshall wrote: >> >> Your system is not a high-performance server I/O-wise. Your two disks can >> only >> handle 200-300 fsync's to disk per second and postfix will always sync >> your >> mail to disk before passing it on

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

2009-11-05 Thread Corey Chandler
Kenneth Marshall wrote: Your system is not a high-performance server I/O-wise. Your two disks can only handle 200-300 fsync's to disk per second and postfix will always sync your mail to disk before passing it on for local processing. You will need a battery backed caching RAID controller or fas

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

2009-11-05 Thread 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, software RAID1 + Postfix > 2.5.9. > This server serves only smtp traffic. The only t

Re: How to override an MX value for a particular domain only?

2009-11-05 Thread Eric B.
"Victor Duchovni" wrote in message news:20091105225922.gi27...@np305c2n2.ms.com... > On Thu, Nov 05, 2009 at 05:34:46PM -0500, Eric B. wrote: > >> pickup5509 postfix rtd DIR 253,0 4096 >> 1762695 /var/spool/postfix >> qmgr 5510 postfix rtd DIR

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 override an MX value for a particular domain only?

2009-11-05 Thread Victor Duchovni
On Thu, Nov 05, 2009 at 05:34:46PM -0500, Eric B. wrote: > pickup5509 postfix rtd DIR 253,0 4096 > 1762695 /var/spool/postfix > qmgr 5510 postfix rtd DIR 253,0 4096 > 1762695 /var/spool/postfix > > So it seems as though Postfix is not

Re: How to override an MX value for a particular domain only?

2009-11-05 Thread Eric B.
"Wietse Venema" wrote in message news:20091105214748.ad1b71f3...@spike.porcupine.org... > Daniel L'Hommedieu: >> > I definitley have chroot set to Y in my master.cf file, and have >> > done a >> > postfix restart. I do get a warning on restart that > > Run LSOF and see what it says for the proce

Re: How to override an MX value for a particular domain only?

2009-11-05 Thread Victor Duchovni
On Thu, Nov 05, 2009 at 05:12:28PM -0500, Eric B. wrote: > > Much easier to just use a transport(5) table entry. If one is willing > > to implement static overrides (rather than redirect DNS queries to an > > alternate source), the transport(5) table is by far the simplest choice. > > I did get t

Re: How to override an MX value for a particular domain only?

2009-11-05 Thread Eric B.
"Victor Duchovni" wrote in message news:20091105214246.gd27...@np305c2n2.ms.com... > On Thu, Nov 05, 2009 at 04:27:33PM -0500, Daniel L'Hommedieu wrote: > >> Your postfix >> server will use DNS to query for the MX record for example.com, which >> will >> return mx.example.com. Ordinarily it would

Re: How to override an MX value for a particular domain only?

2009-11-05 Thread Eric B.
"Daniel L'Hommedieu" wrote in message news:9a3f9786-0cb4-41a7-8462-4c49445a4...@gmail.com... > On Nov 5, 2009, at 16:12, Eric B. wrote: >> "Daniel L'Hommedieu" wrote in message >> news:670a051c-1871-4e2e-82d8-187324ef1...@gmail.com... >>> On Nov 5, 2009, at 15:52, Eric B. wrote: "Eric B."

Re: How to override an MX value for a particular domain only?

2009-11-05 Thread Victor Duchovni
On Thu, Nov 05, 2009 at 04:40:49PM -0500, Eric B. wrote: > "Victor Duchovni" wrote in message > news:20091105212519.gz27...@np305c2n2.ms.com... > > On Thu, Nov 05, 2009 at 03:52:00PM -0500, Eric B. wrote: > > > >> I definitley have chroot set to Y in my master.cf file, and have done a > >> postf

Re: How to override an MX value for a particular domain only?

2009-11-05 Thread Wietse Venema
Daniel L'Hommedieu: > > I definitley have chroot set to Y in my master.cf file, and have > > done a > > postfix restart. I do get a warning on restart that Run LSOF and see what it says for the process root directory (indicated with the rtd field). Wietse

Re: Postfix + sasl SQL query error message (appears harmless)

2009-11-05 Thread Jerry
On Thu, 5 Nov 2009 21:32:50 +0100 Patrick Ben Koetter replied: >cmusaslsecretCRAM is a default field SASL queries for. It will be >dropped in an upcoming release of Cyrus SASL. For the moment, add the >column and ingore it or just ignore it. Just to see what would happen, I added to column. I wa

Re: How to override an MX value for a particular domain only?

2009-11-05 Thread Eric B.
"Victor Duchovni" wrote in message news:20091105212519.gz27...@np305c2n2.ms.com... > On Thu, Nov 05, 2009 at 03:52:00PM -0500, Eric B. wrote: > >> I definitley have chroot set to Y in my master.cf file, and have done a >> postfix restart. I do get a warning on restart that > > What row in the ta

Re: How to override an MX value for a particular domain only?

2009-11-05 Thread Victor Duchovni
On Thu, Nov 05, 2009 at 04:27:33PM -0500, Daniel L'Hommedieu wrote: > Your postfix > server will use DNS to query for the MX record for example.com, which will > return mx.example.com. Ordinarily it would then query DNS for the "A" > record for mx.example.com, but if you configure nsswitch.com

Re: Postfix header_checks and HOLD queue

2009-11-05 Thread Brian Evans - Postfix List
waltari2001 wrote: > Hi, > > I have a webapp that hands email messages to the local Postfix. One of the > requirement is that I need to hold all (client specific) messages for a day > before delivery. > > I created the following rule in header_checks: > > /^Subject:.*KEYWORD/ HOLD > > I have a

Re: How to override an MX value for a particular domain only?

2009-11-05 Thread Daniel L'Hommedieu
On Nov 5, 2009, at 16:12, Eric B. wrote: "Daniel L'Hommedieu" wrote in message news:670a051c-1871-4e2e-82d8-187324ef1...@gmail.com... On Nov 5, 2009, at 15:52, Eric B. wrote: "Eric B." wrote in message news:hcupsk$b8...@ger.gmane.org... "Victor Duchovni" wrote in message news:20091104232

Re: How to override an MX value for a particular domain only?

2009-11-05 Thread Victor Duchovni
On Thu, Nov 05, 2009 at 03:52:00PM -0500, Eric B. wrote: > I definitley have chroot set to Y in my master.cf file, and have done a > postfix restart. I do get a warning on restart that What row in the table has the chroot set to "y"? -- Viktor. Disclaimer: off-list followups get on-li

Postfix header_checks and HOLD queue

2009-11-05 Thread waltari2001
Hi, I have a webapp that hands email messages to the local Postfix. One of the requirement is that I need to hold all (client specific) messages for a day before delivery. I created the following rule in header_checks: /^Subject:.*KEYWORD/ HOLD I have a script that runs every 5 mins that

Re: How to override an MX value for a particular domain only?

2009-11-05 Thread Eric B.
"Daniel L'Hommedieu" wrote in message news:670a051c-1871-4e2e-82d8-187324ef1...@gmail.com... > On Nov 5, 2009, at 15:52, Eric B. wrote: >> "Eric B." wrote in message >> news:hcupsk$b8...@ger.gmane.org... >>> "Victor Duchovni" wrote in message >>> news:20091104232940.gi27...@np305c2n2.ms.com...

Re: outbound spam filtering

2009-11-05 Thread Egoitz Aurrekoetxea Aurre
Hi, I think outgoing scans are a little different. You have some advantages and disadvantages respect incoming mail scanning. Advantages are that you know you're users and more or less what they do or you have it controlled with some scripts. So you can identify easier when a user is

Re: How to override an MX value for a particular domain only?

2009-11-05 Thread Daniel L'Hommedieu
On Nov 5, 2009, at 15:52, Eric B. wrote: "Eric B." wrote in message news:hcupsk$b8...@ger.gmane.org... "Victor Duchovni" wrote in message news:20091104232940.gi27...@np305c2n2.ms.com... On Wed, Nov 04, 2009 at 06:16:56PM -0500, Eric B. wrote: Is there no way to direct Postfix to a differen

Re: How to override an MX value for a particular domain only?

2009-11-05 Thread Eric B.
"Eric B." wrote in message news:hcupsk$b8...@ger.gmane.org... > "Victor Duchovni" wrote in message > news:20091104232940.gi27...@np305c2n2.ms.com... >> On Wed, Nov 04, 2009 at 06:16:56PM -0500, Eric B. wrote: >> >>> Is there no way to direct Postfix to a different DNS server (as opposed >>> to >>

Re: Question about multiple postfix instance, thank you very very much

2009-11-05 Thread mouss
coofucoo zhang a écrit : > > > I want to set up a postfix mail server which have many IP. Each of the > > ip will work for one of my customer. So that is means my customer will > > think that he has a dedicate mail server. But in fact all the mail > > server are running on one real machine. I

Re: Return-Path, Envelope From, etc.

2009-11-05 Thread mouss
Roderick A. Anderson a écrit : > Roderick A. Anderson wrote: >> Roderick A. Anderson wrote: >>> My understanding, from following several threads here and some >>> research, is the return-path is transmitted out-of-band in the SMTP >>> MAIL request and placed in the message by the LDA. >>> >>> How w

Re: Postfix + sasl SQL query error message (appears harmless)

2009-11-05 Thread Patrick Ben Koetter
* Jerry : > I have just started using SQL with SASL2. Previously, I was using the > sasldb file. > > Although everything appears to be working correctly, I am finding this > error message in the /var/log/messages log file. > > Nov 5 14:55:01 scorpio postfix/smtpd[9719]: sql query failed: Unknown

Postfix + sasl SQL query error message (appears harmless)

2009-11-05 Thread Jerry
I have just started using SQL with SASL2. Previously, I was using the sasldb file. Although everything appears to be working correctly, I am finding this error message in the /var/log/messages log file. Nov 5 14:55:01 scorpio postfix/smtpd[9719]: sql query failed: Unknown column 'cmusaslsecretC

Re: Return-Path, Envelope From, etc.

2009-11-05 Thread Sahil Tandon
On Nov 5, 2009, at 3:02 PM, "Roderick A. Anderson" > wrote: Roderick A. Anderson wrote: Roderick A. Anderson wrote: My understanding, from following several threads here and some research, is the return-path is transmitted out-of-band in the SMTP MAIL request and placed in the message by th

Re: Return-Path, Envelope From, etc.

2009-11-05 Thread Roderick A. Anderson
Roderick A. Anderson wrote: Roderick A. Anderson wrote: My understanding, from following several threads here and some research, is the return-path is transmitted out-of-band in the SMTP MAIL request and placed in the message by the LDA. How would a proxy determine the value(s) that will be u

Re: Return-Path, Envelope From, etc.

2009-11-05 Thread Roderick A. Anderson
Roderick A. Anderson wrote: My understanding, from following several threads here and some research, is the return-path is transmitted out-of-band in the SMTP MAIL request and placed in the message by the LDA. How would a proxy determine the value(s) that will be used to create the Return-Pat