[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Emacs sends mail, but doesn't show-up in exim.



On Mon, 7 May 2001 18:58:33 -0400, Rob Mahurin wrote:
>On Mon, May 07, 2001 at 12:01:02PM -0700, Robert Cymbala wrote:
>> 
>> I'm still seeing a problem.  Have eliminated Emacs, by sending test
>> messages with:
>>   $ echo "TEST" | mail userid@domain
>> 
>> This time I've noticed that an email message will appear in mailq
>> output immediately after using mail, AND some messages just disappear
>> for some reason.
>> 
>> Here's a test script:
>[snip]
>> 
>> Here is the report:
>[one message evaporates]
>>
>> Where did message 2 disappear to?
>
>I've run your script as a normal user and did not see this behavior:
>all messages were visible both in the $RPT file and in the output of
>mailq. 
>
>> This is what's under /var/spool/exim:
>
>This is the same as what I have, except that my undelivered mail is
>still in exim/input.  Are these messages disappearing, or are they
>being delivered?


I honestly think that they are disappearing.  Have made the trip from
LA to NYC, and right now I'm at my friend's place.  Just now I
plugged-in my laptop.  The D-Link card is _not_ connected to the phone
line.  Command "mailq" showed nothing in queue.  As non-root user, I
typed 'echo "TEST" | mail Hot49erfan@aol.com' and did not receive any
error messages.  Immediately, I switched to tty1 and did "mailq" as
root.  It reported:
 0m   312 14yfxa-00007u-00 <cymbaLa@Lafn.org>
          Hot49erfan@aol.com
Then, about two seconds later, I repeated "mailq" and it didn't report
anything!  It disappeared, rather than was sent, since the only wire
going into laptop is the power cord.  Note that there's no " D " to
the left of address; in another posting
( http://lists.debian.org/debian-user-0105/msg01047.html ) there was a
" D " next to that particular email address.

>
>> Reading the man page, it says that per-message log files are
>> generated, and that per-message log files are deleted after message is
>> sent.  I've seen such messages before.  Is there a log of messages
>> that have been successfully sent, or a place that tracks what is
>> happening to the Hot49erfan message after it is in exim's queue?
>
>This I don't know.
>
>> The problem doesn't seem to follow particular email addresses.  The
>> other day, email to sam was disappearing.  Today email to sam stays in
>> queue (waiting for PPP).  Today email to Hot49erfan is disappearing
>> (reproducibly, at that).
>
>If you get another reproducable one, try this:
>
>echo "don't go away" | vanishing@address ;
>tail -f /var/spool/exim/msglog/$(mailq |head -1  | cut -b11-26 ) ;
>
>which will get the first message ID out of mailq and follow that
>logfile.

It's reproducable.  I sent a message to the vanishing address
(N.B. with "mail" before the vanishing address), followed immediately
by said tail command.  Within one second of sending email, that tail
command gave:
  $ tail -f /var/spool/exim/msglog/$(mailq |head -1 | cut -b11-26)
  tail: /var/spool/exim/msglog/14ygCG-0000AN-00: No such file or directory
  tail: no files remaining
After a second or two, the same command gave:
  $ tail -f /var/spool/exim/msglog/$(mailq |head -1 | cut -b11-26)
  tail: /var/spool/exim/msglog/: Is a directory
  tail: /var/spool/exim/msglog/: cannot follow end of non-regular file
  tail: `/var/spool/exim/msglog/' has been replaced with a non-regular file; cannot follow end of non-regular file
  tail: no files remaining

Woe is me... I don't know what to do next!  to get it to work again.
I'm also coming to grips with the fact that, historically, I don't
know which messages were sent and which messages disappeared (don't
know when this 'behavior' began).

>
>> Thing is: I'm driving to N.Y. and will be on the road for a few days.
>> But I wanted to post more information before leaving.  Thanks again!
>
>Enjoy your trip.
>
>Rob
>

It's been a great trip so far.  Wedding at Chateau Briand last night
was a good time.
-Robert C.



Reply to: