qmail Digest 4 Jun 1999 10:00:00 -0000 Issue 661
qmail Digest 4 Jun 1999 10:00:00 - Issue 661 Topics (messages 26236 through 26281): Qmail+sendmail 26236 by: Richard Letts [EMAIL PROTECTED] Outlook Express and IMAP 26237 by: "Dave Teske" [EMAIL PROTECTED] 26238 by: "Greg Owen {gowen}" [EMAIL PROTECTED] 26239 by: Anand Buddhdev [EMAIL PROTECTED] 26247 by: "Dave Teske" [EMAIL PROTECTED] Strangeness in 95/98 machine and qmail 26240 by: Bill Parker [EMAIL PROTECTED] Why 2 tcpserver processes? 26241 by: "Ralf Guenthner" [EMAIL PROTECTED] ORBS and MAPS RBL ? 26242 by: Lars Marowsky-Bree [EMAIL PROTECTED] 26244 by: "Petr Novotny" [EMAIL PROTECTED] 26245 by: Dave Sill [EMAIL PROTECTED] 26249 by: Russell Nelson [EMAIL PROTECTED] 26250 by: Lars Marowsky-Bree [EMAIL PROTECTED] 26274 by: "Russell P. Sutherland" [EMAIL PROTECTED] 26278 by: "Peter Samuel" [EMAIL PROTECTED] 26279 by: "Peter Samuel" [EMAIL PROTECTED] Compile Qmail on upgraded Solaris 2.6 26243 by: Patrick Durusau [EMAIL PROTECTED] 26246 by: Dave Sill [EMAIL PROTECTED] 26248 by: "Jay D. Dyson" [EMAIL PROTECTED] 26275 by: Russ Allbery [EMAIL PROTECTED] Qmail latency ? 26251 by: Emmanuel Mogenet [EMAIL PROTECTED] 26252 by: John Gonzalez/netMDC admin [EMAIL PROTECTED] 26253 by: Russell Nelson [EMAIL PROTECTED] 26254 by: Dave Sill [EMAIL PROTECTED] 26255 by: Emmanuel Mogenet [EMAIL PROTECTED] 26256 by: Emmanuel Mogenet [EMAIL PROTECTED] 26257 by: Lars Balker Rasmussen [EMAIL PROTECTED] 26258 by: Scott Schwartz [EMAIL PROTECTED] 26271 by: Wilson Fletcher [EMAIL PROTECTED] funky qmail testing 26259 by: "Jon Passki" [EMAIL PROTECTED] logging pop connects 26260 by: "" [EMAIL PROTECTED] Problem with virtual domains and mx-records 26261 by: Michael Legart [EMAIL PROTECTED] 26263 by: [EMAIL PROTECTED] 26264 by: Michael Legart [EMAIL PROTECTED] 26265 by: [EMAIL PROTECTED] 26266 by: Michael Legart [EMAIL PROTECTED] 26267 by: Thorkild Stray [EMAIL PROTECTED] 26268 by: Chris Johnson [EMAIL PROTECTED] Null recipient question 26262 by: Bruno Wolff III [EMAIL PROTECTED] Concept: 'infinate' POP3 accounts per pop3 user. 26269 by: Paul Gregg [EMAIL PROTECTED] 26270 by: "Sam" [EMAIL PROTECTED] checkpoppasswd ? 26272 by: Stephane Morand [EMAIL PROTECTED] 26273 by: RaTao von J [EMAIL PROTECTED] qmail daemon on OSF1 v 4.0 26276 by: [EMAIL PROTECTED] mkpasswd.pl and checkpasswd 26277 by: Stephane Morand [EMAIL PROTECTED] DNS and MX record question 26280 by: Anthony Mutiso [EMAIL PROTECTED] Problems retrieving mail with Outlook Express... 26281 by: [EMAIL PROTECTED] Administrivia: To subscribe to the digest, e-mail: [EMAIL PROTECTED] To unsubscribe from the digest, e-mail: [EMAIL PROTECTED] To bug my human owner, e-mail: [EMAIL PROTECTED] To post to the list, e-mail: [EMAIL PROTECTED] -- On Thu, 3 Jun 1999, Hotdog wrote: Hi, I am using qmail 1.03 and sendmail 8.9.1 at the same server. Qmail used for receive inbound letters and using sendmail -bs send our mailing list. I had to say sometime sendmail is better than qmail,for example, while talk to qmail, rcpt to: [EMAIL PROTECTED] rcpt to: [EMAIL PROTECTED] rcpt to: [EMAIL PROTECTED] (host 'hostN.com' is not a local host) then qmail will crack this letter to 3 letters,first [EMAIL PROTECTED],then [EMAIL PROTECTED],and then [EMAIL PROTECTED] to send it . But sendmail not, it will crack this letter to only two letters: [EMAIL PROTECTED],[EMAIL PROTECTED] and [EMAIL PROTECTED] This is the reason I am using sendmail but not qmail to send outbound letters. In testing I've done qmail may initiall appear inefficient, but in reality delivers mail faster than sendmail. this is due to the latency of the Internet connections to remote hosts -- in parallel sessions to the same machine I overcome this latency. But the problem is, if I let sendmail to be a deamon(-bd),sendmail will try to listen port 25(and now qmail listen ? ),and if I not, sendmail cannot check the mail queue to delivert queued letters.(manual sendmail -q ? :( ) Then how can I do? sendmail -q15m will start sendmail and leave it running processing the outbound queue every 15 minutes. read the manual to see how to specify other run-intervals. RjL == The problems of the world|| Fax: +44 870 0521198 can't be solved by fixing|| Email: [EMAIL PROTECTED] the working -- C. Daniluk|| Phone: +44 385 275 394 Could it be the IMAP server? I have several people (including myself) running Outlook Express 4.72 which also
Re: Compile??
On Fri, Jun 04, 1999 at 08:28:57AM -0500, Kris Keele wrote: How do I compile qmail with gcc instead of cc? Check conf-cc. Is there any documentation on this? Surprisingly, nothing I could find easily (grep conf-cc [A-Z]*), but you might want to read conf-* anyway. -- Lars Balker Rasmussen, Software Engineer, Mjolner Informatics ApS [EMAIL PROTECTED]
Compile??
How do I compile qmail with gcc instead of cc? Is there any documentation on this? Kris
pop server crashing nightly
Hello, Ever night since I sent up my qmail pop server it has crashed sometime during the night. There is no/very little traffic on the machine and the machine did not reboot during the nights. The startup scripts in rc work fine. I'm running linux redhat 5.2. Has anyone experienced anything like this? Because I cannot get logging working with pop, I have no information from the server itself. BTW, if tcpserver/qmail can log to syslog, why can't tcpserver/pop3d? Because of the lack of logging and its instability on my machine I'm thinking of using qpopper instead. Is qpopper a good alternative? Thanks, Mark
Re: pop server crashing nightly
On Fri, Jun 04, 1999 at 08:37:33AM -0400, [EMAIL PROTECTED] wrote: Ever night since I sent up my qmail pop server it has crashed sometime during the night. There is no/very little traffic on the machine and the machine did not reboot during the nights. The startup scripts in rc work fine. I'm running linux redhat 5.2. Has anyone experienced anything like this? Because I cannot get logging working with pop, I have no information from the server itself. BTW, if tcpserver/qmail can log to syslog, why can't tcpserver/pop3d? Because of the lack of logging and its Sure it can. Just pipe the stderr of tcpserver to "logger", which is a program available on many unix system to do logging at a chosen facility and tag, something like: tcpserver -v -. qmail-pop3d Maildir 21 | logger -t mail.info instability on my machine I'm thinking of using qpopper instead. Is qpopper a good alternative? qpopper is too slow, in my opinion, because it makes a copy of the mailbox before it serves mail, and also it needs to start from inetd. Consider cucipop instead: very fast, small and has some nifty little features. -- System Administrator See complete headers for address, homepage and phone numbers
CR/LF problem
My provider has a "self-written" mailserver who can not connect to qmail. While looking at the log files we saw that qmail always sends this annoying "451 See http://pobox.com/~djb/docs/smtplf.html." message. Since we cannot change the other mailserver, - is there any chance to get qmail ignore this problem ? Laurenz Lanik IntelliNet EDV Dienstleistungsges.m.b.H. A-1060, Mariahilferstraße 103 Tel.: 595 2388/21, Mobil: 0664/432 5571, Fax: 595 2390 E-Mail: [EMAIL PROTECTED] WWW: www.IntelliNet.at/intellinet
Re: DNS and MX record question
On Fri, Jun 04, 1999 at 12:40:38AM -0600, Anthony Mutiso wrote: This question has come up before on this list but I have not been able to find a clear answer in the archives. I tried to mail a friend at domain that only had an MX record. i.e. #nslookup -query=A site1.com Server: localhost Address: 127.0.0.1 *** localhost can't find site1.com: Non-existent host/domain # nslookup -query=mx site1.com Server: localhost Address: 127.0.0.1 Non-authoritative answer: site1.compreference = 15, mail exchanger = mailin1.site2.com site1.compreference = 15, mail exchanger = mailin2.site2.com bash$ dig site1.com ; DiG 2.2 site1.com ;; res options: init recurs defnam dnsrch ;; got answer: ;; -HEADER- opcode: QUERY, status: NOERROR, id: 6 ;; flags: qr aa rd ra; Ques: 1, Ans: 1, Auth: 3, Addit: 3 ;; QUESTIONS: ;; site1.com, type = A, class = IN ;; ANSWERS: site1.com. 3600A 209.31.75.157 ;; AUTHORITY RECORDS: site1.com. 3600NS orange.pangaealink.com. site1.com. 3600NS silver.pangaealink.com. site1.com. 3600NS black.pangaealink.com. ;; ADDITIONAL RECORDS: orange.pangaealink.com. 3600A 209.31.75.3 silver.pangaealink.com. 3600A 209.31.75.4 black.pangaealink.com. 3600A 209.31.75.10 Let me guess: site1.com isn't really the domain in question. You've chosen to hide the real domain name for some reason. If you want someone to try to debug what might be a DNS problem, don't provide fake DNS information. Chris
Re: DNS and MX record question
"CJ" == Chris Johnson [EMAIL PROTECTED] writes: CJ bash$ dig site1.com [...clipped] CJ Let me guess: site1.com isn't really the domain in CJ question. You've chosen to hide the real domain name for some CJ reason. Yes! I should have added that I changed the host names since I thought the actual names did not make much difference, rather it was the content/results that I was wondering about. Trying to protect the innocent... or guilty never the less if it will help enlighten me: the site in question is kfoc.com! CJ If you want someone to try to debug what might be a DNS problem, CJ don't provide fake DNS information. So does this offer more in-site the delivery failure? simba# dig kfoc ; DiG 8.1 kfoc ;; res options: init recurs defnam dnsrch ;; got answer: ;; -HEADER- opcode: QUERY, status: NXDOMAIN, id: 6 ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0 ;; QUERY SECTION: ;; kfoc, type = A, class = IN ;; AUTHORITY SECTION: . 1D IN SOA A.ROOT-SERVERS.NET. hostmaster.INTERNIC.NET. ( 1999060300 ; serial 30M ; refresh 15M ; retry 1W ; expiry 1D ); minimum ;; Total query time: 82 msec ;; FROM: simba to SERVER: default -- 127.0.0.1 ;; WHEN: Fri Jun 4 09:29:33 1999 ;; MSG SIZE sent: 22 rcvd: 95 Anthony
Changing from
Warning Could not process message with given Content-Type: multipart/signed; boundary=oLBj+sq0vYjzfsbl; micalg=pgp-md5;protocol="application/pgp-signature"
Re: DNS and MX record question
"PN" == Petr Novotny [EMAIL PROTECTED] writes: So when I mail [EMAIL PROTECTED] I get the class delivery failure: : failure: Sorry,_I_couldn't_find_any_host_named_site1.com._(#5.1.2)/ PN Notice the extra - that's what causes the fault. Ek! Did some checking and found that the user name I was using was being expanded by my mail aliases to include a one single quote. You know those names like O'Mally. Well it would seem that if I do (this is not the guys real name) To: Pete O'Mally [EMAIL PROTECTED] or To: "Pete O'Mally" [EMAIL PROTECTED] it would fail, but if I take the ' out or just use real address all works as expected. Now the question is why? Anthony
checkpasswd
I'm using the checkpoppasswd supplied on Qmail.org: /* Alternative checkpassword for QPopup by Jedi/Sector One [EMAIL PROTECTED] */ /* Format of the configuration file is : * pop_login:crypted_password:real_login:path */ In the file /var/qmail/users/poppasswd there is a line like: testid:DmIMm9e5Hc8ic:popuser:/var/qmail/popboxes/domain-com/joe So, here the passwd is crypted. My question is How to setup the crypted passwd? What seed to use? The Jedi's checkpoppasswd script uses the crypt() function, with the parametter: crypt(passwd,stored) -passwd is the passwd the the program take from the network -stored is the crypted passwd in the poppasswd file. So, I don't know what passwd to set in the poppasswd file. I'm sure someone has a good idea about that :-)) Thanks! Stephane
Re: Getting Maildir + IMAP working
dave, all, i asked a very similar set of questions recently on this list. the result: the maildir driver for the UW imap server is very rudimentary. it works extremely well for inboxes, but not well for any other folders. i have patched it a bit to handle creating new maildirs correclty and copying between the inbox and other folders, but it doesn't handle other folders very elegantly yet. other people have had much better luck with cyrus for imap. until mark crispin actually ingtegrates maildir support, this sort of thing is likely to be a problem. todd underwood [EMAIL PROTECTED] On Fri, 4 Jun 1999, Dave Teske wrote: Date: Fri, 04 Jun 1999 12:12:12 -0400 From: Dave Teske [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Getting Maildir + IMAP working Has anyone got this fully working? Here's my story. Qmail 1.03, the patched WU IMAP server running both POP and IMAP daemons. POP's working fine and for the most part so is IMAP. IMAP works great if the users mail box is in Mailbox format. However if the user is setup for Maildir delivery I seem to lose the ability to copy from the "Inbox" to another message folder. The directory structure is /home/user/ /Maildir /cur tmp new /Mail /Folder1 (well it's actually a file like Mailbox) I've tried a couple of windows clients (eudora, outlook express) and they work fine except when trying to copy from "Inbox" to "Folder1". They fail with the message "/home/user/Mail/Folder1 is not a valid Maildir." Thinking the clients were at fault I tested it manually via telneting into the imap server and i get the same error(s). I've tried both the IMAP COPY and UID COPY commands. The really strange thing is that I can copy between the Mail/Folders with no problems. BTW Pegasus actually works with this but they do an APPEND and then a DELETE. Unfortunately it doesn't have a "Purge Deleted Messages" command like the other 2 so the deleted mail stays in the folders. I'd really like to get this resolved so I can move all my users into Maildir format but until this is resolved I can't. Any ideas what's going on Thanks --Dave Teske
Re: Getting Maildir + IMAP working
Part of the problem is that when the driver was written they left out a MAJOR piece of code to handle copying mailmessages between DIFFERENT mailbox formats :)... to add that in take a look at any of the other mailbox routines in their MAILBOXTYPE_copy routine and see that they call mailproxycopy first and then do some extra things... (It has been a long time since I fixed this... so I don't know if you need to change any other code but the maildir_copy)... this is what my maildir_copy looks like now... Notice that if we get an EINVAL mailbox we try to use mailproxycopy instead. laters, -d. long maildir_copy (MAILSTREAM *stream,char *sequence,char *mailbox,long options) { STRING st; MESSAGECACHE *elt; struct stat sbuf; int fd; long i; char *s,tmp[MAILTMPLEN]; mailproxycopy_t pc = (mailproxycopy_t) mail_parameters (stream,GET_MAILPROXYCOPY,NIL); /* make sure valid mailbox */ if (!maildir_isvalid (mailbox,NIL)) switch (errno) { case ENOENT: /* no such file? */ mm_notify (stream,"[TRYCREATE] Must create mailbox before copy",NIL); return NIL; case EINVAL: if (pc) return (*pc) (stream,sequence,mailbox,options); sprintf (LOCAL-buf,"Invalid Maildir-format mailbox name: %.80s",mailbox); mm_log (LOCAL-buf,ERROR); return NIL; default: if (pc) return (*pc) (stream,sequence,mailbox,options); sprintf (LOCAL-buf,"Not a Maildir-format mailbox: %.80s",mailbox); mm_log (LOCAL-buf,ERROR); return NIL; } ... ... ... On 4 Jun 1999, Todd at NM Technet wrote: dave, all, i asked a very similar set of questions recently on this list. the result: the maildir driver for the UW imap server is very rudimentary. it works extremely well for inboxes, but not well for any other folders. i have patched it a bit to handle creating new maildirs correclty and copying between the inbox and other folders, but it doesn't handle other folders very elegantly yet. other people have had much better luck with cyrus for imap. until mark crispin actually ingtegrates maildir support, this sort of thing is likely to be a problem. todd underwood [EMAIL PROTECTED] On Fri, 4 Jun 1999, Dave Teske wrote: Date: Fri, 04 Jun 1999 12:12:12 -0400 From: Dave Teske [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Getting Maildir + IMAP working Has anyone got this fully working? Here's my story. Qmail 1.03, the patched WU IMAP server running both POP and IMAP daemons. POP's working fine and for the most part so is IMAP. IMAP works great if the users mail box is in Mailbox format. However if the user is setup for Maildir delivery I seem to lose the ability to copy from the "Inbox" to another message folder. The directory structure is /home/user/ /Maildir /cur tmp new /Mail /Folder1 (well it's actually a file like Mailbox) I've tried a couple of windows clients (eudora, outlook express) and they work fine except when trying to copy from "Inbox" to "Folder1". They fail with the message "/home/user/Mail/Folder1 is not a valid Maildir." Thinking the clients were at fault I tested it manually via telneting into the imap server and i get the same error(s). I've tried both the IMAP COPY and UID COPY commands. The really strange thing is that I can copy between the Mail/Folders with no problems. BTW Pegasus actually works with this but they do an APPEND and then a DELETE. Unfortunately it doesn't have a "Purge Deleted Messages" command like the other 2 so the deleted mail stays in the folders. I'd really like to get this resolved so I can move all my users into Maildir format but until this is resolved I can't. Any ideas what's going on Thanks --Dave Teske +---+ | David Galbraithdgalb@ University Of New Mexico | |Systems Analyst unm.edu(505)-277-8499| +---+
checkpassword from the command line
I know this has been posted in the past, but I can't figure it out for the life of me. Here's what I'm trying to do: Take a username and password from user entry (CGI script). Check it against the master password database. I have tried the command-line solution given on the qmail.org homepage, but I can't make it work. Here's been my try so far : I have printed the string "user\000password\000Y123456\000" into a file using a perl script, so it turns the \000 into the null character checkpassword is looking for (I believe. I then pass the file to checkpassword like so : /bin/checkpassword /bin/id 3test.file Just like it says on the page. This results in nothing happening, hence I take it the password is not being accepted even though it is correct. I am running on FreeBSD 3.1, and checkpassword works with the qmail install I have, so I know my version works. But I need to be able to use it from the command line, or at least something other than qmail-popup. It is the most secure way of checking a password by a non-root application I can think of, and that is allowed by my boss. can someone help me out please? Thanks.
receiving mail from the Internet
Hello, I just installed qmail 1.03 on Solaris 2.6 to create a mailhub on my lan. My firewall is set up to pass smtp connections to this mailhub on port 25. Although qmail delivers messages perfectly well for local user accounts from other local user accounts, it does not deliver messages sent to users from the Internet. This system needs to handle messages that are addressed to a domain name different from the system's domain name. DNS is configured with an MX record for this second domain name. I've been sending test messages to this mailhub from an account on the Internet and have been watching /var/log/syslog for messages. Here is the most recent message that has appeared in /var/log/syslog: Jun 4 13:25:27 nssec qmail: 928517127.714850 status: local 0/10 remote 0/20 I installed ucspi-tcp and edited inetd.conf according to the FAQ. I have also entered both domain names that this system should handle mail for in /var/qmail/control/rcpthosts. Can anyone make any suggestions that might help me resolve problems with receiving mail from the Internet? Any assistance will be greatly appreciated. Cheers, Jim
additional info re: Internet email
Hello again. Since I sent my last message, I've been monitoring /var/log/syslog on my mailhub and noticed several new messages that pertain to this problem. Since most are repetitions, here's a good sample: Jun 4 14:45:45 nssec qmail: 928521945.769700 starting delivery 13: msg 309 to r emote [EMAIL PROTECTED] Jun 4 14:45:45 nssec qmail: 928521945.770882 status: local 0/10 remote 1/20 Jun 4 14:45:45 nssec qmail: 928521945.812184 delivery 13: deferral: Sorry,_I_wa sn't_able_to_establish_an_SMTP_connection._(#4.4.1)/ Jun 4 14:45:45 nssec qmail: 928521945.813339 status: local 0/10 remote 0/20 Even though I have edited inetd.conf for smtp under ucspi-tcp, I just noticed that I can't find any reference to port 25 when I do a netstat -an. Once again, any assistance will be appreciated. Thanks, Jim
Re: additional info re: Internet email
"James P. Kannengieser" [EMAIL PROTECTED] wrote: Even though I have edited inetd.conf for smtp under ucspi-tcp, I just noticed that I can't find any reference to port 25 when I do a netstat -an. Are you using inetd or tcpserver? What does inetd.conf say? What happens if you telnet to port 25? -Dave
selective forwarding of mail
Hello, I am new to Qmail and I have searched the archives and have not found my answer. Does Q-mail have any feature to control the forwarding of my e-mail based on the sender's domain or complete from address? It looks as though this can be done with outside tools but I am not sure if Qmail has this function directly. If Qmail does not provide this option to users could someone please give me some simple scripts/ideas on how to handle this need. Ex: mail sent to [EMAIL PROTECTED] which comes from listserve.foo.com will be forwarded to [EMAIL PROTECTED], other mail delivered to normal mailbox. Thanks In Advance, Mark Rizzo
Mass Mailign with Qmail vs. Sendmail
Not sure if this went through the first time, I got a help msg back so here goes again: Hello all, I am investigating using qmail to send a mass mailing to our 2M user base. Currently we have been using sendmail. First, let me describe our current setup. We have 26 different sendmail's running as deamons on 26 different mqueue's. We then have a program that pulls user information out of our database and creates the qfAA and dfAA files into these queue's. It dumps 10,000 messages in each queue, then moves onto the next queue, leaving sendmail to distribute the messages from the queue. This is however, insanely slow. From what I've seen/read/and heard Qmail will be able to accomplish our 2M mailing a lot faster than sendmail, however I believe that a large part of our bottleneck is that we create queue files and expect sendmail to recognize it. Okay, now to the question: What would be the best way of doing this with Qmail? Running multiple deamons on multiple queue's? or can Qmail do this all automatically. I am very unfamiliar with the Qmail configuration so any assistance would be greatly appreciated. Please reply directly to A HREF="maito:[EMAIL PROTECTED]" [EMAIL PROTECTED] /A. Thank you. -- Tim "Mylo" Madams -- [EMAIL PROTECTED]
Re: additional info re: Internet email
Here is what is in inetd.conf: tcpserver -v -u 7791 -g 2108 0 smtp /var/qmail/bin/qmail-smtpd 21 | /var/qmail/bin/spollger smtpd 3 I entered this according to the docs. As for telnetting to port 25, nothing happens when I do that. Very strange. Thanks, Jim On Fri, 4 Jun 1999, Dave Sill wrote: Are you using inetd or tcpserver? What does inetd.conf say? What happens if you telnet to port 25? -Dave
Re: receiving mail from the Internet
Thanks. Did that. My problem still persists, but that would have been necessary anyway. Also, thanks for the link. Jim On Fri, 4 Jun 1999, Dave Sill wrote: Sure. Make sure that all the domain names for the system are also in "locals". See: http://Web.InfoAve.Net/~dsill/lwq.html#locals -Dave
Re: Mass Mailign with Qmail vs. Sendmail
I send out a monthly newsletter to a user base of 2.5 million using qmail. The marketing department stages the emails to be sent with 500,000 a day to track how it effects the web site. I use a pentium box with 128M ram, a raid disk with one qmail queue and OpenBSD. Delivery rates on that one machine run between 750,000 to 1.2 million per day, max. concurrent remote delivery is 255 CPU usage varies between 20 and 70% (it's not dedicated to just qmail) I wrote a simple program to read a file of To: addresses and a file with the body. It calls qmail-queue directly, and monitors the queue size to self throttle itself. One to: address one qmail-queue invocation. A more efficent method would be similar to how ezmlm works.. Batch up groups of email addresses with one invocation of qmail-queue. I think that would result in less disk I/O and higher delivery rates. Hope that gives you some real world info Ken Jones Inter7 http://www.inter7.com/qmail/ On Fri, Jun 04, 1999 at 01:04:25PM -0700, Mylo wrote: Not sure if this went through the first time, I got a help msg back so here goes again: Hello all, I am investigating using qmail to send a mass mailing to our 2M user base. Currently we have been using sendmail. First, let me describe our current setup. We have 26 different sendmail's running as deamons on 26 different mqueue's. We then have a program that pulls user information out of our database and creates the qfAA and dfAA files into these queue's. It dumps 10,000 messages in each queue, then moves onto the next queue, leaving sendmail to distribute the messages from the queue. This is however, insanely slow. From what I've seen/read/and heard Qmail will be able to accomplish our 2M mailing a lot faster than sendmail, however I believe that a large part of our bottleneck is that we create queue files and expect sendmail to recognize it. Okay, now to the question: What would be the best way of doing this with Qmail? Running multiple deamons on multiple queue's? or can Qmail do this all automatically. I am very unfamiliar with the Qmail configuration so any assistance would be greatly appreciated. Please reply directly to A HREF="maito:[EMAIL PROTECTED]" [EMAIL PROTECTED] /A. Thank you. -- Tim "Mylo" Madams -- [EMAIL PROTECTED]
RE: additional info re: Internet email
Just joining in on this thread. Have you checked the spelling for splogger in your inetd.conf file? If you get nothing when telnetting to port 25 on the same machine, then something is not starting up right. If you are remote, is there a firewall in=between that blocks port 25? Did you send inetd a SIGHUP signal? Did you install the sendmail wrapper? **__ Bob Schader _.-{__}-._ CAD Systems Administrator .:-'``'-:. Product Design International, Inc. /_.-"`_ _`"-._\ 4880 36th St. S.E., Suite 100 /` / .\/. \ `\ Grand Rapids, MI 49512|\__/\__/| Phone: 616-667-2600 .-\/-. Fax: 616-667-2692 / '._-.__--__.-_.' \ Email: [EMAIL PROTECTED]\'.``'` __\ **(__)|'\___) `_' \ `` -Original Message- From: Tim Hunter [mailto:[EMAIL PROTECTED]] Sent: Friday, June 04, 1999 4:24 PM To: Qmail Subject: RE: additional info re: Internet email do you have it set in /etc/services as well? -Original Message- From: James P. Kannengieser [mailto:[EMAIL PROTECTED]] Sent: Friday, June 04, 1999 4:07 PM To: [EMAIL PROTECTED] Subject: Re: additional info re: Internet email Here is what is in inetd.conf: tcpserver -v -u 7791 -g 2108 0 smtp /var/qmail/bin/qmail-smtpd 21 | /var/qmail/bin/spollger smtpd 3 I entered this according to the docs. As for telnetting to port 25, nothing happens when I do that. Very strange. Thanks, Jim On Fri, 4 Jun 1999, Dave Sill wrote: Are you using inetd or tcpserver? What does inetd.conf say? What happens if you telnet to port 25? -Dave
Re: additional info re: Internet email
On 04-Jun-99 James P. Kannengieser wrote: Here is what is in inetd.conf: tcpserver -v -u 7791 -g 2108 0 smtp /var/qmail/bin/qmail-smtpd 21 | /var/qmail/bin/spollger smtpd 3 I entered this according to the docs. As for telnetting to port 25, nothing happens when I do that. Very strange. You have *this* in inetd.conf? No wonder it doesn't work. That belongs on the command line executed by root if you're trying to start it without restarting the machine. If you're rebooting you need to put that in your startup script. Vince. -- == Vince Vielhaber -- KA8CSH email: [EMAIL PROTECTED] flame-mail: /dev/null # include std/disclaimers.h TEAM-OS2 Online Campground Directoryhttp://www.camping-usa.com Online Giftshop Superstorehttp://www.cloudninegifts.com ==
RE: additional info re: Internet email
Yes, I have smtp set in /etc/servies. Here is the line: smtp25/tcp mail Thanks. On Fri, 4 Jun 1999, Tim Hunter wrote: do you have it set in /etc/services as well?
Re: mkpasswd.pl and checkpasswd
In article [EMAIL PROTECTED] you wrote: Could anyone help me? I'm using the checkpoppasswd supplied on Qmail.org: /* Alternative checkpassword for QPopup by Jedi/Sector One [EMAIL PROTECTED] */ /* Format of the configuration file is : * pop_login:crypted_password:real_login:path */ In the file /var/qmail/users/poppasswd there is a line like: testid:DmIMm9e5Hc8ic:popuser:/var/qmail/popboxes/domain-com/joe So, here the passwd is crypted. My question is How to setup the crypted passwd? What seed to use? The Jedi's checkpoppasswd script uses the crypt() function, with the parametter: crypt(passwd,stored) -passwd is the passwd the the program take from the network -stored is the crypted passwd in the poppasswd file. So, I don't know what passwd to set in the poppasswd file. I'm sure someone has a good idea about that :-)) It is irrelivant what seed you use to crypt your passwords with. The checkpasswd program will read in thecrypted password from the poppasswd file and use the first two chars as the seed. If you question is how to generate crypted passwords (for creation of poppasswd entries) then have a look at my mkpasswd.pl util at: http://www.tibus.net/pgregg/projects/ Paul. -- Email pgregg at tibus.net | CLUB24 | Email pgregg at nyx.net| Technical Director| INTERNET | System Administrator | The Internet Business Ltd |Free Access| Nyx Public Access Internet | http://www.tibus.net | www.club24.co.uk | http://www.nyx.net |
Re: Mass Mailign with Qmail vs. Sendmail
On Fri, Jun 04, 1999 at 01:04:25PM -0700, Mylo wrote: I am investigating using qmail to send a mass mailing to our 2M user base. Currently we have been using sendmail. First, let me describe our current setup. We have 26 different sendmail's running as deamons on 26 different mqueue's. We then have a program that pulls user information out of our database and creates the qfAA and dfAA files into these queue's. It dumps 10,000 messages in each queue, then moves onto the next queue, leaving sendmail to distribute the messages from the queue. This is however, insanely slow. From what I've seen/read/and heard Qmail will be able to accomplish our 2M mailing a lot faster than sendmail, however I believe that a large part of our bottleneck is that we create queue files and expect sendmail to recognize it. Okay, now to the question: What would be the best way of doing this with Qmail? You've left out a critically important piece of information which would answer that question. Are the messages you're sending out identical in content? Or are they unique to each user? 1) If they're identical You have a standard neo-mailing list configuration. You could take advantage of add-on tools such as ezmlm to do VERP and bounce management. You can write your own tools to do that. The best thing to do is to use qmail's built-in queue-injection tools: qmail-inject and qmail-queue 2) If they're user dependant You can adapt your direct queue-writing tool to qmail's queue structure, but be very careful to make sure that the qmail instance which uses that queue is -not- running while you do so. Running multiple deamons on multiple queue's? You can do that if your queue writer takes a significant amount of time to write out to the queue. -- John White johnjohn at triceratops.com PGP Public Key: http://www.triceratops.com/john/public-key.pgp
rcpthosts
Hello all, I am new to qmail and am working on migrating to it from a system called Post.Office from www.software.com. I have had a little experience with sendmail, but not much. Anyway, I have looked at the FAQ and tried searching the mailing list and have not found an answer to my question. Here it is: It seems to me that the rcpthosts functionality is reversed from what it should be. I thought that maybe the functionality I wanted was to be found in the locals file, but that seems to control what machines qmail will accept mail for and hold locally. Following what appears to be the noted practice of duplicating this in the rcpthosts file, I assumed this would allow any of the machines in rcpthosts to relay through qmail anywhere they wanted. But it seems the behavior of this file is to only allow me to send mail to ONLY the hosts in rcpthosts, so I am stuck in my own little domain. You would think that the rcpthosts file could serve a better purpose by allowing the machines listed in it to send anywhere, instead of any machine out on the internet to only send files to the machines in rcpthosts, which in the case of the same information being in locals, serves no purpose that I can see. I do have the info from the FAQ on selectively allowing certain hosts to set RELAYHOST and am going to try implementing that, otherwise I am going to add the user/password auth patch for qmail-smtpd from nimh.org since I ultimately need that for offsite POP access. Any thoughts or recommendations welcome, **__ Bob Schader _.-{__}-._ CAD Systems Administrator .:-'``'-:. Product Design International, Inc. /_.-"`_ _`"-._\ 4880 36th St. S.E., Suite 100 /` / .\/. \ `\ Grand Rapids, MI 49512|\__/\__/| Phone: 616-667-2600 .-\/-. Fax: 616-667-2692 / '._-.__--__.-_.' \ Email: [EMAIL PROTECTED]\'.``'` __\ **(__)|'\___) `_' \ ``
Re: Mass Mailign with Qmail vs. Sendmail
How do you actually insert the files into the queue? I ran a few tests using qmail-inject for each individual mail but I don't know how well that will utilize "same domain" queue'ing. -- Tim "Mylo" Madams -- [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I send out a monthly newsletter to a user base of 2.5 million using qmail. The marketing department stages the emails to be sent with 500,000 a day to track how it effects the web site. I use a pentium box with 128M ram, a raid disk with one qmail queue and OpenBSD. Delivery rates on that one machine run between 750,000 to 1.2 million per day, max. concurrent remote delivery is 255 CPU usage varies between 20 and 70% (it's not dedicated to just qmail) I wrote a simple program to read a file of To: addresses and a file with the body. It calls qmail-queue directly, and monitors the queue size to self throttle itself. One to: address one qmail-queue invocation. A more efficent method would be similar to how ezmlm works.. Batch up groups of email addresses with one invocation of qmail-queue. I think that would result in less disk I/O and higher delivery rates. Hope that gives you some real world info Ken Jones Inter7 http://www.inter7.com/qmail/ On Fri, Jun 04, 1999 at 01:04:25PM -0700, Mylo wrote: Not sure if this went through the first time, I got a help msg back so here goes again: Hello all, I am investigating using qmail to send a mass mailing to our 2M user base. Currently we have been using sendmail. First, let me describe our current setup. We have 26 different sendmail's running as deamons on 26 different mqueue's. We then have a program that pulls user information out of our database and creates the qfAA and dfAA files into these queue's. It dumps 10,000 messages in each queue, then moves onto the next queue, leaving sendmail to distribute the messages from the queue. This is however, insanely slow. From what I've seen/read/and heard Qmail will be able to accomplish our 2M mailing a lot faster than sendmail, however I believe that a large part of our bottleneck is that we create queue files and expect sendmail to recognize it. Okay, now to the question: What would be the best way of doing this with Qmail? Running multiple deamons on multiple queue's? or can Qmail do this all automatically. I am very unfamiliar with the Qmail configuration so any assistance would be greatly appreciated. Please reply directly to A HREF="maito:[EMAIL PROTECTED]" [EMAIL PROTECTED] /A. Thank you. -- Tim "Mylo" Madams -- [EMAIL PROTECTED]
Re: Mass Mailign with Qmail vs. Sendmail
Each message contains magical unique information for the specific user. The way it's done right now (in sendmail) I wrote a perl script that writes the queue files. This uses file locking and since sendmail is caring about locked files it won't try to send them while they're still being written. You don't suggest using qmail-inject to insert the files into the queue's? It may be a little slower since it has to fork a new process for each mail but I figured that would solve any flock'ing issues. -- Tim "Mylo" Madams -- [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: On Fri, Jun 04, 1999 at 01:04:25PM -0700, Mylo wrote: I am investigating using qmail to send a mass mailing to our 2M user base. Currently we have been using sendmail. First, let me describe our current setup. We have 26 different sendmail's running as deamons on 26 different mqueue's. We then have a program that pulls user information out of our database and creates the qfAA and dfAA files into these queue's. It dumps 10,000 messages in each queue, then moves onto the next queue, leaving sendmail to distribute the messages from the queue. This is however, insanely slow. From what I've seen/read/and heard Qmail will be able to accomplish our 2M mailing a lot faster than sendmail, however I believe that a large part of our bottleneck is that we create queue files and expect sendmail to recognize it. Okay, now to the question: What would be the best way of doing this with Qmail? You've left out a critically important piece of information which would answer that question. Are the messages you're sending out identical in content? Or are they unique to each user? 1) If they're identical You have a standard neo-mailing list configuration. You could take advantage of add-on tools such as ezmlm to do VERP and bounce management. You can write your own tools to do that. The best thing to do is to use qmail's built-in queue-injection tools: qmail-inject and qmail-queue 2) If they're user dependant You can adapt your direct queue-writing tool to qmail's queue structure, but be very careful to make sure that the qmail instance which uses that queue is -not- running while you do so. Running multiple deamons on multiple queue's? You can do that if your queue writer takes a significant amount of time to write out to the queue. -- John White johnjohn at triceratops.com PGP Public Key: http://www.triceratops.com/john/public-key.pgp
Re: Mass Mailign with Qmail vs. Sendmail
We something similar for a client a while ago. They are now mailing their newsletters out at a rate of 150,000/hour with two machines. The trick is to use qmail-remote directly and only queue stuff that doesn't get out the first try. Dirk On Fri, Jun 04, 1999 at 01:04:25PM -0700, Mylo wrote: Not sure if this went through the first time, I got a help msg back so here goes again: Hello all, I am investigating using qmail to send a mass mailing to our 2M user base. Currently we have been using sendmail. First, let me describe our current setup. We have 26 different sendmail's running as deamons on 26 different mqueue's. We then have a program that pulls user information out of our database and creates the qfAA and dfAA files into these queue's. It dumps 10,000 messages in each queue, then moves onto the next queue, leaving sendmail to distribute the messages from the queue. This is however, insanely slow. From what I've seen/read/and heard Qmail will be able to accomplish our 2M mailing a lot faster than sendmail, however I believe that a large part of our bottleneck is that we create queue files and expect sendmail to recognize it. Okay, now to the question: What would be the best way of doing this with Qmail? Running multiple deamons on multiple queue's? or can Qmail do this all automatically. I am very unfamiliar with the Qmail configuration so any assistance would be greatly appreciated. Please reply directly to A HREF="maito:[EMAIL PROTECTED]" [EMAIL PROTECTED] /A. Thank you. -- Tim "Mylo" Madams -- [EMAIL PROTECTED]
Re: Mass Mailign with Qmail vs. Sendmail
By "same domain" queue'ing I was refering to queue'ing messages targeted at the same remote domain (See also: aol.com) into the same queue as to allow Qmail (in our current case sendmail) to force messages to one mail host through the same process to improve performance. -- Tim "Mylo" Madams -- [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: On Fri, Jun 04, 1999 at 02:19:36PM -0700, Mylo wrote: How do you actually insert the files into the queue? I ran a few tests using qmail-inject for each individual mail but I don't know how well that will utilize "same domain" queue'ing. I attached the program. "same domain" queue'ing. I'm not sure what you mean by that. Do you mean each outgoing email has the same From address? Qmail doesn't care about the from address. You can put anything you want in there and send it all thru the same qmail queue. Ken [Attachment, skipping...]
Re: rcpthosts
On Fri, Jun 04, 1999 at 05:07:08PM -0400, Robert Schader wrote: # You would think that the rcpthosts file could serve a better purpose by # allowing the machines listed in it to send anywhere, instead of any machine # out on the internet to only send files to the machines in rcpthosts, which # in the case of the same information being in locals, serves no purpose # that I can see. # the rcpthosts and locals files are not duplicate information. If you want to run virtualhosts they must be in the rcpthosts, virtualdomains files and NOT in locals. # I do have the info from the FAQ on selectively allowing certain hosts # to set RELAYHOST and am going to try implementing that, otherwise I am # going to add the user/password auth patch for qmail-smtpd from nimh.org # since I ultimately need that for offsite POP access. the RELAYCLIENT client method is the best way to have local machines use your host as the SMTP relay. -- /- [EMAIL PROTECTED] --- [EMAIL PROTECTED] -\ |Justin Bell NIC:JB3084| Time and rules are changing. | |Pearson| Attention span is quickening.| |Developer | Welcome to the Information Age. | \ http://www.superlibrary.com/people/justin/ --/
Re: rcpthosts
[EMAIL PROTECTED] (Robert Schader) writes: | It seems to me that the rcpthosts functionality is reversed from what it | should be. I thought that maybe the functionality I wanted was to be found | in the locals file, but that seems to control what machines qmail will | accept mail for and hold locally. Following what appears to be the noted | practice of duplicating this in the rcpthosts file, I assumed this would | allow any of the machines in rcpthosts to relay through qmail anywhere they | wanted. But it seems the behavior of this file is to only allow me to | send mail to ONLY the hosts in rcpthosts, so I am stuck in my own little | domain. Welcome to the FAQ. The name "rcpthosts" only makes sense if you think of things in terms of low level (RFC821) protocol traffic, instead of high level MTA configuration. It means, ``accept message only if these domain names appear in the smtp "rcpt to" command, whatever that is.'' In other words, it's real function is to define what we mean by ``don't let smtp input simultaneously be smtp output.'' | You would think that the rcpthosts file could serve a better purpose by | allowing the machines listed in it to send anywhere, Some other file has that job. | instead of any machine | out on the internet to only send files to the machines in rcpthosts, which | in the case of the same information being in locals, serves no purpose | that I can see. The reason for the two files is that they will be different if you decide to relay mail for some non-local third party, or if you have some virtual domains. Sometimes people want to do that. But you have a point. 99% of the time rcpthosts is purely redundant, and qmail should just use the contents of locals and virtualdomains instead. Unfortunately, a nonexistent rcpthosts file turns on pro-spam-mode, instead of sensible-default-mode.
Re: Mass Mailign with Qmail vs. Sendmail
That's sounding happy, but how do you limit the number of qmail-remote's that are gonna get spawned. Aren't you running the risk of thousands, or should I say millions of them starting at once. -- Tim "Mylo" Madams -- [EMAIL PROTECTED] once [EMAIL PROTECTED] wrote: We something similar for a client a while ago. They are now mailing their newsletters out at a rate of 150,000/hour with two machines. The trick is to use qmail-remote directly and only queue stuff that doesn't get out the first try. Dirk On Fri, Jun 04, 1999 at 01:04:25PM -0700, Mylo wrote: Not sure if this went through the first time, I got a help msg back so here goes again: Hello all, I am investigating using qmail to send a mass mailing to our 2M user base. Currently we have been using sendmail. First, let me describe our current setup. We have 26 different sendmail's running as deamons on 26 different mqueue's. We then have a program that pulls user information out of our database and creates the qfAA and dfAA files into these queue's. It dumps 10,000 messages in each queue, then moves onto the next queue, leaving sendmail to distribute the messages from the queue. This is however, insanely slow. From what I've seen/read/and heard Qmail will be able to accomplish our 2M mailing a lot faster than sendmail, however I believe that a large part of our bottleneck is that we create queue files and expect sendmail to recognize it. Okay, now to the question: What would be the best way of doing this with Qmail? Running multiple deamons on multiple queue's? or can Qmail do this all automatically. I am very unfamiliar with the Qmail configuration so any assistance would be greatly appreciated. Please reply directly to A HREF="maito:[EMAIL PROTECTED]" [EMAIL PROTECTED] /A. Thank you. -- Tim "Mylo" Madams -- [EMAIL PROTECTED]
Re: Mass Mailign with Qmail vs. Sendmail
[EMAIL PROTECTED] wrote: On Fri, Jun 04, 1999 at 02:39:16PM -0700, Mylo wrote: Each message contains magical unique information for the specific user. The way it's done right now (in sendmail) I wrote a perl script that writes the queue files. This uses file locking and since sendmail is caring about locked files it won't try to send them while they're still being written. You don't suggest using qmail-inject to insert the files into the queue's? It may be a little slower since it has to fork a new process for each mail but I figured that would solve any flock'ing issues. You can try using qmail-inject, but I'd be concerned about disk i/o. qmail-inject has the potential to inject messages into the queue faster than they can be pre-processed. If you get to that point, things will get very slow for quite a while. It would make sense to have a separate instance of qmail used just for this list. Before you send out a mailing, shut down the qmail-send process for the list. Run your queue writing process. Then re-start qmail. But again, it's critical to not have qmail running when you muck around with the queue. In fact, this whole machine is dedicated to mass mailing... But we obviously can't dump 2M+ files into the queue's before we start qmail-send. We need some way of piping them in at just about the same rate they can go out. It's okay to be a little faster as they will just sit in the queue until there's time to send 'em out. -- Tim "Mylo" Madams -- [EMAIL PROTECTED]
Re: Mass Mailign with Qmail vs. Sendmail
You count or measure system load... that's part of the scripts that you need to create to feed into the qmail-remotes. Dirk On Fri, Jun 04, 1999 at 03:17:33PM -0700, Mylo wrote: That's sounding happy, but how do you limit the number of qmail-remote's that are gonna get spawned. Aren't you running the risk of thousands, or should I say millions of them starting at once. -- Tim "Mylo" Madams -- [EMAIL PROTECTED] once [EMAIL PROTECTED] wrote: We something similar for a client a while ago. They are now mailing their newsletters out at a rate of 150,000/hour with two machines. The trick is to use qmail-remote directly and only queue stuff that doesn't get out the first try. Dirk On Fri, Jun 04, 1999 at 01:04:25PM -0700, Mylo wrote: Not sure if this went through the first time, I got a help msg back so here goes again: Hello all, I am investigating using qmail to send a mass mailing to our 2M user base. Currently we have been using sendmail. First, let me describe our current setup. We have 26 different sendmail's running as deamons on 26 different mqueue's. We then have a program that pulls user information out of our database and creates the qfAA and dfAA files into these queue's. It dumps 10,000 messages in each queue, then moves onto the next queue, leaving sendmail to distribute the messages from the queue. This is however, insanely slow. From what I've seen/read/and heard Qmail will be able to accomplish our 2M mailing a lot faster than sendmail, however I believe that a large part of our bottleneck is that we create queue files and expect sendmail to recognize it. Okay, now to the question: What would be the best way of doing this with Qmail? Running multiple deamons on multiple queue's? or can Qmail do this all automatically. I am very unfamiliar with the Qmail configuration so any assistance would be greatly appreciated. Please reply directly to A HREF="maito:[EMAIL PROTECTED]" [EMAIL PROTECTED] /A. Thank you. -- Tim "Mylo" Madams -- [EMAIL PROTECTED]
Re: Mass Mailign with Qmail vs. Sendmail
On Fri, Jun 04, 1999 at 03:20:36PM -0700, Mylo wrote: In fact, this whole machine is dedicated to mass mailing... But we obviously can't dump 2M+ files into the queue's before we start qmail-send. This isn't obvious to me. Why not? We need some way of piping them in at just about the same rate they can go out. It's okay to be a little faster as they will just sit in the queue until there's time to send 'em out. Actually, no it isn't. This will bottleneck qmail-send, since you're talking about queueing each recipient separately. qmail can send out preprocessed messages in the queue very very quickly. qmail can add messages to the queue very very quickly. slice from internals: qmail-queue --- qmail-send --- qmail-rspawn I guess some explanation about the qmail queue is necessary. qmail-queue writes the files necessary to get the message into the "queued" state. qmail-send decides whether the deliveries will be local/remote, and puts the message in a state called "preprocessed." qmail-rspawn and qmail-lspawn are triggered to work on messages which are preprocessed. qmail-send is a single process. qmail-queue can have multiple instanciations, and has the potential queueing more messages than qmail-send can immediately preprocess. What I'm not expressing very well is that using qmail-inject (a frontend for qmail-queue) on 2M+ unique messages and recipients, you can potentially send messages to be queued faster than qmail can preprocess the messages and create the queue entries. When qmail gets into this state, it's performance will degrade massively. I guess the question becomes: how fast will you spawn qmail-queue processes? Fast enough to outpace qmail-send's preprocessing? You'll probably want to get the messages into the queue as fast as possible, right? Or does your mailout process hang around for hours and hours? Is it structured to maintain state of it's processing in the case of a failure? -- John White johnjohn at triceratops.com PGP Public Key: http://www.triceratops.com/john/public-key.pgp
Re: Mass Mailign with Qmail vs. Sendmail
Oh really, so each message will be a seperate process. Doesn't sendmail do some magic in this case? I know that it at least is better about caching DNS records internally if many messages are destined to the same domain. -- Tim "Mylo" Madams -- [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Why do you want to do same domain queuing? There is nothing in qmail that makes optimizations for it, nor is there any reason to optimize for it. Ken On Fri, Jun 04, 1999 at 02:19:36PM -0700, Mylo wrote: How do you actually insert the files into the queue? I ran a few tests using qmail-inject for each individual mail but I don't know how well that will utilize "same domain" queue'ing. -- Tim "Mylo" Madams -- [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I send out a monthly newsletter to a user base of 2.5 million using qmail. The marketing department stages the emails to be sent with 500,000 a day to track how it effects the web site. I use a pentium box with 128M ram, a raid disk with one qmail queue and OpenBSD. Delivery rates on that one machine run between 750,000 to 1.2 million per day, max. concurrent remote delivery is 255 CPU usage varies between 20 and 70% (it's not dedicated to just qmail) I wrote a simple program to read a file of To: addresses and a file with the body. It calls qmail-queue directly, and monitors the queue size to self throttle itself. One to: address one qmail-queue invocation. A more efficent method would be similar to how ezmlm works.. Batch up groups of email addresses with one invocation of qmail-queue. I think that would result in less disk I/O and higher delivery rates. Hope that gives you some real world info Ken Jones Inter7 http://www.inter7.com/qmail/ On Fri, Jun 04, 1999 at 01:04:25PM -0700, Mylo wrote: Not sure if this went through the first time, I got a help msg back so here goes again: Hello all, I am investigating using qmail to send a mass mailing to our 2M user base. Currently we have been using sendmail. First, let me describe our current setup. We have 26 different sendmail's running as deamons on 26 different mqueue's. We then have a program that pulls user information out of our database and creates the qfAA and dfAA files into these queue's. It dumps 10,000 messages in each queue, then moves onto the next queue, leaving sendmail to distribute the messages from the queue. This is however, insanely slow. From what I've seen/read/and heard Qmail will be able to accomplish our 2M mailing a lot faster than sendmail, however I believe that a large part of our bottleneck is that we create queue files and expect sendmail to recognize it. Okay, now to the question: What would be the best way of doing this with Qmail? Running multiple deamons on multiple queue's? or can Qmail do this all automatically. I am very unfamiliar with the Qmail configuration so any assistance would be greatly appreciated. Please reply directly to A HREF="maito:[EMAIL PROTECTED]" [EMAIL PROTECTED] /A. Thank you.
Re: additional info re: Internet email
On 04-Jun-99 James P. Kannengieser wrote: Here is what is in inetd.conf: tcpserver -v -u 7791 -g 2108 0 smtp /var/qmail/bin/qmail-smtpd 21 | /var/qmail/bin/spollger smtpd 3 I entered this according to the docs. As for telnetting to port 25, nothing happens when I do that. Very strange. You have *this* in inetd.conf? No wonder it doesn't work. That belongs on the command line executed by root if you're trying to start it without restarting the machine. If you're rebooting you need to put that in your startup script. Vince. -- == Vince Vielhaber -- KA8CSH email: [EMAIL PROTECTED] flame-mail: /dev/null # include std/disclaimers.h TEAM-OS2 Online Campground Directoryhttp://www.camping-usa.com Online Giftshop Superstorehttp://www.cloudninegifts.com ==
Re: Q: Is it possible to bind 2 diffrent qmail instances on 2 diffrent network interfaces
Connected to 199.246.67.190 but my name was rejected./Remote host said: 501 HELO requires a valid host name as operand: 'web1.cheetahmail.com' rejected from www.cheetahmail.com remote address [206.132.30.31]: Host name does not match remote address. That server is violating RFC 1123, section 5.2.5. You can easily work around the problem by putting www.cheetahmail.com into control/helohost. (I'm considering changing the default HELO in qmail-remote in qmail 2.0 to use the bracketed IP address of the client.) ---Dan
Re: Mail server load testing
On Thu, 1 Apr 1999 01:26:19 -0500, Dave Teske wrote: Does anyone know of any apps that can do load testing on mail servers. I've seen a bunch that do web server load testing but none for mail servers. I've got our server on a tiny (486 w/P90 upgrade chip 24mb ram)box and I'd like to see how much load it'll handle before I go scrounging for a replacement. qmail is an excellent tool for this. Just set up another computer with qmail and a concurrencyremote as high or higher than the max number of connections you can accept on the test machine. Set up an ezmlm list on the test machine. Subscribe a lot of users test-123@testhost, over a range of "123". Set up a user "test" on testhost. Create ~test/.qmail-default with a single "#" in it. Send a message to the list on the other computer. It will send as many messages as there are subscribers to the test machine. It does less disk work that the test machine since it sends the same message to all subscribers. The test machine receives the messages, queues them, then delivers them discovering that the "#" which means that the delivery succeeds without writing anywhere. Thus, you test the [local] network, qmail-smtpd, queue and queuing, that you have memory for the set number of incoming connections, etc. For outbound mail, you can reverse the function of the two boxes. Do yourself a favor and set it up with tcpserver and daemontools (cyclog) directly. Otherwise, syslog may become limiting and you are slow on incoming connections and have less control over the number. Also, carefully read tcpserver docs on -H -l, etc. What isn't tested: outside net, named (run a caching one locally). Still, it tells you a lot, especially to what to limit the nuber of incoming connections (tcpserver -c) and outgoing (concurrencyremote/local) so that you don't run out of memory at maximum load. -Sincerely, Fred (Frederik Lindberg, Infectious Diseases, WashU, St. Louis, MO, USA)
failure noticequestions questions questions
Dear Group, I had a customer call me up concerned about eliminating spam. How would I exclude emails containing AOL.COM or the word SEX from being delivered altogether? Regards, Julian L.C. Brown Internet Technology Consultant Interware Systems Inc. mailto:[EMAIL PROTECTED] http://www.interwaresystems.com Hi. This is the qmail-send program at crynwr.com. I'm afraid I wasn't able to deliver your message to the following addresses. This is a permanent error; I've given up. Sorry it didn't work out. [EMAIL PROTECTED]: #Sorry, your message mentioned the phrase "AOL.COM" or the word "SEX". #This message cannot be delivered because we use the following filter #in our default delivery instructions: |bouncesaying "`cat .qmail`" egrep -i 'aol\.com|sex' ./Mailbox --- Below this line is a copy of the message. Received: (qmail 4101 invoked by uid 501); 30 Mar 1999 19:24:09 - Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" From: "Julian L.C. Brown" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: questions questions questions Date: Tue, 30 Mar 1999 14:05:09 -0500 Dear Group, I had a customer call me up concerned about eliminating spam. How would I exclude emails containing AOL.COM or the word SEX from being delivered altogether? Regards, Julian L.C. Brown Internet Technology Consultant Interware Systems Inc. mailto:[EMAIL PROTECTED] http://www.interwaresystems.com
Life with qmail
I've written a manual for qmail called "Life with qmail". It's not 100% finished, but there's enough there that it's useful. The idea was to put together a one-stop guide for qmail that binds all of the available documentation and web pages into one place. It doesn't duplicate everything in the man pages and other documents: it describes them on a high level and points to them via links and references. I don't see "Life with qmail" as competing with the upcoming book. The book will contain a lot more information, but will be on paper, and won't be free. "Life with qmail" will be smaller, but free (GPL) and electronic (hypertext, searchable). Text, Postscript, PDF, and POD versions will be made available once it's complete. Comments, criticism, suggestions, and contributions are welcome. http://Web.InfoAve.Net/~dsill/lwq.html -Dave
How to start the Virus-Scanner
I am trying to run the amavis package together with qmail. If i put |/usr/sbin/scanmails $SENDER $RECIPIENT /var/here/lays/the/Maildir/ into one .qmail-file everything works fine. But i would like qmail to scan every mail so i tried starting qmail like this: exec env - PATH="/var/qmail/bin:$PATH" \ qmail-start |/usr/sbin/scanmails $SENDER $RECIPIENT ./Mailbox splogger qmail that works for scanning the mails but of course there is no logging anymore. can anyone tell me how i have to change that line to still log? BTW: I have adopted Sascha Ottolski's changes to Amavis 0.2.0pre2 to the new pre4 version. my version is available on request. -- mfg sven lankes megabit informationstechnik http://www.megabit.net
Re: ezmlm-manage acceping multiple domains in inhost
Jay Soffian writes: I have a list that was recently moved to a new hostname and I'd like ezmlm-manage to be able to accept messages at either address. That is, I'd like to be able to put multiple domains into inhost, but ezmlm-manage doesn't support this. So I can either patch ezmlm-manage or rewrite the incoming messages using new-inject from the mess822 package. Does this sound correct, or am I missing another option? Does anyone have any suggestions / pitfalls about doing this? My idea is to use virtualdomains to deliver to an alternate address that runs new-inject to rewrite the To address and then deliver to the canonical list address. You could install ezmlm-idx-0.322 (www.ezmlm.org) and not worry about it any more. By default (as spam counter-measure), ezmlm+idx requires the list name in To/Cc, so for moving lists you need to disable this (ezmlm-reject -T in DIR/editor). You could also forward messages: ~/.qmail - newlist@newhost, ~/.qmail-default - newlist-$DEFAULT@newhost. -Sincerely, Fred Frederik Lindberg, Inf. Dis, WashU, St. Louis, MO
Re: Mass Mailign with Qmail vs. Sendmail
We something similar for a client a while ago. They are now mailing their newsletters out at a rate of 150,000/hour with two machines. The trick is to use qmail-remote directly and only queue stuff that doesn't get out the first try. Dirk On Fri, Jun 04, 1999 at 01:04:25PM -0700, Mylo wrote: Not sure if this went through the first time, I got a help msg back so here goes again: Hello all, I am investigating using qmail to send a mass mailing to our 2M user base. Currently we have been using sendmail. First, let me describe our current setup. We have 26 different sendmail's running as deamons on 26 different mqueue's. We then have a program that pulls user information out of our database and creates the qfAA and dfAA files into these queue's. It dumps 10,000 messages in each queue, then moves onto the next queue, leaving sendmail to distribute the messages from the queue. This is however, insanely slow. From what I've seen/read/and heard Qmail will be able to accomplish our 2M mailing a lot faster than sendmail, however I believe that a large part of our bottleneck is that we create queue files and expect sendmail to recognize it. Okay, now to the question: What would be the best way of doing this with Qmail? Running multiple deamons on multiple queue's? or can Qmail do this all automatically. I am very unfamiliar with the Qmail configuration so any assistance would be greatly appreciated. Please reply directly to A HREF="maito:[EMAIL PROTECTED]" [EMAIL PROTECTED] /A. Thank you. -- Tim "Mylo" Madams -- [EMAIL PROTECTED]
Re: receiving mail from the Internet
"James P. Kannengieser" [EMAIL PROTECTED] wrote: I installed ucspi-tcp and edited inetd.conf according to the FAQ. I have also entered both domain names that this system should handle mail for in /var/qmail/control/rcpthosts. Can anyone make any suggestions that might help me resolve problems with receiving mail from the Internet? Any assistance will be greatly appreciated. Sure. Make sure that all the domain names for the system are also in "locals". See: http://Web.InfoAve.Net/~dsill/lwq.html#locals -Dave
Reviewers/proofreaders wanted
I've got enough of my qmail guide complete that it's worth reviewing: http://Web.InfoAve.Net/~dsill/lwq.html It's still less than half done, though, so don't bother telling me that section X.Y is empty. :-) Let me if like it, hate it, or don't care either way. If you think it needs reorganizing or is doesn't cover a topic well enough, or at all, I'd like to hear that, too. Of course, factual errors and typo corrections are welcome, too. I'll be putting a new version up every night, if I've made changes during the day. -Dave
Re: additional info re: Internet email
"James P. Kannengieser" [EMAIL PROTECTED] wrote: Even though I have edited inetd.conf for smtp under ucspi-tcp, I just noticed that I can't find any reference to port 25 when I do a netstat -an. Are you using inetd or tcpserver? What does inetd.conf say? What happens if you telnet to port 25? -Dave