Re: Solaris vs. Linux vs. FreeBSD

2001-06-28 Thread Alex Povolotsky

On Thu, Jun 28, 2001 at 11:44:12AM +0200, Henning Brauer wrote:
  Actually, Linux and FreeBSD are the systems of choice in startup porn
  companies because of their low cost.  Once a company begins to move
 How much did sun pay to make you say this? Slowlaris is crap. go with bsd. 
He just can't make difference between ftp.cdrom.com and pornosite...

Alex.



Re: 10 Million Messages per day

2001-05-22 Thread Alex Povolotsky

On Tue, May 22, 2001 at 11:15:48PM +0800, Mark Lo wrote:
 If I have 10 Million messages per day.  What system requirement do I
 need for a qmail server.  Etc. Memory.. CPU.. Bandwidth...
10 000 000 of inbound, outbound or transit EMails? What is typical size? do
you need also POP3/IMAP? What is expected load on POP3/IMAP? 


Are you sure you're going to get 10 000 000, not 100 000?

Alex.



qmail and MX

2001-03-07 Thread Alex Povolotsky

Hello!

I see strange problem with qmail:

it tries to deliver mail to the first MX only. 

I've looked at FAQ, and RTFM on qmail-remote; nothing cleared.

Before I'll dig myself into sources, tell me, is it a bug or a
feature?

Alex.



Re: qmail and MX

2001-03-07 Thread Alex Povolotsky

On Wed, Mar 07, 2001 at 08:36:58AM -0800, Greg White wrote:
 It seems to me that qmail will only try the other MXs if it cannot
 _connect_ to the MX it tries -- an opened but failed connection means
 that it will continue to try the best-preference MX (similar to multiple
 DNS servers in /etc/resolv.conf). Masters of the qmail Source (tm) can
Well... I see it...

But:

nslookup mx.port.ru
Server:  localhost.2sun.ru
Address:  127.0.0.1

Non-authoritative answer:
Name:mx.port.ru
Addresses:  194.67.23.42, 194.67.23.46, 194.67.23.32, 194.67.23.33
  194.67.23.37, 194.67.23.40

and qmail ALWAYS connects to .42, didn't you mention? THIS behaviour
is definitely wrong... or am I definitely wrong? ;-)

Alex.



Problem with qmail+vpopmail and suggested fix

2001-02-12 Thread Alex Povolotsky

Hello!

Imagine the following situation: there are 2 qmail+vpopmail servers; say,
mail1 and mail2. user@mail1 have a mailbox and also copies all his mail to
user@mail2, via some forwarding script. Eventually, user@mail2 goes over
quota; the  next message forwarded from user@mail1 gets bounced. Imagine
that user@mail1 is over quota too; than, the bounce will bounce AFTER SOME
TIME, WITH BRAND NEW MESSAGE. Not recognising that bounce as a bounce, mail2
will bounce that bounce again. 

And two servers will pingpong, generating huge amount of traffic (actually,
this amount is channel-bounded).

The suggested fix is to create a new control file for qmail, badtcptto,
consisting of pairs of values:

user@mail1"User is over quota"

and so on.

So some messages will bounce early, reducing load and preventing bounce
generation.

Or there is some other solution?

Alex.
 



Re: Problem with qmail+vpopmail and suggested fix

2001-02-12 Thread Alex Povolotsky

On Mon, Feb 12, 2001 at 12:26:09PM -0500, Alex Pennace wrote:
  user@mail2, via some forwarding script. Eventually, user@mail2 goes over
  quota; the  next message forwarded from user@mail1 gets bounced. Imagine
  that user@mail1 is over quota too; than, the bounce will bounce AFTER SOME
  TIME, WITH BRAND NEW MESSAGE. Not recognising that bounce as a bounce, mail2
  will bounce that bounce again. 
  
  And two servers will pingpong, generating huge amount of traffic (actually,
  this amount is channel-bounded).
 That won't happen; user@mail1, if he forwards bounces (which he
 shouldn't) will forward the bounce to user@mail2. When that user is
 over quota, qmail generates a double bounce that goes directly to the
This DO happens. I can try to investigate; mail2 may use some different MTA
and be beyond my control; but this deadly pingpong happens for the second
time in two weeks :-(((

Alex.



Re: Qmail on FreeBSD 4.2-STABLE

2001-02-05 Thread Alex Povolotsky

On Sun, Feb 04, 2001 at 06:07:15PM -0800, Bruce Dang wrote:
 What is wrong with qmail on FreeBSD 4.2?  I installed it from the ports and it does 
not work.  When I try to run it..the qmaill/q/r/p/s users don't even run the process, 
but instead some unknown uid running the qmail-send and other processes.  Then when i 
try to connect to port 25, it says UNABLE TO READ CONTROLS #4.3.0...how do I fix this?
Quite strange thing. Last time I've installed it from ports (about a month
ago), in was clean as a baby.

Alex.



Rejecting spam

2000-10-18 Thread Alex Povolotsky

Hello!

I haven't find it in FAQ's... how do I set up tcpserver to reject SMTP connections
from non-resolving hosts?

Alex.



Qmail setup under high load: seeking advice

2000-06-20 Thread Alex Povolotsky

Hello!

I am testing qmail performance under fairly heavy load, and I see that queue
grows very fast. Increasing concurrencylocal did not help at all. 

I can post all needed setup details here or EMail to anyone who can help.

Alex.



Under heavy load?

2000-06-05 Thread Alex Povolotsky

Hello!

I'm evaluating qmail performance (qmail with vpopmail, one domain, 1
users) and I've found that under 20 clients queue grows VERY fast.

Each client retreives all mail from given account, and than send some mails
to it. In 3 minutes qmail running on fairly powerful box gives:

messages in queue: 392
messages in queue but not yet preprocessed: 282

while exim doesn't seems to have this problem.

I didn't do anything special with setup. Maybe I should reconfigure
something? 

Alex.

 PGP signature


On heavily loaded sites

2000-01-18 Thread Alex Povolotsky

Hello!

It seems that from next Monday on, I'll be in charge for administrating a
large mail and webmail system (over 30 emails per day, at least 10
active users).

I've never met such large systems yet, so I'm seeking advice. Does anyone
run mail system of such scale? Does Maildir storage work well under that
loads? What storage is used, if not? How can be solved problem of too many
user directories under same main dir? Are there any points I'd like to miss?

Alex.

 PGP signature


Re: SIOCGIFCONF (or qmail?) problem?

1999-10-21 Thread Alex Povolotsky

On Thu, Oct 21, 1999 at 09:49:13PM +0400, Alex Povolotsky wrote:
 and sets ifc.ifc_len to 1024. I am not kernel-hacker enough to understand
 what's happening in /sys/net/if.c between lines 820 and 877, and, people,

Well... I've made quick workaround for it. Patch for ipme.c applied:

57a58,62
   if (ifc.ifc_len  len) {
   /* We've got TRASHING! */
   substdio_puts("PANIC: IOCTL trashed buffers!");
   kill(getpid(), SIGABRT);;
   }

So all ipme() users will die on ioctl trashing. 

However, shouldn't ioctl honour ifc.ifc_len?

Alex.



Help: VERY strange problem

1999-10-18 Thread Alex Povolotsky

Hello!

I've set up qmail for several virtual domains, using FreeBSD 3.3-RELEASE,
and everything went just fine, until...

I've set up inbound dialup.

I've tested all day today, I have 100% correlation, if ppp0 is up and
assigned, qmail-smtp crashes with signal 11 in constmap called from
rcpthosts called from addrallowed called from smtp_rcpt.

Also, attempt to send mail to remote host fails with VERY strange error
(host structure in qmail-remote gets _OVERWRITTEN_!!! somewhere in ipme_init). 
I've tried to rebuild qmail (1.03), it doesn't help at all.

I've read all manuals and sources I was able to understand, but still
understands nothing. I need some help befor my head will be cut off...

Alex.

P.S. Any details including coredumps are available on request.

Alex.