qmail Digest 2 Sep 2001 10:00:01 -0000 Issue 1475
Topics (messages 68862 through 68879):
Re: weird failure message
68862 by: Peter van Dijk
Re: Selective relaying & supervise
68863 by: Lukas Beeler
68866 by: Henning Brauer
68868 by: RR
68869 by: Henning Brauer
68870 by: RR
68871 by: Henning Brauer
68872 by: peter green
68873 by: Henning Brauer
402 file missing error
68864 by: Peter Brezny
68865 by: Peter van Dijk
68874 by: Charles Cazabon
Re: qmail failing to deliver to msn.com
68867 by: Steve Linberg
68878 by: Greg White
September in Shanghai - Events Are Now Online
68875 by: Expat Shanghai www.expatsh.com
Re: Should I go for it?
68876 by: Russell Nelson
Logging POP Requests
68877 by: Md. Sifat Ullah Patwary
68879 by: J�rgen Persson
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]
----------------------------------------------------------------------
On Sat, Sep 01, 2001 at 02:56:38AM -0500, David U. wrote: > Hello, > > One of the things I like about qmail is that it tends to let you > know what you are doing wrong when something is wrong. That > said, I got an interesting return from a postmaster in my box > from what looks like a qmail machine however there is no reason > stated why the delivery failed. Maybe you folks could shed some > light on it. Here are the headers that I have: That is most definitely not a qmail failure message. Greetz, Peter -- Monopoly http://www.dataloss.nl/monopoly.html
On Sat, Sep 01, 2001 at 09:36:59AM +0200, RR wrote: > [ a lot of output ] that all seems to be correct for me.. sorry, probably an expert like charles cazabon or henning brauer has a clue why it doesn't work. -- Lukas Beeler <[EMAIL PROTECTED]> GPG Fingerprint: 8030 1C2F 66C5 9D80 AA31 6604 7D4D 0A67 68D8 B67E
On Sat, Sep 01, 2001 at 01:35:35PM +0200, Lukas Beeler wrote: > On Sat, Sep 01, 2001 at 09:36:59AM +0200, RR wrote: > > [ a lot of output ] > > that all seems to be correct for me.. > sorry, probably an expert like charles cazabon or henning brauer has a > clue why it doesn't work. mhy guess is a wrong path in one of the scripts. First step is to determine which one. Show us the output of svstat /service/* and svstat /service/*/log Then we'll know which service (obviously one of the logging ones, so the first command above is just to be sure) doesn't run. Then we can dig into the script and look for the error. -- * Henning Brauer, [EMAIL PROTECTED], http://www.bsws.de * * Roedingsmarkt 14, 20459 Hamburg, Germany * Unix is very simple, but it takes a genius to understand the simplicity. (Dennis Ritchie)
01.09.2001 16:51:35, Henning Brauer <[EMAIL PROTECTED]> kirjutas: >mhy guess is a wrong path in one of the scripts. First step is to determine >which one. Show us the output of > svstat /service/* >and > svstat /service/*/log > >Then we'll know which service (obviously one of the logging ones, so the >first command above is just to be sure) doesn't run. Then we can dig into >the script and look for the error. > There are the outputs: [root@server /root]# svstat /service/* /service/qmail-pop3d: up (pid 999) 58378 seconds /service/qmail-send: up (pid 992) 58378 seconds /service/qmail-smtpd: up (pid 993) 58378 seconds [root@server /root]# svstat /service/*/log /service/qmail-pop3d/log: up (pid 1003) 58509 seconds /service/qmail-send/log: up (pid 26234) 0 seconds /service/qmail-smtpd/log: up (pid 1001) 58509 seconds RR
On Sat, Sep 01, 2001 at 05:30:56PM +0200, RR wrote: > There are the outputs: > /service/qmail-send/log: up (pid 26234) 0 seconds This one is the problem. Show us: ls -la /service/qmail-send/log/ cat /service/qmail-send/log/run cd /service/qmail-send/log; ./run -- * Henning Brauer, [EMAIL PROTECTED], http://www.bsws.de * * Roedingsmarkt 14, 20459 Hamburg, Germany * Unix is very simple, but it takes a genius to understand the simplicity. (Dennis Ritchie)
01.09.2001 18:06:08, Henning Brauer <[EMAIL PROTECTED]> kirjutas: >On Sat, Sep 01, 2001 at 05:30:56PM +0200, RR wrote: >> There are the outputs: >> /service/qmail-send/log: up (pid 26234) 0 seconds > >This one is the problem. Show us: > ls -la /service/qmail-send/log/ > cat /service/qmail-send/log/run > cd /service/qmail-send/log; ./run > [root@server /root]# ls -la /service/qmail-send/log/ total 16 drwxr-xr-x 3 root root 4096 aug 7 20:13 . drwxr-xr-t 4 root root 4096 aug 30 14:16 .. -rwxr-xr-x 1 qmaill root 90 aug 2 12:34 run drwx------ 2 qmaill root 4096 sept 1 18:08 supervise [root@server /root]# cat /service/qmail-send/log/run #!/bin/sh exec /usr/local/bin/setuidgid qmaill /usr/local/bin/multilog t /var/log/qmail [root@server log]# cd /service/qmail-send/log; ./run bash: ./run: No such file or directory [root@server log]# RR
On Sat, Sep 01, 2001 at 06:15:15PM +0200, RR wrote: > [root@server /root]# cat /service/qmail-send/log/run > #!/bin/sh > exec /usr/local/bin/setuidgid qmaill /usr/local/bin/multilog t /var/log/qmail looks fine. > [root@server log]# cd /service/qmail-send/log; ./run > bash: ./run: No such file or directory That's your problem. Unless run can't be executed on the shell supervise won't succeed either. I've sometimes seen the #!/bin/sh not working for reasons not seeable, I guess a non-printable character somewhere. The easiest solution is to delete run and re-type it. And just to be sure check if /var/log/qmail exists and the user qmaill has write permissions to this directory. -- * Henning Brauer, [EMAIL PROTECTED], http://www.bsws.de * * Roedingsmarkt 14, 20459 Hamburg, Germany * Unix is very simple, but it takes a genius to understand the simplicity. (Dennis Ritchie)
* Henning Brauer <[EMAIL PROTECTED]> [010901 12:47]: > > [root@server log]# cd /service/qmail-send/log; ./run > > bash: ./run: No such file or directory > > That's your problem. Unless run can't be executed on the shell supervise > won't succeed either. I've sometimes seen the #!/bin/sh not working for > reasons not seeable, I guess a non-printable character somewhere. Also ensure that the partition on which /service/qmail-send/log resides doesn't have, e.g., noexec turned on (or your OS' equivalent). /pg -- Peter Green : Architekton Internet Services, LLC : [EMAIL PROTECTED] Member.
On Sat, Sep 01, 2001 at 01:37:35PM -0400, peter green wrote: > * Henning Brauer <[EMAIL PROTECTED]> [010901 12:47]: > > > [root@server log]# cd /service/qmail-send/log; ./run > > > bash: ./run: No such file or directory > > > > That's your problem. Unless run can't be executed on the shell supervise > > won't succeed either. I've sometimes seen the #!/bin/sh not working for > > reasons not seeable, I guess a non-printable character somewhere. > > Also ensure that the partition on which /service/qmail-send/log resides > doesn't have, e.g., noexec turned on (or your OS' equivalent). This would affect /service/*, not only this particlular script. -- * Henning Brauer, [EMAIL PROTECTED], http://www.bsws.de * * Roedingsmarkt 14, 20459 Hamburg, Germany * Unix is very simple, but it takes a genius to understand the simplicity. (Dennis Ritchie)
I've got a problem with my qmail install. I've been getting this error message. Mail in local queue: warning: trouble with #402: file does not exist The file was accidentally deleted, and I don't recall it's original location, otherwise, i'd just recreate it. Is there a way to get qmail to rebuild this file? Thanks in advance. Peter Brezny purplecat.net
On Sat, Sep 01, 2001 at 09:26:41AM -0400, Peter Brezny wrote: > I've got a problem with my qmail install. > > I've been getting this error message. > > Mail in local queue: > warning: trouble with #402: file does not exist > > The file was accidentally deleted, and I don't recall it's original > location, otherwise, i'd just recreate it. > > Is there a way to get qmail to rebuild this file? No, it is gone. Remove all other files called '402' from /var/qmail/queue (find /var/qmail/queue -name 402 should help) to get rid of the error. The specific message is lost. Greetz, Peter -- Monopoly http://www.dataloss.nl/monopoly.html
Peter van Dijk <[EMAIL PROTECTED]> wrote: > On Sat, Sep 01, 2001 at 09:26:41AM -0400, Peter Brezny wrote: > > > > Mail in local queue: > > warning: trouble with #402: file does not exist > > > > The file was accidentally deleted, and I don't recall it's original > > location, otherwise, i'd just recreate it. > > > > Is there a way to get qmail to rebuild this file? > > No, it is gone. Remove all other files called '402' from > /var/qmail/queue (find /var/qmail/queue -name 402 should help) to get > rid of the error. The specific message is lost. Note that qmail should be stopped before modifying the queue, and restarted afterwards -- otherwise it may just complain about the other missing files as well. Charles -- ----------------------------------------------------------------------- Charles Cazabon <[EMAIL PROTECTED]> GPL'ed software available at: http://www.qcc.sk.ca/~charlesc/software/ -----------------------------------------------------------------------
On Sat, 1 Sep 2001, Peter van Dijk wrote: > On Fri, Aug 31, 2001 at 09:14:59PM -0400, Steve Linberg wrote: > > > Section E.2 of "Life with Qmail" ("Why can't I send mail to a large site > > with lots of MX's?") suggests that the server might be returning too large > > a response, and refers to the patch to allow bigger DNS packets. I'm just > > about positive I used this patch; the suggested test (sending a message to > > [EMAIL PROTECTED] and seeing if it clears the outbound queue) > > works successfully. > > Hm, that does suggest that you have the patch. But you should be sure, > so check it. (Hi, Peter, and thank you for your response!) Is there another way to check it? I deleted the source tree after building it. I'm really just about positive I did this already, but I don't know any other way to check. Like I said, I did a test mail the the large-mx address and it came back with a "no such user" response from the remote server. > Testing on a BIND 8.2.4 cache, it indeed returns a 931 byte response > for MX msn.com. dnscache is much more sane and only returns 373 bytes, > containing just the MX records. > > Instead of rebuilding qmail, you may want to consider using dnscache > instead of BIND. Urk. That's even worse news, I've spent more time getting BIND to behave than qmail. :P No, I do appreciate your advice. I just cringe at this because I'm not an expert with either BIND/DNS or qmail. Looks like I'll have to become one now. :) Is there anything else I can try before I resort to the rebuilding? -- Steve Linberg, Chief Goblin Silicon Goblin Technologies http://silicongoblin.com Be kind. Remember, everyone you meet is fighting a hard battle.
On Sat, Sep 01, 2001 at 10:57:33AM -0400, Steve Linberg wrote: > (Hi, Peter, and thank you for your response!) > > Is there another way to check it? I deleted the source tree after > building it. I'm really just about positive I did this already, but I > don't know any other way to check. Like I said, I did a test mail the the > large-mx address and it came back with a "no such user" response from the > remote server. I would have thought that the ability to send mail at all to large-mx.ckdhr.com would be a dead giveaway -- that requires TCP for sure -- it's a 747 byte response, even from dnscache. I'm sure with 'additional' records, it's fscking huge. I show msn.com's MX response well within the accepted limits, tho: gregw@frodo:~$ dnsq mx msn.com dns1.sj.msft.net 15 msn.com: 501 bytes, 1+12+0+8 records, response, authoritative, noerror query: 15 msn.com Since I was curious, though, I thought I'd ask a BIND server myself. I did get a _massive_ 801 byte response from a relatively well-known (locally) public BIND cache... Perhaps your best bet _would_ be using dnscache. Do not fear setting up dnscache at all -- I have never installed or configured a simpler setup if all you want is a local cache: 1. download it. 2. untar it. 3. read http://cr.yp.to/djbdns/install.html. All you've really gotta do is create to UIDs and run dnscache-conf, and add one symlink, if you're already running svscan. :) HTH, GW
Title: Expatsh.com
September's Events
are now Online
Just click Here to take a look at what is going on in Shanghai this monthFirework Displays, Fashion Shows, Competitions, Amazing Food Promotions, Opera, Ballet, Fashion Exhibitions, Triathlon, Heineken Open Tennis, NBA All Stars ...... so much to see and do
Please Click Here if you want to add your own Event to Our 'What's Happening' Section
Ever wondered How To Get Married in China? Click Here
How to Open a Bank Account in China? Click Here
How to Get a Driving Licence? Click Here
How to Extend Your Visa? Click Here
How to Get a New Passport? Click Here
What's On Star World, ESPN, CNN and BBC World Tonight? Click to SeeLATEST HEADLINES AROUND THE WORLD - CLICK HERE
Home Page|| Sitemap || A-Z Directory || OASIS Online || In Detail || Calendar of Events || Expat Links || Consulates || Emergency Contact Numbers || Clubs & Associations || Restaurants || Bars || Nightclubs|| Real Estate || Classifieds || Shopping || Art || Theatre || Golf Courses || Theme Parks || Newspapers from Home || Relocating to Shanghai?|| Online Help || Schools || Kindergarten || Universities|| |Markets || Latest Headlines || Newspapers || Live Cams || Lottery ResultsPlease Click Here if you Do Not wish to Receive These E-Mails
Cristopher Daniluk writes: > How do you prevent some guy in North Dakota from getting a webserver in New > Zealand? I'm not going to worry about it. This is just to fetch the page of mirrors. Once he's got the list of mirrors, he will, if he's smart, choose a mirror closer to him. Yes, we could in theory automate this, but that presumes somebody has actually created an accurate mapping of IP addresses to country. Dan's got the beginning of a list, but it's just a beginning. I might go ahead and use it, since it's better than nothing. And anyway, country is only a rough guide. What you'd *really* like to do is have a bit of code running on each mirror which measures a combination of hops and round-trip time. Then you'd enter their class-C network into a table that says "Send them to this mirror". -- -russ nelson <[EMAIL PROTECTED]> http://russnelson.com Crynwr sells support for free software | PGPok | The most basic moral/ethical 521 Pleasant Valley Rd. | +1 315 268 1925 voice | question is who gets to use Potsdam, NY 13676-3213 | +1 315 268 9201 FAX | force, and when -- ESR
Hi, How can I tell qmail-pop3d to keep a log of incoming pop requests. Is it possible without rewriting the code of qmail-pop3d? I mean, is there any patch or built-in support? Sifat __________________________________________________ Do You Yahoo!? Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger http://im.yahoo.com
On Sat, Sep 01, 2001 at 09:34:41PM -0700, Md. Sifat Ullah Patwary wrote: > How can I tell qmail-pop3d to keep a log of incoming > pop requests. Is it possible without rewriting the > code of qmail-pop3d? You can do it with a wrapper. It's a classic question, check the archives and come back with any additional questions. J�rgen
