XMailforum is a readonly knowledge archive now.

Registering as a new user or answering posts is not possible anymore.

Might the force be with you, to find here what you are looking for.

2019-09-20 - hschneider, Admin

Cookie Disclaimer: This forum uses only essential, anonymous session cookies (xmailforum*), nothing to be scared of.

XMail Forum [Powered by Invision Power Board]
Printable Version of Topic
Click here to view this topic in its original format
XMail Forum > Documentation and Knowledge Base > Big Mail Network With Xmail ?


Posted by: vasya Sep 3 2007, 08:12 PM
Hello,

i want to make a big mail web, like example: mail.com , rambler.ru , mail.ru ... etc ultra popular web sites.

Can Xmail be so fast ?

- text from http://cr.yp.to/qmail.html -
For example, each message on the qmail mailing list is delivered to more than 1000 hosts around the world in just 76 seconds.-
-

can xmail do that too ?

or this XMail is only for small office network ?

Or maybe you can recommend some other mail server ? maybe postfix or ultra un-updetable qmail (last update 1998 year) ?

Posted by: hschneider Sep 4 2007, 10:22 AM
No matter what you choose, these kind of sites require strong hardware and maybe an infrastructure with multiple mail servers plus load balancing for an optimal bandwidth management.

Sending mails to a 1 K mailinglist in less than 76 seconds should be no problem if you have enough bandwidth and a fast CPU.

E.g.:
Mailing to 3 K recipients on a 512 MHz VIA EPIA Mini ITX with 512 MB RAM and 600 KBit Bandwidth on slow Win2k takes approx 6 Minutes.

Posted by: vasya Sep 4 2007, 02:14 PM
i already have XMail on other machine

Core2Quad
8 gb ram

and when i trying to send my maillist 100 000 emails to clients,

using php script.. function mail() with your sendmail binary..

after 1min php script done, but your XMail server are "DEAD"

trying to send email using The Bat! (mail client)

and the email will be delivered to friend after 2 days

does this xmail support any Multithreading ?

Posted by: hschneider Sep 4 2007, 04:42 PM
Sure - try these command line parameters:

-Mx 1024 -SX 1024 -Qn 256

If your system cannot handle this, try some lower Mx and SX values.

Posted by: vasya Sep 4 2007, 05:32 PM
Maybe you can give/recommend some more config parameters for big mail network ?

Can you please explain, why finger server is in XMail ? (only for know is user exist or no? or other reason?)

Does pop3 has anti-bruteforce protection ? if yes how it works ?

Posted by: hschneider Sep 4 2007, 07:09 PM
See http://xmailserver.org/Readme.html#command_line for further settings you can tweak.

In XMail 1.2x we have

- 16 SMAIL threads open by default,
- up to 1024 POP3 threads and
- up to 1024 SMTP threads depending on traffic.

A detailed list of standard and maximum default settings can be retrieved from MailSrv.cpp of the source tarball:

CODE

#define STD_SMAIL_THREADS           16
#define MAX_SMAIL_THREADS           256
#define STD_SMAIL_RETRY_TIMEOUT     480
#define STD_SMAIL_RETRY_INCR_RATIO  16
#define STD_SMAIL_MAX_RETRY         32
#define STD_PSYNC_INTERVAL          120
#define STD_PSYNC_NUM_THREADS       8
#define MAX_PSYNC_NUM_THREADS       32
#define STD_POP3_BADLOGIN_WAIT      5
#define MAX_POP3_THREADS            1024
#define MAX_SMTP_THREADS            1024
#define STD_SMTP_MAX_RCPTS          100
#define MAX_CTRL_THREADS            512
#define STD_LMAIL_THREADS           3
#define MAX_LMAIL_THREADS           17
#define STD_LMAILTHREAD_SLEEP_TIME  2
#define SVR_EXIT_WAIT               480
#define STD_SERVER_SESSION_TIMEOUT  90
#define MAX_CLIENTS_WAIT            300
#define CTRL_SERVER_SESSION_TIMEOUT 120
#define SERVER_SLEEP_TIMESLICE      2
#define SHUTDOWN_CHECK_TIME         2
#define STD_POP3AUTH_EXPIRE_TIME    (15 * 60)
#define FILTER_TIMEOUT              90


LMail describes the local mail delivery, while SMail is the mail which passes the SMTP sockets.

The only one who knows about why it supports Finger is Davide.
IMHO it is pretty useless in a regular environment.

About brute force protection:
QUOTE

        -Pw timeout
                Set the delay timeout in response to a bad POP3 login. Such
                time is doubled at the next bad login.

        -Ph     Hang the connection in bad login response.

Powered by Invision Power Board (http://www.invisionboard.com)
© Invision Power Services (http://www.invisionpower.com)