Re: Tool(s) for locating Postfix Bottlenecks to increase performance?

2011-07-28 Thread Ralf Hildebrandt
> > default_process_limit is set to what?
> 
> We haven't set it, so I presume that means it's using the default of
> 100. I just checked, and we're using 44 of them.

For what? smtp? smtpd? pstree output can help - it shows lines like:

 ||-8*[smtp]
 ||-32*[smtpd]


> I'm gonna take a hard look at the PHP script running the mailer
> through SwiftMailer today. At first I was thinking disk IO, but CPU is
> seeming to be a strong culprit.

Yeah, maybe it's too slow at generating the mails.

-- 
Ralf Hildebrandt
  Geschäftsbereich IT | Abteilung Netzwerk
  Charité - Universitätsmedizin Berlin
  Campus Benjamin Franklin
  Hindenburgdamm 30 | D-12203 Berlin
  Tel. +49 30 450 570 155 | Fax: +49 30 450 570 962
  ralf.hildebra...@charite.de | http://www.charite.de



Re: Tackling looping auto-reply / auto-forward mails

2011-07-28 Thread Ed W
On 27/07/2011 16:56, Roger Goh wrote:
> If users send mails to abc@postfix_pop3.com, I don't get
> this looping problem;  it's only when they send mails to
> abc@exchange_pop3.com.
> 
> Also, previously when POP3 was enabled on Exchange 2003
> server & "auto-forwarding" was not set up on the Exchange
> mailbox, I don't get this looping mails issue.
> 
> If it's not appropriate to mail replies/solutions to postfix group,
> appreciate if anyone can email me directly. Flooded with mails...

Intercept one of the emails which has looped several times and examine
all the received headers - this normally gives you a clue on the message
path and you can work back from there to understand the rules causing it
to loop

My best guess would be the exchange autoforwarder is doing something
unexpected

Good luck

Ed W


Delivery rate

2011-07-28 Thread Martin Bley
Hi list,

does anybody have experienced data about the delivery rate of a single
postfix smtp server in the following scenario

 - server is a Dell PowerEdge 2850 
 - 2x Intel(R) Xeon(R) CPU
 - 4 GiB memory
 - running a caching DNS resolver locally
 - 75 MiBit/s backbone to the internet

Thanks,
Martin


-- 
Martin Bley


smime.p7s
Description: S/MIME cryptographic signature


Re: possible compromised system

2011-07-28 Thread Michael Orlitzky
On 07/27/11 17:41, Reindl Harald wrote:
> 
> 
> Am 27.07.2011 23:22, schrieb Wietse Venema:
>>
>> Is this machine running a webserver? Look in the access logs
> 
> if this is the reason consider disable smtp on 127.0.0.1
> because most of dumb injected scripts are trying this instead
> the network address!
> 
> disable php's mail()-function and every function
> which can excecute shell commands is mandatory
> (shell_exec, exec, popen...)

You can't really disable mail() on a web host, but PHP recently made it
not-impossible to monitor its use:

  http://www.php.net/manual/en/mail.configuration.php#ini.mail.log


Re: possible compromised system

2011-07-28 Thread Reindl Harald


Am 28.07.2011 15:49, schrieb Michael Orlitzky:
> On 07/27/11 17:41, Reindl Harald wrote:
>>
>>
>> Am 27.07.2011 23:22, schrieb Wietse Venema:
>>>
>>> Is this machine running a webserver? Look in the access logs
>>
>> if this is the reason consider disable smtp on 127.0.0.1
>> because most of dumb injected scripts are trying this instead
>> the network address!
>>
>> disable php's mail()-function and every function
>> which can excecute shell commands is mandatory
>> (shell_exec, exec, popen...)
> 
> You can't really disable mail() on a web host, but PHP recently made it
> not-impossible to monitor its use:

i can and i do on a bundle of hosts for > 500 domains since
nearly ten years - if you can't speak not for me!



signature.asc
Description: OpenPGP digital signature


Re: Delivery rate

2011-07-28 Thread Bastian Blank
On Thu, Jul 28, 2011 at 03:42:59PM +0200, Martin Bley wrote:
> does anybody have experienced data about the delivery rate of a single
> postfix smtp server in the following scenario

Something between 2/s, if everything needs to go through a single
spamassassin process doing expensive tests, and 3000/s, if you max out
the connection with 3KiB mails.

Please provide more information what you want to do.

Bastian

-- 
The heart is not a logical organ.
-- Dr. Janet Wallace, "The Deadly Years", stardate 3479.4


Re: Delivery rate

2011-07-28 Thread lst_hoe02

Zitat von Martin Bley :


Hi list,

does anybody have experienced data about the delivery rate of a single
postfix smtp server in the following scenario

 - server is a Dell PowerEdge 2850
 - 2x Intel(R) Xeon(R) CPU
 - 4 GiB memory
 - running a caching DNS resolver locally
 - 75 MiBit/s backbone to the internet


You have omitted some relevant facts:
- The performance of the I/O system (bandwidth/latency)?
- Where do you deliver to (outgoing-only, relay, mixed)?
- If outgoing only, how do you feed in the mails to send?

Assuming you do outgoing only with a clean list and many different  
targets you should achieve something in the line of some hundred  
mails/second without problems. The game is out if your list contain a  
big share to only a small number of freemailers like yahoo,hotmail,gmx  
etc. With this you should try to get on their whitelists.


Regards

Andreas




smime.p7s
Description: S/MIME Cryptographic Signature


Re: Delivery rate

2011-07-28 Thread Martin Bley
Hi Andreas,

sorry for the personal reply, here again as a List-Reply.

* lst_ho...@kwsoft.de  am 28.07.11, 17:43:
> You have omitted some relevant facts: 
> 
> - The performance of the I/O system (bandwidth/latency)?  
> 

bandwidth is 75 MiBit/s. I don't know about latency, because access to 
the provider is not granted yet.

> - Where do you deliver to (outgoing-only, relay, mixed)?  
> 

outgoing-only

> - If outgoing only, how do you feed in the mails to send? 
> 

it's a web application using double opt-in procedure. The app will admit
via smtp. The size of one e-mail is about 10 KiB. I have absolutely no
clue, how many people will subscribe, but the web application will be 
announced via newscast, thus I just want to be prepared. 

> Assuming you do outgoing only with a clean list and many different
> 
> targets you should achieve something in the line of some hundred  
> 
> mails/second without problems. The game is out if your list contain   
> 
> a big share to only a small number of freemailers like
> 
> yahoo,hotmail,gmx etc. With this you should try to get on their   
> 
> whitelists.   
> 

Thanks,
Martin

--  

Martin Bley


smime.p7s
Description: S/MIME cryptographic signature


Re: Delivery rate

2011-07-28 Thread Martin Bley
Hi Bastian,

* Bastian Blank  am 28.07.11, 
17:13:
> Please provide more information what you want to do.

sorry, please see my reply <20110729061552.GA3407@bvl-bsn004>

Thanks, 
Martin



smime.p7s
Description: S/MIME cryptographic signature