procmail
[Top] [All Lists]

Mysterious vanishing e-mails..

1996-09-03 13:31:02

Hello,
Yesterday, I sent a message about 'Odd things...', and I still have not
found a solution...

In order to try and give some more clues, I will try and rephrase the
question and problems:

1) I have installed procmail 3.11pre4 on AIX 3.2.5. This machine is the
mail host, and hold all user home directories. We use IDA sendmail. None
of the directories are NFS mounted, but most of the home directories are
symbolic links.

2) I created a .forward file containing:
/homes/stts/sttsrm/Mail/backup.mail
"|IFS=' ' && p=/usr/local/bin/procmail && test -f $p && exec $p -Yf- ||
exit 75 #sttsrm"


/homes/stts/sttsrm/Mail/backup.mail is the actual full path, while $HOME
is set to /home/sttsrm via a symbolic link.

3) I started off with a very simple .procmailrc file, just to filter out
some mailing lists. I had about 10 recipies, all identical except the
mailing list names:
PATH=$HOME/bin:/usr/bin:/usr/ucb:/bin:/usr/local/bin:.
SHELL=/bin/sh
MAILDIR=$HOME/Mail     
# MAILDIR=/nts/sttsrm/Mail/     
# MAILDIR=/export/support/sttsrm/Mail/     
# DEFAULT=$MAILDIR/other.inbox
LOCKFILE=$HOME/.lockmail
VERBOSE=on

#
# Turn on logging, one logfile per hour
#
LOGDATE=`date +%y-%U.%a.%H`
LOGFILE=$MAILDIR/logfiles/log.${LOGDATE}

#
# All ssl-talk info into it's own folder
#
:0:
* ^TOssl-talk
ssl-talk

4) Over the 6 days I have used procmail, I have seen four instances where
I get a mail back from mailer-daemon, saying:

   ----- Transcript of session follows -----
550 xfAA46421: line 6: /homes/stts/sttsrm/Mail/backup.mail... Can't create 
output

The file exists, and contains 100's of messages both before and after.

5) Some messages in the backup.mail folder can not be found in ANY of the
folders procmail is supposed to deliver to, not even in the system mail
folder. I can find the message in syslog, and see that it delivers it to
procmail. Entries in syslog similar to:

Sep  2 00:59:26 svs01 sendmail[58616]: AA59126:
to=/homes/stts/sttsrm/Mail/backup.mail, delay=00:00:02, stat=Sent, mai
ler=local
Sep  2 00:59:33 svs01 sendmail[58882]: AA59648: to="|IFS=' ' &&
p=/usr/local/bin/procmail && test -f $p && exec $p -Yf
- || exit 75 #sttsrm", delay=00:00:02, stat=Sent, mailer=prog

If I look in the logfiles for procmail around this indicated time, I can
not find any entries at all!!!! I see find the message in the backup.mail
folder, but nowhere else.

6) I got a tip saying to remove procmail, and recompile while doing a
lockingtest on all conceivable directories. I did that, giving autoconf
about 6 different directories, both NFS, local and symbolic links. This
was done yesterday, but I can not find any different behaviour today.

7) I have looked around on my system for other clues, error messages, etc,
without finding anything. I have fed the backup.mail back into procmail,
and procmail eats everything, not generating a single error message, and
processing all messages.

Does anyone have any clue as to what might be wrong?


------------------------------------------------------------
Rune Mossige, Systems Support           Tel : +47 515 98 922
Western Geophysical, Stavanger, Norway  Fax : +47 515 98 999
Rune(_dot_)Mossige(_at_)norway(_dot_)waii(_dot_)com             Priv: +47 514 
24 771
                                      Mobile: +47 908 71 024

<Prev in Thread] Current Thread [Next in Thread>
  • Mysterious vanishing e-mails.., Rune Mossige <=