Re: Life with qmail smtp daemontools
At 8:01 PM +0200 8/14/01, Eric Persson wrote: I cant find any info on what those /service/qmail-send and /service/qmail-smtpd should be, I tried to symlink them to the files in /var/qmail/bin that has the same names, but it seems like /service/qmail-send and /service/qmail-smtpd should be directories. Can anyone point me in the right direction? Go back and re-read Life with Qmail. This is covered extensively in the section on /var/qmail/supervise/ and symlinking the subdirectories to /service/, aka 2.8.2.2. The supervise scripts. -- John Groseclose [EMAIL PROTECTED]
Drive out of space
Our /var drive partition ran completely out of space earlier; it houses the queue and the logs. /home is on a different partition, and has plenty of space. A quick rm -rf sorted that one out, and a new drive is on its way in, but.. How would this have affected qmail? Could we have lost any mail, or would it be deferred (to our secondary MX)? Thanx John
Re: after using .forward, can use also have copy of the message?
i can't believe i'm going to say this... you guys are a bad influence :-) this is covered in-depth in the lwq/faqs, which you obviously haven't read - please re-read, comprehend and then re-ask the question (hint: look for the function of the dot-qmail file) - hogan can .forward remain a copy to original user email maildir? what is the difference between [EMAIL PROTECTED] [EMAIL PROTECTED] in .forward file?
Upgrading Daemontools
I don't know if this is a good place for these questions, sorry if it = isn't 1. I'm using daemontools .70. I would like to upgrade to .76. I = believe I should stop qmail first, right...? 2. Do I need to hunt down and remove the old svscan. It's in = /usr/local/bin now. I know the new one installs to /package. 3. My rc.d qmail script (forgot where I got it) seems to start svscan, = but the new one starts in inittab. Does this make the script useless? 4. Should I even bother upgrading? Thanks John Logiudice
Re: virtualdomains vs. VERP and Delivered-To
Executive summary: qmail breaks VERP under certain circumstances. Revised executive summary: qmail's VERP works fine, but some people are more than a little unclear on the way virtual domains work. Let H be a host running qmail, A and B users at H, and V a virtual domain redirected to B@H. Let X@V, i.e. B-X@H, be forwarded to some other, maybe remote, address, say K@L. Now, let's assume A uses QMAILINJECT=r qmail-inject X@V to send a VERPed message M to X@V. M is forwarded to K@L. Now, let's assume the delivery to K@L fails and the message is bounced back to A. Well, it should be bounced to A-X=V@M, shouldn't it? Well, actually, it should be bounced to A-X=V@H, and that's exactly where it goes since that's the address that VERP creates. (I presume M was a typo for H there.) ... Unfortunately, the return address in the scenario described above is A-B-X=V@M No, it's not. Qmail rewrites target virtual domain addresses at the time they're delivered, and virtual domain handling doesn't rewrite return addresses at all, ever. ... A *completely untested* patch is here: Too bad you didn't test it, you could have avoided wasting a lot of time. I misunderstood what you were arguing last time. The only time you might have to consult control/virtualdomains to handle a VERP is if the domain sending the VERP'ed mail is itself a virtual domain. I happen to have a bunch of mailing lists in virtual domains, and they have bounce handlers. I can assure you from experience that all addresses on the mailing lists are handled the same, and it makes no difference whatsoever if an address to which VERP mail is sent is local, remote, virtual, or anything else. -- John R. Levine, IECC, POB 727, Trumansburg NY 14886 +1 607 387 6869 [EMAIL PROTECTED], Village Trustee and Sewer Commissioner, http://iecc.com/johnl, Member, Provisional board, Coalition Against Unsolicited Commercial E-mail
Re: virtualdomains vs. VERP and Delivered-To
Is it really that overwhelmingly difficult to have whatever configures your bounce handler look in /var/qmail/control/virtualdomains to see what prefix to strip off the local part of the VERP address? I suspect either of us could do it in about four lines of perl. You can turn the question upside-down: Is is really that overwhelmingly difficult to add or change about four lines of C and make qmail behave in a sane way and eliminate the need to add such a twisted piece of code to every program using VERP on this planet? Difficult? Of course not, if you want to change that, you have the source. But just because it's easy doesn't mean it's not a good idea. If I (DJB) want to keep my program (qmail) as small and clean as possible to avoid bugs etc., I should not force other people to make their programs bloated, should I? Of course. That's why it works the way it does. The Delivered-To: contents is actually $RECIPIENT which is $LOCAL@$HOST. When qmail delivers a message, it finds the longest prefix of $LOCAL in the users database and uses that to set the user/group IDs and home directory for the delivery. Then the rest of $LOCAL is the extension and is used to pick the appropriate .qmail file and is available as $EXT and so forth. This is what happens regardless of whether the message was originally addressed to a local domain or a virtual one. If it was to a virtual domain, there was a preprocessing step that put the virtual domain's prefix on the front of $LOCAL, but delivery code doesn't have to worry about that. In the particular case where a program run from .qmail does VERP bounce processing, it has to de-prefix $LOCAL, but for other purposes, $LOCAL shows the address that the message is delivered to and that's what delivery scripts need. Now let's look at your plan. If a message is addressed to a virtual domain, qmail looks it up, finds the prefix and does, um, something with it. Does it change $LOCAL? Or does it concoct $REALLYLOCAL or the like? Do .qmail scripts see the unprefixed $LOCAL or the prefixed one? Since $LOCAL no longer is the actual delivery address for virtual domains, to work reliably scripts that deliver mail that might have been sent to a virtual domain have to look at $HOST and do one thing if it's a local domain and another if it's virtual. Sounds pretty bloated to me, particularly since there are generally far more deliveries to virtual addresses, which want the prefixed address, than VERP bounces, which don't. Like I said: It's true, qmail doesn't work the way you might first have guessed it does. That doesn't mean it's wrong. -- John R. Levine, IECC, POB 727, Trumansburg NY 14886 +1 607 387 6869 [EMAIL PROTECTED], Village Trustee and Sewer Commissioner, http://iecc.com/johnl, Member, Provisional board, Coalition Against Unsolicited Commercial E-mail
Re: rblsmtpd and mail-abuse.org's DNS servers
2) Did you actually pay MAPS for use of their mail-abuse.org servers? They started charging on August 1st so you are not going to have much luck using them to block spam if you aren't paying them. Have you looked at the price list? The price for individual users is $0. If you want to keep using the RBL, RSS, an DUL, they want a written agreement from you, but if you can't afford to pay, they don't demand money. -- John R. Levine, IECC, POB 727, Trumansburg NY 14886 +1 607 387 6869 [EMAIL PROTECTED], Village Trustee and Sewer Commissioner, http://iecc.com/johnl, Member, Provisional board, Coalition Against Unsolicited Commercial E-mail
Problems with qmail.org?
I'm trying to get onto qmail.org, and neither that nor the direct link (www.qmail.org/top.html) is working. Is there another list of mirrors anywhere? Thanks, John
Re: virtualdomains vs. VERP and Delivered-To
There is no way for the mailing list software to get from `[EMAIL PROTECTED]' to `[EMAIL PROTECTED]' without having knowledge of virtualdomains. That's not an acceptable solution. Is it really that overwhelmingly difficult to have whatever configures your bounce handler look in /var/qmail/control/virtualdomains to see what prefix to strip off the local part of the VERP address? I suspect either of us could do it in about four lines of perl. It's true, qmail doesn't work the way you might first have guessed it does. That doesn't mean it's wrong. -- John R. Levine, IECC, POB 727, Trumansburg NY 14886 +1 607 387 6869 [EMAIL PROTECTED], Village Trustee and Sewer Commissioner, http://iecc.com/johnl, Member, Provisional board, Coalition Against Unsolicited Commercial E-mail
rblsmtpd and rblplus?
Has anyone modified rblsmtpd to work with MAPS' rbl-plus? It's a merged RBL, RSS, and DUL with the particular list(s) an address is on being determined by bits in the low part. The changes I'd want to rblsmtpd would be 1) tell which bits to pay attention to and which not tom since I reject RBL and RSS mail, but send DUL mail into a spam trap, and 2) provide default TXT messages to use depending on which bits are set. It's not all that hard to do, but I'd rather not do it if someone else already has. I see nothing about rbl-plus in the archives yet. -- John R. Levine, IECC, POB 727, Trumansburg NY 14886 +1 607 387 6869 [EMAIL PROTECTED], Village Trustee and Sewer Commissioner, http://iecc.com/johnl, Member, Provisional board, Coalition Against Unsolicited Commercial E-mail
Re: anger management courses
At 03:41 PM 8/1/2001, Robin S. Socha wrote: On Wed, Aug 01, 2001 at 04:10:13PM -0400, Jeff Palmer wrote: Can anyone say 'anger management course'? Anger mangama... Angre mgnma anggg munug... annngr mnng... no! Robin - I too have anger issues... two joke my wife would like me to share (mostly she tells them about me): 1) any time an app on her (our?) windows server crashes, she classifies it as an 'rtfm ID-10-T' error ('read the feching manual, idiot') 2) abstract, seemingly random software issues are often described as 'lying somewhere between the chair and keyboard'... this one often works when describing the desire to 'un-send' email apologies for the useless flame `In Germany, they are not referred to as network administrators. They prefer to be called Sons Of The Third Reich.' (Kate: www.katewerk.com) in the usa, they are treated like goalkeepers in football (soccer, duh?)... when the team wins, you shower alone - when the team loses, you shower alone *grin* - hogan
Re: rblsmtpd and mail-abuse.org's DNS servers
On Thu, 2 Aug 2001, Derek Callaway wrote: Right, I guess I should have said that I already read those pages before I posted this message. I'm looking for a _free_ workaround to this problem. TIA There is no workaround. The resolver is going to wait for the connection to time out, thus causing your delay. The workaround is to either find another RBL list source that runs a reliable, free network, or when it does have hiccups, remove them, or suffer through the delays. -- John Gonzalez / [EMAIL PROTECTED] / [EMAIL PROTECTED] Tularosa Communications, Inc. (505) 439-0200 voice / (505) 443-1228 fax http://www.tularosa.net / ASN 11711 / JG6416 [--[ sys info ]---] 1:45pm up 329 days, 19:14, 5 users, load average: 0.07, 0.18, 0.15
Re: Machine names in message headers
When qmail delivers the mail, the machine name shouldn't be 'pluto2001.office.internal' it should be 'pluto.office.internal'. pluto2001 was the name of the machine while it was in 'test' phase, and has been removed from all DNS, hosts etc. Why does qmail still think it's called that? And why does it change? Check the Hostname of the machine itself.. Qmail pulls the machine name from the machine not from DNS Got it - I think when I put the machine together and installed qmail-scanner, it used the current machine name (pluto2001) and hardcoded it into qmail-scanner-queue.pl - so I've edited that and it works OK.. Thanks all John
Re: Program Delivery to PHP Script
So for the lynx method, I tried in the .qmail file: |/usr/bin/lynx -post_data http://..parser.php; why not use perl for this? faster, more secure and more flexible regex work... php info.html ?phpinfo();? make sure that you delete this file when you're finished... lots of info that johnny q public doesn't need to know... - hogan
Re: Someone please BAN Spammers
From: Lars Hansson [EMAIL PROTECTED] Oh come on, it's annoying but not to the point of making the list unusable. Well, there were over 20 e-mails from 'Wilson' yesterday - approx 200k each. 4mb in one day is not much if you are on a fast net connection, but if you are on dialup access it represents a little too much for one mailing list (especially if you can't unsubscribe in time!). Plus all the pointless e-mails from misconfigured servers, and the fact that lots of people may have unsubscribed because of it, it just ruins the list for everyone. Regards, John
strip all but plain/text?
Any filters to strip all except plain/text MIME content types? Thanks, John -- John ConoverTel. 408.370.2688 [EMAIL PROTECTED] 631 Lamont Ct. Fax. 408.379.9602 http://www.johncon.com/ Campbell, CA 95008 Cel. 408.772.7733
Re: FW: Hanging
try disabling tcpserver dns lookups with the -H switch - that made a world of difference for us from my /var/qmail/supervise/qmail-smtpd/run file: exec /usr/local/bin/softlimit -m 200 /usr/local/bin/tcpserver -H -v -R -l 0 -x \ /etc/tcp.smtp.cdb -c $MAXSMTPD -u $QMAILDUID -g $NOFILESGID 0 \ smtp /var/qmail/bin/qmail-smtpd 21 - hogan At 03:53 AM 7/25/2001, Christian wrote: I just managed to get an email to send to a local account but it took about 10 minutes to get through !! Why is it taking so long ??? Sachin Kundra wrote: Are transactions being logged in the qmail log? Sachin -Original Message- From: Christian [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 25, 2001 12:12 AM To: qmail Subject: Hanging Hi, I'm a newbie to qmail and have just setup my first qmail server I'm having problems with users sending mail It just hangs .. trys for ages to send There's no error messages returned Which makes it hard to figure out what's wrong. All the processes are running Port 25 seems to be open .. I can telnet in And I can send message thru qmail-inject qmail-smtpd is running via tcpserver /usr/local/bin/tcpserver -v -R -l 0 -x /etc/tcp.smtp.cdb -c 20 -u 510 -g 513 0 smtp /var/qmail/bin/qmail-smtpd Can someone please point me in the right direction so I can figure this out. Thanx, .
Stopping POP3 from certain users
Hi All, For our website, we have a catch-all account which handles all e-mail enquiries/order confirmations from our site that can go to a variety of addresses eg. [EMAIL PROTECTED], [EMAIL PROTECTED] and I think this is set up OK by putting 'cs' into ~alias/.qmail-default to deliver to the user cs. To allow three or four people to access these e-mails, I'm using courier-imap and outlook express in IMAP mode. However, I know that one day, someone will accidentally set up a machine to use pop3 and all the e-mails will end up stored locally on one of the machines (and deleted off the server!) So how can I stop the user 'cs' from downloading via POP3? (at the moment, they are the only account using IMAP; although this may change in the future) Thanks John
Unsubscribing Problems
Hi All, In order to avoid waking up tomorrow and downloading lots of some Brazilian idiot's 200k documents, I thought I would unsubscribe from the qmail list overnight. I sent an e-mail to [EMAIL PROTECTED] , from the same IP, SMTP server, e-mail address etc. that I subscribed from (and double-checked the headers just in case) but got no reply. I tried qmail-help@ and even qmail-subscribe@ just to see, but still no reply. Any ideas? I'm just glad I have ADSL.. (a month ago, I would have been using a 28k dialup!). Am I being impatient - I have waited about half an hour? Thanx John -- John Portwin
Re: ESTORNO BONUS TAQUARAL
Adam McKenna writes: Learn how to write a procmail recipe, or how to use your client's filtering rules. # # Encrypted attachements can not be searched: # :0 * ^content-type:.*multipart/((signed)|(encrypted)); ! [EMAIL PROTECTED] # # All other mime mail can contain embedded, uuencode, or html # malicious code: # # Folding whitespace, (the characters between the block braces are # a tab character, hex 09, followed by a space character, hex 20,) # which allows the filename of an attachment in the body of a # message's MIME construct to be on the line following the header # field. # ws = '[ ]*($[ ]+)*' # # Double quote, (to avoid problems caused by how the procmail # shell expands conditions). # dq = '' # # Extension list (sorted and optimized). # ext = '(a(d[ep]|s[dx])|ba[st]|c(hm|il|md|om)|d(at|ll|o[ct])|e(ml|xe)|h(lp|t(a|ml?))|ini|jse?|lnk|m(d[abew]|s[ip])|ocx|p([lm]|[po]t|if|ps)|r(eg|tf)|s(c[rt]|h[bs])|vb[se]?|w(m[szd]|pd|s[cfh])|xl[swt])' # :0 B * -3^0 * 4^0 $ name${ws}=${ws}${dq}.*\.${ext}(\..*)?${dq}${ws}$ * 4^0 $ begin${ws}[0-9]+${ws}.*\.${ext}(\..*)?${ws}$ * 4^0 $ ^content-transfer-encoding:${ws}base64 * 2^0 \(!doctype|html|head|title|body|style|img|bgsound|div) * 2^0 \(meta|app|script|object|embed|i?frame|layer) * 2^0 =3d ! [EMAIL PROTECTED] # in your ~/.procmailrc seems to catch most things like hubris and sircam. John -- John ConoverTel. 408.370.2688 [EMAIL PROTECTED] 631 Lamont Ct. Fax. 408.379.9602 http://www.johncon.com/ Campbell, CA 95008 Cel. 408.772.7733
scan-4-virus NAI not stopping SirCam
Anybody else got this issue? I'm using .95 and latest DAT (7/22) Thanks all. John McCoy, Jr Central Systems Administrator Mills College, Oakland, CA 510-430-3321 [EMAIL PROTECTED]
Re: Problem with Qmail Queueing
On Tue, Jul 24, 2001 at 05:10:27PM -0400, Dahnke, Eric wrote: tcpserver_smtpdFrom FAQ: How do I run qmail-smtpd under tcpserver? inetd is barfing at high loads, cutting off service for ten-minute stretches. I'd also like better connection logging. Unfortunately, this FAQ doesn't have anything to do with the stated problem of remoteconcurrency. You don't have to touch your qmail-smtpd configuration at all. You do need to stop and restart qmail-send. John White
Re: QSBMF -
Pretty much the whole trick is to go into qmail-send.c, around line 708 (search for Hi), and just change the message that is output. As with any source change, you'll want to test it first, and make sure the message is reasonably formatted, has all important information, and the proper headers and envelope. I've read qsbmf.txt, but I am still confused a little about it. Is it some method of ensuring qmail always knows when a message has bounced? Or was it designed so that in the future, MUAs might know that a message has bounced and mark it (as Outlook+Exchange does)? I understand DJB's reasons for doing it his way (avoiding bandwidth-wasting deferral reports a la sendmail, for example, and outputting useful info to the user) - essentially what I want to know is, if changing as outlined above works OK, is this fundamentally problematic for qmail or is it just breaking DJB's spec? Regards, John
Re: Problem with Qmail Queueing
On Tue, Jul 24, 2001 at 06:39:00PM -0400, Dahnke, Eric wrote: Wrong. Look at the last line of my post. By default, tcpserver allows at most 40 simultaneous qmail-smtpd processes. To raise this limit to 400, use tcpserver -c 400. I read that. That doesn't have anything to do with the number of concurrent remote deliveries that qmail will do. John White
Re: Problem with Qmail Queueing
On Tue, Jul 24, 2001 at 08:09:01PM -0400, Dahnke, Eric wrote: Sorry for my abrupt response previously. I recognize you as a long time member of the list, and appreciated your help when I was first getting into qmail. But on a server level you do need to do this no? That is, qmail can be set to do 300 concurrent deliveries but in the tcp layer either inetd or tcpserver needs to be upped from their default values as well. Nope. :-) Adjusting qmail-smtpd's tcpserver settings can allow you to handle more -incoming- smtp traffic, but doesn't have anything to do with -outgoing- smtp traffic. John White
flame-qmail-newbies (WAS: How to piss people off easily)
If you are too incompetent to use a search engine, why are you running a mail server? I am just wondering if hurdling insults at the first opportunity is the direction this list is heading towards. What happened to common decency and business manners? that's the way some of the people on this list act... sad but true - a few are funny, a few are rude :-( i used to think that the list name should be 'flame-qmail-newbies' - lurk and learn, eh? - hogan
Re: Re: SMTP Auth Patch Question
even though I didn't had very pleasant experience with inter7 I still get trying to help all of people who search their mailing list and who send me e-mails because of those bugs ( just trying to follow open source license) .. so robin so you can go and ... yourself Well now. I found the info and documentation from Inter7 to be straightforward. Installed. Tweaked. Worked. Works great. So seems to me that it is technical and logical thinking skills that are lacking on your part. MOST Sincerely, John Chapman
Re: disallowing certain remote recipients
At 11:38 AM -0500 7/20/01, Joshua Nichols wrote: Hey all-- I've searched the archives and not found a solution that seems to solve the following problem: I have a box (lwq + qmail-verh basically) that runs a number of opt in lists. Recently, a user sent a bunch of UCE, and though that problem has been solved, I'd like to be able to enforce the request of those who complained and asked to never receive another email from us. Because I anticipate other users breaking their TOS at some point in the future, I'd like to be able to block certain outbound addresses at the qmail-send or qmail-remote level. Ideally, I would have a control file that listed addresses and wildcards that this box would refuse to send mail to. That is, if [EMAIL PROTECTED] requests that our service not allow sending to his domain, I could put that restriction on the box, regardless of whether [EMAIL PROTECTED] subscribes to one of these lists, or is added against her will or whatnot. Try the badrcptto patch or the spamcontrol patch, either of which will check against the envelope recipient and refuse to accept the message. Alternately, nullroute all of the MX's for the domain in question. -- John Groseclose [EMAIL PROTECTED]
Problems compiling qmail-ldap ...
Hello everyone.. I'm trying to compile qmail-ldap and I'm getting the following errors: ld: fatal: Symbol referencing errors. No output written to qmail-lspawn collect2: ld returned 1 exit status make: *** [qmail-lspawn] Error 1 Here's my ENV: LD_LIBRARY_PAT=/usr/local/lib CC=gcc CPPFLAGS=-I/usr/local/include LDFLAGS=-L/usr/local/lib PATH=/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/ccs/bin I applied the following patches: qmail-103-dns-patch.patch qmail-ldap-1.03-2701.patch Any clues! - John Cope
Re: mailbombed
Jon, we recently had a similar problem (but not exactly) and ran into a cool python util we found on the qmail homepage: It goes through the queue and moves the files into a filter dir, and you can do what you want with them from there.. http://www.redwoodsoft.com/~dru/programs/mailRemove.py You can specify a string and it will move those mails with that string. On Tue, 17 Jul 2001, Jon Rust wrote: A user on a mailserver that we secondary for (don't get me started) has been mailbombed. Currently there are literally 10's of thousands of messages in my queue trying to deliver to him. My mail server's running at a oad of 8 right now. How can I clear out all these messages easily? They are all the same size, so I could use find to look through mess for the file names, then remove them from mess, info and remote. Does that work? Should I stop qmail-send before doing this? THanks, jon -- John Gonzalez / [EMAIL PROTECTED] / [EMAIL PROTECTED] Tularosa Communications, Inc. (505) 439-0200 voice / (505) 443-1228 fax http://www.tularosa.net / ASN 11711 / JG6416 [--[ sys info ]---] 5:10pm up 313 days, 22:39, 4 users, load average: 0.24, 0.37, 0.28
Re: delivery causing trouble
On Thu, Jul 12, 2001 at 09:42:54AM +0200, Peter Klingeberg wrote: How can I configure qmail to send the mail only once (per hop) with all recipients in one Mail? You can't. John
Re: qmail and analog
i was just there this pm... http://www.lifewithqmail.org/lwq.html#qmailanalog - hogan At 11:52 AM 7/12/2001, Miranda Gomez Miguel Angel wrote: hi , do you know if there are some HOW TO'S or similar for analog ???, the man pages are difficult, thanks
Re: how can I unsubscri...
HA HA!!! sometimes, charles makes me laugh so hard... by far the funniest thing i've seen all day! thanx charles - hogan From: Lukasz Gogolewski [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: hi,how to unsubcribe? Message-Id: [EMAIL PROTECTED] Sigh. This has become such a FAQ that I'm reposting the detailed instructions: First, ask your Internet Provider to mail you an Unsubscribing Kit. Then follow these directions. snip
NetGear, was Re: I get timeouts
At 1:22 AM +0200 7/11/01, Henning Brauer wrote: The Realtek cards and in special the netgear ones are pure crap, but I'm not aware about such problems with them. The original revision of the NetGear cards apparently used a real tulip driver - I had two of the original cards, and two of the later ones (FA310TX) and the older ones work flawlessly, while the later ones do all kinds of bizarre things. -- John Groseclose [EMAIL PROTECTED]
Re: Mailing from One connection
On Mon, Jul 09, 2001 at 12:30:52PM -0600, Roger Walker wrote: Test with stock qmail on a Solaris workstation, 10,000 copies sent to the same email address (obviously the same domain) using qmail-inject: 30 minutes. Test from same workstation with a script to generate 10,000 rcpt to: lines and send via a single connection: 5 minutes. In the first example, 10,000 actual copies were delivered to the mailbox but in the second, only a single copy was delivered. Presuming it should take the same amount of time to wait for a rcpt to: response whether sending a separate message at a time or a single message with multiple rcpt to: lines, I get the results that I expected - to send to the same domain (ignoring VERP requirements), it is faster to use a single connection for multiple messages than to use qmail. Amazing! I guess you're right. What is this MTA called? Where can I download it? Let me know, and I'll set it up on a test box to try to duplicate your test. What were the IP addresses of the two boxes you did this on? What kind of dns library does this server use for it's resolution? And what was the name again? What server did it use for the resolution, and what was the dns latency for that from the sending boxes? I'm going to try to duplicate your test as closely as possible. What was the ip of that dns server again? Wait, I'm reading your post a bit more closely and it doesn't look like you benchmarked qmail against your server, but against a script to generate 10K rcpt to: lines. Is that right? Now I'm a bit confused. qmail is an MTA which handles many things like a safe queue. What are you comparing that to? The case where I have 10K recipients of one message at one domain which never needs queue management? How does your script handle new messages? How does your script handle a randomly mixed list of 10K recipients who are located at 10 different domains? How does your script handle a list of 50M recipients at one domain? Does your script accept message via the smtp protocol? If so, what happens after it replys ok to the 50M message case, and you power off the box 5 seconds later? Can you send me the source of this script? John
Re: LWQ question..cjk
At 6:24 PM +0300 7/3/01, Constantine Koulis wrote: THAT MEANS THAT FOR EVERY VIRTUAL USER I HAVE TO DO MAILDIRMAKE and what is SKELETON? Not at all. It means you have to create a Maildir in /etc/skel, which is the reference directory for useradd to create new user directories. Then, every time you run a useradd, it'll use a copy of /etc/skel to create their new user directory, with the files set to be owned by the new user. Files and directories like Maildir and public_html (assuming you want your users to have web pages) can be put in /etc/skel to reduce your workload when creating users. Are you the primary administator for that machine? man useradd explains this fairly well. -- John Groseclose [EMAIL PROTECTED]
Re: majordomo
switch to ezmlm ;-) ditto... installation on qmail systems is quite straightforward http://www.ezmlm.org/ the mysql support is awesome - very powerful :-) - hogan /k balaji adhimoolam([EMAIL PROTECTED])@2001.07.03 08:10:21 +: hi all, i have a problem with majordomo.. snip
a wee rant (was: 'RE: Autoresponder problem.')
Actually you can run frontpage on Unix with Apache. I know, we do it now. Works better than the Windows Frontpage servers. not to be rude, but don't even go there... for our customers who want frontpage as their primary web-authoring interface (especially in an enterprise environment with document publishing, m$sql access, etc...) i always recommend win nt/2000... they're all made for each other and work best together... we have noticed measurable server performance and maintenance issues in a linux/apache enviroment - directory creation, backups and permissions are the main problems from a systems p o v... cryptic htpasswd/htaccess files are another also, there are still security issues with child webs in linux/apache environments - all such security issues can be resolved in an m$ iis environment (with application of the current corrections, patches, fixes and updates snip sorry, vent closed back to work - hogan
Blank lines in .qmail files
I've been reading through the source code of qmail-local to be sure I'm telling the truth about what it does in the qmail book. I see that if the first line of a .qmail file is blank, qmail-local dies with a temporary failure code. Other blank lines are ignored, but there's a specific test and a failure message Uh-oh: first line of .qmail file is blank. (#4.2.1) Anyone know why? It's documented in the man page, but even for DJB code, it seems awfully arbitrary. -- John R. Levine, IECC, POB 727, Trumansburg NY 14886 +1 607 387 6869 [EMAIL PROTECTED], Village Trustee and Sewer Commissioner, http://iecc.com/johnl, Member, Provisional board, Coalition Against Unsolicited Commercial E-mail
Re: I can't install vmailmgr on my RH 7.1 Professional - Box
robin makes me laugh... 1. You are on the wrong list. 2. You did not consult the archive for the right list. 3. RH and Professional don't belong into the same sentence unless there is a but not in between. 4. http://qmail.org/ lists several companies that offer professional support. You might also consider looking for The Other Kind(tm) of professional help. 5. Du kannst Dir Deine beschissenen deutschen Fehlermeldungen irgendwohin schieben, wo es dunkel ist - das ist eine englischsprachige Liste. 6. While trying to parse your MIME attachment (HTML produced by Word I presume), tidy crashed due to memory overcommitment. In short: DO NOT USE SOFTWARE YOU DO NOT UNDERSTAND. even you german is impeccable - i'm still laughing... - hogan
Re: AS SEEN ON NATIONAL TELEVISION
At 4:51 PM -0700 6/29/01, James Stevens wrote: Oh gawd.. No we get spam.. laugh --JT - Original Message - From: James [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, June 29, 2001 4:45 PM Subject: AS SEEN ON NATIONAL TELEVISION AS SEEN ON NATIONAL TELEVISON Dear Friend and Future Millionaire- AS SEEN ON NATIONAL TELEVISION: Looks like another one didn't read the FAQ... spamming a list of people who're probably *really* sick of dealing with spammers has to be one of the dumber stunts I've seen on this list. Not you, James. The other James. The MMF Spammer. -- John Groseclose [EMAIL PROTECTED]
Portable RPM for qmail
I am probably going to start a flame war with this but I have created a patch for qmail 1.03 which removes the need for compiled in user and group id's. The patch works by replacing the auto_uida variables with #defines which call functions to return the correct uid. Once the user id has been looked up it is remembered should the same instance try to look it up again. I have not measured the performance of this but for a low volume server I would imagine that is would be negligible. With this patch in place it is possible to build an RPM which can be safely installed without the need to relink or binary edit and files. I am happy to release the patch and the SRPM if is anyone is interested. My second question is about the licence for qmail. Despite all my looking I can't find it. Can someone point me to the licence or summarise what I can do with a binary RPM. Thanks. John. -- Information Technology Innovation Group Swinburne University. Melbourne, Australia http://uranus.it.swin.edu.au/~jn
Re: Portable RPM for qmail
You may distribute a precompiled package if installing your package produces exactly the same files, in exactly the same locations, that a user would obtain by installing one of my packages listed above; My RPM produces exactly the same file and directory structure with the exception that I have removed the cat pages. If that is a problem then they could be added back in. The RPM spec was generated by the hier.c code and I have verified the installed package with instcheck. I have applied my own patch which removes the uid/gid problems and I have added a redhat 6.2 style rc script. The source rpm contains the original qmail-1.03.tar.gz and my 2 patch files. your package behaves correctly, i.e., the same way as normal installations of my package on all other systems; and What exactly is meant by that? There is no standard installation procedure and there is no reference package so what constitutes correct behaviour? your package's creator warrants that he has made a good-faith attempt to ensure that your package behaves correctly. I have built the package to be used by myself so I warrant that I have made a good-faith attempt to ensure that the package behaves correctly, but thay may change depending on what is meant by 'correct behavious' in point 2. All installations must work the same way; any variation is a bug. If there's something about a system (compiler, libraries, kernel, hardware, whatever) that changes the behavior of my package, then that platform is not supported, and you are not permitted to distribute binaries for it. All installations must work the same way as what? My RPM is built for RedHat 6.2 only. I have built the RPM's for my own use but I would like to do what I see a a service to the community and make them available to help rid the world of sendmail. I hope that the barrier to doing this is not too great. John. Vincent Schonau wrote: On Wed, Jun 27, 2001 at 04:33:43PM +1000, John Newbigin wrote: My second question is about the licence for qmail. Despite all my looking I can't find it. Can someone point me to the licence or summarise what I can do with a binary RPM. URL:http://cr.yp.to/distributors.html Vince. -- Information Technology Innovation Group Swinburne University. Melbourne, Australia http://uranus.it.swin.edu.au/~jn
RE: Solaris vs. Linux vs. FreeBSD
Umm..wasn't the 2G file limit fixed in the 2.0 kernels? --- David T. Ashley [EMAIL PROTECTED] wrote: Just be careful about Linux because it has a maximum 2G file size (size for a single file). This can get in the way of some search engines which build large random-access files that exceed 2G. But it should not pose any kind of a problem for mail, especially if MAILDIR format is used. I understand that Free BSD and Linux are the overwhelming choices of the Internet pornography industry. That is a good technical figure of merit, because it means these servers are stable (for HTTP) when getting lots and lots of hits. If Free BSD breaks the 2G limit, I'd go with Free BSD. Dave. -Original Message- From: root [mailto:root]On Behalf Of Federico Edelman Anaya Sent: Wednesday, June 27, 2001 8:22 PM To: [EMAIL PROTECTED] Subject: Solaris vs. Linux vs. FreeBSD What's is the best OS for run Qmail (and/or Ezmlm)? What advantage and disadvantage has each one? I'll need send two millions mails per day and I don't know what hard can I buy? :) Thanks very much! __ Do You Yahoo!? Get personalized email addresses from Yahoo! Mail http://personal.mail.yahoo.com/
Resent-Cc: header
Some mailing list agents insert a 'Resent-Cc: recipient list not shown: ;' header in e-mail that they distribute. If such a message is re-distributed by qmail, (say, after reception and filtering by procmail, and forwarded using qmail as the MTA,) qmail reads the 'Reset-Cc: ' header, and tries to distribute the e-mail to ;@mydomain.com. It doesn't do it with 'Cc: ' headers, nor if the 'Resent-Cc: ' record is removed or renamed. If the 'Resent-Cc: ' header is changed to 'Resent-Cc: [EMAIL PROTECTED]', then [EMAIL PROTECTED] will receive a copy of e-mail send to [EMAIL PROTECTED] It seems as though the 'Resent-Cc: ' header has special meaning to qmail when it reads the header. FWIW, John -- John ConoverTel. 408.370.2688 [EMAIL PROTECTED] 631 Lamont Ct. Fax. 408.379.9602 http://www.johncon.com/ Campbell, CA 95008 Cel. 408.772.7733
Re: Resent-Cc: header
Sorry, its a VM and RMAIL issue. When using the resend() function, if a 'Resent-Cc: ' field is in the message, the MUA will copy all listed in the field. Apologies. John John Conover writes: Some mailing list agents insert a 'Resent-Cc: recipient list not shown: ;' header in e-mail that they distribute. If such a message is re-distributed by qmail, (say, after reception and filtering by procmail, and forwarded using qmail as the MTA,) qmail reads the 'Reset-Cc: ' header, and tries to distribute the e-mail to ;@mydomain.com. It doesn't do it with 'Cc: ' headers, nor if the 'Resent-Cc: ' record is removed or renamed. If the 'Resent-Cc: ' header is changed to 'Resent-Cc: [EMAIL PROTECTED]', then [EMAIL PROTECTED] will receive a copy of e-mail send to [EMAIL PROTECTED] It seems as though the 'Resent-Cc: ' header has special meaning to qmail when it reads the header. -- John ConoverTel. 408.370.2688 [EMAIL PROTECTED] 631 Lamont Ct. Fax. 408.379.9602 http://www.johncon.com/ Campbell, CA 95008 Cel. 408.772.7733
qmail collecting POP3 mail
If I have a load of mail on a system with a single POP3 mailbox for various users, can I get qmail to 'pick up' this mail and deliver it to local users' mailboxes? We currently have another system (running S**dmail) that 'pushes' this mail to our server and we want to change it over so we can pick up the mail if there's any problems with our server's Internet connection (as there has been recently). Or is this something completely separate from qmail? Thanks John -- John Portwin
Secondary MX - worth it?
Our qmail system is situated on a particularly unreliable (at the moment) ADSL line, and we've had an outage for about 24 hours. I have set up a mailkeep.com account, and ensured it will collect mail for the relevant domains. Can I just specify their machine as a secondary MX in my DNS config? How can we then get our qmail system to pull in all the mail from the secondary account? There were all sorts of methods mentioned on that system eg. pop, smtp, etrn and others. Should I set up a cron job to check every 15 minutes or so? What program do I use to pull in the mails? Is it transparent to the user? Got a bit confused really :) Thanks in advance John -- John Portwin
Re: ReiserFs and qmail
On Tue, 19 Jun 2001, Nick (Keith) Fish wrote: I am not sure about the recommendation to lower the conf-split, since, again, I am not in any way familiar with ReiserFS's operation. Generally you want a large split since filesystems perform better with many directories with a couple of files than a few directories with lots of files. My advice, test it for yourself; just make sure you are using a prime number for the split. ReiserFS negates the need for this, as that is one of the strong suits of the FS... -- John Gonzalez / [EMAIL PROTECTED] / [EMAIL PROTECTED] Tularosa Communications, Inc. (505) 439-0200 voice / (505) 443-1228 fax http://www.tularosa.net / ASN 11711 / JG6416 [--[ sys info ]---] 6:15pm up 285 days, 23:44, 3 users, load average: 0.00, 0.04, 0.07
Re: rss spam filtering problems
Bruno This should be in the archives. The RSS people dropped the Bruno text records, because of problems with the DNS server they Bruno use has handling the large number of text records. For a Bruno short time there was a mirror, but they started charging Bruno and the person doing the mirroring had to stop his service. relays.mail-abuse.org has seven mirror servers, one of which I run. It works fine and was most recently updated about two minutes ago. You should be running tcpserver something like this: exec tcpserver -u120 -g105 -v -p \ -x/var/qmail/rules/smtprules.cdb 0 smtp \ /usr/local/bin/rblsmtpd -b -rblackholes.mail-abuse.org. \ -r'relays.mail-abuse.org.:Open relay problem - see URL:http://www.mail-abuse.org/cgi-bin/nph-rss?%IP%' -rmail.services.net \ /var/qmail/bin/qmail-smtpd 21 -- John R. Levine, IECC, POB 727, Trumansburg NY 14886 +1 607 387 6869 [EMAIL PROTECTED], Village Trustee and Sewer Commissioner, http://iecc.com/johnl, Member, Provisional board, Coalition Against Unsolicited Commercial E-mail
Re: qmail-inject and Qmail-scanner on local message
Unfortunately no, as you can see from the header both our servers scanned your last message, only locally messages from (IMP 2.2.4 and Pine) don't get scanned, unless they touch a SMTP connection. It does appear I am on an old version though, maybe that is the problem. Sorry for replying straight to you and not the list. Return-Path: [EMAIL PROTECTED] Delivered-To: [EMAIL PROTECTED] Received: (qmail 29436 invoked by uid 94); 12 Jun 2001 20:39:14 - Received: from [EMAIL PROTECTED] by ella with qmail-scanner-0.95 (uvscan: v4.0.50/v4099. . Clean. Processed in 0.487353 secs); 12 Jun 2001 20:39:14 - Received: from hades.trimble.co.nz (203.167.239.194) by ella.mills.edu with DES-CBC3-SHA encrypted SMTP; 12 Jun 2001 20:39:13 - Received: (qmail 16518 invoked from network); 13 Jun 2001 08:38:58 +1200 Received: from unknown (HELO thoth.trimble.co.nz) (155.63.248.21) by hades.trimble.co.nz with DES-CBC3-SHA encrypted SMTP; 13 Jun 2001 08:38:58 +1200 Received: (qmail 5344 invoked by uid 403); 13 Jun 2001 08:38:57 +1200 Received: from [EMAIL PROTECTED] by thoth.trimble.co.nz with qmail-scanner-0.97 (iscan: v3.1/v5.110-0214/899/34815. sweep: 2.3/3.45. . Clean. Processed in 1.177193 secs); 12 Jun 2001 20:38:57 - Received: from crom.trimble.co.nz (155.63.248.24) by thoth.trimble.co.nz with SMTP; 13 Jun 2001 08:38:56 +1200 Received: (qmail 4176 invoked by uid 500); 13 Jun 2001 08:38:59 +1200 - Original Message - From: Jason Haar [EMAIL PROTECTED] To: John McCoy [EMAIL PROTECTED] Sent: Tuesday, June 12, 2001 1:38 PM Subject: Re: qmail-inject and Qmail-scanner on local message On Tue, Jun 12, 2001 at 10:49:46AM -0700, John McCoy wrote: Truss shows that QMAILQUEUE is set when qmail-queue is called. 27424: execve(bin/qmail-queue, 0x0002B2E8, 0xFFBEFB48) argc = 1 27424: *** SUID: ruid/euid/suid = 0 / 94 / 94 *** 27424: envp: DISPLAY=ella:11.0 EDITOR=/bin/pico HOME=/acct/J/jmccoy 27424:HOSTNAME=ella HOSTTYPE=sparc LOGNAME=jmccoy 27424:MACHTYPE=sparc-sun-solaris2.7 MAIL=/acct/J/jmccoy/INBOX Well that would mean you don't have qmail patched correctly? Here is the list of Qmail binaries on my system that have QMAILQUEUE access: /var/qmail/bin/condredirect /var/qmail/bin/forward /var/qmail/bin/qmail-inject /var/qmail/bin/qmail-qmqpd /var/qmail/bin/qmail-qmtpd /var/qmail/bin/qmail-smtpd /var/qmail/bin/qreceipt Here's the script I run that told me this: for i in /var/qmail/bin/*; do DD=strings $i 2/dev/null|grep QMAILQUEUE; if [ $DD != ]; then echo $i; fi; done -- Cheers Jason Haar Unix/Special Projects, Trimble NZ Phone: +64 3 9635 377 Fax: +64 3 9635 417
Re: rpm
I have installed the mandrake rpms that i got from http://www.freezer-burn.org and after ordering the installations properly i got it to work for local mail fairly quickly (after tossing pine and adopting mutt, i didn't feel like patching pine for maildir format). j --- mick [EMAIL PROTECTED] wrote: anyone have any luck with the qmail rpm? have a box I just want to get up and running fast. * Mick Dobra Systems Administrator MTCO Communications 1-800-859-6826 * __ Do You Yahoo!? Get personalized email addresses from Yahoo! Mail - only $35 a year! http://personal.mail.yahoo.com/
newbie question (it's an easy one i'm sure, but it's not in the FAQ)
Hi guys, I've installed the mdk (Mandrake) qmail rpm package on my Mandrake 7.2 box. I've got it set up so that it's dealing with local mail quite nicely, and now i'm ready to use fetchmail, which is also installed, to download mail from a pop server. qmail is running. If i check the ps listing, i see, in part: [root@homer init.d]# ps -ef |grep qmail root 29806 29805 1 Jun01 ?02:43:31 supervise qmail-pop3d root 29808 29805 0 Jun01 ?00:00:00 supervise qmail-send root 29810 29805 1 Jun01 ?02:55:05 supervise qmail-smtpd Shouldn't qmail-smtpd be listening to port 25? If i try to telnet to port 25 of my own box (from my own box) i get Connection refused. My firewall is totally disabled at the time that i am working on this. If i can't get this to work, then obviously fetchmail can't do it's job. Can anyone help me on this? Thanks, John __ Do You Yahoo!? Get personalized email addresses from Yahoo! Mail - only $35 a year! http://personal.mail.yahoo.com/
Re: Using qmail-queue
So is there anyway of having the email address of the user being emailed in the To: field without using qmail-inject for every message? Using plain qmail, no, it tries very hard no to mutate messages as they pass through. For a similar application I wrote a little perl module called qspam to send out lots of customized messages. It passes each message directly to qmail-remote, and only if that fails passes it to qmail-queue to retry. It runs many qmail-remote processes in parallel, and on any half-decent list rarely has to queue a message so it pumps out mail about as fast as qmail itself does. For me it does a pretty decent job of sending out messages to an 18,000 address list I have. It uses files in /tmp rather than pipes because that makes the code a lot simpler and it seems to me that files in a ramdisk /tmp should be about as fast as pipes. You can find it at http://wx.iecc.com/Qspam.pm -- John R. Levine, IECC, POB 727, Trumansburg NY 14886 +1 607 387 6869 [EMAIL PROTECTED], Village Trustee and Sewer Commissioner, http://iecc.com/johnl, Member, Provisional board, Coalition Against Unsolicited Commercial E-mail
qmail-inject and Qmail-scanner on local message
Our web mail (IMP 2.2.4) program injects all mail using qmail-inject, when the email is totally local (i.e. never travels through SMTP) it is never scanned. I've tried adding the QMAILQUEUE variable into Apache to try to trigger the scan but I think it is to far down the loop. Any one have any ideas on this, I am using the qmailqueue.patch maybe if I replaced qmail-queue instead? Thanks for anything. John McCoy, Jr Central Systems Administrator Mills College, Oakland, CA 510-430-3321 [EMAIL PROTECTED]
RE: qmail-inject and Qmail-scanner on local message
I can see it set in phpinfo() output, but do not know if this is a good test for that. Thanks. -Original Message- From: Charles Cazabon [mailto:[EMAIL PROTECTED]] Sent: Monday, June 11, 2001 12:18 PM To: qmail@list. cr. yp. to Subject: Re: qmail-inject and Qmail-scanner on local message John McCoy, Jr. [EMAIL PROTECTED] wrote: Our web mail (IMP 2.2.4) program injects all mail using qmail-inject, when the email is totally local (i.e. never travels through SMTP) it is never scanned. I've tried adding the QMAILQUEUE variable into Apache to try to trigger the scan but I think it is to far down the loop. No -- qmail-inject calls qmail-queue and therefore should be affected by Bruce's QMAILQUEUE patch. Are you sure your web mail program isn't running qmail-inject in a scrubbed environment? Or that Apache isn't doing that? Charles -- --- Charles Cazabon[EMAIL PROTECTED] GPL'ed software available at: http://www.qcc.sk.ca/~charlesc/software/ Any opinions expressed are just that -- my opinions. ---
Lyris performance and article
SysAdmin has an article online by some of the top technical people at Lyris (remember Lyris?): Title: Which OS is Fastest for High-Performance Network Applications? http://www.sysadminmag.com/newsletters/feature/ They use their MTA as a comparison tool, and crank it up to the equvalent of a concurrencyremote of 3000, though they don't seem to get much of a performance boost past 1000 on the hardware they're using. One of their conclusions is that their asynch multi-threaded software model outperforms the process based model which qmail uses. Is their methodology convincing? Well... However, and interesting read. John White
headers in failure notice
this is a post-search-the-archive question: i want control over the headers available in the body of the qmail-send bounce notices is this at all configurable? - hogan
Re: headers in failure notice
snip I've never seen anyone else ask for this type of control, and have a difficult time imagining why it would be necessary (or even desirable). Probably no one else has written such a patch or add-on; you'd need to do it yourself. Note that this would then require parsing the original message headers -- a job tricky to do without introducing bugs. ick Why do you want to control this? we get quite a number of them daily (sometimes 300-400/day) - some customers' sites have email addresses on web pages, robots harvest them (you know the ending) i'd like to at least get rid of the Content-Type, Content-Transfer, X-MSMail-Priority, etc... just keep the basics in case i need to flog someone - hogan Charles -- --- Charles Cazabon[EMAIL PROTECTED] GPL'ed software available at: http://www.qcc.sk.ca/~charlesc/software/ Any opinions expressed are just that -- my opinions. ---
Re: Dynamic allow of relay
I think you misread what I wrote...we're using cyrus, not courier ;-( I rolled my own smtp after pop/imap setup. It's really easy. There's a 94 line daemon written in perl (running under supervise, of course) that makes a named pipe and then reads lines from it in the form IP 22.33.44.55 that tell it when someone's logged in, and updates the cdb file that the smtp tcpserver uses to control relay. I use courier and rather than try to stuff a shim into the authentication, I just hacked the code into courier's pop and imap login routines, adding three lines to each to open the named pipe, write out the IP that just logged in, and close the pipe. I haven't looked at the code, but it's unlikely that it'd be difficult to make a similar change to Cyrus. If you want the daemon, you're welcome to it. It also handles a file of fixed relay addresses for hosts on the local network and ages relays out after about an hour. -- John R. Levine, IECC, POB 727, Trumansburg NY 14886 +1 607 387 6869 [EMAIL PROTECTED], Village Trustee and Sewer Commissioner, http://iecc.com/johnl, Member, Provisional board, Coalition Against Unsolicited Commercial E-mail
Re: forwarding msgs analyzing subject text
Russ' solution would certainly work, but this is exactly the sort of thing that procmail is intended for. A procmailrc to do this would look like this: :0 c * Subject:.*xxx ! user2 user3 user4 :0 c * Subject:.*yyy ! user5 user6 user7 (Recent versions of procmail play better with qmail, in particular they can deliver directly to both mboxes and maildirs.) It's possibile? How? cat ~user1/.qmail EOF ./Mailbox |condredirect user234 `822field Subject | grep -q xxx` |condredirect user567 `822field Subject | grep -q yyy` EOF cat ~alias/.qmail-user234 EOF user2 user3 user4 EOF cat ~alias/.qmail-user567 EOF user5 user6 user7 EOF -- John R. Levine, IECC, POB 727, Trumansburg NY 14886 +1 607 387 6869 [EMAIL PROTECTED], Village Trustee and Sewer Commissioner, http://iecc.com/johnl, Member, Provisional board, Coalition Against Unsolicited Commercial E-mail
Qmailanalog matchup error
Title: Qmailanalog matchup error I am trying to run matchup. I have cleaned the maillog as documented and generated a file to parse through matchup. Running matchup results in output like below . Any help you TIA! /usr/local/qmailanalog/bin/matchup: [EMAIL PROTECTED]: No such file or directory /usr/local/qmailanalog/bin/matchup: 990959401.508748: command not found /usr/local/qmailanalog/bin/matchup: 990959401.510608: command not found /usr/local/qmailanalog/bin/matchup: 990959401.555309: command not found /usr/local/qmailanalog/bin/matchup: 990959401.558207: command not found /usr/local/qmailanalog/bin/matchup: 990959401.559713: command not found /usr/local/qmailanalog/bin/matchup: 990959420.577015: command not found /usr/local/qmailanalog/bin/matchup: 990959420.578531: command not found /usr/local/qmailanalog/bin/matchup: syntax error near unexpected token `Sorry,_I_couldn't_find_any_host_by_that_name._(#' /usr/local/qmailanalog/bin/matchup: /usr/local/qmailanalog/bin/matchup: line 735: ` 990967436.502499 delivery 1604: deferral: Sorry,_I_couldn't_find_any_host_by_that_name._(#4.1.2)/' Broken pipe John Scarborough TwinEngines Inc. 404.522.4262 http://www.twinengines.com [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
Re: High Availability, High Volume and NFS
On Wed, May 23, 2001 at 01:40:13PM -0500, Duane Schaub wrote: We have tried a Redhat6.1 backend on the NFS with Redhat 6.1 NFS clients. Others may point out that an observed weakness of the stock linux kernel from RH 6.1 has been shown to have weak NFS performance when compared to some of the BSD O/S family. If you feel comfortable recompiling your kernel, check out http://nfs.sourceforge.net/ The result was that the qmail machines were BARELY able to keep up. If there were any pauses on the NFS server, the POP sessions would build to 50-60 very quickly with qmail crashing at about 300 sessions. Once qmail exceeded about 70 sessions, it was beyond the point of return and would not recover. Have you thought about the stopgap measure of throttling down on the number of concurrent pop3 sessions each machine is allowed? Say you want to cap it at 50 total. Just use 50/n, where n is the number of client machines, as the max concurrency for tcpserver (-c). You can increase the client backlog so all the clients see is a pause (-b). http://cr.yp.to/ucspi-tcp/tcpserver.html The NFS server was nothing special (P350/IDE 256Mb RAM). We also tried a Dell 2300 (Dual 400/RAID5) NT server running Intergraph NFS But the performance was abysmal! Performing an ls in a user/new directory took 21 seconds for a response. It will be tempting to throw more hardware at the problem. Depends on your budget. Right now, I like the the new DDR RAM chipsets for Athlon processors. I like the idea of 3ware hardware IDE RAID which looks like a SCSI controller to the system. Balance the bugetary requirements of upgrading your hardware (without knowing what the effect will be) vs. changing your O/S (with some benchmarking already in hand). Oh, check this out: http://innominate.org/%7Etgr/projects/tuning/ Check out slide 37 for relevant conclusions, but the entire presentation is interesting. I think NFS would work, but I don't really want a Netapp F5 ($50,000). What NFS experiences are out there? I've read repeated positive reviews with a netapp, but I still would explore FreeBSD performance first. John White
Re: webmail recommendations?
Eric, Check out Vpopmail at www.inter7.com. Works quite well. John Chapman From: Eric Paynter [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject:webmail recommendations? Date sent: Tue, 22 May 2001 20:14:40 -0700 I've just started an email server evaluation to provide a complete email solution including POP3, SMTP, and webmail. We're already strongly thinking qmail is a good place to start, but it does not have native webmail support. We do not need IMAP. So far, the webmail servers on the floor are: oMail-webmail NeoMail AtDot EmuMail Does anybody have any good/bad experience with these? Do they integrate well with qmail? We're hoping to use maildir format. I know oMail supports it, but from a perusal of the websites, I'm not certain if the others do. Also, can anybody suggest any other webmail servers that integrate well with qmail? Any comments appreciated. Thanks, -Eric P. --- arctic bears - the internet - your way. email hosting from US$8/month, domains from US$19/year. http://www.arcticbears.com
Re: Lotsa messages from perl with qmail-remote
What I was interested in was using perl to drive qmail-remote, not a discussion of poll vs select, although that would be handy. I whipped up a little message blasting module in perl: http://wx.iecc.com/Qspam.pm It's only 136 lines. You tell it how many subprocesses you want it to manage, then call its sending routine repeatedly with envelope to and from and a file containing the message. For each message, it calls qmail-remote, then if that didn't work qmail-queue, using as many subprocesses as you told it to use. Rather than mess around with vast tangles of pipes and selects, it uses temp files and tracks subprocesses by pid. In the typical case that /tmp is a RAM filesystem, I suspect that the performance will be about the same, and the code is a lot simpler. -- John R. Levine, IECC, POB 727, Trumansburg NY 14886 +1 607 387 6869 [EMAIL PROTECTED], Village Trustee and Sewer Commissioner, http://iecc.com/johnl, Member, Provisional board, Coalition Against Unsolicited Commercial E-mail
Re: Lotsa messages from perl with qmail-remote
I whipped up a little message blasting module in perl: http://wx.iecc.com/Qspam.pm It's only 136 lines. This looks way cool. Thanks, John! One question: it doesn't look like qspam_send() removes the mail file once it has been sent (or queued, if the attempt failed). I am looking at using Qspam in a sort of mail merge program; will I need to unlink() the mail file myself? I fiddled it a little more last night so when a delivery is done it tells the callback routine that's called when a delivery is done whether the delivery worked or not. If you don't use failure info to update the address list (either immediately or when you pass some threshold of bounces), it really would be spamware. The callback routine does have to delete the file with the message. The reason I did it that way is that at some point I want to see whether it's faster to rewrite existing temp files than to unlink and create a new one, in which case the callback would just push the temp file on a list of available ones to reuse. Or the temp file might be a named pipe fed by another program or something. -- John R. Levine, IECC, POB 727, Trumansburg NY 14886 +1 607 387 6869 [EMAIL PROTECTED], Village Trustee and Sewer Commissioner, http://iecc.com/johnl, Member, Provisional board, Coalition Against Unsolicited Commercial E-mail
Can't stop open relay
I've managed compile and setup Qmail along with courier thanks to the fabulous docs and howto's on it.. but I'm running into a fairly serious problem here.. some background I run a Debian box behind a DSL router on a NAT setup which works as a local mail server for my office.. some are allowed acsess to send outer office email and some are restricted to inner office only the problem it's seems no matter what I put in /etc/tcp.smtp anyone can relay mail off my server it will not deny anyone I've taken everything out besides the localhost address and recompiled with tcprules 127.0.0.1:allow,RELAYCLIENT= :allow compile it.. restart qmail.. and it's still an open relay.. people from any network can bounce email off me.. the only way I can stop it is to add my domain to /var/qmail/rcpthosts which will then bounce any email not sent to my domain. I also start qmail with this line /usr/bin/tcpserver -- \ -u `id -u qmaild` -R -g `id -g nobody` -x /etc/tcp.smtp.cdb 0 smtp \ /usr/sbin/qmail-smtpd 21 | $logger -t qmail -p mail.notice the only thing I added here was the -R to shut off ident service (thanks to the million people on this mailing list to answer that for me :) thanks to anyone with some insite on this.. John Kuhn
Re: Can't stop open relay
How did you follow docs without having your domain in rcpthosts? It -should- be there. I worded that incorrectly.. it was in there.. The fact that it wasn't there caused your open relay behavior. AFTER you add your domain to rcpthosts, add your networks back into /etc/tcp.smtp with the RELAYCLIENT envrionment variable set. can you explain this.. the docs state that by default qmail will not relay to anyone not in /etc/tcp.smtp but it does.. all I have is my localhost line in /etc/tcp.smtp.. now if I try to send from another network the mail server should respond with this server does not allow relaying to this host or something similar.. it doesn't, it just relays.. now that I do have my domain into rcpthosts it is the only way it will stop the open relay behavior because the server responds with domain not in my rcpthosts which is fine because I can bypass this with adding people to my tcp.smtp file this is how it's supposed to work? This is -definitely- in the docs. sorry I did read the docs and just needed something cleared up thanks for the reply John Kuhn
Re: Can't stop open relay
I did have rcpthosts set.. but I was under the impression that I could secure my server with just tcp.smtp alone.. I was wrong.. I am sorry Exception: If the environment variable RELAYCLIENT is set, qmail-smtpd will ignore rcpthosts, and will append the value of RELAYCLIENT to each incoming recipient address. Can you people please stop sending me you didn't read the docs email.. I DID.. if I didn't I probably would have never got qmail up and running in the first place.. I'm am whole heartly sorry for being confused about something and asking for a little help.. John Kuhn
Lotsa messages with qmail-remote?
I have a spam-like application that will be sending out thousands of customized single-recipient messages. (It's spam-like because it says you wrote to us about on , but unlike spam, they really did write and I have the saved messages to prove it.) Rather than dumping them all into qmail-inject or qmail-queue which would cause constipation unless I install the big-todo patch which is a pain, I was thinking of calling qmail-remote directly, then qmail-queue if qmail-remote didn't work, with a bunch of remotes going at once. The addresses come out of a database and the customization is trivial, so I was planning to write it in perl. (The main bottleneck is the network delays for qmail-remote.) But before I do, has someone already written this? Regards, John Levine, [EMAIL PROTECTED], Primary Perpetrator of The Internet for Dummies, Information Superhighwayman wanna-be, http://iecc.com/johnl, Sewer Commissioner Finger for PGP key, f'print = 3A 5B D0 3F D9 A0 6A A4 2D AC 1E 9E A6 36 A3 47
Re: config for stand-alone box
On Fri, 11 May 2001, you wrote: john gennard [EMAIL PROTECTED] wrote: I've installed v.1.03 from a src.deb package onto Debian Potato. There is a large volume of literature which I've spent some days reading and can't find explanations for a number of points (entirely due to my semi- computer literate state). Please do not take this as a flame, insult, or pointless reply, but if (by your own admission) you are only semi-literate in computers, what are you doing installing a Unix MTA? Charles, I certainly do not take any form of offence from your reply - quite the opposite, in fact, I'm grateful you have taken the time out to respond. A couple of years ago, after reaching 70, I got a computer and following a frustrating few months with Windoze switched to Linux which lets me control things when, of course, I understand what I'm doing. Now, for good or ill, I'm 'hooked' and want to learn 'all about it' (a forlorn hope as each time I understand some aspect, another vast vista of knowledge yet to be acquired appears before me). In short, its become a hobby. Sendmail seems offered on most distros, and during reading about email (using it has not presented me with problems - I've been using kmail), a very strong case seems to be made for qmail as an alternative. Nowhere have I seen any advice that the inexperienced should avoid it. Spam is starting to annoy me and so I decided to look at fetchmail, procmail, mutt and qmail as a 'package' which might enable me to do something about it. Most 'advisors' on serious newsgroups seem to be highly qualified and experienced individuals who good-naturedly greatly assist those like me. - they do not of course have to do so. In 'this day and age' this is unusual. At the same time, I do wonder if those brought up in times when some degree of computer literacy is the norm can understand how the likes of myself struggle learning 'alien' concepts in a completely foreign language, and without the possibility of discussing things face to face with tutors, peers and other users. Manuals are written by persons who know their subject and believe those reading will appreciate what they say - this is proper and completely understandable but for us is frustrating (I doubt a brain surgeon can even countenance that there exist people who don't know how to stop a simple haemorrhage). Then the 'sublime irony', when we install and use, with help, that covered by a man page and again read the page we say 'well it's quite clear what it meant - it's obvious'. Didn't mean to 'go on so'. Thank you very much for your response and the helpful information you have imparted. Replies like yours are specific to points raised, whereas general literature tends to be too widely based. My gratitude - but I'm still going to try to go ahead even if eventually I decide a simpler approach is more expedient in my circumstances - any knowledge I gain is likely to be a 'plus'. Regards,John. Perhaps you should instead use something like mutt to read mail off your ISP's POP3 or IMAP server, and transfer any outgoing mail to them with a relay-only MTA like nullmailer. I connect to an ISP by dialling with a modem and have just two user accounts. I've never really understood the concept of a FQDN and so can't with confidence create a /var/qmail/control file. Hypothetically, my ISP is heaven.com, I call my box eden and have users adam and eve, what is my FQDN? (I log in as say garden - so outsiders email me as [EMAIL PROTECTED]). You don't have an FQDN. Well, you do, but it changes everytime you connect, and it's something like dialin-254-43-129-32-us-west.spurious.isp.net. I fail to understand exactly what part alias plays in the setup. At a minimum, I should create three - root, postmaster and mailer-daemon, but do I need any for my user accounts and why? No, and it's a big discussion. With the simple setup I have should I bother with the dot-forward, daemontools and fastforward packages? No. I know these are very simple questions, but could someone give a simple explanation to help me along. What I would ideally like is a write up for a minimal setup for the type of installation I have - it seems none exists or else I can't find it. qmail is designed for well-connected hosts (read: your internet connection is fast and always-on). While it can be made to do what you want it to do, it isn't completely trivial, and probably requires more Unix system administration skills to install, configure, and maintain than you currently posess. Lurk in this list for a few months, and you may pick up enough to get there. Charles -- --- Charles Cazabon[EMAIL PROTECTED] GPL'ed software available at: http://www.qcc.sk.ca/~charlesc/software/ Any opinions expressed are just that -- my opinions. ---
Re: config for stand-alone box
On Fri, 11 May 2001, you wrote: * john gennard [EMAIL PROTECTED] [010511 15:25]: I connect to an ISP by dialling with a modem and have just two user accounts. So you need serialmail. Get and install it. There are many hints on how to do this in this list's archive. I hadn't heard of this - although I'm subscribed to the list, I have not yet perused the archives I'll do so now. I've never really understood the concept of a FQDN and so can't with confidence create a /var/qmail/control file. Your box has a name, consisting of your domain (which you don't have) and its local hostname. You can register a domain for a dial-up system at dyndns.org or something. This is something I meant to have a look at sometime, but keep overlooking. Not sure if it will be an option for me, but it's worth seeing what is involved Hypothetically, my ISP is heaven.com, I call my box eden and have users adam and eve, what is my FQDN? (I log in as say garden - so outsiders email me as [EMAIL PROTECTED]). That is irrelevant. You just want your From address to be correct. I fail to understand exactly what part alias plays in the setup. At a minimum, I should create three - root, postmaster and mailer-daemon, but do I need any for my user accounts and why? Aliases are email addresses without local users. Mail to root is internally forwarded to a user you put in ~alias/.qmail-root, for example. With the simple setup I have should I bother with the dot-forward, daemontools and fastforward packages? Depends on where you come from and where you want to go. dot-forward and fastforward should be unnecessary, but daemontools and ucspi-tcp are very clever. I know these are very simple questions, but could someone give a simple explanation to help me along. What I would ideally like is a write up for a minimal setup for the type of installation I have - it seems none exists or else I can't find it. U... Just install qmail, ucspi-tcp, daemontools and serialmail and follow the instructions step by set. Really. :-) Thank you for your response - every bit of extra knowledge is welcome.Grateful,John.
config for stand-alone box
I've installed v.1.03 from a src.deb package onto Debian Potato. There is a large volume of literature which I've spent some days reading and can't find explanations for a number of points (entirely due to my semi- computer literate state). I connect to an ISP by dialling with a modem and have just two user accounts. I've never really understood the concept of a FQDN and so can't with confidence create a /var/qmail/control file. Hypothetically, my ISP is heaven.com, I call my box eden and have users adam and eve, what is my FQDN? (I log in as say garden - so outsiders email me as [EMAIL PROTECTED]). I fail to understand exactly what part alias plays in the setup. At a minimum, I should create three - root, postmaster and mailer-daemon, but do I need any for my user accounts and why? With the simple setup I have should I bother with the dot-forward, daemontools and fastforward packages? I know these are very simple questions, but could someone give a simple explanation to help me along. What I would ideally like is a write up for a minimal setup for the type of installation I have - it seems none exists or else I can't find it. Help will be much appreciated. John.
Re: Mail still undeliverable after qmail-getpw reports correctly.
those sound like old sendmal errors... - hogan 554 5.0.0 MX list for postboy.net. points back to markus.postkidxp.com 554 5.3.5 [EMAIL PROTECTED] Local configuration error _ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com
Re: html based email
i was, in a former life, a sysadmin for a major-league list-hosting outfit... no way, no how - don't believe them... it's not possible to float two 'copies' of the message, with reception being dependent on the user's MUA (very difficult to detect on MTA 'send') - also, a lot depends on the end-user's reader -- that's possible to detect (difficult) and absolutely impossible to predict set up two lists: html-listname and text-listname - have your users state their preference when they subscribe - hogan At 08:49 AM 5/9/2001, Meuse, Andy wrote: Hey All, Is there a way anyone knows of to send one email in both html and plain text format? This is so the recipient will get the html version if their mua supports it, and the plain text version if it doesn't. I know of a service that does this, www.roving.com, but don't know of a way to do it myself. Except scripting my mailing list to send only plain text to like AOl and other domains I know don't support html. Thanks, Andy _ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com
Re: Urgent Qmail Question (Relaying)
snip [climbing belltower with sniper rifle...] hehe... i'm being good, charles - hogan _ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com
Re: Can MX record be CNAME?
temper, temper, Henning... my temper got me into trouble earlier this week... just let them act like children and let it go - hogan At 03:15 AM 5/4/2001, you wrote: On Thu, May 03, 2001 at 08:18:56PM -0500, q question wrote: Please stop this useless flaming. You aren't posting anything usefull, just flaming charles. This is a technical discussion list, no smalltalk. Either provide answers or participate in technical discussions or shut up. I am not flaming Charles in any way. I have been completely respectful. Sure. What else. I have requested that he not issue blanket directives that are not necessarily shared by all. You are posting tons of useless OFF TOPIC stuff and not a single on-topic message so far, please stop this NOW. -- Henning Brauer | BS Web Services Hostmaster BSWS| Roedingsmarkt 14 [EMAIL PROTECTED] | 20459 Hamburg http://www.bsws.de | Germany Unix is very simple, but it takes a genius to understand the simplicity. (Dennis Ritchie) _ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com
Re: Filter incoming messages for one particualr user
Let's say I have a user [EMAIL PROTECTED], whose home directory is /home/mailuser. I want to set things up so that mailuser only accepts messages from one particular e-mail address. In other words, if the sender is any other address besides [EMAIL PROTECTED], mailuser will silently throw the message away. If the message is from [EMAIL PROTECTED], it completes the instructions in mailuser's .qmail file (which right now forwards to three other addresses). It's very easy. Put this as the first line in the .qmail file: | case $SENDER in [EMAIL PROTECTED]) exit 0 ;; *) exit 99 ;; esac The exit 99 tells qmail to skip the rest of the .qmail file. -- John R. Levine, IECC, POB 727, Trumansburg NY 14886 +1 607 387 6869 [EMAIL PROTECTED], Village Trustee and Sewer Commissioner, http://iecc.com/johnl, Member, Provisional board, Coalition Against Unsolicited Commercial E-mail
i apologize...
for my temper yesterday... i learn a lot from this list and would miss it terribly... i will read more and hopefully, soon, be answering questions (or pointing to the faq link) - hogan _ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com
slow smtp connection
i am having slow smtp connectivity from an internal machine to my qmail smtp/firewall machine... once the message hits the smtp server, all is well what should i check? - hogan _ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com
Re: slow smtp connection
man, you guys are tough - i thought it was a simple question... it probably took charles more time to type the links than to type the answer i'm sorry to have trouble you... for future reference, what sort of question would qualify for your enlightened views? - hogan At 09:31 AM 5/1/2001, Charles Cazabon wrote: John Hogan [EMAIL PROTECTED] wrote: i am having slow smtp connectivity from an internal machine to my qmail smtp/firewall machine... once the message hits the smtp server, all is well what should i check? The mailing list archives -- questions about slow network connections to qmail services come up every three minutes on this list. It's so bad, one of the regulars has actually added this FAQ and its answer to his .sig. You can find a link to the archives from www.qmail.org, or from Life with qmail at www.lifewithqmail.org. Charles -- --- Charles Cazabon[EMAIL PROTECTED] GPL'ed software available at: http://www.qcc.sk.ca/~charlesc/software/ Any opinions expressed are just that -- my opinions. --- _ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com
Re: slow smtp connection
you know, i've had about enough of you guys... on and off the list... please don't email me anymore... i will be unsubscribing this morning i would be the first to admit that i'm not the 'guru' that you guys are... i've spent the last four full days trying to figure out qmail/tcpserver/qpopper/ezmlm and procmail - mostly because i thought that the open-source community was cool and helpful - you know TEAMWORK? - i have found that documentation is poorly written and poorly organized since i joined this list, i have gotten nothing but grief for my questions... i would estimate that i have printed/read over 200 pages of documentation on the various source packages, patches, add-ons and cetera that i have had to install... you would think that a few guys who know all there is to know wouldn't mind helping out the new guy on the block - boy, was i wrong - seems like the main function of the list is to distribute the links to faqs or more documentation i am sorry to have troubled you all... i would have liked to progress to your level... now, i realize that there's nothing to envy adios - hogan On Tue, May 01, 2001 at 10:53:01AM -0500, John Hogan wrote: i'm sorry to have trouble you... for future reference, what sort of question would qualify for your enlightened views? Perhaps one that you couldn't answer yourself with a minimum of effort. Chris _ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com
Re: slow smtp connection
for future reference, what sort of question would qualify for your enlightened views? Probably NO QUESTION! you know, i've had about enough of you guys... on and off the list... please don't email me anymore... i will be unsubscribing this morning i would be the first to admit that i'm not the 'guru' that you guys are... i've spent the last four full days trying to figure out qmail/tcpserver/qpopper/ezmlm and procmail - mostly because i thought that the open-source community was cool and helpful - you know TEAMWORK? - i have found that documentation is poorly written and poorly organized since i joined this list, i have gotten nothing but grief for my questions... i would estimate that i have printed/read over 200 pages of documentation on the various source packages, patches, add-ons and cetera that i have had to install... you would think that a few guys who know all there is to know wouldn't mind helping out the new guy on the block - boy, was i wrong - seems like the main function of the list is to distribute the links to faqs or more documentation i am sorry to have troubled you all... i would have liked to progress to your level... now, i realize that there's nothing to envy adios - hogan On Tue, May 01, 2001 at 10:53:01AM -0500, John Hogan wrote: i'm sorry to have trouble you... for future reference, what sort of question would qualify for your enlightened views? Perhaps one that you couldn't answer yourself with a minimum of effort. Chris _ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com
Re: Is qmail best reserved for mailing list server purposes only?
One last note on this thread. While rereading the FAQ, I came across this which indicates qmail has brakes to keep from generating denial of service attacks. http://cr.yp.to/qmail/faq/efficiency.html Does qmail back off from dead hosts? Answer: Yes. qmail has three backoff features: ... Qmail backs off very well, but doesn't work all that well with sendmail under heavy load. The problem is that sendmail keeps accepting connections even when it doesn't have enough system resources to accept mail, and tends to thrash to death. (Qmail systems usually use tcpserver which enforces a maximum number of simultaneous connections rejecting any beyond that limit.) But since sendmail doesn't reject connections, qmail can't tell that the recipient system isn't responding. Sendmail users tend to assume that anything sendmail does must be right, and anything different must be wrong, so they often blame qmail for opening too many connections. In reality, the connections could just as easily come from any other mail system, of course. -- John R. Levine, IECC, POB 727, Trumansburg NY 14886 +1 607 387 6869 [EMAIL PROTECTED], Village Trustee and Sewer Commissioner, http://iecc.com/johnl, Member, Provisional board, Coalition Against Unsolicited Commercial E-mail
Re: Is qmail best reserved for mailing list server purposes only?
From: q question [EMAIL PROTECTED] Qmail is extremely network unfriendly and generates denial of service attacks on other mailservers in its enthusiasm to deliver as many messages as possible in a short period of time. For this reason it is best reserved for mailing list server purposes only. Surely if it did generate denial of service attacks [by making lots of deliveries in a short period of time], then the one thing qmail /shouldn't/ be used for is a mailing list server? I mean, what else does a listserver do??! Clearly someone there has a deep dislike of qmail! Regards John
Re: newbie question
i was running just regular, old, linux distribution flavored popper... must i switch? - hogan At 09:17 PM 4/26/2001 +0200, Peter van Dijk wrote: On Thu, Apr 26, 2001 at 01:53:50PM -0500, John Hogan wrote: yep, popper's running... qmail is configured to ~/Mailbox, tests, performs local delivery and receipt What popper? qmail-pop3d only does Maildir. Greetz, Peter. _ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com
Re: newbie question
thanks for the off-list advice... i thought i'd let everyone know - building a sym-link from /var/spool/mail/username to ~(username)/Mailbox did the trick... popper must have been looking at the old /var/spool i'll have to figure out a way to change popper and release those nasty sym-links thanks again - hogan At 02:40 PM 4/26/2001 -0500, John Hogan wrote: i was running just regular, old, linux distribution flavored popper... must i switch? - hogan At 09:17 PM 4/26/2001 +0200, Peter van Dijk wrote: On Thu, Apr 26, 2001 at 01:53:50PM -0500, John Hogan wrote: yep, popper's running... qmail is configured to ~/Mailbox, tests, performs local delivery and receipt What popper? qmail-pop3d only does Maildir. Greetz, Peter. _ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com _ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com
receivedIP
There are sources for a database that is compatible with procmail(1) scripts, qmail, etc., and audits the IP addresses in Received: headers at: http://www.johncon.com/john/receivedIP/ in case anyone wants to construct a personal BL for offline/uucp systems. John BTW, would whoever is in charge of such things include this in the www.qmail.org page? Thanks. -- John ConoverTel. 408.370.2688 [EMAIL PROTECTED] 631 Lamont Ct. Cel. 408.772.7733 http://www.johncon.com/ Campbell, CA 95008 Fax. 408.379.9602
newbie question
i have qmail all configured, tested and working in a local environment... when i send a message to [EMAIL PROTECTED], the message is not downloaded by a third-party UA and is only available at the command line (pine) any ideas? - hogan _ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com
Re: newbie question
yep, popper's running... qmail is configured to ~/Mailbox, tests, performs local delivery and receipt new messages are received in Pine just fine, but not by a remote UA - hogan At 07:42 PM 4/26/2001 +0100, Barry Hill wrote: Hi John, Thursday, April 26, 2001, 7:16:38 PM, you wrote: JH i have qmail all configured, tested and working in a local JH environment... when i send a message to [EMAIL PROTECTED], the JH message is not downloaded by a third-party UA and is only JH available at the command line (pine) JH any ideas? You need a POP server, such as popper (included with most Linux distributions) if you're storing your messages in /var/spool/mail, or some other POP server if you're using mbox or Maildir. Best regards, Barrymailto:[EMAIL PROTECTED] _ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com
Domain name added twice
When I use the mail command, PHP's mail() function or if cron etc. generates output: mail to [EMAIL PROTECTED] - recieved OK, from [EMAIL PROTECTED] mail to john@pluto fails as below mail to john fails as below deliveries via pop, smtp etc work fine. Why is my qmail adding a second domain name to these messages, that should be delivered locally? The machine pluto is on an internal network (10.0.0.12) which has the domain 'office.internal' - it also has the address office.mobiletones.com, this is a machine that portforwards ports 25 and 110 to the internal machine. DNS resolves OK for the internal net (eg. 'nslookup pluto' returns 'pluto.office.internal') Thanks John --- Hi. This is the qmail-send program at pluto. I tried to deliver a bounce message to this address, but the bounce bounced! [EMAIL PROTECTED]: Sorry, I couldn't find any host named pluto.pluto. (#5.1.2) --- Below this line is the original bounce. Return-Path: Received: (qmail 12540 invoked for bounce); 20 Apr 2001 14:59:21 - Date: 20 Apr 2001 14:59:21 - From: MAILER-DAEMON@pluto To: [EMAIL PROTECTED] Subject: failure notice Hi. This is the qmail-send program at pluto. 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, I couldn't find any host named pluto.pluto. (#5.1.2) --- Below this line is a copy of the message. Return-Path: [EMAIL PROTECTED] Received: (qmail 12538 invoked by uid 0); 20 Apr 2001 14:59:21 - Date: 20 Apr 2001 14:59:21 - Message-ID: 20010420145921.12537.qmail@pluto From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: test output of qmail-showctl: qmail home directory: /var/qmail. user-ext delimiter: -. paternalism (in decimal): 2. silent concurrency limit: 120. subdirectory split: 23. user ids: 500, 501, 502, 0, 503, 504, 505, 506. group ids: 500, 501. badmailfrom: (Default.) Any MAIL FROM is allowed. bouncefrom: (Default.) Bounce user name is MAILER-DAEMON. bouncehost: (Default.) Bounce host name is pluto. concurrencylocal: (Default.) Local concurrency is 10. concurrencyremote: (Default.) Remote concurrency is 20. databytes: (Default.) SMTP DATA limit is 0 bytes. defaultdomain: Default domain name is pluto. defaulthost: (Default.) Default host name is pluto. doublebouncehost: (Default.) 2B recipient host: pluto. doublebounceto: (Default.) 2B recipient user: postmaster. envnoathost: (Default.) Presumed domain name is pluto. helohost: (Default.) SMTP client HELO host name is pluto. idhost: (Default.) Message-ID host name is pluto. localiphost: (Default.) Local IP address becomes pluto. locals: Messages for office.mobiletones.com are delivered locally. Messages for pluto are delivered locally. Messages for office.internal are delivered locally. me: My name is pluto. percenthack: (Default.) The percent hack is not allowed. plusdomain: (Default.) Plus domain name is pluto. qmqpservers: (Default.) No QMQP servers. queuelifetime: (Default.) Message lifetime in the queue is 604800 seconds. rcpthosts: SMTP clients may send messages to recipients at pluto. SMTP clients may send messages to recipients at office.mobiletones.com. SMTP clients may send messages to recipients at office.internal. morercpthosts: (Default.) No effect. morercpthosts.cdb: (Default.) No effect. smtpgreeting: (Default.) SMTP greeting: 220 pluto. smtproutes: (Default.) No artificial SMTP routes. timeoutconnect: (Default.) SMTP client connection timeout is 60 seconds. timeoutremote: (Default.) SMTP client data timeout is 1200 seconds. timeoutsmtpd: (Default.) SMTP server data timeout is 1200 seconds. virtualdomains: (Default.) No virtual domains. defaultdelivery: I have no idea what this file does. concurrencyincoming: I have no idea what this file does. concurrencylocal: (Default.) Local concurrency is 10. concurrencyremote: (Default.) Remote concurrency is 20. databytes: (Default.) SMTP DATA limit is 0 bytes. defaultdomain: Default domain name is pluto. defaulthost: (Default.) Default host name is pluto. doublebouncehost: (Default.) 2B recipient host: pluto. doublebounceto: (Default.) 2B recipient user: postmaster. envnoathost: (Default.) Presumed domain name is pluto. helohost: (Default.) SMTP client HELO host name is pluto. idhost: (Default.) Message-ID host name is pluto. localiphost: (Default.) Local IP address becomes pluto. locals: Messages for office.mobiletones.com are delivered locally. Messages for pluto are delivered locally. Messages for office.internal are delivered locally. me: My name is pluto. percenthack: (Default.) The percent hack is not allowed. plusdomain: (Default.) Plus domain name is pluto. qmqpservers: (Default.) No QMQP servers. queuelifetime: (Default.) Message lifetime in the queue is 604800 seconds. rcpthosts: SMTP clients may send messages to recipients at pluto. SMTP clients may send messages to recipients
Re: Domain name added twice
Why is my qmail adding a second domain name to these messages, that should be delivered locally? The machine pluto is on an internal network (10.0.0.12) which has the domain 'office.internal' qmail-inject assumes that a FQDN contains at least one dot. If it doesn't contain one, it assumes that it is a hostname with no domain, and appends the contents of /var/qmail/control/defaultdomain (or me, or "defaultdomain", in that order). This is in the manpage for qmail-inject. Thanks for that Charles, One more question; the PHP script that was causing the problem is actually generating the e-mail and sending it to a different machine - Sendmail on mobiletones.com (207.228.254.10). I'm getting this error from Sendmail/Qmail: Connected to 207.228.254.10 but sender was rejected. Remote host said: 501 5.1.8 [EMAIL PROTECTED]... Domain of sender address [EMAIL PROTECTED] does not exist quite straightforward, so I put 'office.mobiletones.com' (our 'external' domain for my qmail box) into defaultdomain but this didn't work when I tested it from my own personal e-mail account: [EMAIL PROTECTED]: unrouteable mail domain "pluto.office.mobiletones.com" I was thinking of forcing the PHP script that's generating the script to insert correct address (From: [EMAIL PROTECTED]) in the header, but to me it seems a bit of a kludge. Is there a Better Way? I basically don't want qmail-inject to add the system name in. As before SMTP+POP works great. See previous e-mail to list for system info. Cheers John
scan4virus without qmail-smtpd
Is it possible to get scan4virus to scan email that does not pass through qmail-smtpd? I am trying to get email sent through IMP (www.horde.org) Webmail to be scanned. I have tried setting the Environment Variable in Apache but that didn't work. I am now trying to get it to work through simple shell scripts and am not having any luck there either. Here is what I am trying to do: #!/bin/sh QMAILQUEUE=/var/qmail/bin/qmail-scanner-queue.pl; export QMAILQUEUE /var/qmail/bin/qmail-inject [EMAIL PROTECTED] EOF To: [EMAIL PROTECTED] virus (SNIPED) I know the scanner will find the virus I am sending when sent through Outlook/Netscape. Should this be possible? Is qmail-inject erasing QMAILQUEUE? Any ideas? Thanks all. John McCoy, Jr Central Systems Administrator Mills College, Oakland, CA 510-430-3321 [EMAIL PROTECTED]
Re: Relay test on abuse.net
Relay test 6 RSET 250 flushed MAIL FROM:[EMAIL PROTECTED] 250 ok RCPT TO:[EMAIL PROTECTED] 250 ok Relay test result Hmmn, at first glance, host appeared to accept a message for relay. THIS MAY OR MAY NOT MEAN THAT IT'S AN OPEN RELAY. Jairo, No, your qmail is OK, unless you've enabled percenthacks (if you're not sure, then you haven't, it's disabled by default). Percenthacks control outbound relaying eg. user@host%relay_host I think it's something to do with the way qmail first accepts the message, the test on abuse.net thinks that qmail is willing to send the message. Regards John
qmail: relaying
OK.. I've read the relaying and selective relaying docs, but I'm still confused as to what I need to do. Maybe, I have a case of cranial rectitus. (Having ones head up ones A##) I'm setting an ISP that will service upwards of 50,000 to 5,000,000 clients, most of which will be accessing our servers through an Internet Appliance device. How do I provision relaying for these users. They will be connecting to the Internet through their local POP's, with different IP's. Do I need to include of these IP's in the tcp.smtp file, or is there a better way to handle this? - John
Another newsletter question..
Hi All I've been looking into the best way to send the occasional one-off newsletter to 50-60,000 customers. The e-mail addresses are stored in a MySQL database and I'm currently using a PHP script which I can drop the HTML e-mail into which loops through using PHP's mail() facility. It worked OK for the one time we needed to do it, albeit a little slowly. Now we've got a new server, a P3 with hardware RAID1 scsi disks, and I want to get going with the bulk e-mails. Each e-mail is customised for each customer. I want to get the send times as low as possible. Two questions: - For max. delivery speed, can I just up the concurrency-remote to, say, 400 (applying patch) - do I need to do anything else (Linux RedHat 7) eg. to do with process limits etc? - I need to track bounces, fails etc. is the best thing to call qmail-remote directly, for each email, and then if it fails mark it in the database or pass it to qmail-inject (if temporary)? Also I'm running qmail-scanner, so I need to disable this for each e-mail. Could I potentially outweigh any speed benefit by having to use MySQL update queries or by the fact I'm using PHP? note: I would like to keep it in PHP as it's what i know ;) Cheers John
qmail-remote with tls crash again
I have two boxes both with qmail 1.03 qmailqueue.patch.txt (for qmail-scanner.0.95) and the latest tls.patch. I was never able to get qmail-remote working on the primary box as it would crash when sending to yahoo.com. On the secondary box I have it working, except now it can't deliver to the primary box, but yahoo is fine. I want to use the secondary box as my mail gateway/virus scanner. I have tried running qmail-remote under truss (which I don't really understand), by replacing qmail-remote with: #! /bin/sh truss -o /tmp/qr.truss.$$ /var/qmail/bin/qmail-remote-original $* But this fails to run qmail-remote at all (I do get a bounce from qmail).If I don't add the tls patch it delivers just fine to the primary. I have increased the timeout in qmail-remote.c from 60 to 120, but that didn't help. I am using a self signed cert on the secondary box and a real commercial cert on the primary. Is this likely the Primary still messing up? Thanks all. All systems are: Solaris 7 gcc 2.95.3 openssl .0.9.6 John McCoy [EMAIL PROTECTED] Systems Administrator Central Systems Mills College 510-430-3321
qmail-remote crash truss output, help please
OK I finally got qmail-remote to run under truss from the command line. Here is what I see: open("/var/ld/ld.config", O_RDONLY) Err#2 ENOENT What? Why? I can't find this file on any system I have (Solaris and Linux) open64("/var/qmail/bin/qmail-remote", O_RDONLY) = 3 close(19) Err#9 EBADF I've gotten the same results with qmail-remote ownded by root:other and qmailr:qmail. Here are the remaining errors that I didn't get at all: fcntl(19, F_SETFD, 0x0001) = 0 ioctl(2, TCGETA, 0xFFBEF9AC)= 0 ioctl(19, TCGETA, 0xFFBEF9AC) Err#25 ENOTTY read(19, " # ! / b i n / s h\n / u".., 128) = 85 brk(0x00039918) = 0 fork() = 9675 waitid(P_PID, 9675, 0xFFBEF8A8, WEXITED|WTRAPPED|WNOWAIT) = 0 ioctl(0, TIOCGPGRP, 0xFFBEF864) = 0 ioctl(0, TCGETS, 0x0003836C)= 0 waitid(P_PID, 9675, 0xFFBEF8A8, WEXITED|WTRAPPED) = 0 brk(0x00039718) = 0 read(19, 0x00038478, 128) = 0 ioctl(19, TCGETA, 0xFFBEF944) Err#25 ENOTTY ioctl(19, TCGETA, 0xFFBEF9A4) Err#25 ENOTTY close(19) = 0 llseek(0, 0, SEEK_CUR) = 165841 _exit(0) I don't see a big blow out but I really have no clue. Thanks for any help you can give. **** John McCoy [EMAIL PROTECTED] Systems Administrator Central Systems Mills College 510-430-3321
Selective Relaying Question
Hi, I setup the tcp.smtp.cdb file and am calling it when I start tcpserver, but I am still getting errors when I try to relay mail from my internal network. Here is the call from my tcpserver startup script: (PATH=/usr/local/qmail/bin; /usr/local/bin/tcpserver -x/usr/local/etc/ip/tcp.smtp.cdb -v -c40 -u601 -g625 0 smtp qmail-smtpd 21 | splogger smtpd ) * It's all on one line in the script. Here is what I used to make the tcp.smtp.cdb file: 192.168.:allow 192.168.:allow,RELAYCLIENT="" :allow After changing the tcp.smtp.cdb file I restarted both tcpserver and qmail. I'm running Red Hat 7.0, qmail (without using system accounts), and tcpserver. Any help would be appreciated. Thanks. --John -- John Anderson [EMAIL PROTECTED] Ceeva, Inc.
Re: Selective Relaying Question
Hi, The above is the text format, I then ran this command: tcprules /etc/tcp.smtp.cdb /etc/tcp.smtp.tmp /etc/tcp.smtp To make the binary. Good. What output does the following command produce? TCPREMOTEIP=192.168.1.1 tcprulescheck /etc/tcp.smtp.cdb I did this twice: # TCPREMOTEIP=192.168.1.1 ./tcprulescheck /etc/tcp.smtp.cdb rule 192.168.: set environment variable RELAYCLIENT= allow connection # TCPREMOTEIP=192.168.0.124 ./tcprulescheck /etc/tcp.smtp.cdb rule 192.168.: set environment variable RELAYCLIENT= allow connection It looks like I should be able to relay, but cannot. What should I try next? Thanks for the help so far. --John Charles -- --- Charles Cazabon[EMAIL PROTECTED] GPL'ed software available at: http://www.qcc.sk.ca/~charlesc/software/ Any opinions expressed are just that -- my opinions. --- -- John Anderson [EMAIL PROTECTED] Ceeva, Inc. 412.690.2300 x330