Re: qmail, avoid spam mail
On Mon, 13 Aug 2001 14:28:53 +0800, KY Lui [EMAIL PROTECTED] said: Hello recently, i found that someone using my qmail server to send mail. how can i avoid this? 1. Include logs in your mail 2. Tell us how they used your qmail server to send mail 3. Reinstall using www.lifewithqmail.org -- Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning.
Re: off topic
On Mon, 13 Aug 2001 16:56:32 +0200, Wolfgang Pichler [EMAIL PROTECTED] said: Hi Mornin. It's a little bit off topic, comp.security.firewalls comp.os.linux.networking but does anywhere know which ports to open on my firewall so that qmail works correctly. 25 outbound if you only want to send e-mail to external sites. 25 inbound as well if you have a mail server in a DMZ. At the moment I've opend dns,smtp and pop3 but when i activate the firewall some messages can't be delivered (wasn't able to establish an smtp connection), Log entries? Kernel details? OS even? There is a big diff between Linux and FreeBSD. Hec, there is a big diff between Linux v2.0, v2.2 and v2.4 firewalling. How are we meant to help you if we don't even know the foundation? but when i try to telnet to the specified rcpt-server everything works really fine. rcpt-server = really crazy parrot tarot-server? What do you mean, rcpt-server? Do you mean the remote MX? So what happend here ? (if i open the firewall for everything, then the messages are leaving the queue) Nice... I think it's probably safer you leave the firewall open. Really. -- Bubble Memory, n.: A derogatory term, usually referring to a person's intelligence. See also vacuum tube. - The Devil's Dictionary to Computer Studies
Re: genericstable equivalent?
On Wed, 8 Aug 2001 23:03:42 -0700 (PDT), David Raistrick [EMAIL PROTECTED] said: mail sent from the robert31 local account would show as being from: [EMAIL PROTECTED] for all intents and purposes. man qmail-inject [cr] / CONTROL FILES [cr] Depends what you mean by local account. If you mean rewriting the headers of every single e-mail that passes through (or at least scanning the headers and rewriting if need be), look at mess822. If you just mean people sending using pine or elm or mutt or whatever, then you will probably want to look at the contents of control/me and control/defaultdomain . -- Give a man a fish and you feed him for a day; teach him to use the Net and he won't bother you for weeks
Re: Mandrake 8.0 with postfix
On Thu, 09 Aug 2001 14:37:21 -0400, qmail [EMAIL PROTECTED] said: Q1.) I am setuping with Mandrake 8.0 kernal 2.4.3, how can I remove all postfix? rpm -e --nodeps postfix Q2.) Should I stop all the pop3 and IMAP service in Xinetd? Yes. Q3.) I should use courier-imap and qmail-pop3? If you want a standard POP3 daemon, and want to run IMAP for your users, then Yes. Q4.) I have many existing email account with user name like [EMAIL PROTECTED] is it ok? Yes. Q5.) Is it I should install dot-forward package b4 install qmail? No. Use .qmail. man dot-qmail my .forward file don't work Neither does my cat. Thanks a lot! Qmail luser Hints: 1. Use a real name 2. Read the archives 3. Read the FAQ 4. Read. -- Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live. - Martin Golding
Re: my .forward don't work,what can I do?
On Thu, 09 Aug 2001 15:56:19 -0400, qmail [EMAIL PROTECTED] said: when I add a .forward file under ~user with content: someone@localhost and do the delivery test again : echo to: user | /var/qmail/bin/qmail-inject it still have a queue inside ~user/Maildir/new and I go to ~someone/Maildir/new, there are nothing. Are you DDB? man dot-qmail -- I think there is a world market for maybe five computers. - Thomas Watson, chairman of IBM, 1943
Re: my .forward don't work,what can I do?
On Thu, 09 Aug 2001 19:01:06 -0400, qmail [EMAIL PROTECTED] said: ...yes.. you are right, I forgotten to see the dot-qmail now I add this line in .qmail |dot-forward .forward ./Maildir/ U... try this in .qmail: [EMAIL PROTECTED] ./Maildir/ like I stated in the first e-mail. -- Calvin: I've been thinking, Hobbes Hobbes: On a weekend? Calvin: Well, it wasn't on purpose...
Re: done qmail installation but can't telnet to port 25
On Thu, 09 Aug 2001 12:31:34 +, Jean-Christian Imbeault [EMAIL PROTECTED] said: I've done the lwq installation. As a test I have tried to telnet from my mail server to itself on port 25 to see if qmail is listening. But I get a connection refused message. It would appear as if you have followed Life With Qmail. Good. In this case, tail -f /var/log/qmail/smtpd/current and start qmail. See if any errors come up, and paste them here. I can tell you now that, from your ps output, qmail is not running. If it was, there would be a tcpserver running as well, listening to port 25 and spawning qmail-smtpd when you telnet there... -- Press any key to continue or any other key to quit...
Re: done qmail installation but can't telnet to port 25
On Thu, 09 Aug 2001 13:10:34 +, Jean-Christian Imbeault [EMAIL PROTECTED] said: case, tail -f /var/log/qmail/smtpd/current and start qmail. @40003b728c052b1e1bdc tcpserver: fatal: no IP address for O Ah, then this is a configuration error. Please put the contents of /service/qmail-smtpd/run in a post. -- Win95 not found, [P]arty, [C]elebrate, [D]rink ?
Re: my .forward don't work,what can I do?
On Thu, 09 Aug 2001 21:24:52 -0400, qmail [EMAIL PROTECTED] said: Great, it works, I forward to [EMAIL PROTECTED] la, but what problem I have in setup .forward? I don't have any error message I still can't forward the message by dot-forward What do your logs say? I have tried and persisted to point out that you don't need .forward, but since you obviously aren't taking the hint, tail -f /var/log/qmail/send/current, send a test message, and tell us what it says. in my .qmail file: |dot-forward .forward ./Maildir/ Just for the fun of it, try putting /var/qmail/bin/dot-forward. Oh, what the hell. While you're at it, ls -l /var/qmail/bin/dot-forward and give us the output. -- Customer: I'm running Windows '98 Tech: Yes. Customer: My computer isn't working now. Tech: Yes, you said that.
Re: About processes
On Thu, 09 Aug 2001 22:46:27 GMT, [EMAIL PROTECTED] said: 1016 ?S 4:30 /usr/local/bin/tcpserver -v -H -uQMAILDUID -gNOFILESGID 0 smtp /var/qmail/bin/qmail-smtpd 15498 ?S 0:44 /var/qmail/bin/qmail-smtpd 19168 ?S 0:00 /usr/local/bin/tcpserver -v -H -uQMAILDUID -gNOFILESGID 0 smtp /var/qmail/bin/qmail-smtpd You've got two problems here: 1. Your setup script is passing the args QMAILDUID and NOFILESGID to tcpserver. Try passing $QMAILDUID and $NOFILESGID. 2. Your setup script has spawned tcpserver on port 25 (smtp) twice. (Either that, or you've started qmail twice). Those tcpserver lines simply show that your server is waiting for a connection on port 25. The /var/qmail/bin/qmail-smtpd line is the one which shows an open connection. -- C:\DOS C:\DOS\RUN RUN\DOS\RUN C:\WINDOWS C:\WINDOWS\GO C:\PC\CRAWL
Re: Can I use qmail for this purpose? (newbie)
On Wed, 08 Aug 2001 06:52:29 +, Jean-Christian Imbeault [EMAIL PROTECTED] said: I'll have a look right away. But first I have to make sure I actually installed qmail properly. You should find that the tests in qmail-1.03/INSTALL should pretty much show if qmail is working properly or not. -- I have travelled the length and breadth of this country and talked with the best people, and I can assure you that data processings is a fad that won't last out the year. - The editor in charge of business books for Prentice-Hall, 1957
Re: after using .forward, can use also have copy of the message?
On Thu, 09 Aug 2001 11:55:15 -0400, qmail [EMAIL PROTECTED] said: can .forward remain a copy to original user email maildir? what is the difference between [EMAIL PROTECTED] [EMAIL PROTECTED] in .forward file? .forward isn't really the way to go... The bolt-on is just provided as a medium for you to migrate from sendmail to qmail with a minimum of effore. man dot-qmail and use the following in ~/.qmail : [EMAIL PROTECTED] ./Maildir/ -- Computers in the future may weigh no more than 1.5 tons. - Popular Mechanics, 1949
Re: Robin Socha, this is a plea.
Jeff == Jeff Palmer [EMAIL PROTECTED] writes: Granted, a lot of the emails to this list could be handled if the person would just read the FAQ. But the simple truth is, it's not going to happen. Human nature is against you here. Semi-true. When I first started on this group, I asked questions that were answered in the FAQs. I got short, sharp, and often rude, answers. But I got over it and learnt... Read the docco, follow the rules, and it'll be sweet. If more people that were abused learnt from the abuse instead of taking it to heart, then the world would be a better place... (well, this list would, anyway...) -- Microsoft's slogan *should* read: Where do you want to go today? It doesn't matter, you're coming with us.
Re: SSH with Qmail
Chris == Chris Johnson [EMAIL PROTECTED] writes: On Tue, Jul 31, 2001 at 04:02:31AM -0400, Dave Lewis wrote: Does anyone have documentation on how to setup Qmail to work with SSH ??? I'm currently using Qmail+vpopmail What do you mean by work with? In what way would you like qmail and SSH to interact? I want qmail to SSH into the remote mail server, chdir to the mail spool folder of the user I am trying to send e-mail to with root privs, and write the e-mail message directly into their inbox. -- Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live. - Martin Golding
Re: Stripping binaries?
Jay == Jay Vaughan [EMAIL PROTECTED] writes: I'd like to set up my qmail-based mailhosts to strip attachments automatically, save them to a dir, and put a this attachment saved to /some/path message at the bottom... instead of distributing binaries to all and sundry. Anyone doing this with qmail yet, and/or got any hints? qmail-scanner c/- www.qmail.org -- ADA, n.: Something you need only know the name of to be an Expert in Computing. Useful in sentences like, We had better develop an ADA awareness. - The Devil's Dictionary to Computer Studies
Re: Selective relaying problem
Scott == Scott Zielsdorf [EMAIL PROTECTED] writes: I have just installed qmail 1.03 on a Redhat 7x box. I cannot get selective relaying to work. I *have* read FAQ 5.4 and scoured the web archives for people with similar problems but I still can't get a resolution. How are you starting qmail-smtpd? (ie the tcpserver line). And what instructions did you follow to setup qmail? (www.lifewithqmail.org - recommended reading. No - ESSENTIAL reading.) or the INSTALL doc? If you followed the INSTALL doc, try re-installing qmail by following the lifewithqmail doc. In any case, answer the first question and we'll see what we can do... -- There is no reason anyone in the right state of mind will want a computer in their home. - Ken Olson, President of Digital Equipment Corp, 1977
Re: qmail reliance on passwd file
Al == Al Sparks [EMAIL PROTECTED] writes: Is there a way to get qmail to deliver email to an account that's not in /etc/passwd (or its shadow equivalent)? www.inter7.com/vpopmail/ -- SOFTWARE, n.: Formal evening attire for female computer analysts. - The Devil's Dictionary to Computer Studies
Re: Ok another problem
Paul == Paul Garrett [EMAIL PROTECTED] writes: I'm starting again from 'life with qmail' (about 3rd time now) and whenever i put the line: Your tendency to fail a step-by-step task amazes me. SV:123456:respawn:env - PATH=/usr/local/bin:/usr/sbin:/usr/bin:/bin svscan /service /dev/null /dev/console 2/dev/console Yay. We got a line right. in the inittab, it comes up with the folling error on the screen over and over again Nice spelling. Supervise: fatal: unable to start qmail-smtpd/run: file does not exist What are the contents of /service/qmail-smtpd/run ? In particular, what is the first line? Does it refer to a program that really exists? Try typing that line on the command line without the #! and see if it comes up with an error message, or does nothing. Also, make sure the permissions of /service/qmail-smtpd/run are 0755. /var/qmail/rc: ./Mailbox: No such file or directory Have you put a carriage return where one doesn't belong? C'mon now... We all know that the enter key in a shell script is a bad thing. This isn't C we're talking about here... I then have to remove the line and kill -HUP 1 to stop the errors. There is a folder called /var/qmail/Mailbox so i dont know why its not finding it. Ughhh... You have badly misunderstood how qmail works, my friend. Read some more doco before you post again. Many thanks Paul Don't like to take the crap outta ya (well, actually, I do...) but please read and investigate for more than five minutes before you install qmail. There are many points that can go wrong if you do not follow the instructions precisely, and understand how mail and unix work. Sit down, drink a cup of tea that's been spiked with something relaxing, and try again... B. -- Indeed, it would not be an exaggeration to describe the history of the computer industry for the past decade as a massive effort to keep up with Apple. - Byte, December 1994
Re: dot-qmail-default
Charles == Charles Cazabon [EMAIL PROTECTED] writes: You only need ~alias/.qmail-default if you want to catch all mail for any address on localhost. Just a note: Charles means any address *that isn't able to be delivered to any other user* on localhost. -- Windows 95 /n./ 32 bit extensions and a graphical shell for a 16 bit patch to an 8 bit operating system originally coded for a 4 bit microprocessor, written by a 2 bit company that can't stand 1 bit of competition.
qmail-scanner
Reworded re-post after off-list discussions. I guess this is really a netscape issue rather than qmail, but related to the qmail server at least. I'm running qmail-scanner and get into problem areas when the scanner detects a virus in a message and sends the bounce message to the originator and to postmaster. The bounce message has a copy of the original headers etc, which it obviously must have to be informative. Some virii, grab a random piece of another email message and use it as subject and body filler to pad out the message before attaching the virus executable to the message. I have noticed that quite often these random grabs of another message have formatting characters (^M, \223, \233 etc) embedded in them. I, as postmaster, get a LOT of these bounces and because of the formatting characters in the subject line etc (this is my assumption anyway), my mail client (Netscape), falls in a heap and is unable to process the received mail, leaving a mess on the server and in my local folders. I am having a lot of customers suffering from the same issue. Would it be appropriate to modify qmail-scanner to detect formatting in the subject line and if present try to remove it, or discard the subject line all together? Has anyone else encountered this issue? Brett
Binary in the Subject: header
Hi, I'm running qmail-1.03, with qmail-pop3d, running out of users/assign and users/poppasswd under a single system uid. A well known virus (email auto-sending one) is generating messages with binary in the subject header. I guess more correctly it's inserting formatting in the headers, newlines, bold, italics (^M, \223, \222 etc) This is causing either qmail-pop3d or Netscape mail clients (not sure which side has the problem), to lock up and error, (error occured while saving messages, unable to retrieve messages from the pop server). I've seen references to maildrop in the archives, would it be possible to filter from something like this with all users running under a single uid. Thanks, Brett
badmailfrom
Hi, I have the following in control/badmailfrom as shown by qmail-showctl: badmailfrom: [EMAIL PROTECTED] not accepted in MAIL FROM. Hahaha [EMAIL PROTECTED] not accepted in MAIL FROM. Yet messages with the following headers still get through: --- Below this line is the original bounce. Return-Path: Received: (qmail 24147 invoked from network); 27 Jun 2001 09:32:49 - Received: from 046.ro00.dial.iqnet.net.au (HELO default) (203.132.93.46) by mail-x1.iqnet.net.au with SMTP; 27 Jun 2001 09:32:49 - From: Hahaha [EMAIL PROTECTED] Subject: Snowhite and the Seven Dwarfs - The REAL story! MIME-Version: 1.0 Content-Type: multipart/mixed; boundary=--VEOD2BWLUV Is this due to the Return-Path: or is badmailfrom not behaving? Cheers, Brett
Re: qmailanalog usage
Charles Cazabon wrote: Mark Douglas [EMAIL PROTECTED] wrote: I'm trying to figure out how I should get the stats I want out of qmailanalog, along with some other things I'd like to do. My main issue is, if I wanted to do a daily log rotation, would it be feasible to do the following (using multilog): Set my logfile size to 100MB; at end of day, have a cron job run that copies the current file to another, dated file; echo /var/log/qmail/current to empty out the log file and start fresh. I realize it's not pretty, but the real issue is, would it cause problems? Yes -- each message has multiple log lines associated with it. You'll likely get some messages which cross over your arbitrary per-night boundaries. qmail won't be able to include those messages in its analysis if you just analyze one log at a time. However, it's probably going to have a negligible impact on the overall statistics. I posted a shell script to this list last week which does exactly what you want, suitable for use as a nightly cron job. And because it uses qlogselect from Bruce Guenter's qlogtools package, you don't need to rotate the scripts nightly to split the statistics up per-day -- qlogselect will automatically extract the log entries for a time period you specify. The script filters it down to one day. Charles -- Hi Charles, This qlogselect app from qlogtools doesn't appear to be in the latest release of qlogtools. I recently downloaded the src code from http://untroubled.org/qlogtools/ and found that there was a man page for qlogselect but nothing else. When I compiled that package I ended up with no qlogselect app, and no mention of it in the Makefile either. Is it supposed to be part of that package or do I need to get it from elsewhere? Brett
Re: Need help with Maildir
[EMAIL PROTECTED] writes: any suggestion's ? Install as per www.lifewithqmail.org and experience a trouble-free life! -- Indeed, it would not be an exaggeration to describe the history of the computer industry for the past decade as a massive effort to keep up with Apple. - Byte, December 1994
Re: Peter from the Dike and Security
Qhqr, trg n yvsr! Frevbhfyl! Yrg lbhe 13 lrne byq onyyf qebc naq tb rng na nccyr! Yrnea ubj gb dhbgr... Urp, yrnea ubj gb jevgr na ESP-pbzcyvnag r-znvy! Fgbc hfvat gur oybbql pheyl dhbgrf pbf gurl fperj hc lbhe r-znvyf va rirel ZHN rkprcg lbhef. Fgbc guvaxvat gung lbh xabj rirelguvat... Gung nggnpx ba Crgre ina Qvwx nppbzcyvfurq ABGUVAT. Lbh unir abj orra cebzbgrq gb gur fgnghf bs n Gebyy ba gung yvfg, naq ba nal bgure yvfg gung jr frr lbhe anzr ba. Lbh znxr npphfngvbaf gung lbh pnaabg onpxhc (ebbg rkcybvg) naq nggnpx crbcyr va na bcra sbehz. Yrnea jung cevingr r-znvy vf sbe, zna... Lbh unir n frevbhf vqragvgl pevfvf, qba'g lbh? V pna nyernql gryy gurfr guvatf nobhg lbh JVGUBHG qbvat n penccl tbbtyr ybbxhc (p'zba, qb bar ba zr. Frr jung lbh pna svaq. Gryy gur jbeyq, nf vs V pner??): - Nf n puvyq, lbh arire erprvirq gur nggragvba lbh qrfverq. Ng fpubby, lbh jrer nyjnlf gur bar jub jnf cvpxrq ynfg sbe gur fbppre grnzf - Lbhe yvsr qbrfa'g sbyybj gung bs Wrfhf' - Lbh jrer nggnpxrq rneyl ba ol crbcyr bs Trezna onpxtebhaq - Lbh ner abg cerfragyl rzcyblrq ol n erchgnoyr pbzcnal - Lbhe jrrxraqf ner fcrag trggvat qehax naq erzvavfpvat Vg qbrfa'g gnxr zhpu gb or avpr, frevbhfyl... V qba'g frr jung lbhe gebyyvat nebhaq ba gur dznvy yvfg vf tbvat gb qb sbe lbh. Lbh'yy znxr rarzvrf, naq gehfg zr... Fbzr bs gur crbcyr ba guvf yvfg ner ABG crbcyr lbh jnag gb znxr rarzvrf jvgu. Lbh'er ba n yvfg jurer gur gbc crbcyr ner abg whfg uvtuyl grpuavpny rkcregf, gurl'er nyfb frphevgl rkcregf jvgu onpxtebhaqf va qrsrafr sbeprf sebz inevbhf pbhagevrf nebhaq gur jbeyq. Gehfg zr, V xabj gurz... Vs lbh nppvqragnyyl fghzoyr npebff bar bs gurz ba gur fgerrg bar qnl, gura gurl JVYY orng gur penc bhggn lbh. V'z abg gelvat gb guerngra lbh. V'z gelvat gb jnea lbh bs jung jvyy unccra vs lbh xrrc tbvat ba guvf cngu. Fb whfg puvyy, hafhofpevor sebz guvf yvfg fb lbh qba'g unir gb trg nyy hcfrg bire crbcyr nalzber, naq tb naq fvg va gur pbeare. -- Ng gur fbhepr bs rirel reebe juvpu vf oynzrq ba gur pbzchgre lbh jvyy svaq ng yrnfg gjb uhzna reebef, vapyhqvat gur reebe bs oynzvat vg ba gur pbzchgre. - Nabalzbhf
Re: Alter bounce messages?
arandall == arandall Amanda writes: Who can tell me how to alter the bounce messages in the qmail-send file without blowing it up? I tried hexeditor, but I musta not done a very good job. Ummm... Oh! You're a Winbloze hacker by default, aren't you? ;) Try editing the source code and recompiling. -- SOFTWARE, n.: Formal evening attire for female computer analysts. - The Devil's Dictionary to Computer Studies
Re: Peter from the Dike and Security
Chris == Chris Bolt [EMAIL PROTECTED] writes: perl -e 'while(){$_=~tr/A-Za-z/N-ZA-Mn-za-m/;print}' Then paste the email :-) Or, a bit shorter, $ tr 'a-zA-Z' 'n-za-mN-ZA-M' email -- Hitting your modem with an aluminum baseball bat is only going to get you electrocuted. Try a wooden one. - Lynn Marshall
Re: Java and Qmail - building a large mailmerge server - plain text version
Hi Manav. For most of this, one word: ezmlm (www.ezmlm.org). For the rest... manav == manav [EMAIL PROTECTED] writes: 1.2 For each blast we want to handle the bounced emails individually (we would need to update the appropriate table). What do we do for that? We cannot just set environment variables since there will be multiple mail-merges and blasts happening simultaneously. Mailing list is the word I think you are after. See above... 1.3 Usually after about 5,000 deliveries, the messages would be stuck in the queue. We then added the CNAME lookup patch, and this increased to about 10,000. Currently, we prune the lists uploaded by the users and send messages in chunks of 2000, with less than 30 concurrent messages. Any suggestions what could be the culprit? What can we do to circumvent this problem? The only reason I can see why you would want to do this would be if you are customising the message for each individual user. If you are... you will probably want a bit more processing power (ie: more servers) than this. It is well known that qmail doesn't really enjoy having 10,000+ e-mails in the queue... 1.4 What would be the best possible way to handle unsubscribe requests. Currently we invoke a java program from the .qmail file that updates the database. Any suggestions how this can be improved upon? Ezmlm 2. We then decided to switch over to using qmail-remote, to circumvent the queue and the logging problem. This effectively means we will have to do our own logging. Is there anyway to hand over different messages to qmail-remote rather than invoking it for each message? We have now decided to change the implementation so that at any point of time, there will be as many threads sending messages as the qmail concurrency (say around 100), and the messages themselves will be broken into chunks of 300 to 500 each. How can we improve this? Ezmlm looks after all of this for you. It is probably easier to hack up ezmlm-idx to customise messages, than to make your own do everything that ezmlm does. 3. Currently, we have our own implementation for checking bad e-mail addresses, list management, handling bounces and mail-merge. Are there any guidelines/sample code available (any language), that we can look at? Ezmlm... 4 . What other things should we keep in mind to provide stability to the system? What patches to qmail are advisable to be installed? What should be the typical server configuration for such a system? If you are customising messages, you definitely need parallel processing or clustering. Also, that 128kb line is a MAJOR bottleneck... Oh, and RedHat 6.2 is not the best server distribution. I use it on a number of my servers, but am moving them to Mandrake (for now) until I find the time to investigate other alternatives such as Turbo Linux and Debian. Mandrake can be made to work a lot better for you than RedHat, and so far 8.0 has MUCH less bugs in the components than most RedHat versions... 5. On a parallel note, what would be the best algorithm to track forwarded messages? We make use of cookies right now (but that provides 50% accuracy). We use a blank 1x1pixel gif in our e-mails that is like: a href=http://my.server.com/cgi-bin/emailcount.pl?2001-06-22-Email-1; width=1 height=1 That perl script then does whatever it has to (it logs the relevant data to a file, and increases the count in another file) and then returns a 1x1 pixel GIF, using the GD library, from memory... Obviously this requires an HTML e-mail to be going out, but if you're using cookies then you are obviously already there! By the way, the parameter on the perl script (?2001-06-blah) is so that we can use the same script for each e-mail that goes out, and just change the parameter so that we can count for different mailouts. On that note, Hotmail doesn't allow the forwarding of HTML e-mail. I don't know about the other major free e-mail providers. HTH Brett. -- Smash forehead on keyboard to continue
Re: qmail as 'proxy' - comments?
Peter == Peter van Dijk [EMAIL PROTECTED] writes: On Mon, May 21, 2001 at 02:40:54AM +0100, John P wrote: *although as I type this I'm guessing that POP3 would still need to go through to the internal server due to the user's home directories being on there Yes, pop3 is not that easily fixed. Except with NFS. Not the greatest solution, but in a few cases I still use it and it works *mainly* fine (except for transferring 10mb attachments over 28.8k modem links...it doesn't like that much). -- ... File not found. Should I fake it? (Y/N)
Re: Go on developing qmail!!!!
Liu == Liu Hong [EMAIL PROTECTED] writes: You go, girl! How about...maybe...a few suggestions. We like suggestions for the following: * Things which haven't yet been proved wrong, impossible, stupid, or otherwise, beyond all reasonable doubt. * Things which haven't been documented *anywhere* * Things which are currently contained in patches * Things which make qmail faster Thankyou. -- Is OS/2 only half an operating system ?
qmail ignores my sorry ass part II...
Ok, thanks. Here's some more info: I'm trying to send the mail with qmail-inject from the command line. I checked and the exit code I'm getting is 65280. I meant 5600 addresses, not messages, and yes, that's more or less how I'm placing the addresses except I'm doing it from a perl script that puts the addresses in a Bcc field and then makes a system() call which is just like calling from the command line. I think you may be onto something here with your theory of my being over the limit of command line arguments. The question is how do I increase that limit? And now I'm suddenly off-topic for this list, I know. Nevertheless, I'm sure I won't be the last qmail user to run into this problem and therefore it'll be useful to have this knowledge in the archives. Thanks again. -Original Message- From: Mark Delany [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 16, 2001 6:17 PM To: [EMAIL PROTECTED] Subject: Re: qmail ignores my sorry ass... You need to tell us a little more. Well, actually a lot more. How are you trying to send them? qmail-inject, smtp, qmail-queue? If you are running a command such as qmail-inject, what sort of exit code are you getting? Any error message? Do you mean 5600 emails or an email to 5600 addresses? If the latter, are you placing all the recipients on a command line, something like: /var/qmail/bin/qmail-inject recipient1@dom1 recipient2@dom2 ... ? If so, have you perhaps exceeded the maximum length of the command line for your system? Are you perhaps exceeding the maximum number of command line arguments for your system? To check the exit status from the shell, go echo $? immediately after the command. The number is zero if all is well and other numbers indicate different types of errors. Regards. On Wed, May 16, 2001 at 04:37:41PM -0700, Brett wrote: ... when I try to send more than 5600 emails in one go. I mean, it completely ignores me. There's no mention of anything occuring in the logs whatsoever. Since I'm giving you so little to go on here, I'm mostly hoping for a general direction to start looking for a problem rather than a complete solution. Or hopefully this has happened to somebody before and they can tell me what they did to fix it. I've successfully recompiled the kernel and applied the big concurrency patch but not the big-todo one yet. I posted this before but didn't get much of a response except to check qmail-inject's exit status. Assuming I know how to do this, what will this prove? Thanks for any and all help. Brett. A big F you to all the unhelpful flamers in advance.
RE: qmail ignores my sorry ass part II...
Here's how I'm calling qmail-inject: $mail_prog = '/var/qmail/bin/qmail-inject'; $mail = To: $to_name $to_email\r\n; $mail .= From: $from_name $from_email\r\n; if ($bcc) { $mail .= Bcc: $bcc \r\n; } $mail .= Subject: $subject\r\n\r\n; $mail .= $body\r\n; system (echo '$mail' | $mail_prog); The Bccs are in the header but they're still being inserted into the command line which is what I meant by more or less. I actually don't really see another way of getting all the bccs to qmail-inject. -Original Message- From: Mark Delany [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 17, 2001 12:36 PM To: [EMAIL PROTECTED] Subject: Re: qmail ignores my sorry ass part II... On Thu, May 17, 2001 at 12:25:43PM -0700, Brett wrote: Ok, thanks. Here's some more info: I'm trying to send the mail with qmail-inject from the command line. I checked and the exit code I'm getting is 65280. I meant 5600 addresses, not messages, and yes, that's more or less how I'm placing the addresses except I'm doing it from a perl script that puts the addresses in a Bcc field and then makes a system() call which is just like calling from the Bcc field? Do you mean these address are on the command line or in the headers of the message? The difference is a lot more than more or less. In fact the difference is critical. If the latter then you have a different problem from what I suggested. If the former, then change to the latter as that's the best way as you cannot normally increase the command line limits without kernel rebuilds. Regards. command line. I think you may be onto something here with your theory of my being over the limit of command line arguments. The question is how do I increase that limit? And now I'm suddenly off-topic for this list, I know. Nevertheless, I'm sure I won't be the last qmail user to run into this problem and therefore it'll be useful to have this knowledge in the archives. Thanks again. -Original Message- From: Mark Delany [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 16, 2001 6:17 PM To: [EMAIL PROTECTED] Subject: Re: qmail ignores my sorry ass... You need to tell us a little more. Well, actually a lot more. How are you trying to send them? qmail-inject, smtp, qmail-queue? If you are running a command such as qmail-inject, what sort of exit code are you getting? Any error message? Do you mean 5600 emails or an email to 5600 addresses? If the latter, are you placing all the recipients on a command line, something like: /var/qmail/bin/qmail-inject recipient1@dom1 recipient2@dom2 ... ? If so, have you perhaps exceeded the maximum length of the command line for your system? Are you perhaps exceeding the maximum number of command line arguments for your system? To check the exit status from the shell, go echo $? immediately after the command. The number is zero if all is well and other numbers indicate different types of errors. Regards. On Wed, May 16, 2001 at 04:37:41PM -0700, Brett wrote: ... when I try to send more than 5600 emails in one go. I mean, it completely ignores me. There's no mention of anything occuring in the logs whatsoever. Since I'm giving you so little to go on here, I'm mostly hoping for a general direction to start looking for a problem rather than a complete solution. Or hopefully this has happened to somebody before and they can tell me what they did to fix it. I've successfully recompiled the kernel and applied the big concurrency patch but not the big-todo one yet. I posted this before but didn't get much of a response except to check qmail-inject's exit status. Assuming I know how to do this, what will this prove? Thanks for any and all help. Brett. A big F you to all the unhelpful flamers in advance.
RE: qmail ignores my sorry ass part II...
Rock. This works like a charm. Thanks a lot. -Original Message- From: Mark Delany [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 17, 2001 2:17 PM To: [EMAIL PROTECTED] Subject: Re: qmail ignores my sorry ass part II... On Thu, May 17, 2001 at 01:57:11PM -0700, Brett wrote: Here's how I'm calling qmail-inject: $mail_prog = '/var/qmail/bin/qmail-inject'; $mail = To: $to_name $to_email\r\n; $mail .= From: $from_name $from_email\r\n; if ($bcc) { $mail .= Bcc: $bcc \r\n; } $mail .= Subject: $subject\r\n\r\n; $mail .= $body\r\n; system (echo '$mail' | $mail_prog); The Bccs are in the header but they're still being inserted into the command line which is what I meant by more or less. I actually don't really see another way of getting all the bccs to qmail-inject. Ahh. You've got them on echo's command line. I've never quite seen it done that way before... There are *much* better ways that avoid such limits. Try this: OPEN(MP, | $mail_prog) or die ... print MP To: $to_name $to_email\r\n; print MP From: $from_name $from_email\r\n; if ($bcc) { print MP Bcc: $bcc \r\n; } print MP Subject: $subject\r\n\r\n; print MP $body\r\n; close(MP) or die ...; No command line limit, no echo, no lumpy $mail variable. I'd also be inclined to print a separate Bcc: header for each recipient, but that's just my must always scale mentality. Hmm. It must be unix/perl day on the qmail list. Regards.
applying big-todo patch
I'm aware of this page on qmail.org: http://www.qmail.org/big-todo.103.patch. What I don't see is a fast way of applying these changes. I can can go through the files and take out and replace the relevant lines but isn't there an automated script I can run that will do this for me? Where is this script? I've searched the archives and while there's plenty of talk about the big-todo patch, nobody ever mentions exactly what they did to apply it. Thanks a bunch.
qmail ignores my sorry ass...
... when I try to send more than 5600 emails in one go. I mean, it completely ignores me. There's no mention of anything occuring in the logs whatsoever. Since I'm giving you so little to go on here, I'm mostly hoping for a general direction to start looking for a problem rather than a complete solution. Or hopefully this has happened to somebody before and they can tell me what they did to fix it. I've successfully recompiled the kernel and applied the big concurrency patch but not the big-todo one yet. I posted this before but didn't get much of a response except to check qmail-inject's exit status. Assuming I know how to do this, what will this prove? Thanks for any and all help. Brett. A big F you to all the unhelpful flamers in advance.
Re: Unsubscribe Doesn't Work
Is [EMAIL PROTECTED] the address you subscribed with? Jim == Jim Darrough [EMAIL PROTECTED] writes: Help! I have sent three blank emails to [EMAIL PROTECTED] in an attempt to unsubscribe three times without any apparent effect. Anyone got a better idea? Thanks, Jim Darrough Jim Darrough, ARS KI7AY [EMAIL PROTECTED] http://www.ki7ay.com -- Hardware, n.: The parts of a computer system that can be kicked. - The Devil's Dictionary to Computer Studies
RE: smpp instead of smtp
Yeah, sorry I didn't clarify what smpp was. Everyone here always seems so knowledgeable, I just assumed it was known. Anyway, now that it's been defined (below), does anyone see any way of using it instead of smtp with qmail? I can manually call qmail-smtpd to send a smtp message and feed it commands. Could I just replace those commands with smpp ones or does qmail-smtpd use a specific connecting method (specific to smtp, that is)? Thanks again. -Original Message- From: Jeremy Suo-Anttila [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 10, 2001 12:47 AM To: [EMAIL PROTECTED] Subject: Re: smpp instead of smtp Q: What is SMPP? A: The Short Message Peer to Peer (SMPP) protocol is an open industry standard messaging protocol designed to simplify integration of data applications with wireless mobile networks such as GSM, TDMA, CDMA and PDC. The protocol is widely deployed in the mobile telecommunications industry. The SMPP protocol specification is freely available from the Documents section of this site. http://www.smpp.org/faq2.htm#Q1 - Original Message - From: Peter van Dijk [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, May 10, 2001 2:06 AM Subject: Re: smpp instead of smtp On Thu, May 10, 2001 at 01:18:14AM -0400, alexus wrote: whats smpp? It appears to be SMS related. They want my personal data for providing me the specs (www.smpp.org) so I didn't download those. Greetz, Peter.
smpp instead of smtp
Has anyone successfully forced qmail to use the smpp protocol instead of the smtp one? Is this even possible? Thanks.
RE: Can MX record be CNAME?
Everybody seriously needs to lighten up. A LOT.
concurrency and bccs
in the right direction. Brett.
RE: forwarding to a dynamic / variable address ??
Hmm. Well, you could set up a .qmail-default file in xyz's directory that has this: | find_and_forward.pl where find_and_forward.pl is your perl script that dynamically finds the forward address for xyz. Then in order to actually forward the message just read into a variable (say, $message) and inject that into qmail with qmail-inject which, in perl, would look something like this: $mail_prog = '/var/qmail/bin/qmail-inject'; $mail = To: $to_name $to_email\r\n; $mail .= From: $from_name $from_email\r\n; $mail .= Subject: $subject\r\n\r\n; $mail .= $message\r\n; system (echo '$mail' | $mail_prog); Obviously the $to_email came from your SQL database search and you can either parse the message for the $subject or fudge your own. Better methods than this? I'm sure there are several but this is what immediately comes to mind. Brett. -Original Message- From: Kim Chr. Hvidkjaer [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 03, 2001 10:38 AM To: [EMAIL PROTECTED] Subject: forwarding to a dynamic / variable address ?? Hello All, I'm trying to do a forwaring-service, where the users each have an address (ie [EMAIL PROTECTED]) and any mail sent to this address is forwarded to their _actual_ address (perhaps a hotmail-address or similiar). I know how to forward ( [EMAIL PROTECTED]) but how do I do it dynamically? I can do a php or perl-script that will digg out the needed to-address from my mySql-database, but don't know how to do the actual forwarding?? any help is greatly appriciated! (I've subscribed to the list, but am not getting any mail yet, so please cc: [EMAIL PROTECTED]) // Kim [EMAIL PROTECTED]
RE: FromMail.pl
I would assume one of your configuration options is the choice of what mailer you want to use and therefore, yes, this would work with qmail. But really, you're probably better off checking the faq, READMEs, other documentation, etc. on the specific FormMail page: http://www.worldwidemart.com/scripts/formmail.shtml Brett. -Original Message- From: Flavio Alberto [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 03, 2001 1:32 PM To: [EMAIL PROTECTED] Subject: FromMail.pl FormMailpl http://www.worldwidemart.com/scripts/ work it qmail?
1. can't exceed 257 conc? 2. can't exceed 5600 Bccs?
in the right direction. Brett.
Re: slow smtp connection
John == John Hogan [EMAIL PROTECTED] writes: what should i check? The archives. -- I had a fortune cookie the other day and it said: 'Outlook not so good'. I said: 'Sure, but Microsoft ships it anyway'.
Re: slow smtp connection
Charles == Charles Cazabon [EMAIL PROTECTED] writes: A note to potential qmail newbies: we'll help you. Honestly. You just have to promise to do your homework, give it an honest try before asking for help, and to post good problem reports (detailing what you did, what the system did, and what you thought it was going to do instead, with complete logs and contents of control files). If you're not willing to promise that much, you will receive nothing but beatings for your pains, in this list, or anywhere else in life for that matter. Why isn't this type of message in the qmail-subscribe auto-generated reply? I have suggested this many times myself, and seen many other people suggest it as well. Simply pointing out this kind of thing and linking to the major sources of documentation would save a bundle of time and emotion. Of course, one could also point out that having the list message-moderated with a couple of good moderators in a couple of opposing timezones would significantly increase the signal to noise ratio. -- Pascal, n.: A programming language named after a man who would turn over in his grave if he knew about it. - The Chartered Institution of C Programmers
Re: A news.newusers.questions's Guide to Qmail
Peter == Peter van Dijk [EMAIL PROTECTED] writes: He does mention the list, but says [EMAIL PROTECTED], which probably doesn't work. [EMAIL PROTECTED]: Sorry, no mailbox here by that name. (#5.1.1) Quite right. -- In a world without walls and fences, who needs Windows and Gates? - Dino Esposito
Re: A news.newusers.questions's Guide to Qmail
question == question question [EMAIL PROTECTED] writes: Compare your statement with mine. You: FYI, I did successfully subscribe to this mailing list yesterday by sending an empty message to [EMAIL PROTECTED] per the instructions on the following webpage: Me: [EMAIL PROTECTED]: Sorry, no mailbox here by that name. (#5.1.1) @list.cr.yp.to != @cr.yp.to -- BUG, n.: An undesirable, poorly-understood undocumented feature. - The Devil's Dictionary to Computer Studies
max concurrency for qmail is 500, what's it for sendmail?
Does anybody know the maximum concurrency for sendmail? From what I understand, with the big concurrency patch, it's 500 for qmail but I can't find any data on sendmail. Thanks in advance.
Re: Ban These Exchange Server Users
Csaba == Csaba Bobak [EMAIL PROTECTED] writes: I am sure that Brett (Brett Randall [EMAIL PROTECTED]) did not mean anything wrong, he just wanted to express the dark side of banning someone who is not responsible for this long-spoke spam. Thankyou, Csaba. -- But what...is it good for? - Engineer at the Advanced Computing Systems Division of IBM, 1968, commenting on the microchip
RE: max concurrency for qmail is 500, what's it for sendmail?
no way can it be 1. that would be ridiculous and yet... -Original Message- From: Henning Brauer [mailto:[EMAIL PROTECTED]] Sent: Wednesday, April 25, 2001 4:43 PM To: [EMAIL PROTECTED] Subject: Re: max concurrency for qmail is 500, what's it for sendmail? On Wed, Apr 25, 2001 at 03:59:04PM -0700, Brett wrote: Does anybody know the maximum concurrency for sendmail? From what I understand, with the big concurrency patch, it's 500 for qmail but I can't find any data on sendmail. Thanks in advance. 1 if I'm not totally mistaken... -- 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)
RE: max concurrency for qmail is 500, what's it for sendmail?
Below, you say that you think the big concurrency patch is useless but in your testing: http://www.lamer.de/maex/creative/software/qmail/deliveries/, your lowest evaluation was for 150 remote connections and qmail's default maximum without the patch is 120. So you would still need the big concurrency patch even for your lowest setting and hence, I don't think you meant to say it's useless. By all means correct me if I'm wrong. I usually don't know what I'm talking about. # On Wed, Apr 25, 2001 at 03:59:04PM -0700, Brett wrote: Does anybody know the maximum concurrency for sendmail? From what I understand, with the big concurrency patch, it's 500 for qmail but I can't find any data on sendmail. Thanks in advance. Dunno about sendmail, but with the big concurrency patch maximum concurrency for qmail can be as high as 2^16 (okay, you need a few descriptors, but 65500 should be possible). And from the README to that patch: **CAUTION** if you do this one should realise that qmail-send might try to open 64K connections to the /same/ host because it doesn't maintain a per-domain concurrency. And as I have posted about 60 minutes ago to this list, I have made the observation that the big concurrency patch for qmail is pretty much useless. \Maex -- SpaceNet AG| Joseph-Dollinger-Bogen 14 | Fon: +49 (89) 32356-0 Research Development | D-80807 Muenchen| Fax: +49 (89) 32356-299 Stress is when you wake up screaming and you realize you haven't fallen asleep yet.
Re: It's not my list but ... (AV Bots)
Bruno == Bruno Wolff [EMAIL PROTECTED] writes: It isn't my list, but if it was I would add the IP addresses of any servers that sent a virus warning to my list into my tcp rules block list. Or simply strip the attachments to any messages... That'd be my ideal choice. Keep the list relatively text-only (HTML to some degree), have no virii problems and keep total bandwidth usage down. Overheads are obvious, but at least for each e-mail to the list, the attachment would just have to be stripped when it arrived (a relatively simple Perl script could do it, or a compiled C program if you're after efficiency). I think this overhead is minor compared to the headache of virii warnings over the last couple of days (thank God for Gnus scoring :) -- ^X^C q quit :q ^C end x exit ZZ ^D ^Z ^K^B ? help
Re: Ban These Exchange Server Users
Russ == Russ Allbery [EMAIL PROTECTED] writes: Robert Mudryk [EMAIL PROTECTED] writes: If you noticed, all the Virii Reject Messages are from Exchange Servers... QMAIL anti-Virus Scanning like qmail-scanner says [This message was _not_ sent to the originator, as they appear to be a mailing-list or other automated Email message] I know you all are so against it... but don't you think it's time to re-consider installing a scanner on Mailing Lists? No, I think it's time to kick everyone running one of those broken scanners that mails the mailing list off of the mailing list. While this might serve as a deterrent for some users, most are smart enough to realise that all they have to do is re-subscribe. Most people run their own servers, so they can just as easily add their own new account for the list. Sure, we can ban a whole domain, but there are nicer ways to be a Nazi than this... -- Microsoft Works. - Oxymoron
Re: qmail-pop3d not working?
Steven == Steven Katz [EMAIL PROTECTED] writes: The message could not be sent because one of the recipients was rejected by the server. Server Response: '550 relaying to [EMAIL PROTECTED] prohibited by administrator'. (Account: '[EMAIL PROTECTED]', SMTP Server: 'mail.idma.com', Error Number: 0x800ccc79). This error isn't a qmail one. (Try `cd ~/qmail-1.03 grep prohibited by administrator *'). In fact, the word `administrator' would appear to display evidence of a lowly MS Winblowz machine somewhere running an SMTP server, and your DNS settings are directing mail to that server rather than your nice, shiny, spanking brand new one. Try pinging mail.idma.com and see what mail server you are REALLY getting (and maybe try deleting any other mail servers that you previously had running on your *nix box). B. -- I had a fortune cookie the other day and it said: 'Outlook not so good'. I said: 'Sure, but Microsoft ships it anyway'.
Re: qmail-pop3d not working?
Just type: # rpm -e --nodeps exim And be happy! You don't need it... Steven == Steven Katz [EMAIL PROTECTED] writes: Sure enough, Exim is running, but I didn't realize this would cause problems. When I try to remove it, I get the following: # rpm -e exim error: removing these packages would break dependencies: smtpdaemon is needed by fetchmail-5.5.0-2 smtpdaemon is needed by mutt-1.2.5i-8. I understand mutt is recommended for Maildirs. Does this mean I'll be unable to use it? Steven -Original Message- From: Rick Updegrove [EMAIL PROTECTED] Sent: Monday, April 23, 2001 1:21 AM To: Steven Katz; [EMAIL PROTECTED] Subject: Re: qmail-pop3d not working? From: Steven Katz [EMAIL PROTECTED] The message could not be sent because one of the recipients was rejected by the server. Server Response: '550 relaying to [EMAIL PROTECTED] prohibited by administrator'. (Account: '[EMAIL PROTECTED]', SMTP Server: 'mail.idma.com', Error Number: 0x800ccc79). I am not an expert, but I don't think that is qmail talking because I have caused every possible error every step of the way, so check for yourself. I think you are running Exim An Internet mailer for Unix systems. http://www.exim.org [root@ns2 /root]# telnet 208.25.75.162 25 Trying 208.25.75.162... Connected to 208.25.75.162. Escape character is '^]'. 220 shasta.idma.com ESMTP Exim 3.13 #1 Mon, 23 Apr 2001 00:08:04 -0700 Hope that helped Rick Up -- Hardware, n.: The parts of a computer system that can be kicked. - The Devil's Dictionary to Computer Studies
Re: mailing list software to use with qmail?
www.ezmlm.org Peter == Peter Peltonen [EMAIL PROTECTED] writes: Could someone recommend me a good mailing list software that works fine with qmail and has a web based admin interface? First I thought about mailman but after reading it's README.QMAIL I am a bit in doubt, as it seems to have so many issues regarding Qmail. Regards, Peter -- Is OS/2 only half an operating system ?
Fw: FOUND VIRUS IN MAIL from qmail-return-66681-qmaillist=ipsware.com@list.cr.yp.to to qmaillist@ipsware.com
Just a quick note to any Winblowz users (and I can't say much...I'm sending this from my much hated Winblowz terminal running OE ATM)... A recent mail to the qmail list (in the last few minutes) contained a well-known virus... But then again, maybe I shouldn't be telling you this ;) B. - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, April 24, 2001 12:09 AM Subject: FOUND VIRUS IN MAIL from [EMAIL PROTECTED] to [EMAIL PROTECTED] The attached mail has been found to contain a virus The mail has been stored as /var/virusmails/qmailq/virus-20010424-27042 xxTue Apr 24 00:09:00 EST 2001xxx qmail-remote (0.2.1) called ipsware.com [EMAIL PROTECTED] [EMAIL PROTECTED] FROM: [EMAIL PROTECTED] TO: [EMAIL PROTECTED] maxlevel: 0 Contents of /var/tmp/qmail-remote27042/unpacked total 36 drwx-- 3 qmailq qmail4096 Apr 24 00:09 . drwx-- 3 qmailq qmail4096 Apr 24 00:09 .. -rw--- 1 qmailq qmail 281 Apr 24 00:09 988034940.27065-0.misspiggy -rw--- 1 qmailq qmail 16896 Apr 24 00:09 Emanuel.exe drwx-- 2 qmailq qmail4096 Apr 24 00:09 SFX /var/tmp/qmail-remote27042/unpacked/SFX: total 8 drwx-- 2 qmailq qmail4096 Apr 24 00:09 . drwx-- 3 qmailq qmail4096 Apr 24 00:09 .. Scanning /var/tmp/qmail-remote27042/unpacked/* Scanning file /var/tmp/qmail-remote27042/unpacked/988034940.27065-0.misspiggy Scanning file /var/tmp/qmail-remote27042/unpacked/Emanuel.exe /var/tmp/qmail-remote27042/unpacked/Emanuel.exe Found the W32/Navidad.e@M trojan !!! Summary report on /var/tmp/qmail-remote27042/unpacked/* File(s) Total files: ... 2 Clean: . 1 Possibly Infected: . 1 H+BEDV AntiVir scanstatus0 is: 0 Mcafee scanstatus1 is: 0 Dr. Solomon (old) scanstatus2 is: 0 Dr. Solomon (new) scanstatus3 is: 0 Sophos Sweep scanstatus4 is: 0 NAI Virus Scan 4.x scanstatus5 is: 13 KasperskyLab AVP scanstatus6 is: 0 KasperskyLab AVPDaemonClient scantatus7 is: 0 F-Secure Antivirus scanstatus8 is: 0 Trend Micro FileScanner scanstatus9 is: 0 CyberSoft vfind scanstatus10 is: 0 CAI InoculateIT (inocucmd) scanstatus11 is: 0 Virus FOUND Sent notification to [EMAIL PROTECTED]
Re: qmail-pop3d not working?
"Steven" == Steven Katz [EMAIL PROTECTED] writes: -Original Message- From: Mark Delany [EMAIL PROTECTED] snip You need to give us a *lot* more information than "I'm unable to receive mail..." For example: 1. You haven't told us whether the tcpserver in your qmail-pop3d/run is running. Is it? According to ps it is. Is there anything else I can use to verify that it's running properly? What is the output of `ps auxw | grep pop3'? What is the output of `cd /var/qmail/supervise svstat qmail-smtpd'? 2. You haven't told us what happens when you try and connect to the POP port. What does happen? My mail client reports the following: Unable to connect to the server. (Account: '[EMAIL PROTECTED]', POP3 Server: 'mail.idma.com', Error Number: 0x800ccc0e). Outlook Expectless sucks butt cheek. Telnet to port 110 and do: USER yourusername PASS yourpassword And give us the error message. Then give us `ls -l ~/* | grep Maildir --after-context=4' when logged in as yourself. Then give us `ls -l ~/.. | grep yourusername' 3. You haven't shown us what gets logged. What is logged? Log files are being created in log/qmail/smtpd, but not in log/qmail/pop3d. Does that provide a good clue? Depends. Is multilog running as part of the sv scripts in pop3d/log/run? This should appear in `ps auxw | grep pop3'. 4. Oh, and you haven't told us whether you followed instructions exactly when setting up qmail-pop3d/run. Do the instructions really say to use POP3 in uppercase? I followed both the LWQ and the above mentioned faqts instructions exactly, and double checked. -- "Bubble Memory, n.: A derogatory term, usually referring to a person's intelligence. See also vacuum tube." - The Devil's Dictionary to Computer Studies
Re: qmail-pop3d not working?
"Mark" == Mark Delany [EMAIL PROTECTED] writes: # sh -x qmail-po3d/run qmail-pop3d even (just in case he takes it literally ;) -- "SOFTWARE, n.: Formal evening attire for female computer analysts." - The Devil's Dictionary to Computer Studies
multiple qmail installations vs. big concurrency patch
Setting up /var/qmail1, /var/qmail2, etc. each with a concurrency of, say, 100, as opposed to one install of qmail with the big concurrency remote patch with concurrency set to 500. Apparently you have to adjust the linux kernel to get your concurrency up to 500 so wouldn't it be easier to just have multiple qmail installs? Is there an overall limit of concurrent connections that's unrelated to whether you're running one or several qmail installs? Thanks.
clustering
Can someone point me towards documentation on the subject of clustering qmail machines? That is, we're going to be setting up several machines all with the big concurrency patch in an effort to send out more mail faster. Tying all these qmail installations together through a controller machine is where I start to get hazy. If somebody's done it before and can offer some pointers, I'd be much appreciative. The search engine always says it's broken when I try to search the archives so I apologize if this is in there somewhere. Thanks in advance.
Re: Re[2]: From sendmail to qmail
"Boris" == Boris [EMAIL PROTECTED] writes: snip - smtp auth: todo I use Russell Nelson's version of POPb4SMTP (can't remember what he called it...it's on www.qmail.org). Works very successfully for when our staff travel overseas and want to be able to send mail without having to change their settings. All good e-mail clients allow you to set an option that says "Check for new mail before sending mail". Even the crap ones... You can simply hit "Get Mail"..."Send Mail" to do it. - virtual domains: todo Use vpopmail (or if its really simple stuff, use the virtualdomains file). - rbl/orbs: done with tcpserver/rblsmtpd... but i am not sure about the orbs patch, use or not to use -( Don't use it myself, but if you must use it, then the patch works (from reports I have heard) without major hassles. I've progressed some of the sites on the ORBS list (in particular) and banning e-mail from them would be a major point for my disownment at work. The way my bosses look at is "We can hit the delete key, but if we haven't seen the mail in the first place, what can we do about it?" Different workplaces obviously have different attitudes, however. -- "SOFTWARE, n.: Formal evening attire for female computer analysts." - The Devil's Dictionary to Computer Studies
Re: Re[5]: From sendmail to qmail
"Boris" == Boris [EMAIL PROTECTED] writes: Hello Boris snip Heh...um...hah...um... I mean OK :) -- "Hey, I know this! This is Unix!" - Jurassic Park
Re: From sendmail to qmail
Believe it or not, all the answers to your questions can be found at http://www.qmail.org/top.html ! Brett. "Boris" == Boris [EMAIL PROTECTED] writes: Greetings. I am writing a small book about Linux/FreeBSD since 1999 (just for fun, maybe it will be released someadays, maybe not, who knows). Currently i try to find out the advantages of qmail. It took me some time to get it working, but I am very surprised about the speed. I have changed my production server in realtime from sendmail to qmail. It was not easy, but I have it done. And I was not required to delete sendmail. There are some things I need to know about qmail to complete my work on this chapter. * First, I need to know is there a similar way to stop spammers as in sendmail with /etc/access. This is a very important feature to me. I dont want to use procmail or similar for such a feature, is there an option for it? * Is there a way to forward all outgoing mails to a specific SMTP? * Are there somewhere detailed instructions about implementing RBL/ORBS? * I have read some solution about SMTP AUTH and I need to know what the people outside are using to stop spammers and to authenticate users before they are allowed to send e-mails. What are the currently most used solutions? I have found some, but I would like to know what is used in real environments. It would be great for detailed informations, because its not very easy to find all neccessary informations. Thanks for your time. -- Boris [MCSE, CNA] ... X-ITEC : Consulting * Programming * Net-Security * Crypto-Research : [PRIVATE ADDRESS:] : Boris Kster eMail [EMAIL PROTECTED] http://www.x-itec.de : Grne 33-57368 Lennestadt Germany Tel: +49 (0)2721 989400 : 101 PERFECTION - SECURITY - STABILITY - FUNCTIONALITY :.. Everything I am writing is (c) by Boris Kster and may not be rewritten or distributed in any way without my permission. -- "I wonder what Jesus would do if HE had to reload Windows 95 for the eighth time today ?" - Mirabour Gilbride
dual processors? over 500 connections?
Does qmail recognize or take advantage of a dual processor setup? I'm assuming that with the big concurrencyremote patch, regardless of the number of processors, we're sill relegated to, at most, 500 simultaneous connections. We need to send a lot of messages within a short period of time and are thinking our best bet is to simply add more machines to our strategy to increase the number of simultaneous connections as this seems to be where improvement is needed. As far as I can tell, the speed of the processors is largely irrelevant since 90% of the speed issue comes from how fast the SMTP connections connect and complete and that variable's out of our hands and dependent on the receiving machine's end. It's quite possible I'm making several erroneous assumptions here so feel free to correct as you see fit and I'll be happy to hear the truth. Thanks a lot!
Re: Selective Relaying Question
"John" == John Anderson [EMAIL PROTECTED] writes: Here is what I used to make the tcp.smtp.cdb file: 192.168.:allow 192.168.:allow,RELAYCLIENT="" :allow Um...OK!! MAYBE just try creating /etc/tcp.smtp with the above data in it, then either run '/etc/rc.d/init.d/qmail cdb' (if you installed as per LWQ), or type: tcprules /etc/tcp.smtp.cdb /etc/tcp.smtp.tmp /etc/tcp.smtp And make it world readable by: chmod 644 /etc/tcp.smtp.cdb This SHOULD help you out somewhat. Considering that .cdb indicated BINARY format, not text format. Brett. -- "Hey, I know this! This is Unix!" - Jurassic Park
isn't this kinda slow?
I just ran a test on our machine here and the results are not good. I sent a message bcc'ed to a 1000 different non-existent recipients on another one of our machines. 14 minutes later and only 600 of them have been processed/bounced. This is pretty slow. What about increasing the number of remote processes from 20 to, say, 40? Would this help? It seems like qmail is completely dependent on the smtp connections of other machines. thanks!
Re: NFS problem.
Make sure the time between the NFS server and the POP server are the same (hint: use rdate at a minimum) Brett "gustavo" == gustavo rozatti [EMAIL PROTECTED] writes: Had any of you already used qmail over NFS? Im setting up a qmail server that stores their messages over NFS. The delivery of the message are ok, but I cant see those messages from POP3 (they are at the disk). If the users home is somewhere out the NFS it works ok. Thanks for help. Gsutavo Z. Rozatti -- "Indeed, it would not be an exaggeration to describe the history of the computer industry for the past decade as a massive effort to keep up with Apple." - Byte, December 1994
RE: faster than bcc
Mark, you rule. This has been a tremendous help. Thanks a lot. Brett. -Original Message- From: Mark Delany [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 28, 2001 1:45 PM To: Brett Cc: [EMAIL PROTECTED] Subject: Re: faster than bcc On Wed, Mar 28, 2001 at 12:47:25PM -0800, Brett wrote: I remember reading that the fastest way to send one email to a large number of people is through bcc. Well, the fact that it's Bcc: vs To: is not important wrt speed. The reason for Bcc: over To: is to ensure that the recipient list isn't visible to the recipients. That might have privacy implications and it will certain have mail size implications with a million recipients! This was helpful to me because I'm not able to use a mailing list since the addresses I send to will be pulled dynamically from a database which is always changing. But somehow, populating the Bcc: field with a million names seems like it might not be the best idea to me. I understand qmail deletes this field before sending the message out but I'm more concerned with whether or not it will be making efficient use of the queue. The performance gain comes from sending one mail with lots of recipients. Those recipients traditionally are placed on Bcc: lines. Is the queue even used for one message sent to numerous people or is it only used for separate messages? Both. The queue is *always* involved. However, one message with lots of recipients creates much less work than lots of messages with one recipient each - that's the key. If there's a better method than Bcc:-ing everyone, I'm very open to hearing it. Not particularly. Some suggest usig qmail-queue directly (which qmail-inject calls), but the interface is more difficult and the cost saving is too small to measure for a large recipient list. One suggestion I got but which I can't get to work is: cat list.txt | xargs qmail-inject -a message.txt where list.txt is a list of addresses. Is this faster than Bcc: anyway? Any help much appreciated. In what way can't you get it to work? I would not use the xargs approach as that makes the recipients visible and it is also less efficient than this: ( sed 's/^/Bcc: /' list.txt;cat message.txt ) | qmail-inject Finally, make sure that message.txt has header lines, such as From: and Subject: and make sure that there is an empty line between the headers and the message text! Regards.
RE: faster than bcc
Thank you everyone for your input. I know now that I'm on the right track with bcc. -Original Message- From: Charles Cazabon [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 28, 2001 2:26 PM To: [EMAIL PROTECTED] Subject: Re: faster than bcc Dave Sill [EMAIL PROTECTED] wrote: cat list.txt | xargs qmail-inject -a message.txt where list.txt is a list of addresses. Is this faster than bcc anyway? No. That creates one message per recipient--lots of disk I/O to do the same thing as one message, many recipients. That should still do only one message, multiple recipients, shouldn't it? Until, of course, the arg list becomes long enough for xargs to break it down to 2 serial injections. 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: Tcpserver - GONE A BIT FAR ...
This thread reminds me of an old mail! -Original Message- From: Dave Sill [mailto:[EMAIL PROTECTED]] Sent: Thursday, 10 August 2000 11:43 PM To: [EMAIL PROTECTED] Subject: How to Annoy People Whose Help You Need Say you're having a problem with qmail, and you want to request help from some people who might be able to help, and--at the same time--you want to annoy the hell out of them. Here are a few tips: 1) Post the message multiple times. To be even more annoying, change the subject each time--or even the body. Slight rewordings and small additions are especially effective. Be sure not to mention the previous "editions" of your request. 2) Describe your problem in the most general terms possible. Something like: "My qmail doesn't work. Why?" is a good start. If somebody else just asked that question, that's even better! (See #3) Under no circumstances should you include detailed error messages, message headers, log entries, qmail-showctl output, etc. OK, there's one exception to this rule: see #4. 3) Ask a FAQ. This is not as effective as the previous two techniques because most old timers automatically ignore FAQs. 4) If you do post details, be sure to alter them! Change domain names, usernames, and UID's to something else. Try not to be obvious. Use your imagination! Have fun. And, of course, don't mention these little alterations. 5) Whine, insult, and/or threaten to use Sendmail instead of qmail. Don't let the fact that these people are providing free tech support get in the way. There are others, but these are easiest, most common, and most effective techniques. I suggest printing off a copy and taping it next to your screen. -Dave -- "But what...is it good for?" - Engineer at the Advanced Computing Systems Division of IBM, 1968, commenting on the microchip
Re: forward
Hi Yves "Yves" == Yves Caetano [EMAIL PROTECTED] writes: hi, but isn't it possible to do it like in sendmail in the mailertable? Not without writing a patch. Qmail's method is more extensive and flexible than sendmail's, anyhow. if you take the smtproutes of qmail it is nearly the same than the mailertable of sendmail but you cannot add a line like this domain.com:[EMAIL PROTECTED] .is this true? No. The difference between simply forwarding an e-mail on to another server and saving it locally is a little larger than it may appear. i don't want that the server will act as a popserver and then forward it. i want the smtp to forward directly. Well, believe it or not, Kirill's suggestion doesn't make the server `act as a popserver'. A popserver stores the mail for later retrieval. The .qmail* files decide what happens to e-mail, not necessarily where it is stored. Think about it. In simple terms, qmail receives an e-mail. The domain name it is addressed to (in RCPT TO) is not in locals, so it checks virtualdomains. It finds the domain there, and forwards it on to prefix-domain-user locally. qmail then sees that there is a .qmail file in ~prefix called .qmail-domain-default. It then carries out the `commands' in this file which reroute the mail again. So, in essence, the mail is never `stored' anywhere but gets forwarded along a line. I think you will find that the time taken to get one message from the outside world to the final user would be in the...hmmm...let me think...seconds degree I would think? Brett. cu ycae Kirill Miazine wrote: * Yves Caetano [EMAIL PROTECTED] [20010326 11:01]: hi, is it possible to forward all the emails for one domain to one email address??like : @domain.com - [EMAIL PROTECTED] Yes, echo domain.com:user-domain /var/qmail/control/virtualdomains echo domain.com /var/qmail/control/rcpthosts HUP qmail-send echo [EMAIL PROTECTED] ~user/.qmail-domain-default thanks cu ycae -- Yves Caetano Server Support Engineer Tel: 295383 254 Fax: 295383 222 email: [EMAIL PROTECTED] http://www.incotech.lu -- Kirill -- Yves Caetano Server Support Engineer Tel: +352 295383 254 Fax: +352 295383 222 email: [EMAIL PROTECTED] http://www.incotech.lu -- "Hey, I know this! This is Unix!" - Jurassic Park
can't send remotely
I can mail locally with either smtp, inject or sendmail but if I try to send an email to my address on the qmail server from anywhere remote, I get a bounced email from my server with the message below: The original message was received at Mon, 26 Mar 2001 17:26:32 -0700 (MST) from gw.wnrg.com [64.70.27.226] - The following addresses had permanent fatal errors - [EMAIL PROTECTED] - Transcript of session follows - 550 [EMAIL PROTECTED]... Host unknown (Name server: debian.wnrg.com: host not found) - Original message follows - Received: from JT2k (gw.wnrg.com [64.70.27.226]) by mymobilecity.com (8.8.8) id RAA22395 for [EMAIL PROTECTED]; Mon, 26 Mar 2001 17:26:32 -0700 (MST) From: "Brett" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: hi there brett Date: Mon, 26 Mar 2001 16:33:13 -0800 Message-ID: [EMAIL PROTECTED] MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Importance: Normal sdfds sdfds I think this is probably a simple one. Any ideas? Thanks in advance. Brett.
Re: local mail routing help
Make sure server1.mydomain.com is accepting mail for server1.mydomain.com in the rcpthosts file, and that server2.mydomain.com (is it a qmail box?) is allowed to receive mail for server2.mydomain.com and mydomain.com . Restart qmail on each box and it should work. By the way, if no mail is stored on server 1, you shouldn't need the locals file. Brett. "Jean" == Jean [EMAIL PROTECTED] writes: Can someone help me with local mail routing? My setup is as follows. servers= server1.mydomain.com server2.mydomain.com server1's smtproutes file =mydomain.com:server2.mydomain.com server1's locals file = server1.mydomain.com server1's me file = server1.mydomain.com I want server1 to route all mydomain.com email to server2, but it's not working. With the above setup, everything stays on server1, nothing routed to server2. What other files do I need to look at? TIA, jean -- "This 'telephone' has too many shortcomings to be seriously considered as a means of communication. The device is inherently of no value to us." - Western Union internal memo, 1876
same VERP problem
I'm still having the same annoying problem with the VERP implementation. How do I get it running on my home email address? That is, all emails I send out from [EMAIL PROTECTED], if bounced, I want sent back to [EMAIL PROTECTED] Thanks.
RE: VERP problems
Okay, but the bounce sent to [EMAIL PROTECTED] also gets bounced. It doesn't know to send 'me-*' eamil through to 'me' even though I've touched ~/.qmail-me-owner and ~/.qmail-me-owner-default and chmodded both to 777. -Original Message- From: Dave Sill [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 22, 2001 10:51 AM To: [EMAIL PROTECTED] Subject: Re: VERP problems "Brett" [EMAIL PROTECTED] wrote: I'm trying to implement VERP for my own user address, that is, an address that's not a mailing list. I found a VERP page (quoted below) and according to that I should touch ~/.qmail-me-owner and ~/.qmail-me-owner-default. Then if I set the QMAILINJECT environment variable to 'r', I'm ready to go. I call: echo to:[EMAIL PROTECTED] | /var/qmail/bin/qmail-inject and I check the log. The mail is sent to [EMAIL PROTECTED] not [EMAIL PROTECTED] as I was lead to believe would occur automatically. Then when it bounces, it goes to [EMAIL PROTECTED] You see, it adds that "-" after "me" like it's trying to do the VERP address but then doesn't add the noone info. I know I'm messing up a step (perhaps several) but I don't know where. Anyone? I'm humbled by all your linux/qmail/computer stuff in general knowledge. Thanks again. No, you're not messing anything up. There are two kinds of bounces: those generated remotely and those generated locally. If the local system is not able to pass a message off to a remote system, the bounce generated will be local--from your qmail--and it'll go to the "me-" address rather than the me-user%host VERP address. This is done this way because the local bounce can contain multiple undeliverable addresses. To process these bounces, you need to parse the QSMBF-format bounce message that qmail generates. -Dave
RE: VERP problems
Okay, yes, now I'm getting me- emails sent to the me mailbox. This is progress. But I'm still a little confused about your previous email: "No, you're not messing anything up. There are two kinds of bounces: those generated remotely and those generated locally. If the local system is not able to pass a message off to a remote system, the bounce generated will be local--from your qmail--and it'll go to the "me-" address rather than the me-user%host VERP address. This is done this way because the local bounce can contain multiple undeliverable addresses. To process these bounces, you need to parse the QSMBF-format bounce message that qmail generates." From this, I gather that in order to collect the email addresses of these bounces, I need to write a script that goes through the me mailbox and extracts the email addresses from the bounce messages. I can do this (though it seems like there must be a better way). But when does the VERP functionality present itself? I send a message to [EMAIL PROTECTED] and that server tells me 'beets is unknown' -- isn't that a remote bounce? Shouldn't the email be returned to [EMAIL PROTECTED]? Because it isn't; I'm still getting those sent to [EMAIL PROTECTED] Or is this still considered a local bounce? If this is a local bounce then how do I simulate a remote bounce? I'm going to be Bcc-ing a bunch of people and I just need a reliable way to determine the addresses that bounce. Thank you everyone for helping me so far. -Original Message- From: Dave Sill [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 22, 2001 12:24 PM To: [EMAIL PROTECTED] Subject: RE: VERP problems "Brett" [EMAIL PROTECTED] wrote: Okay, but the bounce sent to [EMAIL PROTECTED] also gets bounced. It doesn't know to send 'me-*' eamil through to 'me' even though I've touched ~/.qmail-me-owner and ~/.qmail-me-owner-default and chmodded both to 777. Try touching .qmail-default. Neither ~/.qmail-me-owner noed ~/.qmail-me-owner-default will match "me-". -Dave
VERP problems
I'm trying to implement VERP for my own user address, that is, an address that's not a mailing list. I found a VERP page (quoted below) and according to that I should touch ~/.qmail-me-owner and ~/.qmail-me-owner-default. Then if I set the QMAILINJECT environment variable to 'r', I'm ready to go. I call: echo to:[EMAIL PROTECTED] | /var/qmail/bin/qmail-inject and I check the log. The mail is sent to [EMAIL PROTECTED] not [EMAIL PROTECTED] as I was lead to believe would occur automatically. Then when it bounces, it goes to [EMAIL PROTECTED] You see, it adds that "-" after "me" like it's trying to do the VERP address but then doesn't add the noone info. I know I'm messing up a step (perhaps several) but I don't know where. Anyone? I'm humbled by all your linux/qmail/computer stuff in general knowledge. Thanks again. VERP page I used as guidance: ftp://koobera.math.uic.edu/www/proto/verp.txt and an excerpt: Making VERPs work requires two pieces of local software support. First: it must be easy to modify the outgoing sender address separately for each envelope recipient. For example, with one mailer, qmail, a user can simply touch ~/.qmail-list-owner and ~/.qmail-list-owner-default to apply VERPs to user-list. Second, and more important: it must be easy to identify a collection of addresses, such as djb-sos-owner-*, and send all mail for those addresses to one place, while preserving the * information. Under qmail, all user-list-owner-* mail will be sent to the user once he touches ~/.qmail-list-owner-default. Sending the mail through an automated bounce-handling program is just as easy.
RE: VERP problems
Yes, I actually did realize that much. I just got mixed up at some point when I was writing this email. So my problem is just that the return address is getting set to [EMAIL PROTECTED] rather than [EMAIL PROTECTED] -Original Message- From: Charles Cazabon [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 21, 2001 4:42 PM To: [EMAIL PROTECTED] Subject: Re: VERP problems Brett [EMAIL PROTECTED] wrote: I found a VERP page (quoted below) and according to that I should touch ~/.qmail-me-owner and ~/.qmail-me-owner-default. Then if I set the QMAILINJECT environment variable to 'r', I'm ready to go. I call: echo to:[EMAIL PROTECTED] | /var/qmail/bin/qmail-inject and I check the log. The mail is sent to [EMAIL PROTECTED] not [EMAIL PROTECTED] as I was lead to believe would occur automatically. VERP changes the envelope sender, not the recipient. The envelope sender (Return-Path: in the message) gets set specially. 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. ---
setting QMAILMFTFILE
Forgive me and my novice-ness but I have a fairly simple problem... I've got qmail set up and it's working okay for single messages sent locally with qmail-inject from a perl script. I need to set it up for a mailing list application but one in which only portions of the mailing list can be selected to receive mail based on details about specific list members. (I mention this so you realize why I don't just use ezmlm. Ezmlm does not allow you to selectively mail certain list members but rather implements an all or nothing approach as far as I can tell). So when I call qmail-inject I want to do so with a filename of people. It seems I need to set this QMAILMFTFILE environment variable in order to do this. I set it with 'setenv QMAILMFTFILE /../list.txt' and I can then see the new env var with 'printenv' but qmail-inject ignores it. Is qmail looking at a different set of environment variables and if so how do I alter those? Thanks in advance.
Re: Qmail Scanner
"Jason" == Jason Haar [EMAIL PROTECTED] writes: snip You will need to reinstall Q-S. I specifically wrote Q-S so that it only contains code specific to your system. You have added another virus scanner, so you'll need to do another "./configure etc" to rebuild the app with support for Trend. Hey Jason We are looking at running a second virus scanner with our Q-S soon as well. The only thing is that we have MAJORLY modified Q-S to work in our environment (changed the messages that go out to people, depending on the extensions of the files and who specifically is sending the e-mail). We can't really just `reinstall' Q-S since it would require hours of work to make it work again the way we want it to. Are you able to quickly outline the variables and commands that change? I guess I could read the configure script, but if you could tell us that would be great! TIA -- "I'm not dumb. I just have a command of throughly useless information." - Calvin, of Calvin and Hobbes
Re: Please help, I have been trying to solve this for two weeks.
"Avery" == Avery Brooks [EMAIL PROTECTED] writes: Greetings, I did a setup of QMAIL using the RPM's located at: http://www.qmail.org/rpms/ Qmail seems to be running fine, but here are my issues: The general opinion on this list, as you may find, is that the best way to install qmail is to follow www.lifewithqmail.org . You will then know how qmail works, where the paths to all your files are (and what they do), and hold the entire `mail system' in a higher regard. -- "This 'telephone' has too many shortcomings to be seriously considered as a means of communication. The device is inherently of no value to us." - Western Union internal memo, 1876
Re: multilog and missing info
"Chris" == Chris Bolt [EMAIL PROTECTED] writes: I was previously using splogger, and I just upgraded daemontools and set up svscan. Now logs are written with multilog, however I am not seeing as much information in my logs as with splogger. For example, a syslog logfile: If you set up qmail as per www.lifewithqmail.org, you will find that there are two log files. The SMTP connections one and the messages one. Have a look in /var/log/qmail/{send|smtpd} to see your logs. -- "Hitting your modem with an aluminum baseball bat is only going to get you electrocuted. Try a wooden one." - Lynn Marshall
Re: POP mail not appearing in a session
On Tue, 13 Mar 2001, [EMAIL PROTECTED] wrote: Tim Hunter [EMAIL PROTECTED] wrote: qmail-pop3d will not read mails that have a newer timestamp than the current time. While we're on the subject, why is this? I see nothing special about a message in .../cur or .../new which happens to be dated in the future. Is this a deliberate feature? See below. -- "BUG, n.: An undesirable, poorly-understood undocumented feature." - The Devil's Dictionary to Computer Studies
POP mail not appearing in a session
Maybe I'm just going crazy, but I am having stupid troubles with qmail-pop3d. I've got a server which has an NFS export (exporting /nfs/mail to *, with rw, no_root_squash). I've got another server which mounts this NFS share in the same location (/nfs/mail). Both servers are using NIS and have exactly the same user information on both, and nsswitch.conf both use nis first when looking for passwd and group. Both servers start POP3 via: /usr/local/bin/tcpserver 0 pop3 /var/qmail/bin/qmail-popup \ bigbird.domain.com /usr/local/bin/checkpassword \ /var/qmail/bin/qmail-pop3d Maildir Both servers appear to authenticate me without any problems when I open a POP3 session, but only the one that has the NFS share locally actually shows any mail. On both servers, I can type 'ls ~brett_remote/Maildir/new' (assuming brett_remote is the username that is stored remotely but accessed via an NFS share), and I can see all the new mail. But the POP3 daemon on the remote machine shows that I have no mail. For those that are wondering, the `remote' machine is a server located in another part of the city in another set of offices. We allow external pop access (ie REALLY external, like when they dial into another ISP overseas) for all our staff, no matter which offices they are located in, as long as they point their mail software to one single POP3 server. This POP server then goes and grabs the mail via NFS for the user. This is where the trouble is coming in. Does anybody know why I would be able to access e-mail from the real server, but not another one mounting it as an NFS share? I've never had this problem before which is why I think I am going crazy... And all the permissions are fine. That's not likely to be the problem since the same NIS maps are on both servers. TIA! -- Calvin: I've been thinking, Hobbes Hobbes: On a weekend? Calvin: Well, it wasn't on purpose...
Re: Absolute path, plus a few other questions...
On Sat, 10 Mar 2001, [EMAIL PROTECTED] wrote: /var/qmail/bin/qmail-inject This is more correct than /usr/sbin/sendmail Thank you, I am still having an issue with qmail. Qmail seems to be running, but I can't send any email from a form. If I send from PINE I am ok. There is NOTHING in the logs. Read http://www.lifewithqmail.org/ and setup your qmail with those instructions. As to e-mailing from a form, try reading the code for the form script and working out what it is doing. Try running a few of the shell commands it calls by hand and seeing what the output of them is. -- "But what...is it good for?" - Engineer at the Advanced Computing Systems Division of IBM, 1968, commenting on the microchip
Re: qmail 2.0 exploit
On 02 Mar 2001, [EMAIL PROTECTED] wrote: Dan could fix this by releasing qmail-1.03.1 with different installation instructions. Of course, if he did, some people would take that to be an admission that there actually is a security hole in qmail-1.03. Who cares what other people think? If he (Dan) is giving out a product which is even better and easier to set up than his last version, then who cares about the reasons? What are we doing? Making software design a sentimental practice? I say just stick LWQ into qmail-1.whatever-is-next, and then all alleged bug reports, whether true or not (which can be debated until the end of time - ask yourself if it possible for both sides to agree. It is human nature that they won't) will be old news. -- "People say Microsoft payed $14M for using the Rolling Stones song 'Start me up' in their commercials. This is wrong. Microsoft payed $14M only for a part of the song. For instance, they didn't use the line 'You'll make a grown man cry'."
Re: [Qmail-scanner-general]amavis or qmail-scanner ?
I have a lot of trigger-happy users who seem to enjoy double clicking attachments. Most of the time, a few hours after a major virus is discovered, we have an update made, but in the meanwhile we could have had hundreds of e-mails come in with the virus. Our environment runs Windows, and we find that by stripping any attachments that could be double-clicked on and contain a virus (ie vbs, scr, exe soon when I can convince management). I use qmail-scanner for this. It also helps us to monitor e-mail usage and see who are the people wasting all our bandwidth sending MPGs, AVIs, MP3s, etc, and take the necessary disciplinary action. Since neither amavis nor qmail-scanner are REALLY virii scanners (they just spawn scanners), I prefer qmail-scanner since it offers the ability to block attachment types as well. Of course, we also run Norton Antivirus across all our desktops. With the corporate edition, its really easy to install. Open up your MMC, go Tools...Client Install, select the 100 workstations in the building, hit Go, and it installs the virii scanning software across all of our workstations, and they all pull the latest updates off our central NAV server whenever new ones arrive. Of course I've moved OT now... Brett. -- "I'm not dumb. I just have a command of throughly useless information." - Calvin, of Calvin and Hobbes
Re: Scalable Mail Solution
On Thu, 01 Mar 2001, [EMAIL PROTECTED] wrote: Is their such a thing as a 50 terrabyte hard drive? No. (Unless you work in the USDF) Well, my users are all in one domain, so I cannot split the domains across several HDD's. RAID??? Secondly, what if 2 1/2 million users simultaneously hit the server, would the server handle it? What with? A baseball bat? Unlikely. Logging in? Perhaps. Calculate how many MBs each instance of your web server take up, multiply it by 2.5million, and tell me that your server can handle both that amount of RAM and that number of processes. Uh huh. Well, how does hotmail or yahoo do it? I am sure they load blanace across multiple servers, but how? If you're looking at a *nix solution, look into Coda filesystems, Intermezzo, GFS, etc. Then look at a network-based clustering solution, such as the Linux Virtual Server. I know all about load balancing with dns, etc. across multiple web servers for example, but with mail, a specific user has to login to the same box that hosts his mailbox everytime, and mail arriving from outside world to this user has to arrive to the same box also. You're thinking inside the box. If anyone out there has gone through something like this, I would appreciate it a lot if you hint me with a clue :) P.S. Please cc me your reply, as I am not subscribed to the list. Best Regards, You might want to subscribe. Just a hint. Tim Brett. -- "Endless Loop: n., see Loop, Endless." "Loop, Endless: n., see Endless Loop." - Random Shack Data Processing Dictionary
Re: Starting qmail-scanner and Life with qmail
On Tue, 27 Feb 2001, [EMAIL PROTECTED] wrote: Hi all... I've worked out all the little problems I was having with qmail-scanner, thanks to who helped. I have one last question... I'd like to start qmail-scanner safely as per "life with qmail" "Life with qmail" starts qmail with /var/qmail/supervise/qmail-smtp/run If you have installed the QMAILQUEUE patch that qmail-scanner requires, and followed all its installation instructions, then just add the line to the following file before tcpserver is called: QMAILQUEUE="/var/qmail/bin/qmail-scanner-queue.pl" export QMAILQUEUE Brett. -- "Windows 95 /n./ 32 bit extensions and a graphical shell for a 16 bit patch to an 8 bit operating system originally coded for a 4 bit microprocessor, written by a 2 bit company that can't stand 1 bit of competition."
Re: qmail-scanner wrapper
On Thu, 22 Feb 2001, [EMAIL PROTECTED] wrote: ns1:/usr/src/qmail-scanner-0.95# ./qmail-scanner-queue.pl -g Script is not setuid/setgid in suidperl ns1:/usr/src/qmail-scanner-0.95# Trying the test script gives: ns1:/usr/src/qmail-scanner-0.95/contrib# ./test_installation.sh -doit setting QMAILQUEUE to /var/qmail/bin/qmail-scanner-queue.pl for this test... Sending eicar test virus - should be caught by perlscanner module... Script is not setuid/setgid in suidperl qmail-inject: fatal: qq temporary problem (#4.3.0) done! What is this qq error? I can't use qmail-scanner and I REALLY need to, but every message that I receive gets lost to this error. Any body know why/how to fix? -- "Your mouse has moved. Windows NT must be restarted for the change to take effect. Reboot now ? [OK]"
qq_temporary_problem with QMAILQUEUE patch
Hi all I am trying to use qmail-scanner with qmail, and have recompiled with the QMAILQUEUE patch. My qmail/supervise/qmail-smtpd/run file looks like: #!/bin/sh QMAILDUID=`id -i qmaild` NOFILESGID=`id -g qmaild` QMAILQUEUE="/var/qmail/bin/qmail-scanner-queue.pl" export QMAILQUEUE exec /usr/bin/softlimit -m 200 \ /usr/local/bin/tcpserver -v -p -x /etc/tcp.smtp.cdb \ -u $QMAILDUID -g $NOFILESGID 0 smtp \ /var/qmail/bin/qmail-smtpd 21 When I try sending mail to/through this server, I get this error: 451 qq temporary problem And the message fails. I have installed qmail-scanner as per the readme, and qmail-queue as per normal (patch -p0 qmailqueue.patch). qmail-scanner-queue.pl is suid root, and I can run it fine when I am logged in as qmailq. If I comment the QMAILQUEUE variable out of my run file, all works as normal. Does anybody know where this problem occurs and how I can fix it? TIA Brett. -- "At the source of every error which is blamed on the computer you will find at least two human errors, including the error of blaming it on the computer. - Anonymous
Re: error in qmail logs
On Tue, 13 Feb 2001, [EMAIL PROTECTED] wrote: hi all, I'm getting a reoccuring error in my qmail logs, I'm not sure I understand what it's trying to tell me. @40003a8a0e53036600b4 warning: trouble opening remote/4/2226680; will try again later @40003a8a0e530367aa7c warning: trouble opening remote/10/2226663; will try again later Thanks -Jason Means that you may have deleted files from the queue (eg /var/qmail/queue/mess/4/2226680) without deleting the information files (in /var/qmail/queue/remote). Either that or there's been some kind of corruption/permission change. -- "The C Programming Language: A new language which combines the flexibility of assembly language with the power of assembly language." - Murphy's Introduction to C
Re: filter ip
On Mon, 05 Feb 2001, [EMAIL PROTECTED] wrote: HI! I want to filter messages by the IP number. Somebody know how can I do it? Thanks Pablo If you mean deny the messages altogether, give ipchains a go. -- "Microsoft Works." - Oxymoron
Re: High MEM Usage??
On Sun, 4 Feb 2001, [EMAIL PROTECTED] wrote: There is hardly anybody using this server...please let me know how can I find out which process is using so much of memory. This is really a LUG question, but try `ps auxw' -- "Pascal, n.: A programming language named after a man who would turn over in his grave if he knew about it." - The Chartered Institution of C Programmers
OT: Funny mailing list postings
This is just for a bit of fun...if you're not interested in this posting (in all your lack of humour), please add it to your killfile or equivalent. Does anyone here have any funny recollections of people sending postings that were meant to go to someone totally unrelated to the mailing list, to a mailing list? (ie list-serv)? Just curious, thought it might give a few people a bit of a laugh :) Later... -- B r e t t R a n d a l l http://xbox.ipsware.com/ brett _ @ _ ipsware.com
Re: which operation system us the best use of qmail
On Mon, 29 Jan 2001, [EMAIL PROTECTED] wrote: could some one help me which operation system is the best usage of qmail+vpopmail+qmailadmin+mysql+sqwebmail I highly suggest that Windows might be the best for you. Have fun. -- B r e t t R a n d a l l http://xbox.ipsware.com/ brett _ @ _ ipsware.com
Re: Hi
On Mon, 29 Jan 2001, [EMAIL PROTECTED] wrote: Hi, i would like to use maildir instead of mailbox, but now theres a problem, does imap support maildir? what is the best imap daemon which works with maildir? Read the FAQ and the docs that come with qmail. There's a start for you. -- B r e t t R a n d a l l http://xbox.ipsware.com/ brett _ @ _ ipsware.com
Re: Hi
On Mon, 29 Jan 2001, [EMAIL PROTECTED] wrote: Brett Randall wrote: On Mon, 29 Jan 2001, [EMAIL PROTECTED] wrote: Hi, i would like to use maildir instead of mailbox, but now theres a problem, does imap support maildir? what is the best imap daemon which works with maildir? Read the FAQ and the docs that come with qmail. There's a start for you. Better yet, don't listen to Brett, who doesn't appear to know what the hell he's talking about, and who appears to post only so he can be abusive. My apologies. I haven't slept in three days, working on a huge project, and I didn't think before I hit the send button. I only know that I set up an IMAP server without having to think twice about it, and I guess I took the situation to heart. Best regards -- B r e t t R a n d a l l http://xbox.ipsware.com/ brett _ @ _ ipsware.com
Re: translating or remapping domains to another domain?
On Tue, 30 Jan 2001, [EMAIL PROTECTED] wrote: How do I do this: [EMAIL PROTECTED] - [EMAIL PROTECTED] [EMAIL PROTECTED] - [EMAIL PROTECTED] [EMAIL PROTECTED] - [EMAIL PROTECTED] [EMAIL PROTECTED] - XXX@finaldomaincom In smtproutes (on Server A) - domain1.com:mx.finaldomain.com domain2.com:mx.finaldomain.com In locals (on Server A) - {empty} In locals (on Server B) - domain1.com domain2.com In rcpthosts (on both servers) - domain1.com domain2.com This should work easy. -- B r e t t R a n d a l l http://xbox.ipsware.com/ brett _ @ _ ipsware.com