RE: QMail Performance Question Miscellaneous Issues
I have a question about qmail regarding its mail handling capacity. How many remote emails can qmail send simulataneously, assuming it is run on a Dual-CPU PIII 500Mhz with 512Mb RAM and a SCSI hard disk? The internet bandwidth is 10 Mbps. On a dual celeron 466 with 512Mb ram. and 3 10k scsi drives (one for /var/qmail/queue, one for /var/log, one for /usr/home) concurrency remote at 500 concurrency local at 50 FreeBSD 3.4-S localhost dnscache It will push 12 Million on a good day. (4% local delivery). This is qmail 1.03 + big-todo + big-concurrency + qmailqueue What is the general number of emails that a machine with the above specifications can send per second/hour/day? How do I fine-tune it to send off millions? I only know of changing the "concurrencyremote" figure in /var/qmail/control/concurrencyremote. I set it to 100 for testing. What should be a good figure assuming that I will do free email hosting on the server for hundreds of thousands of users? whoa there...hundreds of thousands of users? You are going to need much better disk performance than one scsi disk will give you. More info below I have also noticed that some free email services like Yahoo also uses QMail (if I'm not mistaken). They have millions of users, so I assume they host the email service on multiple machines. I think that's a safe bet. How is it possible to do load-balancing for emails on multiple machines? 'cause everyone will have an email address like [EMAIL PROTECTED], but how does Yahoo redirect portions of users to different machines for mail receival/sending? Well, I don't work at yahoo, but off the top of my head something like this comes to mind: nfs1.dom.com has a large, fast raid array attached to it. smtp1.dom.com smtp2.dom.com smtp3.dom.com ... smtpn.dom.com are all servers running qmail/qmail-smtpd. There are set up to do local delivery to maildirs in /usr/home/popuser (For more information on running multiple pop boxes under one UID, follow some links on the qmail home page (like vpopmail and pop toaster). /usr/home/popuser is mounted via nfs from the machine nfs1.dom.com via a separate 100mbit ethernet segment. pop1.dom.com pop2.dom.com pop3.dom.com ... popn.dom.com are all servers running qmail-pop3d and friends... There serve the pop boxes from /usr/home/popuser, which they mount from nfs1.dom.com smtp.dom.com points to smtp1, smtp2, smtp3 ... pop.dom.com points to pop1, pop2, pop3 ... That setup should be able to scale pretty well, as long as the NFS box is up to the challenge... (quad zeon connected to 3 firewire raid 5 arrays and running software raid 0 over them? :D) This sound reasonably to the rest of you? Matthew B. Henniges CoPresident Axl.net Communications http://www.axl.net (203) 552-1714
Stumped on mail loops
invoked from network); 20 Mar 2000 14:07:55 - Received: from unknown (HELO outlier.axl.net) (unknown) by unknown with SMTP; 20 Mar 2000 14:07:55 - Received: (qmail 26137 invoked from network); 20 Mar 2000 14:07:52 - Received: from solstice.axl.net (216.66.11.17) by outlier.axl.net with SMTP; 20 Mar 2000 14:07:52 - Received: (qmail 26479 invoked by uid 65534); 20 Mar 2000 14:07:51 - Date: 20 Mar 2000 14:07:51 - Message-ID: [EMAIL PROTECTED] From: [EMAIL PROTECTED] To: [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED] Subject: Poetry Signup from 6660033 Body of message here *end pasted bounce message* Background information Solstice.axl.net is the webserver that the site is on. It has default control files, except that there is no rcpthost, and qmail-smtpd is not running on it. It also has this: matt@solstice:/var/qmail/control cat smtproutes :smtp.axl.net anything mailed from solstice seems to get delivered to smtp.axl.net just fine, the log have a line like: "Mar 23 12:30:05 solstice qmail: 953832605.093367 delivery 55267: success: 216.66.11.20_accepted_message./Remote_host_said:_250_ok_953832605_qp_24843/" for every mail, and solstice's queue is always empty. Outlier.axl.net is another qmail box, and has the address 216.66.11.20. smtp.axl.net is an A record to the same address, 216.66.11.20. This box is set up so that nothing is delivered locally, It was designed to handle all remote deliveries for all of our servers. It has default config files, except for concurrencyremote, which is set to 500 (thanks suse!) and queuelifetime, set to 25. Ghost.axl.net, at 216.66.11.19 is the box that handles mail for domains that we control. It does local deliveries for about 100 domains using vpopmail. ghost has :smtp.axl.net in its smtproutes file. As far as I understood it, things should work like this. a message created on solstice, to a domain we do mail for, say [EMAIL PROTECTED] would take the following path: solstice.axl.net-smtp.axl.net(which is outlier)-ghost.axl.net and on ghost it would get delivered to the right maildir. a message created on solstice to a outside domain, like [EMAIL PROTECTED] should go like this solstice.axl.net-smtp.axl.net(which is outlier)-best mx for hotsocket.com it can reach. root@outlier:/var/qmail/control host -t mx hotsocket.com hotsocket.com mail is handled (pri=10) by smtp.hotsocket.com hotsocket.com mail is handled (pri=30) by solstice.hotsocket.com root@outlier:/var/qmail/control nslookup smtp.hotsocket.com Server: localhost Address: 127.0.0.1 Non-authoritative answer: Name:smtp.hotsocket.com Address: 209.191.142.7 root@outlier:/var/qmail/control telnet 209.191.142.7 25 Trying 209.191.142.7... Connected to smtp.hotsocket.org. Escape character is '^]'. 220 Unknown ESMTP help 214-This is Sendmail version 2.0 Build 2119 (Berkeley 8.8.4) 214-Topics: 214-HELOEHLOMAILRCPTDATA 214-RSETNOOPQUITHELPVRFY 214-EXPNVERBETRNDSN 214-For more info use "HELP topic". 214-To report bugs in the implementation send email to 214-[EMAIL PROTECTED] 214-For local information send email to Postmaster at your site. 214 End of HELP info QUIT 221 hsi-mail closing connection Connection closed by foreign host. I also see a lot of lines like this in outlier's logs @400038da5a2a19360c54.s:@400038da5a210c9f9334 starting delivery 182355: msg 436876 to remote [EMAIL PROTECTED] @400038da5a2a19360c54.s:@400038da5a2115aabecc delivery 182355: deferral: Sorry,_I_wasn't_able_to_establish_an_SMTP_connection._(#4.4.1)/ Does anybody have any idea whats goin on? Everything seems right to me... Thanks in advance Matthew B. Henniges CoPresident Axl.net Communications http://www.axl.net (203) 552-1714
RE: qmail and spammers
I use the tar pitting patch.. There are 2 things you can control. 1. Threshold. 2. Delay. it changes qmail-smtpd so that after each recipient listed on a message it may insert a delay. the delay is as long as you tell it in seconds, and it only happens after Threshold number of recipients have been listed. There is very rarely legitimate email with more than 15-20 recipients, So this works great. Matthew B. Henniges Axl.net Communications http://www.axl.net (203) 552-1714 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Erich Zigler Sent: Wednesday, February 16, 2000 6:45 PM To: [EMAIL PROTECTED] Subject: qmail and spammers I was wondering if anyone knows any little tricks to defer spammers. I know of only allowing relaying for certain IPs. But what else is there? Is there an configuration that will limit the ammount of mail sent by a certain host during a space of time? -- Erich Zigler System Administrator The purpose of woriting is to inflate weak ideas, obscure pure reasoning, and inhibit clarity. With a little practice, writing can be an intimidating and impenetrable fog! -- Calvin
RE: anonymous mailing lists
echo "from" DIR/headerremove echo "From: Listname" DIR/headeradd ought to do it under ezmlm idx Matthew B. Henniges Axl.net Communications http://www.axl.net (203) 552-1714 -Original Message- From: Albert Hopkins [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 20, 2000 2:41 PM To: Qmail Mailing List Subject: anonymous mailing lists What's the easiest way to set up an "anonymous" mailing list? What I mean is that the recipients do not know who the sender is. I want the "From:" header to be the name of the list, etc. -- Albert Hopkins Sr. Systems Specialist Dynacare, Inc [EMAIL PROTECTED]
RE: Adding Reply-To: to headers
If you are using ezmlm, echo "reply-to" DIR/headerremove; echo "Reply-To: listname@listaddress" DIR/headeradd For another tool (like a patched majordomo) I don't know how. If you are not using a mailing list manager, just .qmail files, I suggest you start. Matthew B. Henniges Axl.net Communications http://www.axl.net (203) 552-1714 -Original Message- From: Glenn Crownover [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 13, 2000 8:00 PM To: qmail list Subject: Adding Reply-To: to headers I've set up a simple mail list which works fine. But I'd like recipients to be able to simply hit REPLY and have the message go to the list as opposed to the original sender. I think the answer is to add a REPLY-TO: header field, but I've had no luck getting qmail-inject to ADD a header line. Any advice? TIA! -- ·.¸¸.·´¯`·. Glenn R. Crownover ·.¸¸.·´¯`·. Owner/CEO - Investor's Network Cafe ·.¸¸.·´¯`·. http://www.bluejava.com/inc/ ·.¸¸.·´¯`·. reply to: [EMAIL PROTECTED]
RE: reformatting the From field in ezmlm ?
echo "reply-to" DIR/headerremove echo "Reply-To: [EMAIL PROTECTED]" DIR/headeradd Matthew B. Henniges Axl.net Communications http://www.axl.net (203) 552-1714 -Original Message- From: Denis Voitenko [mailto:[EMAIL PROTECTED]] Sent: Saturday, December 18, 1999 5:35 PM To: [EMAIL PROTECTED] Subject: reformatting the From field in ezmlm ? How would I make ezmlm write a header so that the From line contains the list address, not the sender's? My subscribers want to reply to the list by hitting the Reply button, not Reply to All. BTW, [EMAIL PROTECTED] is down as well as the archive :-(
RE: make errors
I thought rpm's were supposed to know there own dependencies...is it incorrectly specified? Matthew B. Henniges Axl.net Communications http://www.axl.net (203) 552-1714 -Original Message- From: Adam D . McKenna [mailto:[EMAIL PROTECTED]] Sent: Saturday, December 11, 1999 7:17 PM To: Sam Cc: [EMAIL PROTECTED] Subject: Re: make errors Actually, he is probably just missing some -dev packages. I don't know Redhat very well, but I'm sure there is someone here who can tell him which RPM's he needs to install. --Adam On Sun, Dec 12, 1999 at 12:12:29AM +, Sam wrote: Brock M. Eastman writes: qmail-local.c:1: sys/types.h: No such file or directory qmail-local.c:2: sys/stat.h: No such file or directory make: *** [qmail-local.o] Error 1 You have a corrupted installation. Some your key files are missing. Reformat and reinstall the entire O/S.