procmail
[Top] [All Lists]

Re: lock files

2000-07-19 07:29:47
On Wed, Jul 19, 2000 at 12:49:52AM -0500, Glen Lee Edwards wrote:
I'm getting the following error message in /var/log/sendmaillog.

Jul 19 01:39:03 glen procmail[20805]: Error while writing to
"/home/matt^M/.procmaillog^M"

The lines in question (I think) read such:

PATH=/bin:/usr/bin:/usr/sbin
MAILDIR=$HOME/mail
PMDIR=$HOME
LOGFILE=$PMDIR/.procmaillog
 
I don't have a clue where the extra "^M"s are coming from.  I've rewritten
the above lines using emacs, but the "^M"s still keep showin up.

emacs may be part of your problem. It is smart enough to detect files that
have alien line endings and display them correctly anyway. For example, it
will correctly display a Mess-DOS batch file on Unix. It will, however,
note the origin of the file in the left end of the mode line. There are
tools within emacs to convert line endings; you get to read the manual to
find them.


-- 

                -- C^2

No windows were crashed in the making of this email.

Looking for fine software and/or web pages?
http://w3.trib.com/~ccurley

Attachment: pgp20LZDtzaze.pgp
Description: PGP signature

<Prev in Thread] Current Thread [Next in Thread>