Michael Monnerie wrote:
> On Donnerstag 28 Mai 2009 Michael Monnerie wrote:
>> http://zmi.at/x/ripdefang-dbmail
>>
>> I just released this very first version of a "un-defang" tool. It's
>> for everybody who has defanged spams and wants to get the original
>> spam back into the mail system again.
> 
> Question to Paul: I run above script with
> formail </tmp/spambox.mbox -s /usr/bin/ripdefang-dbmail
> 
> and in the dbmail logs I see:
> May 28 08:19:45 mailsrv1.zmi.at dbmail/lmtpd[17408]: Error:[serverchild] 
> serverchild.c,PerformChildTask(+385): maximum number of connections 
> reached, stopping now

One things has nothing to do with the other. Here, a lmtpd child is
simply exiting because MAXCONNECTS was reached. A new lmtpd child will
be spawned immediately. But your script doesn't use lmtp at all as far
as I can tell.

> 
> And I have in dbmail.conf:
> [LMTP]
> PORT     = 24
> NCHILDREN         = 1
> MINSPARECHILDREN  = 1
> MAXSPARECHILDREN  = 2
> MAXCHILDREN = 5

That is a *very* narrow pipe for lmtp. You better make damn sure your
mta doesn't try to establish more than 1 lmtp connection.


> 
> How can I have the limit reached? 5 messages received by normal e-mail 
> traffic and in the same time dbmail-smtp called? Or is dbmail-smtp 
> running asynchronously?

The error is not an error, but normal behaviour within the context of a
preforking server.


> 
> I'll rerun now on a 2nd mailserver, which has no mailtraffic. Still, I'd 
> like to understand what causes the problem.
> 
> Also, I'm feeding 7000 messages to that script, but only 3300 arrived 
> the first time, and yesterday I reran that script and got 3900 messages. 
> Still a lot missing, but why was there a difference at all? Can dbmail-
> smtp loose messages?

Only if the disks are full. Remember, dbmail-smtp (pipe) doesn't have a
mechanism for telling the MTA what errors might have occurred during
delivery.


> 
> mfg zmi
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> DBmail mailing list
> [email protected]
> http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail


-- 
  ________________________________________________________________
  Paul Stevens                                      paul at nfg.nl
  NET FACILITIES GROUP                     GPG/PGP: 1024D/11F8CD31
  The Netherlands________________________________http://www.nfg.nl
_______________________________________________
DBmail mailing list
[email protected]
http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail

Reply via email to