qmail Digest 19 Apr 2000 10:00:00 -0000 Issue 976 Topics (messages 40269 through 40354): SMTP problems - Pending mail operations must be completed 40269 by: David Pratt Problem with qmail-popup 40270 by: Firstserv Support Re: Qmail on FreeBSD 4.0 40271 by: Andre Oppermann 40272 by: Andre Oppermann 40273 by: S.P. Hoeke 40299 by: Sascha Schumann 40334 by: Patrick Bihan-Faou 40354 by: Ben Beuchler Re: backup mail server 40274 by: Russell Nelson 40275 by: Gabriel Ambuehl 40279 by: Andy Bradford 40285 by: Greg Owen 40292 by: Greg Owen 40294 by: Ian Lance Taylor 40295 by: Jonathan McDowell 40339 by: Bob Rogers postoffice migration question 40276 by: Kelly Prescott Re: Help with SPAM 40277 by: Chris Hardie 40281 by: Kai MacTane Re: supervise question 40278 by: Chris Johnson Re: Compile Error 40280 by: Greg Owen 40287 by: Soffen, Matthew 40288 by: Greg Owen 40289 by: Steve Kennedy 40290 by: John P. Looney qmail install 40282 by: Bill Parker kmail and maildir support 40283 by: Mate Wierdl kbiff and maildir 40284 by: Mate Wierdl wierd fastforward behaviour 40286 by: Russell P. Sutherland more logs please 40291 by: octave klaba Re: Messages stuck in queue 40293 by: John McCoy, Jr Message Error 40296 by: Marcos dos santos Costa 40297 by: Soffen, Matthew 40298 by: Steve Wolfe 40304 by: Kai MacTane 40307 by: Marcos dos santos Costa 40309 by: Steve Wolfe problem with alias file pointing to a pipe 40300 by: Erick Hallick 40301 by: Steve Wolfe 40302 by: Steve Wolfe 40303 by: Erick Hallick Compilation 40305 by: Marcos dos santos Costa 40306 by: Stephen F. Bosch 40333 by: Mike Alexander Sauvain Check timestamps 40308 by: Jose de Leon 40310 by: Russell Nelson 40311 by: Jose de Leon 40338 by: Bob Rogers qmailanalog bin scripts usage 40312 by: Abel Lucano Configuring qmail: getting closer to a functional box and need a little help 40313 by: Tim_Clifton.candle.com Unable to receive outside email 40314 by: Ben Anderson Re: mail-abuse.org 40315 by: David L. Nicol WebMail 40316 by: Travis Leuthauser 40318 by: Mordac 40347 by: Olivier M. Qmail config: getting closer additional info 40317 by: Tim_Clifton.candle.com 40336 by: Bob Rogers qmail + vpopmail problems... 40319 by: Mario Rafael Re: using perl to send a list message (with qmail) 40320 by: David L. Nicol Compiling 40321 by: Mike Alexander Sauvain 40322 by: Mike Alexander Sauvain 40325 by: Kristina 40345 by: Peter van Dijk How to set /var/qmail/alias/.qmail-xxxx ./Maildir/ up. 40323 by: Anthony White 40324 by: markd.bushwire.net 40326 by: Anthony White 40327 by: markd.bushwire.net 40328 by: Anthony White Someone else brought it up, and i noticed mine wasnt working :) 40329 by: John Gonzalez/netMDC admin 40330 by: Anthony White 40337 by: Anthony White pop 110 / daemontools / tcpserver / MySQL 40331 by: Mike Alexander Sauvain 40332 by: John Gonzalez/netMDC admin pop daemontool 40335 by: Mike Alexander Sauvain qmail deleting Maildir/cur directory (fwd) 40340 by: Ian Shaughnessy 40341 by: markd.bushwire.net 40342 by: Ian Shaughnessy why can't I do this? 40343 by: Adam McKenna 40346 by: Peter van Dijk 40349 by: Adam McKenna 40350 by: Peter Samuel 40351 by: Adam McKenna 40352 by: Rogerio Brito 40353 by: Peter van Dijk Maildir not working 40344 by: Madhav 40348 by: Peter Samuel Administrivia: To unsubscribe from the digest, e-mail: [EMAIL PROTECTED] To subscribe to the digest, e-mail: [EMAIL PROTECTED] To bug my human owner, e-mail: [EMAIL PROTECTED] To post to the list, e-mail: [EMAIL PROTECTED] ----------------------------------------------------------------------
I have recently been getting the following entries in my log files when I try to send mail from a ColdFusion server (using CFMail) via my qmail SMTP server:- "Error","TID=224","04/17/00","12:05:59","Failed to send the spooled mail file, d:\cfusion\MAIL\spool\A8.cfmail. SMTP server replied "See http://pobox.com/~djb/docs/smtplf.html." Moved file to d:\cfusion\MAIL\undelivr\AC.cfmail." "Error","TID=224","04/17/00","13:05:14","Failed to send the spooled mail file, d:\cfusion\MAIL\spool\B5.cfmail. SMTP server replied "Internal error: Pending mail operations must be completed." Moved file to d:\cfusion\MAIL\undelivr\B7.cfmail." "Error","TID=224","04/17/00","14:13:59","Failed to send the spooled mail file, d:\cfusion\MAIL\spool\CF.cfmail. SMTP server replied "Internal error: Pending mail operations must be completed." Moved file to d:\cfusion\MAIL\undelivr\D1.cfmail." I have looked at the url specified in the error and it looks like the problem could be that my ColdFusion server is trying to send an incorrectly formatted message with a bare LF so qmail is not sending it. Most of the subsequent errors mention the "Pending mail operations must be completed" error however. Is this likely to be related to the bare LF problem? Best regards, Peter Marshall
I am running qmail under RedHat 5.2. Everything has been running smoothly until recently when trying to pick up pop mail resulted in a connection being made but then the connection just hangs. Looking at the processes running revealed that there were numerous tcpserver processes running of the form:- tcpserver -v -c40 -u0 -g0 0 pop-3 qmail-popup "hostname" /usr/local/vchkpw-3.1.2/src/vchkpw qmail-pop3d Rebooting removes these additional instances of tcpserver/pop3d and mail can be downloaded correctly. However, after a couple of hours, additional identical processes start to appear and mail can no longer be downloaded. Can anyone explain what is causing this? Many thanks, Peter
Patrick Bihan-Faou wrote: > > Hi, > > ----- Original Message ----- > From: "Mike" <[EMAIL PROTECTED]> > > Patrick Bihan-Faou wrote: > > > Looking quickly at the NetBSD and the FreeBSD code, I would say that > they > > > are not affected by that bug. Also solaris 2.5 is clean. I don't know > about > > > any of the linux... > > > > Well, now that you mention it, does NetBSD also mean OpenBSD by > > extension? I didn't see any references to a patch in their (OpenBSD) > > port. > > Oops I meant, NetBSD and OpenBSD are not affected. FreeBSD is for all > version (including 3.x). AFAIK this happens only with IPv6 compiled in the Kernel (which is default in FreeBSD 4.0)? Actually, I'm running 3.4-stable and never got this problem. I remember one patch in FreeBSD shortly before 4.0-release which, according to the cvs log, was supposed to fix this problem. I'll see if I can dig it up. If this bug is not fixed someone who is affected should file a PR with FreeBSD gnats. -- Andre
Peter van Dijk wrote: > > On Mon, Apr 17, 2000 at 10:31:51PM +0300, Gabriel Ambuehl wrote: > > Hello Peter, > > >> code and not part of the stable branch, I'd avoid using it for any production > > >> servers till it's migrated to the stable tree. > > > 4.0 went STABLE a couple of weeks ago. > > > > So should I go for 4.0 stable directly instead of 4.0 Release? > > You can't. There is no 4.0-STABLE release. That's wat 4.0-RELEASE is called > RELEASE for. > > Get 4.0-RELEASE mfsroot and kern disks, FTP-install 4.0-RELEASE, and then > cvsup to 4.0-STABLE and make world and install a new kernel. There is a partial fix in FreeBSD-4.0-RELEASE. For more information see PR kern/17311: http://www.freebsd.org/cgi/query-pr.cgi?pr=17311 CVS Log for src/sys/net/if.c: 1.85 Mon Feb 28 19:30:25 2000 UTC by guido CVS Tags: RELENG_4_0_0_RELEASE, RELENG_4_BP, HEAD, RELENG_4 Diffs to 1.84 This fixes a problem where the SIOCGIFCONF ioctl goes wrong. This is triggered when qmail is used with INET6 enabled. The bug manifests itself in that the space variable can become negative and that in the comparison in the guards of the 2 loops, this was not noticed because sizeof() returns an unsigned and thus the signed variable gets promoted to unsigned. I decided not to make space unsigned because I think we should guard against this from happening. Thus panic() in case space becomes negative. -- Andre
On Tue, Apr 18, 2000 at 01:45:34PM +0200, Andre Oppermann wrote: > Patrick Bihan-Faou wrote: > > > > Hi, > > > > ----- Original Message ----- > > From: "Mike" <[EMAIL PROTECTED]> > > > Patrick Bihan-Faou wrote: > > > > Looking quickly at the NetBSD and the FreeBSD code, I would say that > > they > > > > are not affected by that bug. Also solaris 2.5 is clean. I don't know > > about > > > > any of the linux... > > > > > > Well, now that you mention it, does NetBSD also mean OpenBSD by > > > extension? I didn't see any references to a patch in their (OpenBSD) > > > port. > > > > Oops I meant, NetBSD and OpenBSD are not affected. FreeBSD is for all > > version (including 3.x). > > AFAIK this happens only with IPv6 compiled in the Kernel (which is > default in FreeBSD 4.0)? Actually, I'm running 3.4-stable and never > got this problem. OpenBSD v2.7 has IPv6 support compiled in kernel .... No probs .... Greetz, Steffan
On Tue, Apr 18, 2000 at 02:01:09PM +0200, Andre Oppermann wrote: > Peter van Dijk wrote: > > > > On Mon, Apr 17, 2000 at 10:31:51PM +0300, Gabriel Ambuehl wrote: > > > Hello Peter, > > > >> code and not part of the stable branch, I'd avoid using it for any production > > > >> servers till it's migrated to the stable tree. > > > > 4.0 went STABLE a couple of weeks ago. > > > > > > So should I go for 4.0 stable directly instead of 4.0 Release? > > > > You can't. There is no 4.0-STABLE release. That's wat 4.0-RELEASE is called > > RELEASE for. > > > > Get 4.0-RELEASE mfsroot and kern disks, FTP-install 4.0-RELEASE, and then > > cvsup to 4.0-STABLE and make world and install a new kernel. > > There is a partial fix in FreeBSD-4.0-RELEASE. > > For more information see PR kern/17311: > > http://www.freebsd.org/cgi/query-pr.cgi?pr=17311 > > CVS Log for src/sys/net/if.c: > 1.85 Mon Feb 28 19:30:25 2000 UTC by guido > CVS Tags: RELENG_4_0_0_RELEASE, RELENG_4_BP, HEAD, RELENG_4 > Diffs to 1.84 > > This fixes a problem where the SIOCGIFCONF ioctl goes wrong. This > is triggered when qmail is used with INET6 enabled. The bug This has also happened to me before INET6 was committed to -current IIRC. Thus this commit message is at least bogus.. > manifests itself in that the space variable can become negative > and that in the comparison in the guards of the 2 loops, this was > not noticed because sizeof() returns an unsigned and thus the signed > variable gets promoted to unsigned. I decided not to make space > unsigned because I think we should guard against this from happening. > Thus panic() in case space becomes negative. > > -- > Andre - Sascha
Hi, > I remember one patch in FreeBSD shortly before 4.0-release which, > according to the cvs log, was supposed to fix this problem. I'll > see if I can dig it up. If this bug is not fixed someone who is > affected should file a PR with FreeBSD gnats. Yep, there was a first attempt at fixing it, but it was incomplete and will result in a kernel panic. I have filed a PR with the proper fix, but it has not been commited yet (PR 17311). Patrick.
On Wed, Apr 19, 2000 at 11:30:39AM +0400, Alex Povolotsky wrote: > On Mon, Apr 17, 2000 at 01:56:47PM -0500, Ben Beuchler wrote: > > > The file to patch is /usr/src/sys/net/if.c, the attached patch is > > > against the current RELENG_4 version. > > > > Has anyone else encountered this? Is this a major problem? > Yes :-( I've spent $130 and LOTS of nerves on it. It shows up on a box with > over 4 network interfaces (about so). On 10-15 interfaces, it stops 99% of > qmail operations. On 4-5, just SOMETIMES you'll see 100% repeatable > crashdumps. > > I've biten by this bug once again right now. Ouch! Sounds painful. Any idea whether or not it's a problem on a box with only two interfaces? I don't plan on having any more than that... Ben -- "There is no spoon" -- The Matrix
TAG writes: > I have two mail servers - on is located in a different country - My > question is how do I become a backup for that other server in the event > that it goes down or looses connectivity?? > > I have added entries into DNS so as the two severs are secondary MX's > for each other.. BUT what needs to be done on the qmail side so that it > will accept these messages and queue them until they can be dilivered?? This is a bad idea. Why? Because you're setting yourself up for the situation a friend was just in. His main server went down, and the secondary kicked in. Unfortunately, the secondary server had become misconfigured (or was never configured correctly in the first place) and his email started bouncing. Overall, he would have been better off without a secondary MX server. His mail still wouldn't have been delivered (a secondary doesn't deliver the mail, it just re-queues it), but neither would it have bounced either. -- -russ nelson <[EMAIL PROTECTED]> http://russnelson.com Crynwr sells support for free software | PGPok | "Ask not what your country 521 Pleasant Valley Rd. | +1 315 268 1925 voice | can force other people to Potsdam, NY 13676-3213 | +1 315 268 9201 FAX | do for you..." -Perry M.
> This is a bad idea. Why? Because you're setting yourself up for the > situation a friend was just in. His main server went down, and the > secondary kicked in. Unfortunately, the secondary server had become > misconfigured (or was never configured correctly in the first place) > and his email started bouncing. Do you mean this seriously? I can't see a problem with a secondary which is using exactly the same config (we normally clone our systems as the first one except for the lack of the entries in local or virtual... As long as your primary doesn't go any longer than just a few minutes, you surely don't need a secondary, but if the hardware fails, it's possible that it will be down such long (depends highly on the admins, available spare system etc.) that some mails bounce... Best regards, Gabriel
Thus said Gabriel Ambuehl on Tue, 18 Apr 2000 14:58:00 +0300: > Do you mean this seriously? I can't see a problem with a secondary > which is using exactly the same config (we normally clone our systems > as the first one except for the lack of the entries in local or > virtual... As long as your primary doesn't go any longer than just a > few minutes, you surely don't need a secondary, but if the hardware > fails, it's possible that it will be down such long (depends highly on > the admins, available spare system etc.) that some mails bounce... Yes seriously. Most MTA's will queue email for at least 3 days, so unless your hardware failure lasts that long then you should be fine. Andy -- +====== Andy ====== TiK: garbaglio ======+ | Linux is about freedom of choice | +== http://www.xmission.com/~bradipo/ ===+
> This is a bad idea. Why? Because you're setting yourself up for the > situation a friend was just in. His main server went down, and the > secondary kicked in. Unfortunately, the secondary server had become > misconfigured (or was never configured correctly in the first place) > and his email started bouncing. Your friend's problem was not that he had a secondary server. Your friend's problem was that he had a misconfigured secondary. If we discouraged people from running software that they often misconfigured, this list would be a dead dull desert with wind and dust devils floating through. If you're going to run a [smtp server / smtp secondary / dns server / dns secondary / web server / pop server / server / unix machine / windows machine / tonka truck ] then you've either got to learn to do it right or live with your mistakes. Every one on this list who knows how to do the above got there by doing it, making mistakes, learning from them, and doing it right. Some people probably even arranged that their mistakes be in testing setups rather than live. Having said that... splitting control of primary/secondary between two people is a setup that does ask for mistakes to be made. And handing off secondary to your ISP is asking to be shot in the head. -- gowen -- Greg Owen -- [EMAIL PROTECTED]
> I have two mail servers - on is located in a different country - My > question is how do I become a backup for that other server in > the event that it goes down or looses connectivity?? Firstly, consider why you are setting up a secondary. Does it offer any advantages over letting the senders keep mail in their queue? Does it allow mail system maintenance to go without disrupting mail flow? In some cases a secondary offers no tangible benefit, and causes maintenance headaches, which WILL cause mail to bounce if you don't stay on top of it. To do it, however, Add that servers domain to /var/qmail/control/rcpthosts, but make sure that it is not in locals or anything like that. Send mail* to that domain via your mail server to make sure you're configured correctly. Set up the MX records for the domain so that your server is a listed MX server, albeit with a lower priority (lower priority == higher number). An option is to use smtproutes to hardwire the forwarding, instead of trusting DNS records to be correct. The plus is that someone can mess up DNS and your secondary will still forward; the minus is that if you want to change your primary mail server you have to remember to do so in two places, which can create maintenance problems. * An easy way to test is to telnet to port 25 of the secondary from a remote location and send mail by hand. That means using SMTP commands HELO, MAIL FROM, RCPT TO, and DATA. The archives of this list are full of examples. -- gowen -- Greg Owen -- [EMAIL PROTECTED]
From: Russell Nelson <[EMAIL PROTECTED]> Date: Tue, 18 Apr 2000 08:44:39 -0400 (EDT) > I have two mail servers - on is located in a different country - My > question is how do I become a backup for that other server in the event > that it goes down or looses connectivity?? > > I have added entries into DNS so as the two severs are secondary MX's > for each other.. BUT what needs to be done on the qmail side so that it > will accept these messages and queue them until they can be dilivered?? This is a bad idea. Why? Because you're setting yourself up for the situation a friend was just in. His main server went down, and the secondary kicked in. Unfortunately, the secondary server had become misconfigured (or was never configured correctly in the first place) and his email started bouncing. I dunno, I had a case where we were saved by a secondary MX. The main mail server crashed just before a long weekend and wound up being out for a week. Being able to push up the queuelifetime on the secondary MX almost certainly saved mail from bouncing. Naturally we tested the secondary MX failover when we installed it, and we would test it again if we ever changed the configuration. Admittedly this wouldn't happen at a working company where the mail server would be rapidly replaced. But there are lots of other sorts of people on the net. Ian
On Tue, Apr 18, 2000 at 08:55:46AM -0600, Andy Bradford wrote: > Thus said Gabriel Ambuehl on Tue, 18 Apr 2000 14:58:00 +0300: > > > Do you mean this seriously? I can't see a problem with a secondary > > which is using exactly the same config (we normally clone our > > systems as the first one except for the lack of the entries in local > > or virtual... As long as your primary doesn't go any longer than > > just a few minutes, you surely don't need a secondary, but if the > > hardware fails, it's possible that it will be down such long > > (depends highly on the admins, available spare system etc.) that > > some mails bounce... > Yes seriously. Most MTA's will queue email for at least 3 days, so > unless your hardware failure lasts that long then you should be fine. Secondary MX can come in handy when you lose routing to parts of the world, but your secondary MX doesn't and can still talk to you. At one point last year JaNET in the UK lost transatlantic bandwidth (we love you Teleglobe, no really) but my main email address at the time continued to receive mail as the secondary MX was outside JaNET but within the UK. On the other hand I'd be incredibly careful about who I trusted enough to secondary MX a domain for me. J. -- ] http://www.earth.li/~noodles/ [] "It only counts as a lie-in if you [ ] PGP/GPG Key @ keys.pgp.net or [] don't get dressed before tea time." [ ] finger [EMAIL PROTECTED] [] -- Steve Willison [ ] PGP: 4DC4E7FD / GPG: 5B430367 [] [
From: Andy Bradford <[EMAIL PROTECTED]> Date: Tue, 18 Apr 2000 08:55:46 -0600 Yes seriously. Most MTA's will queue email for at least 3 days, so unless your hardware failure lasts that long then you should be fine. Andy But not always. My ISP (which shall remain nameless -- ;-) bounced an email I sent myself from work after trying to deliver it for less than an hour. To add insult to injury, the only reason they couldn't deliver it was because of their own internal outage -- an outage that lasted five hours. So I am considering an alternate MX myself. (Yes, I know; a better solution would be to get another ISP.) -- Bob Rogers
We recently purchased an ISP running postoffice on NT from software.com... Does any one know an easy way to migrate from it to the qmail Maildir format? Also, does any one have any idea of how to get the passwords out of the program? Sorry in advance if this is a little off topic, but as this is qmail we are migrating to, I just thought some one might have had experience doing it... Thanks in advance.
On Tue, 18 Apr 2000, Abdul Rehman Gani wrote: > Hi, > > We are in the process of moving to qmail from Mailsite (on NT), but I face a > problem with SPAM that I do not think will be solved by QMail. The sender of > the spam is using a fake address on our domain as the from address in the > spam. Although the spam itself is forwarded through AOL/concentric and > possibly via other free/cheap access points (our server is not a relay or > originator), the bounces and complaints do reach us. > > 1. Is there a way to get qmail to reject mail sent to a specified address on > one of the domains for which it does accept mail - sort of a BADMAILTO > entry? Ideally the mail should be rejected during the SMTP receipt session. You can use "bouncesaying" in a dot-qmail file to bounce mail sent to a specific address with a specific return message. Note that qmail will accept the message for delivery before encountering this, so if the envelope is bad, the message will double-bounce to you. If you really want to do the bouncing during the SMTP conversation, which can be a bad idea for several reasons (see earlier threads on this topic), check out one of the anti-spam patches available from qmail.org or here: http://www.summersault.com/chris/techno/qmail/qmail-antispam.html > > 2. A better solution would be to stop mail with fake from addresses from > exiting a system altogether. Any one know about such a system or how it can > be implemented - it certainly would seem to be a major task to convince mail > admins to do so, and they all would have to to be able to prevent this from > happening. I'm not sure all mail admins would agree that this is a good solution. Some consider it a feature that one can send mail from a "physical" address on one machine with an envelope pointing to another account. This is what makes POP client mailers so flexible (e.g. if I use earthlink to dial up to the net but want to use my university mail account to "send and receive" mail.) But, as you have seen, that feature comes with some hassles too. > > 3. The spam messages contain only US based toll free numbers (1-888-258-4753 > and 888-533-1018). I am not in the US so I need some help in tracking the > owners of these numbers. Can someone help in that regard? US 1-800-555-1212? infospace.com reverse lookup? Call the numbers and tell them you're interested in their product and need a mailing address? Hope this helps, Chris -- Chris Hardie ----------------------------- ----- mailto:[EMAIL PROTECTED] ---------- -------- http://www.summersault.com/chris/ --
At 4/18/2000 09:16 AM -0500, Chris Hardie wrote or quoted: >On Tue, 18 Apr 2000, Abdul Rehman Gani wrote: > > > 3. The spam messages contain only US based toll free numbers > (1-888-258-4753 > > and 888-533-1018). I am not in the US so I need some help in tracking the > > owners of these numbers. Can someone help in that regard? > >US 1-800-555-1212? infospace.com reverse lookup? Call the numbers and >tell them you're interested in their product and need a mailing address? I like that last solution. It has a certain ironic tang to it that tickles my fancy. ----------------------------------------------------------------- Kai MacTane System Administrator Online Partners.com, Inc. ----------------------------------------------------------------- From the Jargon File: (v4.0.0, 25 Jul 1996) finger trouble /n./ Mistyping, typos, or generalized keyboard incompetence (this is surprisingly common among hackers, given the amount of time they spend at keyboards). "I keep putting colons at the end of statements instead of semicolons", "Finger trouble again, eh?".
On Tue, Apr 18, 2000 at 01:25:51AM -0400, lluisma wrote: > Hi all, > > I have this entry for qmail-pop3d which is under supervise: > #!/bin/sh > > exec env - PATH="/var/qmail/bin:$PATH" \ > tcpserver 0 110 /var/qmail/bin/qmail-popup host.name.gov \ > /bin/checkpassword /var/qmail/bin/qmail-pop3d Maildir & ^ Take the & out. > It is working but when I check with svstat the pid always changes every > second or less. Chris
> to compile qmail. I received the error '/usr/ucb/cc: language optional > software package not installed' '*** Error code 1' 'make: Fatal error: > Command failed for target 'qmail-local.o' '. What does this > mean and how can I get around this? It means that Solaris ships without a C compiler, so you can't compile anything. To fix it, either purchase Sun's compiler, or download a precompiled version of GCC for Solaris. -- gowen -- Greg Owen -- [EMAIL PROTECTED]
Nope.. Even that won't be a 100 % (so I found). You may need to modify : conf-cc and conf-ld to point to gcc instead of cc Matt Soffen Web Intranet Developer http://www.iso-ne.com/ ============================================== Boss - "My boss says we need some eunuch programmers." Dilbert - "I think he means UNIX and I already know UNIX." Boss - "Well, if the company nurse comes by, tell her I said never mind." - Dilbert - ============================================== > -----Original Message----- > From: Greg Owen [SMTP:[EMAIL PROTECTED]] > Sent: Tuesday, April 18, 2000 11:30 AM > To: qmail > Subject: RE: Compile Error > > > to compile qmail. I received the error '/usr/ucb/cc: language optional > > software package not installed' '*** Error code 1' 'make: Fatal error: > > Command failed for target 'qmail-local.o' '. What does this > > mean and how can I get around this? > > It means that Solaris ships without a C compiler, so you can't > compile anything. > > To fix it, either purchase Sun's compiler, or download a precompiled > version of GCC for Solaris. > > -- > gowen -- Greg Owen -- [EMAIL PROTECTED] > >
Matt Soffen wrote: > Greg Owen wrote: > > It means that Solaris ships without a C compiler, so you can't > > compile anything. > > > > To fix it, either purchase Sun's compiler, or download > > a precompiled version of GCC for Solaris. > > Nope.. Even that won't be a 100 % (so I found). > > You may need to modify : > conf-cc and conf-ld to point to gcc instead of cc Correct. You also need to avoid /usr/ucblib like the plague, and other niceties. There's a Solaris FAQ somewhere that gives the rundown on all the stupid things Sun did on Solaris from a development point of view - the compiler, the tools, the libs. The original poster, if interested in compiling anything under Solaris, should track that down (anyone remember which FAQ that is?) and read it carefully. I apologize; I was being unduly terse in my first message ;>. -- gowen -- Greg Owen -- [EMAIL PROTECTED]
On Tue, Apr 18, 2000 at 11:29:44AM -0400, Greg Owen wrote: > > to compile qmail. I received the error '/usr/ucb/cc: language optional > > software package not installed' '*** Error code 1' 'make: Fatal error: > > Command failed for target 'qmail-local.o' '. What does this > > mean and how can I get around this? > It means that Solaris ships without a C compiler, so you can't > compile anything. > To fix it, either purchase Sun's compiler, or download a precompiled > version of GCC for Solaris. Or download (or get Sun to send you) a try and buy CD, then you can get a 30 day eval key (which actually gives you a fully multi-user set of Sun tools i.e. C/C++/Fortan/Debuggers/Visual tools etc). Then extend that ... Steve -- NetTek Ltd tel +44-(0)20 7483 1169 fax +44-(0)20 7483 2455 Flat 2, 43 Howitt Road, Belsize Park, London NW3 4LU mobile 07775 755503 Epage [EMAIL PROTECTED] [body only]
On Tue, Apr 18, 2000 at 12:00:23PM -0400, Greg Owen mentioned: > There's a Solaris FAQ somewhere that gives the rundown on all the > stupid things Sun did on Solaris from a development point of view - the > compiler, the tools, the libs. The original poster, if interested in > compiling anything under Solaris, should track that down (anyone remember > which FAQ that is?) and read it carefully. > Nicely enough, solaris 8 ships with a CD full of GNU stuff, so you can nearly forgive them for putting admins through years of pain ;) Kate -- "The fool must be beaten with a stick, for an intelligent person the merest hint is sufficient" -- Zen Master Greg
Hi All, I have built a pent-200 w/64MB of ram, and it has a pair of NIC's for so the machine can be used for IP masq if needed, it also has a digiboard PC/Xem ISA card for dial in support (digiboard support is already working)... I would like to know if this would be a good machine to practice installing qmail and assorted goodies, using say Dave Sills 'Life with Qmail' as a guide and adding additional goodies as I go along...I want to be more comfortable with doing a(n) install from scratch so I can rely less on others when I need to figure things out (though a ORA qmail book would be helpful, hint hint)... Is there anything I need to watch for in terms of files being dumped into the wrong spots (I have a working qmail v1.03 install, so using that is out of the question)... I would enjoy some comments from regulars on this list... -Bill
I asked kmail's maintainer if kmail has maildir support, or if they are planning on supporting maildir in the future. The brief reply was: "no to both questions". Does anybody know the reason? We know the reason in case of pine... Mate
But kbiff does support maildir. Mate
I'm running fastforward 0.51 on a Linux machine. Normal (default domain) forwarding works fine. My problem is that email sent to a virtual user always ends up going to the default address: @4000000038fc7ed7129915e4 info msg 164054: bytes 435 from <[EMAIL PROTECTED]> qp 5716 uid 503 @4000000038fc7ed712dd662c starting delivery 19: msg 164054 to local [EMAIL PROTECTED] @4000000038fc7ed712dd7d9c status: local 1/10 remote 0/20 @4000000038fc7ed713f492ec new msg 164060 @4000000038fc7ed713f611bc info msg 164060: bytes 538 from <[EMAIL PROTECTED]> qp 5720 uid 502 @4000000038fc7ed7143b8ae4 starting delivery 20: msg 164060 to remote [EMAIL PROTECTED] @4000000038fc7ed7143ba63c status: local 1/10 remote 1/20 @4000000038fc7ed7143bae0c delivery 19: success: fastforward:_qp_5720/did_0+0+1/ @4000000038fc7ed7143bb9c4 status: local 0/10 remote 1/20 @4000000038fc7ed7143bc194 end msg 164054 Here is the test configuration: # cat ~alias/.qmail-default |fastforward -d /etc/aliases.cdb # cat /etc/aliases root: alias postmaster: alias mailer-daemon: alias [EMAIL PROTECTED]: [EMAIL PROTECTED] @wdtsf.com: [EMAIL PROTECTED] # printforward < /etc/aliases.cdb root@: , &[EMAIL PROTECTED] ; postmaster@: , &[EMAIL PROTECTED] ; mailer-daemon@: , &[EMAIL PROTECTED] ; [EMAIL PROTECTED]: , &[EMAIL PROTECTED] ; @wdtsf.com: , &[EMAIL PROTECTED] ; # env DEFAULT=russ HOST=wdtsf.com fastforward -nd /etc/aliases.cdb from <original envelope sender> to <[EMAIL PROTECTED]> # grep wdtsf.com /var/qmail/control/* /var/qmail/control/rcpthosts:wdtsf.com /var/qmail/control/virtualdomains:wdtsf.com:alias -- Quist Consulting Email: [EMAIL PROTECTED] 219 Donlea Drive Voice: +1.416.696.7600 Toronto ON M4G 2N1 Fax: +1.416.978.6620 CANADA WWW: http://www.quist.on.ca
Hi, How to have more logs. all I have is /var/log/qmail is -r--r--r-- 1 qmaill nofiles 100036 Apr 18 16:54 @00000956069523 -r--r--r-- 1 qmaill nofiles 100091 Apr 18 17:00 @00000956069645 -r--r--r-- 1 qmaill nofiles 100001 Apr 18 17:13 @00000956070013 -r--r--r-- 1 qmaill nofiles 100021 Apr 18 17:17 @00000956070833 -r--r--r-- 1 qmaill nofiles 100052 Apr 18 17:20 @00000956071069 -r--r--r-- 1 qmaill nofiles 100007 Apr 18 17:30 @00000956071202 -r--r--r-- 1 qmaill nofiles 100007 Apr 18 17:39 @00000956071856 -r--r--r-- 1 qmaill nofiles 100056 Apr 18 17:48 @00000956072354 -r--r--r-- 1 qmaill nofiles 100046 Apr 18 18:04 @00000956072904 -rw-r--r-- 1 qmaill nofiles 55988 Apr 18 18:11 @00000956073846 it changes all time and I can not see exaclty who is using what :( thanks for your help Octave Amicalement, Octave >>>>> no swap allowed <<<<<
I got queue-fix but it wont compile I get this at the very end of the compile: ld32: Segmentation fault. Removing output file... *** Error code 1 (bu21) System: SGI Indy r5000 IRIX 6.5.3m let me know if you need more I'm not sure of the version of gcc installed. Sorry I'm still a newbie but I'm confused by this error, I'm guessing it was unable to do a link. I compiled on a SUN box without a problem. Thanks ************************************* John McCoy, Jr Systems Administrator Central Systems, Mills College 510-430-3321 [EMAIL PROTECTED] ************************************* -----Original Message----- From: Steve Wolfe [mailto:[EMAIL PROTECTED]] Sent: Friday, April 14, 2000 8:54 AM To: [EMAIL PROTECTED] Subject: Re: Messages stuck in queue > I've got a bunch of messages that the systems seems unable to process, can > they be removed without the seemingly painful process of removing the queue? > Here is the log: > Apr 14 15:45:47 4C:ella qmail: 955727147.699527 warning: unable to stat > mess/11/52359 > Apr 14 15:45:47 4C:ella qmail: 955727147.722880 warning: unable to stat > mess/11/53440 It looks like someone renamed or moved the queue. Download queue-fix from www.qmail.org, run it, and you should see those messages get delivered succesfully. steve
Dear Friends, I installed the qmail in my server which run Linux. I configured all things normally. However, when I try to send a message the program (in this case, Eudora) give the follow message: Can't send to ''. The server gives this reason: '553 sorry, that domain isn't in my list of allowed rcpthosts (#5.7.1)'. What is it? What I have to do? And other : When I check for messages, it show that I donīt have maildir. I donīt know how I do for to convert to Maildir, all my users. There is some utility? PS: Before I was use sendmail. Somebody help me? Regards, Frederiko Costa Rio de Janeiro - Brazil
1) You didn't setup your control files properly (/var/qmail/control/*) Read the INSTALL.ctl file (its in your build directory). Did you run the config script ? 2) Yes. Read the INSTALL.maildir file (its in your build directory). It explains maildir vs. mbox. Also you probably should read the "Living with Qmail" ( http://Web.InfoAve.Net/~dsill/lwq.html ) by David Sill. Matt Soffen Web Intranet Developer http://www.iso-ne.com/ ============================================== Boss - "My boss says we need some eunuch programmers." Dilbert - "I think he means UNIX and I already know UNIX." Boss - "Well, if the company nurse comes by, tell her I said never mind." - Dilbert - ============================================== > -----Original Message----- > From: Marcos dos santos Costa [SMTP:[EMAIL PROTECTED]] > Sent: Tuesday, April 18, 2000 1:22 PM > To: [EMAIL PROTECTED] > Subject: Message Error > > Dear Friends, > > I installed the qmail in my server which run Linux. I configured all > things normally. > However, when I try to send a message the program (in this case, > Eudora) give the > follow message: Can't send to ''. The server gives this reason: > '553 sorry, that > domain isn't in my list of allowed rcpthosts (#5.7.1)'. What is it? > What I have to > do? > > And other : > > When I check for messages, it show that I don?t have maildir. I > don?t know how I > do for to convert to Maildir, all my users. There is some utility? > > PS: Before I was use sendmail. > > Somebody help me? > > > Regards, > > Frederiko Costa > Rio de Janeiro - Brazil
> I installed the qmail in my server which run Linux. I configured all things normally. > However, when I try to send a message the program (in this case, Eudora) give the > follow message: Can't send to ''. The server gives this reason: '553 sorry, that > domain isn't in my list of allowed rcpthosts (#5.7.1)'. What is it? What I have to > do? First, read http://www.palomine.net/qmail/relaying.html . then, read http://www.palomine.net/qmail/selectiverelay.html . The how's and why's are all in there. > When I check for messages, it show that I donīt have maildir. I donīt know how I > do for to convert to Maildir, all my users. There is some utility? Fast answer: man maildir better answer: Each user will need in their home directory: ~/Maildir/ ~/Maildir/new ~/Maildir/cur ~/Maildir/tmp all with permissions 600. They should also have a .qmail file containing "./Maildir/". steve
At 4/18/2000 11:45 AM -0600, Steve Wolfe wrote or quoted: >better answer: Each user will need in their home directory: > >~/Maildir/ >~/Maildir/new >~/Maildir/cur >~/Maildir/tmp > > all with permissions 600. They should also have a .qmail file containing >"./Maildir/". The permissions should be 700, not 600. The user should be able to execute (i.e., cd to) each directory. ----------------------------------------------------------------- Kai MacTane System Administrator Online Partners.com, Inc. ----------------------------------------------------------------- From the Jargon File: (v4.0.0, 25 Jul 1996) finger trouble /n./ Mistyping, typos, or generalized keyboard incompetence (this is surprisingly common among hackers, given the amount of time they spend at keyboards). "I keep putting colons at the end of statements instead of semicolons", "Finger trouble again, eh?".
Dear Kai, I know that each user will need theses directory in your home. But the problem is: How I can do it? Because I have more 100 users in system. There is some utility or some command that do it just once? Hugs, Frederiko Costa Rio de Janeiro-Brazil On Tue, 18 Apr 2000 12:33:01 -0700, Kai MacTane <[EMAIL PROTECTED]> wrote: > At 4/18/2000 11:45 AM -0600, Steve Wolfe wrote or quoted: > > >better answer: Each user will need in their home directory: > > > >~/Maildir/ > >~/Maildir/new > >~/Maildir/cur > >~/Maildir/tmp > > > > all with permissions 600. They should also have a .qmail file containing > >"./Maildir/". > > The permissions should be 700, not 600. The user should be able to execute > (i.e., cd to) each directory. > > ----------------------------------------------------------------- > Kai MacTane > System Administrator > Online Partners.com, Inc. > ----------------------------------------------------------------- > From the Jargon File: (v4.0.0, 25 Jul 1996) > > finger trouble /n./ > > Mistyping, typos, or generalized keyboard incompetence (this is > surprisingly common among hackers, given the amount of time they > spend at keyboards). "I keep putting colons at the end of statements > instead of semicolons", "Finger trouble again, eh?". >
> I know that each user will need theses directory in your home. But the problem is: How I can do it? Because I have more 100 users in system. There is some utility or some command that do it just once? I was hoping that someone else had a utility to do it. : ) For new users, I have the .qmail and Maildir directory structure in the .skel directory, so they get it by default. For existing users, I use a perl script called "qmailsetup". It's not exactly world-class programming, and could use some error checking. I'll provide the contents here with a warning that although it works fine for me, it's not exactly the best piece of work out there, just a quickly-hacked-together program, as are most things in this shop because of time constraints. --------------- #!/usr/bin/perl $username=($ARGV[0]); $file="~$username/.qmail"; system("echo ./Maildir/>$file"); system("/usr/bin/qmail/maildirmake ~$username/Maildir"); system("chown $username.popusers ~$username/.qmail"); system("chown -R $username.popusers ~$username/Maildir"); exit(0); ----------------- And before everyone flames me for abominable coding, I didn't write it, and I have no less than 107 higher-priority projects at the moment. : ) steve
I have just finished installing qmail onto a machine running AIX 4.3. Everything seems to be working well, except for some aliases I have set up. I need emails to particular addresses to be piped into a script which generates a page. So, I have the following file setup: /var/qmail/alias/.qmail-page-ehallick which contains: |/home/page/ehallick/page.sh When I send an email to page-ehallick@domain, it sends the message to the script and generates the page, but it doesn't seem to remove the file from the queue directories and keeps on delivering the file over and over. So, I'll end up getting the same page about every minute or so until I manually delete the files from queue directories. Does anyone know what I'm doing wrong? What do I need to do to have qmail deliver the message to the script once and then stop? Any help would be greatly appreciated! Erick Hallick Director, Information Systems and Services CPM Corporation - http://www.cpm.com Email: [EMAIL PROTECTED] Phone: (608) 236-0475 x30 FAX: (608) 236-0485
> I have just finished installing qmail onto a machine running AIX 4.3. > Everything seems to be working well, except for some aliases I have set > up. I need emails to particular addresses to be piped into a script which > generates a page. So, I have the following file setup: > > /var/qmail/alias/.qmail-page-ehallick > > which contains: > > |/home/page/ehallick/page.sh > > When I send an email to page-ehallick@domain, it sends the message to the > script and generates the page, but it doesn't seem to remove the file from > the queue directories and keeps on delivering the file over and over. Is your script returning a "success" error code (0)? If not, then (if I recall), qmail will have no option but to assume that it was *not* delivered succesfully, so it will keep trying until it times out. steve
> Is your script returning a "success" error code (0)? That should, of course, be "result code". That's what I get for answering when I haven't slept much. : ) steve
You guys nailed it. I added "exit 0" to the end of my csh script and it's working like a champ now. Thanks! Erick > I have just finished installing qmail onto a machine running AIX 4.3. > Everything seems to be working well, except for some aliases I have set > up. I need emails to particular addresses to be piped into a script which > generates a page. So, I have the following file setup: > > /var/qmail/alias/.qmail-page-ehallick > > which contains: > > |/home/page/ehallick/page.sh > > When I send an email to page-ehallick@domain, it sends the message to the > script and generates the page, but it doesn't seem to remove the file from > the queue directories and keeps on delivering the file over and over.
Dear Friends (again), Well, I compiled again the qmail and when I executed the ./config for check my configuration, it show this: Your hostname is pegasus. Your host's fully qualified name in DNS is ol33-106.openlink.com.br. Putting ol33-106.openlink.com.br into control/me... Putting openlink.com.br into control/defaultdomain... Putting com.br into control/plusdomain... Checking local IP addresses: 127.0.0.1: Adding localhost to control/locals... 192.168.1.1: PTR lookup failed. I assume this address has no DNS name. 192.168.3.1: PTR lookup failed. I assume this address has no DNS name. 200.188.33.106: Adding ol33-106.openlink.com.br to control/locals... If there are any other domain names that point to you, you will have to add them to /var/qmail/control/locals. You don't have to worry about aliases, i.e., domains with CNAME records. Copying /var/qmail/control/locals to /var/qmail/control/rcpthosts... Now qmail will refuse to accept SMTP messages except to those hosts. Make sure to change rcpthosts if you add hosts to locals or virtualdomains! Now, I Ask. There are some errors on this compilation, or not? Frederiko Costa Rio de Janeiro - Brazil
Marcos dos santos Costa wrote: > > Dear Friends (again), > > Well, I compiled again the qmail and when I executed the ./config for check my >configuration, it show this: > > Your hostname is pegasus. > Your host's fully qualified name in DNS is ol33-106.openlink.com.br. > Putting ol33-106.openlink.com.br into control/me... > Putting openlink.com.br into control/defaultdomain... > Putting com.br into control/plusdomain... > > Checking local IP addresses: > 127.0.0.1: Adding localhost to control/locals... > 192.168.1.1: PTR lookup failed. I assume this address has no DNS name. > 192.168.3.1: PTR lookup failed. I assume this address has no DNS name. > 200.188.33.106: Adding ol33-106.openlink.com.br to control/locals... > > If there are any other domain names that point to you, > you will have to add them to /var/qmail/control/locals. > You don't have to worry about aliases, i.e., domains with CNAME records. > > Copying /var/qmail/control/locals to /var/qmail/control/rcpthosts... > Now qmail will refuse to accept SMTP messages except to those hosts. > Make sure to change rcpthosts if you add hosts to locals or virtualdomains! > > Now, I Ask. There are some errors on this compilation, or not? This looks in order to me... -Stephen-
try to do ./config-fast yourhost.dname.top ----- Original Message ----- From: Stephen F. Bosch <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Tuesday, April 18, 2000 7:40 PM Subject: Re: Compilation Marcos dos santos Costa wrote: > > Dear Friends (again), > > Well, I compiled again the qmail and when I executed the ./config for check my configuration, it show this: > > Your hostname is pegasus. > Your host's fully qualified name in DNS is ol33-106.openlink.com.br. > Putting ol33-106.openlink.com.br into control/me... > Putting openlink.com.br into control/defaultdomain... > Putting com.br into control/plusdomain... > > Checking local IP addresses: > 127.0.0.1: Adding localhost to control/locals... > 192.168.1.1: PTR lookup failed. I assume this address has no DNS name. > 192.168.3.1: PTR lookup failed. I assume this address has no DNS name. > 200.188.33.106: Adding ol33-106.openlink.com.br to control/locals... > > If there are any other domain names that point to you, > you will have to add them to /var/qmail/control/locals. > You don't have to worry about aliases, i.e., domains with CNAME records. > > Copying /var/qmail/control/locals to /var/qmail/control/rcpthosts... > Now qmail will refuse to accept SMTP messages except to those hosts. > Make sure to change rcpthosts if you add hosts to locals or virtualdomains! > > Now, I Ask. There are some errors on this compilation, or not? This looks in order to me... -Stephen-
Is there a way to check when a qmail-qpop user (Maildir format) last checked their email? Is there a timestamp left anywhere? Thanks, Jose de Leon System Administrator InVision Telecommunications (209) 549-8800
Jose de Leon writes: > Is there a way to check when a qmail-qpop user (Maildir format) last checked > their email? Is there a timestamp left anywhere? Sort-of, but not really. You could check the read timestamp on .../cur, but that's not really reliable. Look at what qmail-popbull does, which is to touch a timestamp file. -- -russ nelson <[EMAIL PROTECTED]> http://russnelson.com Crynwr sells support for free software | PGPok | "Ask not what your country 521 Pleasant Valley Rd. | +1 315 268 1925 voice | can force other people to Potsdam, NY 13676-3213 | +1 315 268 9201 FAX | do for you..." -Perry M.
What exactly do you mean by "not really reliable"? Do you mean sometimes the cur dir timestamps and sometimes it doesn't? Or do you mean that the timestamp itself may be off a few minutes? If it is off a few minutes, I can work with that. If it sometimes doesn't timestamp, what situations would cause it not to timestamp, or is it a bug? Thanks, Jose de Leon System Administrator InVision Telecommunications (209) 549-8800 ----- Original Message ----- From: Russell Nelson <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, April 18, 2000 1:05 PM Subject: Re: Check timestamps Jose de Leon writes: > Is there a way to check when a qmail-qpop user (Maildir format) last checked > their email? Is there a timestamp left anywhere? Sort-of, but not really. You could check the read timestamp on .../cur, but that's not really reliable. Look at what qmail-popbull does, which is to touch a timestamp file. -- -russ nelson <[EMAIL PROTECTED]> http://russnelson.com Crynwr sells support for free software | PGPok | "Ask not what your country 521 Pleasant Valley Rd. | +1 315 268 1925 voice | can force other people to Potsdam, NY 13676-3213 | +1 315 268 9201 FAX | do for you..." -Perry M.
From: "Jose de Leon" <[EMAIL PROTECTED]> Date: Tue, 18 Apr 2000 13:24:47 -0700 What exactly do you mean by "not really reliable"? Do you mean sometimes the cur dir timestamps and sometimes it doesn't? Or do you mean that the timestamp itself may be off a few minutes? If it is off a few minutes, I can work with that. I think he means that it is too easy to update the access timestamp by accident, e.g. by doing a backup. -- Bob Rogers
After processing mail log files with matchup, i'm trying to see more detailed pictures of the logs with /usr/local/qmailanalog/bin z* and x* scripts if my log after processing with matchup is 15apr.log, the following would work? (i try to keep results in "mysend" file): < 15apr.log /usr/local/qmailanalog/bin/zsenders > mysend The only output i could obtain was with zoverall script: a general report, < 1-15abr00.log /usr/local/qmailanalog/bin/zoverall >general But i would need senders, recipients, etc Please anyone could post usage of zscripts and xscripts? (or mail me directly if it's not of general interest) Thanks in advance regards, -------------------------------------------------------------------- Abel Lucano DeCode SA e-mail: [EMAIL PROTECTED] Av Independencia 1355 1A [EMAIL PROTECTED] Buenos Aires-Argentina TE/FAX: +5411 43831161
In testing my senmail config, I follow the steps documented in TEST.deliver with the following results: 1. When I send to a local user from the root account via the "echo to: me | /var/qmail/bin/qmail-inject" command, I see the success message in the /var/loq/qmail dir log file. But, when I log into the machine as that user and type the mail command, the response is " no mail for user". 2. When I send to my hotmail account via "echo to: [EMAIL PROTECTED] | /var/qmail/bin/qmail-inject", account I see an empty message in my hotmail account. But when I send to my account at my employer (at work) from my new qmail box at home (on separate domain)via the " echo to: [EMAIL PROTECTED] | /var/qmail/bin/qmail-inject" command, I don't receive the test message from my lotus notes client (at work). This is probably the answer to #2 but I'm not sure: I can traceroute from the qmail box to 'hotmail.com' but the traceroute to 'candle.com' fails to finish. All I see is a repeated "***". Prior to running the test, I converted to Maildir from mailbox and changed the rc file to reflect this as well as run: %maildirmake $HOME/Maildir AND %maildirmake $HOME/Maildir in existing user's directory To the Point, aside from the traceroute issue why can i not see the message in my user's system acount when I type the '%mail' command? Am I overlooking something? My ultimate goal is to: ALLOW POP MAIL CLIENTS (WIN98) TO SEND /RECEIVE MAIL USING THE QMAIL SERVER I'm getting closer and would appreaciate any help that anyone can give. --Tim
I am unable to receive mail from outside of the local machine. Internal works fine, any suggestions. Log shows: @4000000038fcda11227c25dc delivery 1182: deferral: Unable_to_chdir_to_maildir._( #4.2.1)/ @4000000038fcda11227c54bc status: local 0/10 remote 0/20 @4000000038fcda2e21ebd0a4 starting delivery 1183: msg 226713 to local user@ host.net Thanks, Ben Anderson
Peter van Dijk wrote: > On Mon, Apr 17, 2000 at 07:08:39PM -0400, Len Budney wrote: > > "Luis Bezerra" <[EMAIL PROTECTED]> wrote: > > > [edited out] > > Or are you an autoresponder? If so, are you available under the GPL? > > Maybe I can run you from procmail, to annoy people who annoy me. > > If not GPL, then we'll just reverse-engineer him and open the source up > anyway :) ROTFL
I'm looking for some real life experiences/opinions on a web interface that reads mail directly from Maildir. I'm interested in offering a web interface for my customers. I'm running qmail 1.03 with the pop3d daemon. Any opinions would be greatly appreciated. Sincerely, Travis Leuthauser Network Administrator DDS Group Ph: (225) 667-4992 Fax: (225) 667-4312
sqwebmail is good stuff. www.inter7.com/sqwebmail ----- Original Message ----- From: "Travis Leuthauser" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, April 18, 2000 2:18 PM Subject: WebMail > I'm looking for some real life experiences/opinions on a web interface that > reads mail directly from Maildir. I'm interested in offering a web > interface for my customers. I'm running qmail 1.03 with the pop3d daemon. > Any opinions would be greatly appreciated. > > Sincerely, > > Travis Leuthauser > Network Administrator > DDS Group > Ph: (225) 667-4992 > Fax: (225) 667-4312 >
On Tue, Apr 18, 2000 at 04:18:28PM -0500, Travis Leuthauser wrote: > I'm looking for some real life experiences/opinions on a web interface that > reads mail directly from Maildir. I'm interested in offering a web > interface for my customers. I'm running qmail 1.03 with the pop3d daemon. > Any opinions would be greatly appreciated. You could try oMail-webmail : http://webmail.omnis.ch (then click on the About link) Greetings, Olivier
When testing reciving mail as documented in TEST.receive, I follow the steps as follows but when I log in to the user's account and type the '$mail' command I receive "no mail for user" : . SMTP server test: Forge some mail locally via SMTP. Replace ``me'' with your username and ``domain'' with your host's name. % telnet 127.0.0.1 25 Trying 127.0.0.1... Connected to 127.0.0.1. Escape character is '^]'. 220 domain ESMTP helo dude 250 domain mail <me@domain> 250 ok rcpt <me@domain> 250 ok data 354 go ahead Subject: testing This is a test. . 250 ok 812345679 qp 12345 quit 221 domain Connection closed by foreign host. % My original message follows: In testing my senmail config, I follow the steps documented in TEST.deliver with the following results: 1. When I send to a local user from the root account via the "echo to: me | /var/qmail/bin/qmail-inject" command, I see the success message in the /var/loq/qmail dir log file. But, when I log into the machine as that user and type the mail command, the response is " no mail for user". 2. When I send to my hotmail account via "echo to: [EMAIL PROTECTED] | /var/qmail/bin/qmail-inject", account I see an empty message in my hotmail account. But when I send to my account at my employer (at work) from my new qmail box at home (on separate domain)via the " echo to: [EMAIL PROTECTED] | /var/qmail/bin/qmail-inject" command, I don't receive the test message from my lotus notes client (at work). This is probably the answer to #2 but I'm not sure: I can traceroute from the qmail box to 'hotmail.com' but the traceroute to 'candle.com' fails to finish. All I see is a repeated "***". Prior to running the test, I converted to Maildir from mailbox and changed the rc file to reflect this as well as run: %maildirmake $HOME/Maildir AND %maildirmake $HOME/Maildir in existing user's directory To the Point, aside from the traceroute issue why can i not see the message in my user's system acount when I type the '%mail' command? Am I overlooking something? My ultimate goal is to: ALLOW POP MAIL CLIENTS (WIN98) TO SEND /RECEIVE MAIL USING THE QMAIL SERVER I'm getting closer and would appreaciate any help that anyone can give. --Tim
From: [EMAIL PROTECTED] Date: Tue, 18 Apr 2000 14:02:06 -0700 When testing reciving mail as documented in TEST.receive, I follow the steps as follows but when I log in to the user's account and type the '$mail' command I receive "no mail for user" . . . Quoting TEST.receive here is not useful; all we need to know is that the telnet session was successful. My original message follows: In testing my senmail config, I follow the steps documented in TEST.deliver with the following results: 1. When I send to a local user from the root account via the "echo to: me | /var/qmail/bin/qmail-inject" command, I see the success message in the /var/loq/qmail dir log file. But, when I log into the machine as that user and type the mail command, the response is " no mail for user". Probably because mail is looking in the wrong place (since you state below that you are using ~/Maildir/ delivery). Or, it might not have been delivered; what do the logs say? 2. When I send to my hotmail account via "echo to: [EMAIL PROTECTED] | /var/qmail/bin/qmail-inject", account I see an empty message in my hotmail account. But when I send to my account at my employer (at work) from my new qmail box at home (on separate domain)via the " echo to: [EMAIL PROTECTED] | /var/qmail/bin/qmail-inject" command, I don't receive the test message from my lotus notes client (at work). Again, is it still in the queue? What do the logs say? This is probably the answer to #2 but I'm not sure: I can traceroute from the qmail box to 'hotmail.com' but the traceroute to 'candle.com' fails to finish. All I see is a repeated "***". No, this just means one of the routers/firewalls along the way filters out ICMP packets. Prior to running the test, I converted to Maildir from mailbox and changed the rc file to reflect this as well as run: %maildirmake $HOME/Maildir AND %maildirmake $HOME/Maildir in existing user's directory Eh? In any case, "mail" is about as primitive an MUA as you could find. You're better off using ls & cat -- especially with maildirs! (Which you will need for POP anyway.) -- Bob Rogers
Hi I have just installed qmail + vpopmail, I have also configured the roaming users capability (at least tryed to ;), the virtual pop mail works, I created a virtual domain, I can send email to it and receive via the pop-server, one of the problems I have is that I cannot access mail for users in the /etc/passwd file, I would like to have to type of users virtual pop users and users in the /etc/passwd file. Another thing that dosent seem to work is the roaming-users thing, when I correctly authentificate with the pop server I cannot send mail through my SMTP server, is there a way to check the cdb database?. Any help would be appreciated. :) Mario e-Mail : [EMAIL PROTECTED]
Not tested. May provoke unpleasent censure. Use at own risk. > > > open (LIST,"/home/justin/www/cgi-bin/lovely_people.list"); > > > foreach (<LIST>) { > > > #send mail to "$_" > > > } > > 2)this list has about 1000 people, and it takes more than a couple minutes > > for perl to go through that all,making my program look like its hanging There's always fork and goto GLADTHATSOVER close STDOUT; open (LIST,"/home/justin/www/cgi-bin/lovely_people.list"); foreach (<LIST>) { #send mail to "$_" } exit; GLADTHATSOVER: And since you've now got all the time you need to process the list, you can even save bandwidth by arranging them by destination host and invoking qmail-remote directly: %Recipients=(); while(<LIST>){ my($name,$host) = m/^\s*([^@]+)\@([^@]+)\s*\Z/ or next; $Recipients{$host} = [ $name.'@'.$host, @{$Recipients{$host}}]; }; for(keys %Recipents){ $/ = "\0"; #match qmail-remote's idea of how to end a report item open QR,"/var/qmail/bin/qmail-remote $_ justin\@summerspam.com @{$Recipients{$_}}<lovelymessage|"; while(<QR>){ $This = shift @{$Recipients{$_}}; next if $This =~ m/^K/; # delivery successful # otherwise, queue it up for later system"/var/qmail/bin/qmail-inject -r -fjustin\@summerspam.com $This<lovelymessage|"; }; }; Good lord! I'm instructing the world how to send thousands of e-mails from within a CGI! Please use this for good and not for evil! I'd better insert some tactical syntactic problems... While we're at it, would anyone like some blue prints for atomic weapons?
what it means when i compile qmail with make setup check:./load auto-uid substdio.a error.a str.a fs.a
./compile auto-gid.c
auto-gid.c: In function `main':
auto-gid.c:20: warning: return type of `main' is not `int'
./load auto-gid substdio.a error.a str.a fs.a...................qmail-start.c: In function `main':
qmail-start.c:31: warning: return type of `main' is not `int'..........*Thanks.....................
what it means when i compile qmail with make setup check:./load auto-uid substdio.a error.a str.a fs.a
./compile auto-gid.c
auto-gid.c: In function `main':
auto-gid.c:20: warning: return type of `main' is not `int'
./load auto-gid substdio.a error.a str.a fs.a................... in the complete proccess...........qmail-start.c: In function `main':
qmail-start.c:31: warning: return type of `main' is not `int'..........*it's really an error main is not int and what ?Thanks..................... mike
I have posted the same question in the past. Apparently it is not an error. Nothing to worry about. If you need a technical explanation you will find it in the archives as their was much discussion as the result of my post. Kristina At 02:04 00/04/19 +0200, you wrote: > > what it means when i compile qmail with make setup check: > > ./load auto-uid substdio.a error.a str.a fs.a > ./compile auto-gid.c > auto-gid.c: In function `main': > auto-gid.c:20: warning: return type of `main' is not `int' > ./load auto-gid substdio.a error.a str.a fs.a > ................... in the complete proccess........... > qmail-start.c: In function `main': > qmail-start.c:31: warning: return type of `main' is not `int' > > ..........*it's really an error main is not int and what ? > > Thanks..................... mike
On Wed, Apr 19, 2000 at 09:22:39AM +0900, Kristina wrote: > I have posted the same question in the past. Apparently it is not an error. > Nothing to worry about. If you need a technical explanation you will > find it in the archives as their was much discussion as the result of my post. In short: some C standard requires that the return type of main is int (silly requirement IMHO), and newer gcc's (among others) give warnings for that. Please do not start a discussion about this here. Greetz, Peter. -- Peter van Dijk - student/sysadmin/ircoper/madly in love/pretending coder | | 'C makes it easy to shoot yourself in the foot; | C++ makes it harder, but when you do it blows your whole leg off.' | Bjarne Stroustrup, Inventor of C++
Hi there, I have a successfully running qmail setup. However I initially used mbox (/Mailbox) configuration. Since it is not necessary for our users to use MUA's on the server itself (All access is via POP) I decided to use './Maildir/' and changed everything accordingly. During my initial tests I had no forwarding set up for '~/alias/.qmail-postmaster' or '~alias/.qmail-root'. Any mail to these accounts placed the mail in 'mbox' format under the '~/alias' directory. However after changing to './Maildir/' these E-Mail messages were no longer stored here. Where do I set up the '/Maildir/' directory for these addresses? I tried setting up a /Maildir under '~/alias' but mail to the above accounts did not show up. What should the own/grp permissions be for the '/Maildir'. It is not fatal at the moment as I have set up the .qmail files to forward mail to a user on the system but I would like the '/Maildir' to exist for capturing any mail that I may 'forget' to set up forwarding for. Anthony -- -------------------------------------------------------------------- Movielink Pty Ltd E-Mail technical: [EMAIL PROTECTED] 8-10 River Street E-Mail Sales : [EMAIL PROTECTED] Richmond, Victoria 3121 Ph : +(61) 3 9428 8088 Australia FAX : +(61) 3 9429 5918 --------------------------------------------------------------------
On Wed, Apr 19, 2000 at 10:13:36AM -0700, Anthony White wrote: > Hi there, > > I have a successfully running qmail setup. However I initially > used mbox (/Mailbox) configuration. Since it is not > necessary for our users to use MUA's on the server > itself (All access is via POP) I decided to use './Maildir/' > and changed everything accordingly. > > During my initial tests I had no forwarding set up for > '~/alias/.qmail-postmaster' or '~alias/.qmail-root'. > > Any mail to these accounts placed the mail in 'mbox' format > under the '~/alias' directory. However after changing to > './Maildir/' these E-Mail messages were no longer stored here. > > Where do I set up the '/Maildir/' directory for these addresses? The logs should show you what delivery is being made for those addresses, what do they show? Are they delivering or are they failing to deliver and sitting in the queue? Generally speaking, they will deliver to ./Maildir in ~alias - when you made the Maildir, did you make sure that it and the subdirs are all owned by alias? Regards.
[EMAIL PROTECTED] wrote: > On Wed, Apr 19, 2000 at 10:13:36AM -0700, Anthony White wrote: > > During my initial tests I had no forwarding set up for > > '~/alias/.qmail-postmaster' or '~alias/.qmail-root'. > > > > Any mail to these accounts placed the mail in 'mbox' format > > under the '~/alias' directory. However after changing to > > './Maildir/' these E-Mail messages were no longer stored here. > > > > Where do I set up the '/Maildir/' directory for these addresses? > > The logs should show you what delivery is being made for those addresses, > what do they show? Are they delivering or are they failing to deliver > and sitting in the queue? Until I set up forwarding to the system admin they sat in the queue as far as I remember. Before setting default delivery to '/Maildir/' format they did appear in the '~/alias' directory. > Generally speaking, they will deliver to ./Maildir in ~alias - when > you made the Maildir, did you make sure that it and the subdirs are all > owned by alias? As I asked in the posting, what should the GRP and OWN be st to for the ~/alias/Maildir ? You mention 'alias for the owner, what about the GRP ? Generated during install.... -rw-r--r-- 1 alias nofiles 6 Aug 21 1999 .qmail-bin -rw-r--r-- 1 alias nofiles 6 Aug 21 1999 .qmail-nobody -rw-r--r-- 1 alias nofiles 6 Aug 21 1999 .qmail-operator -rw-r--r-- 1 alias nofiles 6 Aug 21 1999 .qmail-system My entries... -rw-rw-r-- 1 root qmail 10 Apr 13 10:25 .qmail-root -rw-rw-r-- 1 root qmail 10 Apr 13 10:25 .qmail-test -rw-rw-r-- 1 root qmail 10 Apr 13 10:24 .qmail-postmaster -rw-rw-r-- 1 root qmail 10 Apr 13 10:25 .qmail-mailer-daemon Should 'root' own the 4 last in the list or should they be owened by 'alias' ? What about the group 'qmail' ? There are several more with 'grp' 'nofiles' but I have cut the list down for clarity. They were created during install from the '/etc/alias' file. Regards Anthony -- -------------------------------------------------------------------- Movielink Pty Ltd E-Mail technical: [EMAIL PROTECTED] 8-10 River Street E-Mail Sales : [EMAIL PROTECTED] Richmond, Victoria 3121 Ph : +(61) 3 9428 8088 Australia FAX : +(61) 3 9429 5918 --------------------------------------------------------------------
On Wed, Apr 19, 2000 at 10:45:47AM -0700, Anthony White wrote: > > The logs should show you what delivery is being made for those addresses, > > what do they show? Are they delivering or are they failing to deliver > > and sitting in the queue? > > Until I set up forwarding to the system admin they sat in the queue > as far as I remember. Before setting default delivery to '/Maildir/' > format they did appear in the '~/alias' directory. Well, the log files would be definitive on this matter. You could turn off the forwarding for a while and see what happens. > > Generally speaking, they will deliver to ./Maildir in ~alias - when > > you made the Maildir, did you make sure that it and the subdirs are all > > owned by alias? > > As I asked in the posting, what should the GRP and OWN be st to for > the ~/alias/Maildir ? You mention 'alias for the owner, what about the > GRP ? Qmail delivers them as the user alias, so if alias can write into those directories, then everything is fine. There is no magic in the groups. > My entries... > > -rw-rw-r-- 1 root qmail 10 Apr 13 10:25 .qmail-root > -rw-rw-r-- 1 root qmail 10 Apr 13 10:25 .qmail-test > -rw-rw-r-- 1 root qmail 10 Apr 13 10:24 .qmail-postmaster > -rw-rw-r-- 1 root qmail 10 Apr 13 10:25 .qmail-mailer-daemon > > Should 'root' own the 4 last in the list or should they be owened by 'alias' > ? As a rule I try and have the user of the alias files be the owner, but if Unix lets the user alias read those files, then it's ok. In this case since you have a=r you are fine. To test for sure, su to alias and try and read them with cat or more or somesuch. Regards.
[EMAIL PROTECTED] wrote: > On Wed, Apr 19, 2000 at 10:45:47AM -0700, Anthony White wrote: > > Well, the log files would be definitive on this matter. You could > turn off the forwarding for a while and see what happens. I guess I could try sending mail to these to check... > Qmail delivers them as the user alias, so if alias can write into those > directories, then everything is fine. There is no magic in the groups. I have just chown'ed all files in '~/alias' to qmail. See the ls -la listing for the directory below. The 'sticky' bit is set. drwxr-sr-x 2 alias qmail 1024 Apr 13 10:56 . drwxr-xr-x 12 root qmail 1024 Apr 13 14:20 .. > > -rw-rw-r-- 1 root qmail 10 Apr 13 10:25 .qmail-root > > Should 'root' own the 4 last in the list or should they be owened by 'alias' > > ? > > As a rule I try and have the user of the alias files be the owner, but > if Unix lets the user alias read those files, then it's ok. In this case > since you have a=r you are fine. > > To test for sure, su to alias and try and read them with cat or more > or somesuch. > What would the password for su alias be? Regards Anthony -- -------------------------------------------------------------------- Movielink Pty Ltd E-Mail technical: [EMAIL PROTECTED] 8-10 River Street E-Mail Sales : [EMAIL PROTECTED] Richmond, Victoria 3121 Ph : +(61) 3 9428 8088 Australia FAX : +(61) 3 9429 5918 --------------------------------------------------------------------
My local deliver to postmaster/root/mailer-daemon isnt working either, now that i check it.. Here's the info. This machine is running vmailmgrd and is working perfectly. Neither mail delivered to postmaster@ the local machine name, or at the virtual domain are being delivered. :/var/qmail/alias$ ls -la total 6 drwxr-sr-x 3 alias qmail 1024 Apr 18 19:17 ./ drwxr-xr-x 10 root qmail 1024 Jan 1 1997 ../ -rw-r--r-- 1 root qmail 11 Apr 18 19:26 .qmail-mailer-daemon -rw-r--r-- 1 root qmail 11 Apr 18 19:26 .qmail-postmaster -rw-r--r-- 1 root qmail 11 Apr 18 19:26 .qmail-root -rw------- 1 root qmail 0 Jun 24 1999 Mailbox drwxr-xr-x 5 root qmail 1024 Apr 18 19:17 Maildir/ :/var/qmail/alias$ ls -lr Maildir total 3 drwx--S--- 2 root qmail 1024 Apr 18 19:17 tmp/ drwx--S--- 2 root qmail 1024 Apr 18 19:17 new/ drwx--S--- 2 root qmail 1024 Apr 18 19:17 cur/ [ekool@nivenh][date:Tue Apr 18][time:19:31:15] :/var/qmail/alias$ cat .qmail* ./Mailbox/ ./Mailbox/ ./Mailbox/ And from the log files... Apr 18 19:33:27 nivenh qmail: 956108007.758396 starting delivery 1140003: msg 225318 to local [EMAIL PROTECTED] Apr 18 19:33:27 nivenh qmail: 956108007.819392 delivery 1140003: deferral: Unable_to_chdir_to_maildir._(#4.2.1)/ I must have the permissions wrong on the Maildir, but i've changed them. I've also changed the contents of the alias files to reflect ./Maildir instead of ./Mailbox to no avail. _ __ _____ __ _________ ______________ /_______ ___ ____ /______ John Gonzalez/Net.Tech __ __ \ __ \ __/_ __ `__ \/ __ /_ ___/ MDC Computers/netMDC! _ / / / `__/ /_ / / / / / / /_/ / / /__ (505)437-7600/fax-437-3052 /_/ /_/\___/\__/ /_/ /_/ /_/\__,_/ \___/ http://www.netmdc.com [---------------------------------------------[system info]-----------] 7:30pm up 85 days, 2:27, 3 users, load average: 0.14, 0.16, 0.16
John Gonzalez/netMDC admin wrote: > My local deliver to postmaster/root/mailer-daemon isnt working either, now > that i check it.. For easy checking you can create a test name that is not used on your system I have set up '.qmail-test' and put "&sys_admin_name" in the file to re-direct messages. I gues you can 'play' with this for test purposes, I will now... > :/var/qmail/alias$ ls -lr Maildir > total 3 > drwx--S--- 2 root qmail 1024 Apr 18 19:17 tmp/ > drwx--S--- 2 root qmail 1024 Apr 18 19:17 new/ > drwx--S--- 2 root qmail 1024 Apr 18 19:17 cur/ > > [ekool@nivenh][date:Tue Apr 18][time:19:31:15] > :/var/qmail/alias$ cat .qmail* > ./Mailbox/ > ./Mailbox/ > ./Mailbox/ > > And from the log files... > > Apr 18 19:33:27 nivenh qmail: 956108007.758396 starting delivery 1140003: > msg 225318 to local [EMAIL PROTECTED] > Apr 18 19:33:27 nivenh qmail: 956108007.819392 delivery 1140003: deferral: > Unable_to_chdir_to_maildir._(#4.2.1)/ > > I must have the permissions wrong on the Maildir, but i've changed them. > I've also changed the contents of the alias files to reflect ./Maildir > instead of ./Mailbox to no avail. -- -------------------------------------------------------------------- Movielink Pty Ltd E-Mail technical: [EMAIL PROTECTED] 8-10 River Street E-Mail Sales : [EMAIL PROTECTED] Richmond, Victoria 3121 Ph : +(61) 3 9428 8088 Australia FAX : +(61) 3 9429 5918 --------------------------------------------------------------------
Hey guys, I worked it out, very simple... Log in as root. Create the following: (where '~/' is your qmail directory, usually /var/qmail) '~/alias/Maildir' '~/alias/Maildir/cur' '~/alias/Maildir/new' '~/alias/Maildir/tmp' 'chown -R alias /var/qmail/alias/Maildir' 'chgrp -R qmail /var/qmail/alias/Maildir' 'chmod -R 700 /var/qmail/alias/Maildir' Now the mail directory and its sub directories are all owned by 'alias'. The group ownership is set to 'qmail'. Maybe this does not matter as the permissions are set to allow access for owner use only. Also make sure that the '.qmail-xyz' files are owned by 'alias' and the group ownership is 'qmail' for the ones you set up. (Do not change the ones that the install created from the '/etc/alias' file) Now you can set up the content of the '.qmail-xyz' file. In my example the file is '.qmail-test'. The file should contain "./Maildir/" (Without the quotes) and nothing else. If you want '.qmail-test' to redirect to a user then change the content to "&[EMAIL PROTECTED]" (Or just "&user_name" if local) again without the quotes. I have just tested it out and it works fine. I think that my main problem was using 'maildirmake' to create a '/Maildir' which created it under the '/root' directory. Qmail will not deliver to the 'root' account. Copying '/Maildir' to '~/alias/Maildir also failed to allow the mail to be put into the '~/alias/Maildir/new' due to the ownership being root. Lastly the '.qmail-test' was also owned by 'root' which I think also stops delivery to the '/Maildir' under '~/alias' Sending mail to '[EMAIL PROTECTED]' now puts the mail in the '~/alias/Maildir' directory. -*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*- On an other note: Does anyone know how to set up qmail pop to get the mail from the '~/alias/Maildir' "account". I would like to be able to check this "account" as if it is a 'normal' account, (With Netscape) without having an account set up on the Linux box. What about a password for access? Best regards Anthony -- -------------------------------------------------------------------- Movielink Pty Ltd E-Mail technical: [EMAIL PROTECTED] 8-10 River Street E-Mail Sales : [EMAIL PROTECTED] Richmond, Victoria 3121 Ph : +(61) 3 9428 8088 Australia FAX : +(61) 3 9429 5918 --------------------------------------------------------------------
next quest:
after fine compiling, with the nice howto from: http://web.infoave.net/~dsill/lwq.html
if have installed qmail. (after much confusing of differents howtos). Now first quest beginn:
I installed the script what i found to put qmail into daemontools / service loader. It look like
qmaildir:
-rwxr-xr-x 1 root root 221 Apr 19 01:41 rc
drwxr-xr-x 4 root root 1024 Apr 19 02:15 supervise
drwxr-xr-x 2 root qmail 1024 Apr 19 01:34 users
/qmail/supervise # la
total 4
drwxr-xr-x 4 root root 1024 Apr 19 02:15 .
drwxr-xr-x 11 root qmail 1024 Apr 19 02:22 ..
drwxr-xr-t 4 root root 1024 Apr 19 02:22 qmail-send
drwxr-xr-t 4 root root 1024 Apr 19 02:23 qmail-smtpd
/qmail/supervise/qmail-send # la
total 5
drwxr-xr-t 4 root root 1024 Apr 19 02:22 .
drwxr-xr-x 4 root root 1024 Apr 19 02:15 ..
drwxr-xr-x 3 root root 1024 Apr 19 02:14 log
-rwxr-xr-x 1 root root 32 Apr 19 01:55 run
drwx------ 2 root root 1024 Apr 19 02:59 supervisebut i found no where any example how to make the pop service aviable.....
and now the final: after sucessfull mysql patch: http://www.softagency.co.jp/mysql/qmail2.en.html
it changes these script ?
......thanks again......mike
the POP service shouldnt be run under supervise. It is started on a PER connection basis. You can either use /etc/inetd.conf to load your pop server, or use the (suggested method) and use tcpserver to invoke it. the LWQ web site is probably the best first stop for information. http://web.infoave.net/~dsill/lwq.html What format are you storing your email in? Maildir? If so, qmail-pop3d is reccomended, and the LWQ site should be able to walk you through it. On Wed, 19 Apr 2000, Mike Alexander Sauvain wrote: >but i found no where any example how to make the pop service aviable..... > >and now the final: after sucessfull mysql patch: >http://www.softagency.co.jp/mysql/qmail2.en.html > >it changes these script ? > >......thanks again......mike > > > > > > _ __ _____ __ _________ ______________ /_______ ___ ____ /______ John Gonzalez/Net.Tech __ __ \ __ \ __/_ __ `__ \/ __ /_ ___/ MDC Computers/netMDC! _ / / / `__/ /_ / / / / / / /_/ / / /__ (505)437-7600/fax-437-3052 /_/ /_/\___/\__/ /_/ /_/ /_/\__,_/ \___/ http://www.netmdc.com [---------------------------------------------[system info]-----------] 8:05pm up 85 days, 3:02, 3 users, load average: 0.12, 0.22, 0.19
./run < in services of deamtoolsexec env - PATH="/var/qmail/bin:$PATH" \
> tcpserver 0 110 /var/qmail/bin/qmail-popup host.name.gov \
> /bin/checkpassword /var/qmail/bin/qmail-pop3d Maildir &works, but how i can generate any ouput ?thx .... mike
I am having a really odd problem; qmail keeps deleting my Maildir/cur directory. None of my users have ever had this problem, and I only have this problem on my non-root account. What could be going on? I am using Pine, and I am not sure if that could be the problem or not... frankly I am pretty confused as to what the heck is happening. Any ideas or help would be greatly appreciated. For the record this has happened twice, and I am suspicious of Netscape Messenger, even though I rarely use it (only at school for this account) and I have it configured to leave messages on the server after it downloads them. Thanks. // Ian Shaughnessy // [EMAIL PROTECTED]
On Tue, Apr 18, 2000 at 09:42:14PM -0700, Ian Shaughnessy wrote: > I am having a really odd problem; qmail keeps deleting my Maildir/cur Really? Perhaps it would help if you identified *when* it got deleted. Does it get deleted when new mail arrives, when you start pine when you pop in to get mail, when? Saying "qmail keeps deleting" is not very helpful. > directory. None of my users have ever had this problem, and I only have > this problem on my non-root account. What could be going on? I am using > Pine, and I am not sure if that could be the problem or not... frankly I > am pretty confused as to what the heck is happening. Any ideas or help > would be greatly appreciated. For the record this has happened twice, and > I am suspicious of Netscape Messenger, even though I rarely use it (only > at school for this account) and I have it configured to leave messages on > the server after it downloads them. Thanks. > > > // Ian Shaughnessy > // [EMAIL PROTECTED] > > > >
Thats one of the things.. I am not sure exactly when. Sometime between 11am and 2pm today, that much I can give you, but I have scoured the logs for any hint of when this might be happening and I cant find anything. All I know is when I checked my mail this morning it was all there, but when I checked it this afternoon it wasnt. Quite confusing, definately. and like I said, the log files provided no help what so ever. They all just read like "blah blah mail message delivered successfuly" and when users have logged in. // Ian Shaughnessy // [EMAIL PROTECTED] On Tue, 18 Apr 2000 [EMAIL PROTECTED] wrote: > On Tue, Apr 18, 2000 at 09:42:14PM -0700, Ian Shaughnessy wrote: > > I am having a really odd problem; qmail keeps deleting my Maildir/cur > > Really? > > Perhaps it would help if you identified *when* it got deleted. Does it > get deleted when new mail arrives, when you start pine when you pop in > to get mail, when? > > Saying "qmail keeps deleting" is not very helpful. > > > directory. None of my users have ever had this problem, and I only have > > this problem on my non-root account. What could be going on? I am using > > Pine, and I am not sure if that could be the problem or not... frankly I > > am pretty confused as to what the heck is happening. Any ideas or help > > would be greatly appreciated. For the record this has happened twice, and > > I am suspicious of Netscape Messenger, even though I rarely use it (only > > at school for this account) and I have it configured to leave messages on > > the server after it downloads them. Thanks. > > > > > > // Ian Shaughnessy > > // [EMAIL PROTECTED] > > > > > > > > >
in .qmail-default: /home/user/$EXT/Maildir/ i.e., if I send mail to [EMAIL PROTECTED], mail should go to /home/adam/foo/Maildir/ qmail defers the message: @4000000038fce0c3041b6634 delivery 38: deferral: Unable_to_chdir_to_maildir._(#4.2.1)/
On Wed, Apr 19, 2000 at 01:22:05AM -0400, Adam McKenna wrote: > in .qmail-default: > > /home/user/$EXT/Maildir/ This is assuming this .qmail-default file is in user's homedir. I don't think qmail does variable expansion. I also think you are trusting information from outside users too much. Greetz, Peter. -- Peter van Dijk - student/sysadmin/ircoper/madly in love/pretending coder | | 'C makes it easy to shoot yourself in the foot; | C++ makes it harder, but when you do it blows your whole leg off.' | Bjarne Stroustrup, Inventor of C++
Well, this isn't actually for me. I'm trying to create a workaround to allow an upgrade to qmail 1.03 for a client who is currently using a heavily modded qmail 1.01. (the person who made the modifications is gone, and the current source doesn't compile. nice, huh?) Basically, they don't want to store the .qmail files in the home directory, they want to store them in a directory under the home directory.. So, instead of /home/customer/.qmail-info, they want to do /home/customer/customer/.qmail-info.. (And they have software that is writing the .qmail files to /home/customer/customer instead of /home/customer, and I don't have the source to those either.) So it occured to me that they really didn't need a .qmail file for every user, since the directory names they are delvering to are just $EXT. I figured I could just deliver to /home/customer/$EXT/Maildir/. So, any ideas how I can write a .qmail-default to deliver based on the info in the .qmail files in /home/customer/customer/? --Adam On Wed, Apr 19, 2000 at 07:37:21AM +0200, Peter van Dijk wrote: > On Wed, Apr 19, 2000 at 01:22:05AM -0400, Adam McKenna wrote: > > in .qmail-default: > > > > /home/user/$EXT/Maildir/ > > This is assuming this .qmail-default file is in user's homedir. > > I don't think qmail does variable expansion. > > I also think you are trusting information from outside users too much. > > Greetz, Peter. > -- > Peter van Dijk - student/sysadmin/ircoper/madly in love/pretending coder > | > | 'C makes it easy to shoot yourself in the foot; > | C++ makes it harder, but when you do it blows your whole leg off.' > | Bjarne Stroustrup, Inventor of C++ >
On Wed, 19 Apr 2000, Adam McKenna wrote: > in .qmail-default: > > /home/user/$EXT/Maildir/ > > i.e., if I send mail to [EMAIL PROTECTED], mail should go to > /home/adam/foo/Maildir/ > > qmail defers the message: > @4000000038fce0c3041b6634 delivery 38: deferral: >Unable_to_chdir_to_maildir._(#4.2.1)/ qmail only does variable expansions on lines beginning with a '|' character. Other lines are assumed to be addresses or _exact_ filenames. In your case $EXT is being treated literally and you don't have a directory literally called /home/user/$EXT. The user adam should have a Maildir/ AND he should also have a ~/.qmail-foo file that contains: ./Maildir That will solve the problem. Regards Peter ---------- Peter Samuel [EMAIL PROTECTED] Technical Consultant or at present: eServ. Pty Ltd [EMAIL PROTECTED] Phone: +61 2 9206 3410 Fax: +61 2 9281 1301 "If you kill all your unhappy customers, you'll only have happy ones left"
Never mind, I figured out a way.. tricks with assign. --Adam
On Apr 19 2000, Adam McKenna wrote: > in .qmail-default: > > /home/user/$EXT/Maildir/ Well, you could use something like: | someprogram /home/user/"$EXT"/Maildir/ where someprogram is something that gets its message from stdin and writes it to the maildir given as parameter. BTW, as Peter noticed, one should be very careful with these things, since $EXT is controlled by the remote "adversary". []s, Roger... -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Rogerio Brito - [EMAIL PROTECTED] - http://www.ime.usp.br/~rbrito/ Nectar homepage: http://www.linux.ime.usp.br/~rbrito/opeth/ =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
On Wed, Apr 19, 2000 at 03:31:16AM -0300, Rogerio Brito wrote: > On Apr 19 2000, Adam McKenna wrote: > > in .qmail-default: > > > > /home/user/$EXT/Maildir/ > > Well, you could use something like: > > | someprogram /home/user/"$EXT"/Maildir/ > > where someprogram is something that gets its message from > stdin and writes it to the maildir given as parameter. > > BTW, as Peter noticed, one should be very careful with these > things, since $EXT is controlled by the remote "adversary". Especially now, since $EXT is exposed to at least one level of shell parsing. When it was in /home/user/$EXT/Maildir/, there where no real risks, it's just better to be safe than sorry. In this version, someprogram might just be another shellscript, which means you're doomed unless you do extensive filtering of variables. A ; or | is easily inserted. Greetz, Peter. -- Peter van Dijk - student/sysadmin/ircoper/madly in love/pretending coder | | 'C makes it easy to shoot yourself in the foot; | C++ makes it harder, but when you do it blows your whole leg off.' | Bjarne Stroustrup, Inventor of C++
Hi all, I have this problem of Maildir not working properly. To install qmail, I have followed all the steps listed in Life with qmail site( including Maildir). In the multilog, I am getting the following message when I send a message from root to one user [EMAIL PROTECTED] server1 is our MX. Mailbox delivery is working properly when I tried. Thanks, Madhav @4000000038fd3ea12fc16914 status: local 0/10 remote 0/20 @4000000038fd3f942aba9364 new msg 45086 @4000000038fd3f942abd8164 info msg 45086: bytes 230 from <[EMAIL PROTECTED] st.com> qp 736 uid 0 @4000000038fd3f942aecb36c starting delivery 1: msg 45086 to local [EMAIL PROTECTED] amailtest.com @4000000038fd3f942aee5564 status: local 1/10 remote 0/20 @4000000038fd3f94345d3854 delivery 1: deferral: Unable_to_open_./Maildir:_is_a_d irectory._(#4.2.1)/ @4000000038fd3f94345f092c status: local 0/10 remote 0/20
On Wed, 19 Apr 2000, Madhav wrote: > Hi all, > I have this problem of Maildir not working properly. To install qmail, I > have followed all the steps listed in Life with qmail site( including > Maildir). In the multilog, I am getting the following message when I send a > message from root to one user [EMAIL PROTECTED] server1 is our MX. > Mailbox delivery is working properly when I tried. > > Thanks, > Madhav > > @4000000038fd3ea12fc16914 status: local 0/10 remote 0/20 > @4000000038fd3f942aba9364 new msg 45086 > @4000000038fd3f942abd8164 info msg 45086: bytes 230 from > <[EMAIL PROTECTED] > st.com> qp 736 uid 0 > @4000000038fd3f942aecb36c starting delivery 1: msg 45086 to local > [EMAIL PROTECTED] > amailtest.com > @4000000038fd3f942aee5564 status: local 1/10 remote 0/20 > @4000000038fd3f94345d3854 delivery 1: deferral: > Unable_to_open_./Maildir:_is_a_d > irectory._(#4.2.1)/ > @4000000038fd3f94345f092c status: local 0/10 remote 0/20 The log output above is telling you that qmail-local cannot open Maildir because it is a directory and it is expecting it to be a file. Looks like you left off the trailing / in your qmail-start invocation. If the qmail-lspawn delivery instruction ends with a slash, the default delivery format is assumed to be a Maildir. If there is no slash then the default delivery is assumed to be an mbox. _Regardless_ of the names used. So, does your entry look like this qmail-start ./Maildir # INCORRECT or like this qmail-start ./Maildir/ # CORRECT Regards Peter ---------- Peter Samuel [EMAIL PROTECTED] Technical Consultant or at present: eServ. Pty Ltd [EMAIL PROTECTED] Phone: +61 2 9206 3410 Fax: +61 2 9281 1301 "If you kill all your unhappy customers, you'll only have happy ones left"