"Susan G. Kleinmann":
> What's odd is that I often have to execute inc more than 1 time -- sometimes
> 2 times, to get all the files from mbox.sgk into +inbox.  

Are you sure the mbox.sgk has all the messages? If you route them via
sendmail (or smail or whatever MTA you have), it may take a few moments
for them to arrive. I think popclient automatically routes them via
sendmail, but I haven't checked.

"mail -f mbox.sgk < /dev/null" is an easy way to check the contents of
a mailbox, or use "from -f mbox.sgk" if you wimpy.

My own setup does not make the mails go via sendmail, but pipes them
directly to procmail. Actually, not directly, but one by one:

formail -b -s sh -c < $temp \
"/home/liw/bin/qpdecodemail | /usr/bin/procmail /home/liw/.procmailrc; sleep 2"

($temp is the mailbox, qpdecodemail is my stupid filter to remove all
quoted-printable encodings from mail)

> Another confusing point is that even though my ~/.mh_profile says
>    inc: -norpop -truncate -audit audit-file
> the file mbox.sgk is not zero'd after I fetch the files in it.

As far as I can tell, what happens is that inc first read the profile,
and sets -truncate. Then it reads the command line, and -file automatically
sets -notruncate. If you have both -truncate and -file in the profile,
the file is truncated.

-- 
Rural sizes win <[EMAIL PROTECTED]> <http://www.iki.fi/liw/>
Please don't Cc: me when replying to my message on a mailing list.


Attachment: pgpbO8GvlO22q.pgp
Description: PGP signature

Reply via email to