Re: qmail + mutt
Bruno Wolff III [EMAIL PROTECTED] wrote on Fri, 18 May 2001: My solution (which you might want to mention in your qmail help) is: set sendmail=/var/qmail/bin/qmail-inject -h set write_bcc=yes But won't this break the b(ounce) functionality? Although the qmail-inject man page says it knows about the Resent-To etc. headers, but how do it determine when a message is forwarded and when it isn't? I'm simply using sendmail=/var/qmail/bin/qmail-inject ... and this works just fine. I do use write_bcc=yes but that's because I want to see the Bcc header in my saved copies of outgoing email, not because it's needed when sending. Regards, Mikko -- // Mikko Hänninen, aka. Wizzu // [EMAIL PROTECTED] // http://www.wizzu.com/ // The Corrs list maintainer // net.freak// DALnet IRC operator/ // Interests: roleplaying, Linux, the Net, fantasy scifi, the Corrs/ Half of the people in the world are below average.
Re: Using fetchmail with qmail
David Talkington [EMAIL PROTECTED] wrote on Sun, 20 May 2001: There's really nothing special about such a configuration; fetchmail just delivers mail to whoever is listening on 25. As long as qmail will accept deliveries for localhost, it works great. I do this on my laptop. There is one gotcha, you have to enable the forcecr option in your .fetchmail configuration, if you're using delivery via localhost port 25. This is documented as a qmail quirk (or something) in the fetchmail documentation, but it *is* documented at least... Without this setting, qmail will reject the emails due to the CR/LF line ending issue. At least, it used to be this way. Regards, Mikko -- // Mikko Hänninen, aka. Wizzu // [EMAIL PROTECTED] // http://www.wizzu.com/ // The Corrs list maintainer // net.freak// DALnet IRC operator/ // Interests: roleplaying, Linux, the Net, fantasy scifi, the Corrs/ Happiness is always just a remembrance away.
Re: Qmail and time zone
Kari Suomela [EMAIL PROTECTED] wrote on Sun, 04 Mar 2001: That's probably what it should be doing, except it's not doing it right. The Date header should include the TZ, i.e. GMT offset. "Should" as in "you want" (as has been pointed out). Anyway, to me it appears that a simple perl script (or whatever) could be used to fix this "problem". Simply make the script call the real qmail-inject or qmail sendmail wrapper, then first print out the Date header (in whatever format/timezone/etc.) and finally copy all of the input to output. I'm even volunteering to write this perl script for you, if you don't know how to do it yourself, or can't find anyone else to do it for you. (If you need me to write it for you, please contact me in private.) Hope this helps, Mikko -- // Mikko Hnninen, aka. Wizzu // [EMAIL PROTECTED] // http://www.wizzu.com/ // The Corrs list maintainer // net.freak// DALnet IRC operator/ // Interests: roleplaying, Linux, the Net, fantasy scifi, the Corrs/ "Personally, I want my computer's memory to be more reliable than mine." /.
Re: Return address for autoresponder
Karl Vogel [EMAIL PROTECTED] wrote on Sun, 25 Feb 2001: If I'm reading the RFCs correctly, the right order is "Reply-to:", then "From:", then "Sender:". How about using the envelope sender (ie. return-path)? I missed the original message, so maybe this isn't really applicable, but in general you should take mailing lists into account. On most mailing lists, including this one, the right return address is not found in any of those headers. Of course, one should try to avoid sending auto-replies to list emails at all, but chances are you'll never be able to detect with 100% accuracy all list emails, so should count on it happening sometime. Regards, Mikko -- // Mikko Hnninen, aka. Wizzu // [EMAIL PROTECTED] // http://www.wizzu.com/ // The Corrs list maintainer // net.freak// DALnet IRC operator/ // Interests: roleplaying, Linux, the Net, fantasy scifi, the Corrs/ "Talk is cheap -- supply exceeds demand"
Re: newlines in dot-qmail files?
Wolfgang Zeikat [EMAIL PROTECTED] wrote on Sun, 25 Feb 2001: the program delivery lines in my dot-qmail files are beginning to get lengthy - for example with if ... elif statements and such ... is there a way to continue a line on the next line in order to keep an overwiew and make editing easier? How about making a separate shell script and simply put a |yourscript.sh in the .qmail file? Regards, Mikko -- // Mikko Hnninen, aka. Wizzu // [EMAIL PROTECTED] // http://www.wizzu.com/ // The Corrs list maintainer // net.freak// DALnet IRC operator/ // Interests: roleplaying, Linux, the Net, fantasy scifi, the Corrs/ Food is an important part of a balanced diet.
User mail delivery statistics
Hi, I'm currently using a single address for all my list mail, and I run procmail to filter the emails to their respective mail folders. I'd like to switch to separate addresses (one per list) and filter the mails with .qmail-listname files. However, the reason I've not yet changed is that I have a nice perl script that reads procmail's log file and tells me statistics about the delivered mail. Here's an example output: Delivered mail messages: IN.42: 1 IN.corrs: 1 IN.corrs-friends: 27 INBOX: 4 own: 1 Total of 34 delivered messages in 5 folders. Before I switch to separate .qmail-list mail filtering, I want to have similar kind of mail accounting/statistics in place. It should be simple enough, just add an additional delivery instruction to a program that will log the mail. And then have a separate program for displaying the current statistics and possibly clearing the accumulated data. My question is, has anyone yet done such a program? I looked on the qmail.org web page, but couldn't find anything. If there is no such program, I guess I will have to write it myself. Regards, Mikko -- // Mikko Hänninen, aka. Wizzu // [EMAIL PROTECTED] // http://www.wizzu.com / // The Corrs list maintainer // net.freak // DALnet IRC operator / // Interests: roleplaying, Linux, the Net, fantasy scifi, the Corrs / Energizer Bunny arrested, charged with battery.
Re: Qmail + sendmail wrapper + PHP's mail()
Jason J. Czerak [EMAIL PROTECTED] wrote on Fri, 11 Aug 2000: open("/root/.lists", O_RDONLY|O_NONBLOCK) = -1 EACCES (Permission denied) This is the lists/Mail-Followup-To feature in qmail-inject, it will add a Mail-Followup-To header to your mail if you're sending mail to a mailing list you're subscribed to, as listed in your ~/.lists file. Unfortunately, in su-situations, qmail-inject apparently gets a little confused about where it should try to look for the file. Sorry that I can't really be helpful, as I don't know how this can be fixed or how this feature can be turned off, but hopefully you can at least understand what is going on. I also think the error reporting on qmail-inject's part in this case is not really good enough... Hope this helps, Mikko -- // Mikko Hänninen, aka. Wizzu // [EMAIL PROTECTED] // http://www.iki.fi/wiz/ // The Corrs list maintainer // net.freak // DALnet IRC operator / // Interests: roleplaying, Linux, the Net, fantasy scifi, the Corrs / "Youth has nothing to do with age; it's all about attitude." -- MIMP
Re: (still) POP over SSH trouobles
David Benfell [EMAIL PROTECTED] wrote on Thu, 22 Jun 2000: poll antares.x port 0 user benfell pass preconnect "ssh -C -f [EMAIL PROTECTED] -L 0:antares.x:110 sleep 5" Ok, so you're telling fetchmail here that for retrieving email, it should connect to the server antares.x at port 110 (and some other stuff). Then the preconnect command starts up a ssh connection, which includes a port forwarding of 0 on the localhost to the port 110 on the remote system. End result: fetchmail tries to connect to port 0 on the remote server, not on localhost, where the forward has been set up. Adding a "via localhost" there should fix your problems. Warning: Remote host denied X11 forwarding, perhaps xauth program could not be run on the server side. fetchmail: POP3 connection to antares.x failed: Connection refused fetchmail: Query status=SOCKET Warning: Remote host denied X11 forwarding, perhaps xauth program could not be run on the server side. Local: bind: Address already in use Presumably you get "Address already in use" because these two poll attempts were so close to each other, than the previous ssh session hadn't yet exited when you already started the second one. You can only have on ssh forwarding a specific port on the system at a time. Hope this helps, Mikko -- // Mikko Hänninen, aka. Wizzu // [EMAIL PROTECTED] // http://www.iki.fi/wiz/ // The Corrs list maintainer // net.freak // DALnet IRC operator / // Interests: roleplaying, Linux, the Net, fantasy scifi, the Corrs / "Apple" (c) Copyright 1767, Sir Isaac Newton.
Re: qmail-smtpd and fetchmail
crond [EMAIL PROTECTED] wrote on Tue, 20 Jun 2000: Is there a way to make fetchmail use this alternative combined with qmail? I have the following line in my .fetchmailrc: mda "/var/qmail/bin/qmail-inject -a someuser" Although that's actually something I don't use currently, but I think I've tested that it works. Regards, Mikko -- // Mikko Hänninen, aka. Wizzu // [EMAIL PROTECTED] // http://www.iki.fi/wiz/ // The Corrs list maintainer // net.freak // DALnet IRC operator / // Interests: roleplaying, Linux, the Net, fantasy scifi, the Corrs / [Please insert a quarter in Drive A: for the next signature quote.]
Re: the point with the dot in dot-qmail
Jens Georg [EMAIL PROTECTED] wrote on Fri, 09 Jun 2000: is there no way to get forwarding working with the "." ? Yes, there is a way. Use : instead of the . in the dot-qmail file. eg. .qmail-bob:miller for an address of "bob.miller". Regards, Mikko -- // Mikko Hänninen, aka. Wizzu // [EMAIL PROTECTED] // http://www.iki.fi/wiz/ // The Corrs list maintainer // net.freak // DALnet IRC operator / // Interests: roleplaying, Linux, the Net, fantasy scifi, the Corrs / The Monkeys are listening.
Re: setlock-ing serialmail?
Paulo Jan [EMAIL PROTECTED] wrote on Thu, 18 May 2000: 1) maildirsmtp gets executed. The server starts sending out the 30 Mb. or so of messages. 2) After 30 minutes, the queue hasn't been sent completely yet, but another instance of maildirsmtp is started, and begins sending messages from the queue again. When I was using a similar setup, I had this code snippet as part of my "pppdeliver" script that invoked maildirsmtp: # Sanity check to avoid two copies running simultaneously if [ -e $PIDFILE ]; then # pppdeliver is already running OTHERPID=`cat $PIDFILE` logger -t pppdeliver -p mail.notice [$$] Already running at PID $OTHERPID exit 1 else echo $$ $PIDFILE fi It's not secure etc. etc. but it worked. :-) Also the script would of course rm $PIDFILE before exiting. Anyway, any other sort of locking mechanism should work just as well I imagine. Sorry, I don't know enough about maildirsmtp to answer your other questions. Regards, Mikko -- // Mikko Hänninen, aka. Wizzu // [EMAIL PROTECTED] // http://www.iki.fi/wiz/ // The Corrs list maintainer // net.freak // DALnet IRC operator / // Interests: roleplaying, Linux, the Net, fantasy scifi, the Corrs / Change is inevitable, except from a vending machine.
Re: spool vs individual files
Dave Sill [EMAIL PROTECTED] wrote on Fri, 12 May 2000: Deleting a message from an mbox requires reading the entire file and writing it all back out, except for the deleted message. Deleting a message from a maildir only requires unlinking the file containing the message. Again, updating the mbox requires locking. Actually, to be specific, if the client is smart only the part from the deleted email onwards need to be written out. If you delete the last message from an mbox folder, the file only needs to be truncated. Mikko -- // Mikko Hänninen, aka. Wizzu // [EMAIL PROTECTED] // http://www.iki.fi/wiz/ // The Corrs list maintainer // net.freak // DALnet IRC operator / // Interests: roleplaying, Linux, the Net, fantasy scifi, the Corrs / Gravity brings me down
Re: Lowercasing non-ASCII chars?
Patrick Bihan-Faou [EMAIL PROTECTED] wrote on Mon, 08 May 2000: Exactly my point: if you use such email addresses you will make it difficult for a lot of people to send you email. I know there is a reply button on outlook and once your email is in my address book, I don't have to worry anymore... But then I may have other problems (outlook love bug)... Plus the fact that it is tolerated by some email agents does not make it right. You may also cause problems with some servers/clients that are not as tolerant... My position would be: if it is not allowed by the standard, don't do it. Hmmm, I guess you missed the paragraph in the original email, where I said that I know it's not a good idea to use such email addresses, and I'll only use it as a safety catch in case someone (ie. someone local) happens to use mikko.hänninen@myserver instead of mikko.hanninen@myserver by accident. It's an easy enough mistake to make (for a Finn anyway). I wouldn't actually use such addresses, as in advertise or put them in my emails... If you have further questions please send them to me private since this doesn't involve qmail anymore, thanks. Regards, Mikko -- // Mikko Hänninen, aka. Wizzu // [EMAIL PROTECTED] // http://www.iki.fi/wiz/ // The Corrs list maintainer // net.freak // DALnet IRC operator / // Interests: roleplaying, Linux, the Net, fantasy scifi, the Corrs / I am a signature virus. Please reproduce me in your signature block. :-)
Re: Lowercasing non-ASCII chars?
Bob Rogers [EMAIL PROTECTED] wrote on Mon, 08 May 2000: To belabor what is perhaps obvious by now, RFC822 forbids 8-bit characters in the local-part of an address (or anywhere else, for that matter). The key lines are as follows: atom= 1*any CHAR except specials, SPACE and CTLs CHAR= any ASCII character; ( 0-177, 0.-127.) I haven't actually seen this particular violation in use; has anybody else? I'm not sure what you refer to with "this particular violation"; since I've seen subject headers that contained 8-bit characters. I've even sent them myself in the past (a long time ago), elm allowed one to send both From and Subject headers with 8bit character content, without MIME-encoding. Since my name contains an 8bit character I'm well familiar with the issue. It's kind of annoying, since my options are either to spell it wrong (Hanninen) or to use the real form which gets MIME-encoded and then doesn't display properly with every email client. Well, such is life. If you mean just the fact that someone puts an 8bit character in the actual recipient *email address*, no I've not seen that. Like I said elsewhere, I can conceive it as an easy mistake to make though, if someone is hand-typing my address. I'm not sure how email clients and servers would treat such a message, but if it gets as far as my server I think it would be nice if it gets delivered to me. :-) Regards, Mikko -- // Mikko Hänninen, aka. Wizzu // [EMAIL PROTECTED] // http://www.iki.fi/wiz/ // The Corrs list maintainer // net.freak // DALnet IRC operator / // Interests: roleplaying, Linux, the Net, fantasy scifi, the Corrs / God is REAL, unless explicitly declared INTEGER.
Lowercasing non-ASCII chars?
Hi, I'm wondering if qmail will also lowercase the non-ASCII (or, "high ASCII", 8bit) characters in local email addresses? For example, if I create ~alias/.qmail-mikko:hänninen, will this catch both mikko.hänninen@myserver and MIKKO.HÄNNINEN@myserver, or do I need to have two .qmail files? I looked in the man pages, but the only reference I could find to lowercasing was in dot-qmail, which said simply that qmail will convert upper case letters to lower case. And yes, I know it's not a good idea to use 8bit characters in the email addresses. I'm not planning to use these addresses except as a safety catch in case someone happens to use them by accident... Regards, Mikko -- // Mikko Hänninen, aka. Wizzu // [EMAIL PROTECTED] // http://www.iki.fi/wiz/ // The Corrs list maintainer // net.freak // DALnet IRC operator / // Interests: roleplaying, Linux, the Net, fantasy scifi, the Corrs / Bumper sticker: EARTH FIRST! We'll stripmine the other planets later.
Re: Lowercasing non-ASCII chars?
Peter van Dijk [EMAIL PROTECTED] wrote on Mon, 08 May 2000: This code only converts A-Z to a-z, all else is left alone. Right, thanks for the answer. :-) Yeah well since it doesn't support LOCALE 'n stuff, it can't now which characters are special in your country. Indeed, though it doesn't say one way or another about local support. I guess the reasonable assumption in that case is that it doesn't, but... [EMAIL PROTECTED] [EMAIL PROTECTED] wrote on Mon, 08 May 2000: Correct. Uppercase LETTERS (my emphasis :). The typical preciseness of these manpages suggests to me that if it says letters, then that's all it means, no more, no less...and a quick squizz at the source confirms this. Ahh, hmm. But ä, ö and å *are* letters in the Finnish alphabet, so by that logic it should convert them? My point is that the man page is *not* precise in this instance (it doesn't specify only English letters), although it is possible that elsewhere it's stated that qmail does not have locale support. Maybe you think of this as obvious, if you live in an English speaking country, but it doesn't strike me as such, living in a non-English speaking country. Oh, and you'd need a *lot* more than two qmail files if it didn't do this. What if someone sent to extensions like Mikko, mIkko, miKko, etc? Yes, of course. I'd prefer to have only one, but I can live with needing two. :-) Thanks for the answers, again. Mikko -- // Mikko Hänninen, aka. Wizzu // [EMAIL PROTECTED] // http://www.iki.fi/wiz/ // The Corrs list maintainer // net.freak // DALnet IRC operator / // Interests: roleplaying, Linux, the Net, fantasy scifi, the Corrs / If you have to run heating in winter, you don't own enough computers.
Re: accustamp|tailocal|matchup
Dave Sill [EMAIL PROTECTED] wrote on Thu, 04 May 2000: So what? Do you have a quota on the number of times tailocal can be run? I'm not the person asking the question, but I'm guessing that the annoyance factor of having to do tailocal logfile | less instead of less logfile is quite high. I wonder if there is some automagical solution that could be used with lessopen.sh, or something else? It's of course possible to create an alias or whatever, but that also has an annoyance factor greater than the simplest form, since you'd need to use a separate command for the mail logs. Mikko -- // Mikko Hänninen, aka. Wizzu // [EMAIL PROTECTED] // http://www.iki.fi/wiz/ // The Corrs list maintainer // net.freak // DALnet IRC operator / // Interests: roleplaying, Linux, the Net, fantasy scifi, the Corrs / "Youth has nothing to do with age; it's all about attitude." -- MIMP
Re: network connection dies randomly?
John W. Lemons III [EMAIL PROTECTED] wrote on Tue, 04 Apr 2000: Another detail that may help... When the connection appears hung, netstat -r hangs before it reports the default route. I can't even kill it. Is the routing table getting hosed? If so, how? Usually when "netstat -r" appears to hang, it's because it is trying to do a DNS (hostname) lookup for the entries it will display, but the DNS service is not responding properly. Althought a ctrl-C should make it stop if that's the problem. It's easy to test if that is the problem thought: try using netstat -rn instead of netstat -r. The extra n tells netstat not to do any name lookups. If netstat -rn prints stuff but netstat -r doesn't, then you have a DNS problem. Note that the DNS problem might be a symptom, not a cause... If your net connection is not working and your configured DNS server is beyond that non-working connection, DNS lookups will of course appear to block (until timeout) and then fail. Regards, Mikko -- // Mikko Hänninen, aka. Wizzu // [EMAIL PROTECTED] // http://www.iki.fi/wiz/ // The Corrs list maintainer // net.freak // DALnet IRC operator / // Interests: roleplaying, Linux, the Net, fantasy scifi, the Corrs / We're not surrounded, we're in a target-rich environment!
Re: Still can't run qmail from init script
Irwan Hadi [EMAIL PROTECTED] wrote on Wed, 29 Mar 2000: but when I edited the file with vi, I didn't see any ^M trailer on it ;) Some versions of vi (notably vim, at least), will be "smart" enough to handle DOS/Windows-style line endings transparently. Also, less does the same. So if your editor/viewer doesn't show them, that doesn't mean they couldn't be there. I got the file directly from web.infoave.net/~dsill/qmail-script-dt61.txt, and I got the file using lynx, so I don't get the file using netscape for windows first and transfer it to the server. Funny that. I did that and I got the ^M's in that document. Either the file really has them in there, or the server (what is OSU/2.0 anyway?) adds them. If it's a Windows-based server I could easily see that happening. Dave, if you're listening, you might want to look into finding out why the file has ^M's when downloaded. Regards, Mikko -- // Mikko Hänninen, aka. Wizzu // [EMAIL PROTECTED] // http://www.iki.fi/wiz/ // The Corrs list maintainer // net.freak // DALnet IRC operator / // Interests: roleplaying, Linux, the Net, fantasy scifi, the Corrs / Be nice to other people. They outnumber you 6 billion to one.
Re: Still can't run qmail from init script
Stephen F. Bosch [EMAIL PROTECTED] wrote on Wed, 29 Mar 2000: Irwan Hadi wrote: I'm becoming quite desperate now, because qmail still refuse to run under init script I use init script from Live With qmail, and after I've done all the requirements and do . /usr/local/sbin/qmail start then the result : command not found ': not a valid identifier : command not found 'ash: /usr/local/sbin/qmail: line 6: syntax error near unexpected token ' in 'ash: /usr/local/sbin/qmail: line 6: 'case "$1" in Looks like a classic case of having DOS/Windows-style line endings in a shell script, instead of Unix-style. Get rid of the ctrl-M characters and it should work fine after that. Something like: tr -d '\r' oldfile newfile ... should do the trick, if your favourite editor won't allow you to remove them. What shell are you using? Judging from the output, bash. Hope this helps, Mikko -- // Mikko Hänninen, aka. Wizzu // [EMAIL PROTECTED] // http://www.iki.fi/wiz/ // The Corrs list maintainer // net.freak // DALnet IRC operator / // Interests: roleplaying, Linux, the Net, fantasy scifi, the Corrs / ST, DS9: FRofA #1: Once you have their money ... never give it back.
Re: Problems with qmail startup script on Red Hat 6.1
[EMAIL PROTECTED] [EMAIL PROTECTED] wrote on Wed, 22 Mar 2000: + PATH=/var/qmail/bin:/usr/local/bin:/usr/bin:/bin + export /var/qmail/bin:/usr/local/bin:/usr/bin:/bin export: /var/qmail/bin:/usr/local/bin:/usr/bin:/bin: not a legal variable name The "not a legal variable name" on the export line still worries me. Why is it telling me that? Is the script still not correct? I can't tell for sure without seeing your script, however I'm guessing you have "export $PATH" in your script, where it should be "export PATH". By including the $, the PATH environment variable gets expanded *before* the export command sees it, and so it's trying to export a variable which name is the contents of the PATH variable. This is not how it should work, of course. :-) If you have it written as $PATH, get rid of the $ (this is on the line with the export command). In fact this does not affect the startup of qmail at all apart from the error getting displayed, because the PATH variable gets reset properly with the env-command just a little later, when svscan is started. So svscan gets the proper path. (Probably.) I still think that the original error you had was a stray ^M (CR) character at the export command line, like this: "export PATH^M", so export complained it couldn't find a variable called "PATH^M". You're *not* supposed to have a $ in front of the variable when doing export. Regards, Mikko -- // Mikko Hänninen, aka. Wizzu // [EMAIL PROTECTED] // http://www.iki.fi/wiz/ // The Corrs list maintainer // net.freak // DALnet IRC operator / // Interests: roleplaying, Linux, the Net, fantasy scifi, the Corrs / A mind is a terrible thing to ... er ... h?
Re: Problems with qmail startup script on Red Hat 6.1
[EMAIL PROTECTED] [EMAIL PROTECTED] wrote on Wed, 22 Mar 2000: : command not foundil: This might be a garbled error message that you get when the shell script has bad EOL chars (eg. Windows-style CR LF, instead of the unix LF only). You get CR in the error message as the last char of the command it tried to execute, or the last char of the variable, or whatever. And when printed, the cursor goes to the beginning of the line and the subsequent ": command not found" overwrites the beginning of the line... Check the line endings in the shell script, I'm guessing you've imported it from a Windows system it's got CR LF endings when it should have only LF. Hope this helps, Mikko -- // Mikko Hänninen, aka. Wizzu // [EMAIL PROTECTED] // http://www.iki.fi/wiz/ // The Corrs list maintainer // net.freak // DALnet IRC operator / // Interests: roleplaying, Linux, the Net, fantasy scifi, the Corrs / "You watching MTV while I lie dreaming in an MT bed" -- The Corrs
Re: Dropping mail?
[EMAIL PROTECTED] [EMAIL PROTECTED] wrote on Mon, 13 Mar 2000: What is the most effecient way to setup QMail to discard email? A '#' in a .qmail file with nothing else in there. Mikko -- // Mikko Hänninen, aka. Wizzu // [EMAIL PROTECTED] // http://www.iki.fi/wiz/ // The Corrs list maintainer // net.freak // DALnet IRC operator / // Interests: roleplaying, Linux, the Net, fantasy scifi, the Corrs / Never forget: 2 + 2 = 5 for extremely large values of 2.
Re: All mail for a domain into a single POP box (HOWTO?)
Svenne Krap [EMAIL PROTECTED] wrote on Thu, 09 Mar 2000: Something in me yells "fetchmail" and "serialmail" is that correct ? That's what I'd do. Mikko -- // Mikko Hänninen, aka. Wizzu // [EMAIL PROTECTED] // http://www.iki.fi/wiz/ // The Corrs list maintainer // net.freak // DALnet IRC operator / // Interests: roleplaying, Linux, the Net, fantasy scifi, the Corrs / "NSA GCHQ KGB CIA nuclear conspiration war weapon spy agent... Hi Echelon!"
Re: Forward and retain a copy
Christopher Tarricone [EMAIL PROTECTED] wrote on Thu, 09 Mar 2000: Is there a way in qmail to forward a copy of an e-mail to another accoutn but still retain a copy on my server for archive purposes. Put this in the .qmail file for the account: remote@address ./Mailbox ... this will forward to remote@address as well as store a copy in the local mail folder called "Mailbox" in the user's home dir. If you use Maildir, replace ./Mailbox with "./Maildir/". For more information what you can do in .qmail, do "man dot-qmail". Hope this helps, Mikko -- // Mikko Hänninen, aka. Wizzu // [EMAIL PROTECTED] // http://www.iki.fi/wiz/ // The Corrs list maintainer // net.freak // DALnet IRC operator / // Interests: roleplaying, Linux, the Net, fantasy scifi, the Corrs / Bumper sticker: I brake for no apparent reason.
Re: user masquerading problem ??
Stein Ma [EMAIL PROTECTED] wrote on Wed, 01 Mar 2000: In a few seconds, the ISP rejected saying "Sender Domain must exist". I tried added QMAILSUSER,QMAILSHOST,QMAILUSER,QMAILHOST, MAILUSER,MAILHOST to .bash_profile to activate "user masquerading" but still no success. These settings will only affect mail deliver which has been sent from that bash session. The bounced email that you showed had an X-Mailer header indicating it was sent by MS Outlook Express, which couldn't possibly have invoked qmail-inject for mail sending (and the headers confirm this). So you need to make sure in Outlook Express that your From header is correct, because Outlook will set the envelope sender to that address. Or, alternatively, you need to run a script before sending out the mail with maildirsmtp that changes the envelope sender information. FYI, fidamy.com is my local domain, fida.com is the server at U.S. Now, to back to the bounce error. The error should be self-explanatory, you're not allowed to send email because the sending address' domain must exist. At least I can't see any entries for that domain (fidamy.com), so perhaps that's why you get the bounce. Get the nameserver issues sorted out for your domain, and your mail will then go through. Hope this helps, Mikko -- // Mikko Hänninen, aka. Wizzu // [EMAIL PROTECTED] // http://www.iki.fi/wiz/ // The Corrs list maintainer // net.freak // DALnet IRC operator / // Interests: roleplaying, Linux, the Net, fantasy scifi, the Corrs / Support bacteria -- it's the only culture some people have.
Re: Encryption and t-shirts
Adrian Urquhart [EMAIL PROTECTED] wrote on Tue, 29 Feb 2000: I like the designs, and have a small suggestion for the slogan(s) which is to dump the "mail" in each, so that they become: Don't queue with sendmail Send with qmail I think these lose the "pun" in the phrases... Same if "mail" were to be replaced with "it". Then again, I'm not going to be getting one of these t-shirts, unless someone is willing to donate me the money for one, so maybe my opinion doesn't count. :-) I really like the original slogan though. Mikko -- // Mikko Hänninen, aka. Wizzu // [EMAIL PROTECTED] // http://www.iki.fi/wiz/ // The Corrs list maintainer // net.freak // DALnet IRC operator / // Interests: roleplaying, Linux, the Net, fantasy scifi, the Corrs / "OK, who stopped the payment on my reality check?"
Re: Maildir and procmail
Len Budney [EMAIL PROTECTED] wrote on Thu, 24 Feb 2000: Mail to me with a subject of test goes to the specified maildir. Is it really necessary to append /new to the name of the Maildir? Yes, unless you 1) use a patched procmail, or 2) use an external delivery program. Or, 3) you use the latest version of procmail which supports maildirs natively. (I've yet to hear this confirmed working, but the version announcement said it supports them, so...) Regards, Mikko -- // Mikko Hänninen, aka. Wizzu // [EMAIL PROTECTED] // http://www.iki.fi/wiz/ // The Corrs list maintainer // net.freak // DALnet IRC operator / // Interests: roleplaying, Linux, the Net, fantasy scifi, the Corrs / Q: How many surrealists does it take to change a light bulb? A: Fish
Re: Maildir and procmail
Manfred Bartz [EMAIL PROTECTED] wrote on Fri, 25 Feb 2000: I am using procmail v3.13.1 and it will deliver individual messages into a directory, but it has no concept of qmail-type Maildirs or of atomic writing as done by qmail. That's not the latest version of procmail. I was talking about 3.14. You can see the changes for the latest version on the procmail homepage, at http://www.procmail.org. To quote: The current version of procmail is 3.14. The current version of SmartList is 3.13. Procmail version 3.14 adds support for the maildir mailbox format and the SWITCHRC variable, and fixes sundry small bugs and annoyances. To get procmail to deliver into a directory you would use a redirection with a trailing slash, e.g.: /usr/home/mob/Maildir/new/ The new/ part shouldn't be needed with the latest procmail version. Again, I've not verified this personally though. Regards, Mikko -- // Mikko Hänninen, aka. Wizzu // [EMAIL PROTECTED] // http://www.iki.fi/wiz/ // The Corrs list maintainer // net.freak // DALnet IRC operator / // Interests: roleplaying, Linux, the Net, fantasy scifi, the Corrs / "Why don't you pick a fight with someone your own size?" (Dragonheart)
Re: TZ for qmail
Aled Treharne [EMAIL PROTECTED] wrote on Wed, 23 Feb 2000: Where can I set the TZ for qmail? It's currently using GMT (although both my h/w clock and my TZ is set to EST). This kinda gets annoying. :) advert I'll just add a note that I've written a patch for the Mutt mailer which will translate all Received header dates to the local TZ. It's not too pretty, but it works for me. My patch can be found at http://www.iki.fi/wiz/mutt/ Mutt home page is at http://www.mutt.org/ /advert Regards, Mikko -- // Mikko Hänninen, aka. Wizzu // [EMAIL PROTECTED] // http://www.iki.fi/wiz/ // The Corrs list maintainer // net.freak // DALnet IRC operator / // Interests: roleplaying, Linux, the Net, fantasy scifi, the Corrs / "Who is General Failure and why is he reading my disk drive?"
Re: qq write error or disk full (#4.3.0)
[EMAIL PROTECTED] [EMAIL PROTECTED] wrote on Sat, 05 Feb 2000: This is what the output of my 'df' command shows, so I don't think that it's a disk full issue... Actually, it probably is. Filesystem 1K-blocks UsedAvail Capacity Mounted on /dev/wd0s1e 1981511179 705161%/var qmail is (usually) installed under /var, and this is where the queue is too. This line above shows that you have approximately 7MB of free disk space on /var, so a 21MB email couldn't possibly fit there. Also keep in mind that file attachements grow in size when sent with emails, a 21MB file as an attachment is more like 30MB in the email. Actually, your /var is in its entirety is less than 20MB... Very tiny, for a mail spool partition. Hope this helps, Mikko -- // Mikko Hänninen, aka. Wizzu // [EMAIL PROTECTED] // http://www.iki.fi/wiz/ // The Corrs list maintainer // net.freak // DALnet IRC operator / // Interests: roleplaying, Linux, the Net, fantasy scifi, the Corrs / I wish life had a scroll-back buffer.
Re: Aliases
Mikael Schmidt [EMAIL PROTECTED] wrote on Sat, 29 Jan 2000: I want to receive mail for [EMAIL PROTECTED] and have it delivered to dee on the local system. ehm, do you have a /var/qmail/alias/.qmail-deemac file? if not, create it and type [EMAIL PROTECTED] in it and it should do the trick for you. Shouldn't the contents be "dee@localhost" or maybe just "dee"? (The is optional.) [EMAIL PROTECTED] is where it's going, but he wanted it to go to the user "dee" on the local system. Mikko -- // Mikko Hänninen, aka. Wizzu // [EMAIL PROTECTED] // http://www.iki.fi/wiz/ // The Corrs list maintainer // net.freak // DALnet IRC operator / // Interests: roleplaying, Linux, the Net, fantasy scifi, the Corrs / Note: Signature quote supply exhausted, please refill.
Re: Qmail crashing TCP/IP-stack
Mark Delany [EMAIL PROTECTED] wrote on Fri, 28 Jan 2000: A lot of people say this and I don't see a particular reason why it should be the case. Both POP and SMTP do little more than read a file and write it to a socket. ftp does little more than read a file and write it to a socket. In the case of binary, the file will be encoded, big deal. I don't quite agree. HTML is a good example of why, it's a document structure defining language overall, yet people have insisted on adding formatting/display specific features to it. These features don't work too well, anyone who's working with web design knows the problems. The fundamental problem here is using a tool for something it was not designed for. A screwdriver makes for a bad hammer: though it may work for small nails, for large nails you need something that can't really be called a screwdriver anymore. The same reason is why I think in principle email shouldn't be used for large file transfer, similar problems will (and have) come up. Using the right tool for each job is still sound advice. Mikko, feeling philosophical, and somewhat off-topic apparently -- // Mikko Hänninen, aka. Wizzu // [EMAIL PROTECTED] // http://www.iki.fi/wiz/ // The Corrs list maintainer // net.freak // DALnet IRC operator / // Interests: roleplaying, Linux, the Net, fantasy scifi, the Corrs / You will pay the price for your lack of vision!
Re: Maildir format
Ondrej Surý [EMAIL PROTECTED] wrote on Fri, 14 Jan 2000: From libc-client4.7 documentation: --strip-- The Maildir format used by qmail has all of the performance disadvantages of mh noted above, with the additional problem snip Could someone comment this? Well, I can say something from a user's perspective. About scaling... I just tried opening a Maildir folder with close to 8000 messages in it (using Mutt, my preferred client). The folder is in my home dir, which is NFS-mounted over 100Mbit ethernet. It took over a minute, but not quite 2 minutes (although this is just a guess, I didn't time). Considering the number of messages, it didn't seem like too outrageous a waiting time. mbox format would be faster (depending on message size of course), but I'm not sure how much. I'd estimate probably not more than 50%, perhaps less, based on my handling of mbox folders which have over 1 messages in them. I have experienced somewhat lengthy "freezes" while Mutt re-scans the Maildir if there are a lot of messages in there. But, the commentary completely misses the good points and the purpose of Maildirs: that they're ideal for incoming mail delivery, especially when the folder is accesses over NFS (whether "access" delivery or reading or both). Maildir format is not something you should be using for email archival, or for very large mail folders. However, the lack of locking requirement is a big win over NFS. I can see that there might be a problem with shared folder access if the filenames change, however I don't see how the situation is any better with other folder formats that require locking and then possibly re-reading of the entire folder if one message changes. Shared access is tricky, no matter what kind of folder format you have. Also, I'm not sure whether the filenames are supposed to change (are they?), because an email client needs to read in the headers from each message anyway in order to display them, so status information could also be kept there as with the mbox format. In the end, I've been using Maildirs happily for (over?) a year now, and they work very well in practice. I use mbox format for email archival, Maildir for incoming folders. I haven't noticed any of the problems at all that they talk of, with moderate size (1000 messages or less) folders. And Mutt as the MUA seems to handle them just fine. Mikko -- // Mikko Hänninen, aka. Wizzu // [EMAIL PROTECTED] // http://www.iki.fi/wiz/ // The Corrs list maintainer // net.freak // DALnet IRC operator / // Interests: roleplaying, Linux, the Net, fantasy scifi, the Corrs / Beware of low-flying butterflies.
Re: pop3 and ip adres logging
Van Liedekerke Franky [EMAIL PROTECTED] wrote on Thu, 13 Jan 2000: This probably works, but I'm using tcpserver and multilog, so how can I achieve this kind of logging using those tools? I'm curious about this as well. I'm still using inetd for POP, but I'm planning to migrate over to tcpserver sometime. Mostly, I'd like to know how to log all of the POP connections, not just the successfully authenticated ones. In case someone tries to crack the passwords or something like that. Mikko -- // Mikko Hänninen, aka. Wizzu // [EMAIL PROTECTED] // http://www.iki.fi/wiz/ // The Corrs list maintainer // net.freak // DALnet IRC operator / // Interests: roleplaying, Linux, the Net, fantasy scifi, the Corrs / If it weren't for the last minute, nothing would get done.
Re: Another compile error
Kristina [EMAIL PROTECTED] wrote on Tue, 04 Jan 2000: Jan 4 11:14:49 ldaptest qmail: 946952089.151836 alert: unable to opendir to do, sleeping... I do not understand why qmail is trying to open the directory "todo" which is in the source directory of ldap: ldap/doc/deve/todo ! Are you sure it's this directory? (And what makes you think it is?) There's also /var/qmail/queue/todo, which is a much more likely source for qmail's complaint. Hope this helps, Mikko -- // Mikko Hänninen, aka. Wizzu // [EMAIL PROTECTED] // http://www.iki.fi/wiz/ // The Corrs list maintainer // net.freak // DALnet IRC operator / // Interests: roleplaying, Linux, the Net, fantasy scifi, the Corrs / "Scotty, beam us aboard." "Aye, sir. Will a 2x4 do?"
Re: Delivering mail into a SQL table
Bill Ataras [EMAIL PROTECTED] wrote on Mon, 03 Jan 2000: Are there any patches that let me deliver mail messages into a SQL database (mysql preferrably) instead of Maildir ? Patches? What do you need patches for? I would imagine a (relatively) simple program which takes an email message in standard input and writes it to the database would be sufficient, it could possibly also look at environment variables for recipient information. Then just use this from the appropriate .qmail files. Mikko -- // Mikko Hänninen, aka. Wizzu // [EMAIL PROTECTED] // http://www.iki.fi/wiz/ // The Corrs list maintainer // net.freak // DALnet IRC operator / // Interests: roleplaying, Linux, the Net, fantasy scifi, the Corrs / 2 + 2 = 4 (for the time being)
Re: 7 bit ascii qmail
Holger Hug [EMAIL PROTECTED] wrote on Tue, 04 Jan 2000: Is there any possibility to cause qmail to convert a deliberate character set into "US-ASCII" before sending them off ? Not in qmail itself, I believe. At the moment, I don't have an idea where to start. Perhaps there is a possibility to install a script ? How are the emails created? By injecting them into the queue with qmail-inject? If that's the case, you could insert another script in front of that, which changes the emails accordingly before calling qmail-inject. If the emails are sent "remotely", via SMTP, then you need to fix the sending the end. Or perhaps set up a special SMTP port or something which runs a script on the emails, but that sounds like it's getting complex. Anyway, you likely do need to get this fixed *before* qmail sees the emails, however they are getting to it. Hope this helps, Mikko -- // Mikko Hänninen, aka. Wizzu // [EMAIL PROTECTED] // http://www.iki.fi/wiz/ // The Corrs list maintainer // net.freak // DALnet IRC operator / // Interests: roleplaying, Linux, the Net, fantasy scifi, the Corrs / Food is an important part of a balanced diet.
Re: What MUA do you use?
Bill Ataras [EMAIL PROTECTED] wrote on Tue, 04 Jan 2000: Just curious what people are using to read/send mail from X. Mutt running in an aterm, formerly in xterm. Simply incredibly powerful and configurable. Superb support for mailing lists (Does any other MUA have a "list reply" function? I don't know, but they should.) and multiple incoming mail folders. Email threading. Native support for Maildirs, of course. For POP support, I'd use fetchmail, or some alternative. procmail for the filtering (maildrop would work just as well). No news support in Mutt, though there's patches available for that (I don't know how good they are, but I guess some people use them). Mikko -- // Mikko Hänninen, aka. Wizzu // [EMAIL PROTECTED] // http://www.iki.fi/wiz/ // The Corrs list maintainer // net.freak // DALnet IRC operator / // Interests: roleplaying, Linux, the Net, fantasy scifi, the Corrs / Today's subliminal message is " "
Re: qmail-inject
Kristina [EMAIL PROTECTED] wrote on Tue, 28 Dec 1999: My qmail is starting okay, however when I try to do a mail test: echo to: kristina | /var/qmail/bin/qmail-inject The following error is returned: stty: : No such device or address Does anyone know what could be causing this? I'm not sure, but I'm guessing you have a stty command in either your personal .profile for that user, or in the /etc/profile file. The shell gets invoked for the pipe, including executing the startup file(s), but there's no attached tty, and so stty complains. If you're using something else than bash (or relative), adjust the above by substituting your shell's startup files... In any case, it's very likely not a qmail problem, qmail doesn't execute stty. HTH, Mikko -- // Mikko Hänninen, aka. Wizzu // [EMAIL PROTECTED] // http://www.iki.fi/wiz/ // The Corrs list maintainer // net.freak // DALnet IRC operator / // Interests: roleplaying, Linux, the Net, fantasy scifi, the Corrs / I havent't lost my mind -- I'm sure it is backed up somewhere.
Re: Sendmail Virtusertable equivalent?
Michael T. Halligan [EMAIL PROTECTED] wrote on Mon, 06 Dec 1999: Otherwise on /var/qmail/control/virtualdomains put one line like: virtualdomain.com:user but that doesn't help me if i want to forward [EMAIL PROTECTED] to [EMAIL PROTECTED] Sure it does (or I don't understand your problem then). could i do a @blah.com:[EMAIL PROTECTED] ? If you have this in virtualdomains: virtualdomain.com:virtuser (note virtuser is not a real user on the system) Then you create ~alias/.qmail-virtuser-default And possibly ~alias/.qmail-virtuser-blah @virtualdomain.com addressed mail will by default follow the .qmail-virtuser-default delivery instructions. The email to [EMAIL PROTECTED] will follow the instructions in .qmail-virtuser-blah. And so on. You have a default delivery rule, and can make as many exceptions as you like. You can also have the default delivery instructions be as complex as you like, if needed (pipe into a program or whatever). Is this not what you want? Disclaimer: I don't use virtualdomains myself, so possibly these instructions are wrong. If so, I'm sure someone will correct me. :-) Hope this helps, Mikko -- // Mikko Hänninen, aka. Wizzu // [EMAIL PROTECTED] // http://www.iki.fi/wiz/ // The Corrs list maintainer // net.freak // DALnet IRC operator / // Interests: roleplaying, Linux, the Net, fantasy scifi, the Corrs / *** This message is made with 100% recycled bytes. ***
Re: qmail-1.03-maxrcpt.patch
Magnus Bodin [EMAIL PROTECTED] wrote on Thu, 11 Nov 1999: ftp://ftp.surfnetcity.com.au/pub/unix/qmail/qmail-1.01-maxrcpt.patch But wasn't the question about a patch for qmail 1.03, not 1.01? Mikko -- // Mikko Hänninen, aka. Wizzu // [EMAIL PROTECTED] // http://www.iki.fi/wiz/ // The Corrs list maintainer // net.freak // DALnet IRC operator / // Interests: roleplaying, Linux, the Net, fantasy scifi, the Corrs / "You can't have everything. Where would you put it?" -- Stephen Wright
Re: Summary: Procmail
eric [EMAIL PROTECTED] wrote on Wed, 03 Nov 1999: 1. You can use ~/.procmailrc with the last recipe being DEFAULT=$HOME/Maildir/new/. I guess this works even with an unpatched procmail, but it's *much* better to have procmail with the maildir support patch, and then *NOT* to use that /new/ at the end there. You get all those "nice wonderfully unique filenames" too. :0 $DEFAULT (note this must come after all recipes have been processed). This solution works but does not leave those wonderfully unique file names like Qmail normally would delivery. That's the default behaviour of procmail anyway -- if all recipes have been processed and the mail is not delivered, it's placed into $DEFAULT. You don't need to have an excplicit recipe for that. Not that it hurts if you do, either. :0 |maildir $HOME/Maildir I guess the advantage of this is that you don't need to patch procmail. It's also better than using a non-patched procmail to deliver to "Maildir/new/". Mikko -- // Mikko Hänninen, aka. Wizzu // [EMAIL PROTECTED] // http://www.iki.fi/wiz/ // The Corrs list maintainer // net.freak // DALnet IRC operator / // Interests: roleplaying, Linux, the Net, fantasy scifi, the Corrs / ERROR! CAT reader seems to be conflicting with the mouse.
Re: Problem receiving mail (long)
Dave Sill [EMAIL PROTECTED] wrote on Tue, 02 Nov 1999: Probably should be ./Mailbox or ./Maildir/, but you've got a hybrid. Not that there's technically anything wrong with a having Maildir named "Mailbox", but it's confusing to humans. :-) And probably not what was intended. Mikko -- // Mikko Hänninen, aka. Wizzu // [EMAIL PROTECTED] // http://www.iki.fi/wiz/ // The Corrs list maintainer // net.freak // DALnet IRC operator / // Interests: roleplaying, Linux, the Net, fantasy scifi, the Corrs / MIKA HÄKKINEN IS THE FORMULA 1 WORLD CHAMPION 1999!!!
Re: Procmail.
eric [EMAIL PROTECTED] wrote on Tue, 02 Nov 1999: MAILDIR=$HOME/Maildir For procmail, $MAILDIR is the default location of mail folders. Typically this is ~/Mail, or ~/mail. You probably do not want it to be pointing to ~/Maildir, unless you plan to having actual mail folders (mbox style or maildir style, either) under the directory ~/Maildir You likely want to do this instead: DEFAULT=$HOME/Maildir :0 $MAILDIR/new/. Here's the second problem. With the maildir patch to procmail (at least the one I use), maildir folders are handled just like mbox folders. That means you do *not* specify the "new" in the folder name. I think you may place an ending / there, to make it obvious it's a maildir, but if the folder exists and is a maildir that isn't a requirement. I'm not sure how procmail behaves if the folder doesn't yet exist, the trailing / could have an effect then. Hope this helps, Mikko -- // Mikko Hänninen, aka. Wizzu // [EMAIL PROTECTED] // http://www.iki.fi/wiz/ // The Corrs list maintainer // net.freak // DALnet IRC operator / // Interests: roleplaying, Linux, the Net, fantasy scifi, the Corrs / 2400 bps makes you want to get out and push!!
Re: Setuser not found
Peter Abplanalp [EMAIL PROTECTED] wrote on Tue, 26 Oct 1999: Do I need to install the old version of daemontools or can I make the new version work somehow? Thanks. Yes, if you follow Life With Qmail, you need to use the old version of daemontools (0.53?). There's nothing particularly wrong with that version. Mikko -- // Mikko Hänninen, aka. Wizzu // [EMAIL PROTECTED] // http://www.iki.fi/wiz/ // The Corrs list maintainer // net.freak // DALnet IRC operator / // Interests: roleplaying, Linux, the Net, fantasy scifi, the Corrs / "We are chasing the moon, just running wild and free" -- The Corrs
Re: smarthost
Attila Csosz [EMAIL PROTECTED] wrote on Tue, 26 Oct 1999: I'd like to send my mails through a smarthost not directly from my computer. How could I setup qmail to send emails through smarthost? Add :your.smart.host into /var/qmail/control/smtproutes Hope this helps, Mikko -- // Mikko Hänninen, aka. Wizzu // [EMAIL PROTECTED] // http://www.iki.fi/wiz/ // The Corrs list maintainer // net.freak // DALnet IRC operator / // Interests: roleplaying, Linux, the Net, fantasy scifi, the Corrs / You don't have to know anything to have an opinion.
Re: Net::POP3 perl doesn't work
Jon Rust [EMAIL PROTECTED] wrote on Sat, 23 Oct 1999: The Net:POP3 login method expects to get a message count back after a successful login. Qmail's pop3d does not provide a message count, so it's impossible to tell if login succeeded (- login() always returns as a "fail"). Is there a patch available to qmail's pop3d to return the number of messages after a successful login? I haven't actually verified this in practice, but it looks like the Net::POP3 module will return undef if the login (or pass) command fails. If the login is successfull, it will return either 0 or the number of messages, if that was given in the password reply. So you don't need to look for patch to pop3d, instead in the perl script you should be checking for a return value of undef instead of non-zero to indicate login failure. Not doing this will give you a "failed login" even on servers which do give the message count, but the mailbox just happened to be empty. Hope this helps, Mikko -- // Mikko Hänninen, aka. Wizzu // [EMAIL PROTECTED] // http://www.iki.fi/wiz/ // The Corrs list maintainer // net.freak // DALnet IRC operator / // Interests: roleplaying, Linux, the Net, fantasy scifi, the Corrs / For a reply, send a self-abused stomped antelope to [EMAIL PROTECTED]
Re: Net::POP3 perl doesn't work
Mikko Hänninen [EMAIL PROTECTED] wrote on Sun, 24 Oct 1999: So you don't need to look for patch to pop3d, instead in the perl script you should be checking for a return value of undef instead of non-zero to indicate login failure. Oops, I meant of course "not true", not "non-zero". Mikko -- // Mikko Hänninen, aka. Wizzu // [EMAIL PROTECTED] // http://www.iki.fi/wiz/ // The Corrs list maintainer // net.freak // DALnet IRC operator / // Interests: roleplaying, Linux, the Net, fantasy scifi, the Corrs / Free the mallocs!
Re: adding Mailbox contents to a Maildir
Cris Daniluk [EMAIL PROTECTED] wrote on Sun, 17 Oct 1999: Is there an existing script that will merge a Mailbox into an existing Maildir? We're trying to combine two existing servers into one, but one uses Maildir and the other uses Mailbox. I'd write my own, but just as soon use an existing one if available If you have mutt installed, it's fairly easy to create a mutt commandline that does this, something like: mutt -f =mboxfolder -e 'push "T~A\n\;s=maildirfolder\nq"' (just off the top of my head, so you'd need to check and possibly further develop that, also note if you don't have $folder set appropriately for Mutt, then you need to use full paths instead of the = shortcut) Apparently I also have a mbox2maildir perl script, the credits of which say: # put into the public domain by Bruce Guenter [EMAIL PROTECTED] # based heavily on code by Russell Nelson [EMAIL PROTECTED] I imagine I got this from the qmail page, but I'd be happy to mail it to you if you can't find it there or elsewhere. Mikko -- // Mikko Hänninen, aka. Wizzu // [EMAIL PROTECTED] // http://www.iki.fi/wiz/ // The Corrs list maintainer // net.freak // DALnet IRC operator / // Interests: roleplaying, Linux, the Net, fantasy scifi, the Corrs / "OK, who stopped the payment on my reality check?"
Re: Setup HotMail by Qmail ?
Dave Sill [EMAIL PROTECTED] wrote on Fri, 15 Oct 1999: There are some reliability issues with ext2fs under Linux, so maybe it's not the best choice at the moment. If that's about the behaviour of fsync(), did anyone ever write a patch (for qmail) for fixing that? With suitable #ifdef __LINUX__ checks. I remember the long thread that that caused and don't want that to start up again, but I'm just curious if there was any sort of patch made. Another question, I wonder if it would be possible to use some other filesystem than ext2 under Linux for the queue. Anyone done this? This is just curiosity on my part, but maybe this information would be useful to someone. Mikko -- // Mikko Hänninen, aka. Wizzu // [EMAIL PROTECTED] // http://www.iki.fi/wiz/ // The Corrs list maintainer // net.freak // DALnet IRC operator / // Interests: roleplaying, Linux, the Net, fantasy scifi, the Corrs / command, n.: A suggestion made to a computer.
Re: control/{locals,rcpthosts,virtualdomains}
Franck PORCHER [EMAIL PROTECTED] wrote on Mon, 11 Oct 1999: What would be the best way to configure qmail to have this specific address ([EMAIL PROTECTED]) remotely delivered to my ISP (say "mail.pf"), so any local mail to [EMAIL PROTECTED] would eventually end-up in his remote mailbox. ? Well, if there is no local user called "jean", you can create a file ~alias/.qmail-jean and put the address [EMAIL PROTECTED] (or whatever) there. Any email to [EMAIL PROTECTED] will get forwarded to [EMAIL PROTECTED] I thought of putting [EMAIL PROTECTED]:alias-myisp in "control/virtualdomains", No, you can't put usernames in control/virtualdomains. You can only use full domain names. List the domains which should be handled virtually. The delivery of those domains is controlled by the specified user (in your case, ~alias-myisp, the ~alias/.qmail-myisp-* files). Hope this helps, Mikko -- // Mikko Hänninen, aka. Wizzu // [EMAIL PROTECTED] // http://www.iki.fi/wiz/ // The Corrs list maintainer // net.freak // DALnet IRC operator / // Interests: roleplaying, Linux, the Net, fantasy scifi, the Corrs / "Apple" (c) 6024 b.c., Adam Eve
Re: qmail startup script
Sam [EMAIL PROTECTED] wrote on Thu, 23 Sep 1999: init scripts that Slackware uses, but what you need to do is to look at the scripts in /etc/rc.d, and figure out which ones get executed when the system starts up, and add your custom code there. The right file is probably /etc/rc.d/rc.local Mikko -- // Mikko Hänninen, aka. Wizzu // [EMAIL PROTECTED] // http://www.iki.fi/wiz/ // The Corrs list maintainer // net.freak // DALnet IRC operator / // Interests: roleplaying, Linux, the Net, fantasy scifi, the Corrs / Time was invented by an Irish guy named O'Clock.
Re: qmail startup script
Franklin A Hays [EMAIL PROTECTED] wrote on Thu, 23 Sep 1999: i need to also link the qmail script to some of my 'rc' directories. LWQ lists rc0-rc6 while, as you can see from my previous email, i only have rc.0,rc.4,and rc.6. That's only true for SysV-style init. For the one that comes with Slackware, you don't need to do any links or any of that SysV stuff. Ignore what LWQ says about the rc.* files, they are for SysV init and don't match what you have on your system. You only really need to figure out a working startup command for qmail, and include that in the rc.local file, and you're set. i tried to use "find RCDIR -name "*sendmail" -print" to no avial, what am I doing wrong? need more info? I think you're meant to replace RCDIR with /etc/rc.d -- however, again that works only with SysV init scripts, which would have a file called somethingsendmail in one of the directories. It wouldn't exist in your system. Instead, the corresponding command to start sendmail is in the rc.M file (probably that anyway), which you need to comment out. To reiterate: 1) find the sendmail startup command in one of the files in /etc/rc.d/rc.*, probably rc.M, and remove or comment that out 2) include the qmail startup command in /etc/rc.d/rc.local (or rc.M if you prefer that) And that's all you need to do as regards to starting qmail at system startup. Mikko -- // Mikko Hänninen, aka. Wizzu // [EMAIL PROTECTED] // http://www.iki.fi/wiz/ // The Corrs list maintainer // net.freak // DALnet IRC operator / // Interests: roleplaying, Linux, the Net, fantasy scifi, the Corrs / "Attitude is more important than reality"
Re: Having trouble with pop
Tim Hunter [EMAIL PROTECTED] wrote on Mon, 20 Sep 1999: There was a problem logging onto your mail server. Your Password was rejected. Account: 'grow.sd27.bc.ca', Server: 'grow.sd27.bc.ca', Protocol: POP3, Server Response: '-ERR this user has no $HOME/Maildir', Port: 110, Secure(SSL): No, Server Error: 0x800CCC90, Error Number: 0x800CCC92 Do I read the Outlook error correctly, "Account: 'grow.sd27.bc.ca'", is that the same as "user"? If so, then it's unlikely that the server grow.sd27.bc.ca has a user called grow.sd27.bc.ca -- change that the desired username in Outlook settings. Mikko -- // Mikko Hänninen, aka. Wizzu // [EMAIL PROTECTED] // http://www.iki.fi/wiz/ // The Corrs list maintainer // net.freak // DALnet IRC operator / // Interests: roleplaying, Linux, the Net, fantasy scifi, the Corrs / "What I need is a list of specific unknown problems we will encounter."
Re: Mail client and sorting
Anand Buddhdev [EMAIL PROTECTED] wrote on Fri, 17 Sep 1999: Elm comes with a filter utility to sort mail into different folders. If you want to do filtering with other mail clients, you can use procmail or maildrop. Actually, last I heard was that support for filter was discontinued in the current elm release version(s). I'd personally recommend using procmail or maildrop with elm, even if filter was available. Netscape can thread messages, but I also suggest you look at mutt (http://www.mutt.org). Although it's not X-based, it is very nice. Mutt is indeed very nice, especially for people who have been using elm though by no means limited to them. And it also supports qmail-style maildirs (to add some qmail-relevance to the discussion...). Mikko -- // Mikko Hänninen, aka. Wizzu // [EMAIL PROTECTED] // http://www.iki.fi/wiz/ // The Corrs list maintainer // net.freak // DALnet IRC operator / // Interests: roleplaying, Linux, the Net, fantasy scifi, the Corrs / "You watching MTV while I lie dreaming in an MT bed" -- The Corrs