Re: ucspi-tcp and daemontools licenses?
on 6/28/00 9:17 PM, Vincent Danen at [EMAIL PROTECTED] wrote: I've looked at the web pages for both tools and in the archives themselves, but I can't find anything having to do with licensing issues for these two programs. I know they're not GNU, but I was wondering about distribution for them. I've made Mandrake RPMs for them would like to know if I can distribute them. The only changes I've made are to place the binaries in /usr/bin instead of /usr/local/bin. Can I distribute binaries this way? No patches or anything else have been applied to them. Or do I have to put them into /usr/local/bin in order to distribute them? Thank you in advance. If you can point me to a page describing the license for either program as well, I would sincerely appreciate it (as I think the license should be included in the RPMs also). A quick peek on the list archive came up with no definative answer. The only page that might help you out is: ftp://koobera.math.uic.edu/www/lists.html#qmaildist which tells you how to subscribe to a list which is for distributors of qmail-related packages. I'd have to assume that ucspi-tcp and daemontools are somewhat qmail related. Pat
Re: Upgrading fron sendmail to Qmail, queue problems
on 6/5/00 8:20 PM, net admin at [EMAIL PROTECTED] wrote: Hi Folks; I am upgrading a FreeBSD sendmail server to Qmail, did go through the FAQ and docs extensively, qmail runs and I see all the processes running but when I try to send mail to local user I get the following errors: qmaili delivery 1: defferal: fastforward:_fatal:_ qq:_trouble_creating_files_in_queue(#4.3.0)/ Did you try queue-fix? I have never used it but it may give you some more clues. http://www.netmeridian.com/e-huss/queue-fix.tar.gz Pat
linuxcare MTA page
Found this page comparing MTAs at linuxcare.com http://www.linuxcare.com/products/prodindiv.epl?PRODUCT_ID=74PRODUCT_NAME= qmail+1.03 They also have a nice table comparing the major MTAs. Qmail does quite nice, coming in second to postfix. Pat
Re: securing pop3 sessions
on 5/24/00 8:03 PM, Russell Nelson at [EMAIL PROTECTED] wrote: I'm afraid the best way is also the only way, and it doesn't exist. You cannot use POP3 without sending passwords in the clear. Doesn't anybody implement APOP?? The Gnome/Helixcode guys are working on an outlook type app that does APOP. Outlook Express for the mac does SSL and "secure password" but does not mention APOP in the docs or in the configuration. Pat
Re: Purpose of this list
on 5/18/00 7:11 AM, Steve Peace had the thought: You do not need to improve anything! LWQ and your deamenor on this list is outstanding. Trying to not sound like a gratuitous 'me too' I have to say he is right. Unfortunately I started my qmail career before LWQ was released but still if you take these (and maybe other) common steps before posting: Read INSTALL - Read FAW - Search list archives you will have a much better experience on this list. I've set up qmail on at least 8 machines now with a variety on configurations and I stay on this list because I learn something new/cool every day. Occasionally I can spot an easy problem and help someone out. Isn't that is what it's supposed to be all about? I guess it's that or asking when the book will be out ;-) Pat -- Freestyle Interactive | http://www.freestyleinteractive.com | 415.778.0610
Re: Filtering
on 5/12/00 3:34 PM, [EMAIL PROTECTED] had the thought: Hello ! I'm rather a beginner not only with QMAIL but with unix as a whole. I just wanted to ask if anyone can help - something I didn't find anywhere. I want to filter some incoming messages - both local and remote. However, I want to filter them as they are coming, not when they have come and have been placed in the queue. The whole idea is to prohibit big attachments and to deny any mail with huge attachments before it has arrived - for the sake of saving bandwidth, so I want to reject as it comes before its being delivered already. I hope this makes sense. Thank you very much, Peter Try using /var/qmail/control/databytes This will allow you to control the size of the messages... http://Web.InfoAve.Net/~dsill/lwq.html#config-files Pat -- Freestyle Interactive | http://www.freestyleinteractive.com | 415.778.0610
Re: scan4virus
on 5/6/00 12:58 PM, Warren J. Beckett at [EMAIL PROTECTED] wrote: Hi, Does anyone have much experience with scan4virus? I have install the latest version on my redhat 6.2 box and it works well... Exept than when I add entries to block certain file type of attachment it does detect any of them. I am trying to block mp3's and Cough vbs attachments. I have entered the following lines in the antivirus-attachments.txt. .vbs0No VBS .exe0No Exec *.vbs 0Visual Basic Attachments Are not allowed *.exe 0No exec When I use the -g option everything is ok. But looking at the log it tells me that during perlscan no virus was found. I am going insain here. The db file is updating but if I delete it the scan4virus doesn't even complain about it. I was having problems with .18. Try upgrading to .19, that worked for me. Also, don't use *.vbs, just use .vbs. Pat
Re: PERL filtering...
on 5/5/00 10:32 AM, John W. Lemons III had the thought: I have recently deployed a freeware procmail script that does a very good job filtering out various forms or malicious mail. So far it has caught all the ILOVEYOU mail and a few of the variants we have seen. Since I use QMail on my own machine, can procmail scripts be used with QMail? Most of the script uses some well crafted PERL code, so if not, it could probably be shoe-horned into a form that QMail will utilize. Any suggestions? You are better off using something like scan4virus at the queue level. http://www.geocities.com/jhaar/scan4virus/ While it is probably not advised, I am using it without the QMAILQUEUE patch. Instead, the scan4virus program receives the mail, scans it, then passes it to my renamed qmail-queue program. Right now I deny all .vbs attachments. Yes, this is rather draconian and there might be a 1 in 100,000,000,000,000 chance that someone really needs to send a .vbs attachment. Those are the breaks... Pat -- Freestyle Interactive | http://www.freestyleinteractive.com | 415.778.0610
Re: PERL filtering...
on 5/5/00 10:55 AM, octave klaba had the thought: setuping scan4vuris I have this error Cannot find unzip on your system! 2 stupid questions: - where can I find it out for linux ? http://freshmeat.net - do I need to use McAfee with ? if yes, whch version ? an url ? No, but should have at least one kind of scanner. It is easier if you use one that is already tested and on the list. Or you can simply use the built in perl scanner. Freshmeat also has links for cirus scanners. Pat -- Freestyle Interactive | http://www.freestyleinteractive.com | 415.778.0610
Re: Future of qmail: will it care about viri/worms/etc?
on 5/5/00 12:27 PM, Keith Warno had the thought: qmail is a programmer's MTA. (Un)fortunately the world isn't full of programmers. When things like the "love bug" hit the main stream, getting everyone to frantically and quickly slam their doors shut in the faces of all that is unwanted, qmail users should be able to do the same. Er, that is, without having to write some quick, untested "hack" to do it. Or install a 2nd copy of qmail and then write a quick, untested "hack". qmail needs filtering rules for this "love bug" sort of thing, ie, a new control file or set of control files. These days, filtering by the MTA is probably more of a necessity than a feature. What makes you think that the fixes that instantly sprang up for sendmail, et. all weren't quick hacks? With the design of qmail I am able to do more general filtering and it keeps me from having to use a 1 meg procfile recipe. I use scan4virus. The problem that this presents is that there is always more than one way to do it so you have 18 different perl scripts to do the same task ;-) We have a dedicated test machine for qmail, so testing 'quick hacks' usually isn't a problem. I know this isn't an option for everyone, but before you apply any kind of patch to sendmail or other MTAs I would think you want to test it as well. Pat -- Freestyle Interactive | http://www.freestyleinteractive.com | 415.778.0610
Re: Book
on 4/29/00 12:53 AM, suresh had the thought: Does anybody know of a good book on qmail Suresh Your best bet for the time being is to grab a postscript version of Life with Qmail from : http://web.infoave.net/~dsill/qmail.html and print it out. There is an O'Reilley book in the works, but it will be out When It's Ready(tm). Pat -- Freestyle Interactive | http://www.freestyleinteractive.com | 415.778.0610
Re: AW: php3 and qmail
on 2/1/00 12:27 PM, Andreas Altenburg had the thought: i changes the line in the php3.ini-dist to /var/qmail/bin/sendmail In spite of this, the mail is not send. In the http-error-log there is a line /usr/sbin/sendmail -no such directory or file. But i do not find the line in my php3.ini-dist file. Where can it be??? From Life with Qmail http://web.infoave.net/~dsill/lwq.html kill PID-of-sendmail mv /usr/lib/sendmail /usr/lib/sendmail.old # may not be needed mv /usr/sbin/sendmail /usr/sbin/sendmail.old # may not be needed chmod 0 /usr/lib/sendmail.old /usr/sbin/sendmail.old ln -s /var/qmail/bin/sendmail /usr/lib ln -s /var/qmail/bin/sendmail /usr/sbin This will make sure that qmail will handle you mail. Pat -- Freestyle Interactive | http://www.freestyleinteractive.com | 415.778.0610
Re: persistent connections for qmail file programs
on 1/6/00 2:25 PM, Peter Gradwell had the thought: Hi ya, If I have a perl script, in a .qmail- file, which connects to a mysql database, has anyone considered how to make the mysql connection persistent. Would it be at all possible to have persistence in the program run by a ..qmail file? This is the "long way" as I don't really know the "short war". You could set up Apache+mod_perl+my_sql and have the dot-qmail file send stuff to a cgi. I'm not to sure about any other ways. or am i totally mad? Pat -- Freestyle Interactive | http://www.freestyleinteractive.com | 415.778.0610
Re: Using Qmail as a dedicated SMTP/POP3 server...
on 12/16/99 4:20 PM, Roy Sandgren had the thought: Greetings to all of you! I'm running Qmail today, but I have a few wishes that I'm not able to fullfill by myself. [wishes snipped] It sounds like all of your needs can be meet with any number of solutions available from http://www.qmail.org Pat -- Freestyle Interactive | http://www.freestyleinteractive.com | 415.778.0610
check HOST in dot-qmail
I've set up an alias to allow mail to be sent to all the people in our office. I would like to protect this alias from the 'outside'... Would there be any problems with just doing a simple check ala if [ $HOST != freestyleinteractive.com ] go away else everything is cool and go ahead and deliver fi Is there something bad that could happen that I might be over looking in my approach? Would it be best to execute an external shell script from the dot-qmail file and check the return value of that script and then decide what to do? Pat -- Freestyle Interactive | http://www.freestyleinteractive.com | 415.778.0610
Re: lame question
On 11/9/99 at 11:45 AM, [EMAIL PROTECTED] (David McCall) had the thought: Wish there was a graphic picture of the qmail parts and the addons with their various functional locations and requirements or even a flow chart showing how stuff should move under various conditions. Never fear! http://www.nrg4u.com/ has nice big color pix of the qmail picture. As for your other questions you might want to poke around qmail.org for a pop password checker thingy. There are more than one floating around out there. Pat -- Freestyle Interactive | http://www.freestyleinteractive.com | 415.778.0610
Re: delivery to a directory
On 11/9/99 at 3:52 PM, [EMAIL PROTECTED] (Phil Howard) had the thought: Please don't suggest lots of userids and/or lots of .qmail files. I'm dead set on making this easy to administer, so those are not options. That's why I'm running things through a program that figures it out. I could be way off base here, but it sounds like your dead set on reinventing the wheel. If you have to have a directory for the userid to hold the Maildir, what is the problem with having a .qmail file to tell qmail to deliver to that Maildir? Pat -- Freestyle Interactive | http://www.freestyleinteractive.com | 415.778.0610
Re: Mass virtual hosting
On 9/27/99 at 10:46 AM, [EMAIL PROTECTED] (B. Engineer) wrote: On Mon, 27 Sep 1999, Mojahedul Hoque Abul Hasanat wrote: Dear List, I want to setup 30,000+ virtual domains. Is there any performance problems with this large virtualdomains and rcpthosts files? Or is there any way to avoid using these files? The domains are of the same format: *.mydomain.com. Hello: Yes, I am also interested in hearing the list's view on this. My /var/qmail/users/cdb file is at 20M+. I have 200K+ virtual users and I am wondering if I should move away from the file based approach. Is there a patch that will use a database (postgres/mysql) for looking up virtual users instead of the cdb file? Anyone else facing the same issues?? You might want to check this message from the qmail archive: http://www.ornl.gov/its/archives/mailing-lists/qmail/1999/08/msg01079.html It talks about using cbd database for storing this information. Pat -- Freestyle Interactive | http://www.freestyleinteractive | 415.778.0610
Re: qmail-pop newbie security
On 9/27/99 at 4:49 PM, [EMAIL PROTECTED] (Joshi, Vivek) wrote: Q1. I read somewhere the pop3 clients don't use encrypted passwords, is there a way to implement increased security in this case ? Yes, but you need to make sure the clients can handle the kind of authentication you want to use. Check http://www.qmail.org for a number of checkpassword programs. Q2. What more do i need to install for increased security under telnet ? Look into ssh (http://www.ssh.org). Which is far beyond the scope of this list... -- Freestyle Interactive | http://www.freestyleinteractive | 415.778.0610
Re: pop3d - Unable to scan $HOME/Maildir??
On 9/27/99 at 5:55 PM, [EMAIL PROTECTED] (Bill Rogers) wrote: /var/qmail/popboxes/sadi-com/joe/Maildir: total 0 drwx--2 popuser qmail96 Sep 27 16:44 . drwx--3 popuser qmail96 Sep 27 17:40 .. # I think your Maildir has something wrong with it. Did you use /var/qmail/bin/maildirmake to create the Maildir? You should see three folders inside (cur, new, tmp). Pat -- Freestyle Interactive | http://www.freestyleinteractive | 415.778.0610
Re: QMAIL-LDAP list
On 9/23/99 at 3:33 PM, [EMAIL PROTECTED] (John Schmerold) ([EMAIL PROTECTED]) had the thought: How do I subscribe to the QMAIL-LDAP list. Is there a list of other QMAIL lists? This should have everything you need: From: http://www.nrg4u.com/ (the only LDAP link off the qmail.org page) A mailing list for discussion of this patch is avail, send mail to [EMAIL PROTECTED] Patrick Berry | Code Creation | [EMAIL PROTECTED] http://www.freestyleinteractive.com - 415.778.0610
Re: Hopefully my last question. :-)
On 9/23/99 at 5:59 PM, [EMAIL PROTECTED] (Luis Campos de Carvalho) ([EMAIL PROTECTED]) had the thought: On Thu, 23 Sep 1999, Glenn Crownover wrote: Almost running smooth as silk here! Just one last thing... What is the recommended replacement in a qmail environment (using Maildir now!) for /bin/mail? I have cron jobs wanting to use it (among many other apps). I don't remember for sure what's the real utility of /bin/mail. I'm guessing that you want to send mails. The program that you must use is /var/qmail/bin/qmail-inject. There is a nice man page about it. Please somebody confirm this for me. Thank you a lot. I don't think you need to replace /bin/mail. I have a RedHat 5.2 box with sendmail removed and /bin/mail works just fine with qmail. Did you remove /bin/mail yourself? Is it not working now? Pat
Re: Hopefully my last question. :-)
On 9/23/99 at 2:28 PM, [EMAIL PROTECTED] (Glenn Crownover) ([EMAIL PROTECTED]) had the thought: I had 'chmod'ed it to 0 per "REMOVE.binmail" (in qmail/doc) step 2, as part of the INSTALL instructions. Then I got this message from my cron job: 23 Sep 04:02:01 ntpdate[29031]: step time server 192.6.38.127 offset 1.067004 sec /usr/lib/news/bin/news.daily: /bin/mail: Permission denied In the REMOVE.binmail file it just says to link it to a usable mailer. I looked at the mail and mutt man page and they seemed to be command line compliant. I would guess that most mailers are compliant that way. You could just symlink /bin/mail to /usr/bin/mutt or whatever... Another option is to leave sendmail on the system in conjunction with qmail, but I doubt that is really necessary. Pat
Re: Kurt's Closet on qmail
Dave Sill had the thought that... "Lyndon Griffin" [EMAIL PROTECTED] wrote: But they are something to do with qmail, and not just because they have djb in common. Any newb stopping by this list or reading on of the how to's will get the following information: get qmail, but to make it work, also get daemontools and ucspi-tcp. That's "advice", not "information". I recommend ucspi-tcp and daemontools, but they're *not* required to use qmail. -Dave PS: newb? 2 qt. reale. It's also advice that makes the newb's life much easier down the road. At least, that is what I have found. Pat -- Patrick Berry --- Code Creation --- Freestyle Interactive --- 415.778.0610 http://www.freestyleinteractive.com
relay rules question
Okay, I have our smtp running under tcpserver and only machine in the office can send mail through it. But now, we have people dialing in from home and wanting to use our smtp server. They can't use the ISPs smtp server because they want to send mail as [EMAIL PROTECTED] and most people don't like you doing that... Unfortunately people are also dialing into MSN and want to use the mailserver. I don't want to allow the IP range for all of MSN... Any suggestions? Pat -- Patrick Berry --- Code Creation --- Freestyle Interactive --- 415.778.0610 http://www.freestyleinteractive.com
Re: can't start
James had the thought that... Now, after having gone through the installation steps, qmail was running on my system, until I rebooted. I thought I had placed the proper script in the proper startup file, but I guess I haven't. But for starters, I don't know how to even START qmail manually. I tried going into the qmail install directory and typed: qmail start Well, if you did indeed put the startup scripts in the right place you would want to do this: /etc/rc.d/init.d/qmail start (at least on redhat systems) but I got this error: bash: qmail: command not found Which would make sense if you were in /usr/local/src/qmail or whatever since the startup scripts don't live there. So then I went to the /var/qmail/bin directory, but got the same error. How do I get qmail to start again? It was running before I rebooted. I'll also mention that I couldn't get the step for rblsmtpd (http://www.flounder.net/qmail/qmail-howto.html#10b) to work.. the "setuser" was a command that my system didn't understand. Could this cause a problem? Well, it looks like you got daemontool 6 where setuser was replaced with setguid and other oddities. I got bitten by that as well. As has been mentioned a couple of times, most of the HOWTOs haven't caught up to the newest daemontools. You might want to consult the nifty Life with Qmail and see if that helps out any: http://web.infoave.net/~dsill/lwq.html Pat -- Patrick Berry --- Code Creation --- Freestyle Interactive --- 415.778.0610 http://www.freestyleinteractive.com
Re: Random Qmail Questions
[EMAIL PROTECTED] had the thought that... That's a feature, qmail doesn't want to run as root which it would have to do. Use ~alias/.qmail-root to send root's mail somewhere else. Ah thank you. I knew I had forgotten to ask something. I aliases work under qmail. I've got some aliases under people's home directories, so they can accept mail from other addresses, but I haven't figured out how the ~alias/.qmail-x works. Do I need to put the address to forward to in the /.qmail-root file? Is it as simple as that? Yup, just put a your-login-here in ~alias/.qmail-root and all will be well. People say nice things about mutt. The rest of us make do with worthless unreliable MUAs. Glad you brought up mutt. I've been wanting to switch to it for some time now. Unfortunately I haven't found an editor that works with it too well. It was using vi, but vi seems to forget to wrap the text, so it sends everything on this one long line. I tried using pico as well, but it sits there and asks me what file I want to save it as etc., which is just a pain. BTW, does mutt use Maildir, or will I have to set up a mutq filter for it as well? All of the above problems can be fixed in the config files of vim and mutt. I know it's bad to assume that he is using vim instead of mutt, but if he isn't he should be ;-) .vimrc: set tw=70 " always limit the width of text to n .muttrc set mbox_type="Maildir" set mbox="$HOME/Maildir/" set spoolfile="$HOME/Maildir/" This setup works pretty well for me. Pat -- Patrick Berry Code Creation Freestyle Software 415.778.0610 http://www.freestylesoftware.com
Re: qmail is not a replacement for sendmail
Adam D. McKenna had the thought that... From: Jay D. Dyson [EMAIL PROTECTED] : -BEGIN PGP SIGNED MESSAGE- : : On Thu, 29 Apr 1999, Vince Vielhaber wrote: : : Not everyone installing Unix/Linux nowadays is an OS guru. : : If they're playing the role of admin, they damn sure should be. It's : obvious from the beginning that they're not installing windoze 95. : : Okay, either I'm seriously underestimating my skill set or a lot : of other people are seriously overestimating the skill set necessary to : install Qmail without inflicting self-injury. : : Which is it? I consider myself competent, but by no means a : turbo-guru of *nix by any stretch of the imagination. Anyone who can read and comprehend the documentation and is moderately intelligent should be able to install qmail with a minimum of fuss. I can back this up. I've been thrown into sys admin duty recently. I was able to get qmail+pop3 up in about a day and a half. I didn't have a plan. This was bad. I just downloaded the src and compiled, then went searching for the INSTALL file. Then to qmail.org, the searched the archive for hours. The problem is the people who don't want to read and learn. This usually includes *nix newbies. Well, now that everything is up and running, I'm scared what will happen if/when something goes wrong... but then that's why I keep up with the qmail list ;-) Pat -- Code Creation Freestyle Software Inc. www.freestylesoft.com
The qmail problem that wasn't
Hi. I was about to email the list in a panic about a problem that I though was qmail related. I've been subjected to a lack of sleep as of late so my powers of observation seem to be a little below average right now. I couldn't figure out why qmail stopped relaying mail. I check everything. I restarted everything. I searched the archive up and down. I check the Programming Internet Email book desperate for clues. Then I actually took 2 seconds to look at the response I was getting from smtp...and it was sendmail. Shivers start to go down my spine. What the hell was going on here? Turns out someone had restarted the box and before they did modified the /etc/rc.d/init.d/sendmail file to start up again. A handy exit 0 had been placed there before... Anyway, killed sendmail (and fixed it's start up script again), started up qmail again and every thing was fixed. I'm alone at the office, it's late, I'm seeing things and I just had to tell someone... Sorry about that... Pat -- Freestyle Interactive | http://www.freestyleinteractive.com | 415.778.0610