procmail testing

Robert Moskowitz rgm at htt-consult.com
Tue Jan 21 16:49:03 UTC 2014


On 01/21/2014 08:39 AM, Heinz Diehl wrote:
> On 21.01.2014, Robert Moskowitz wrote:
>
>> cat d1.letter |procmail
> You can also re-run existing mails through the whole system, e.g. by
> piping the mail into "formail -ds | procmail". You can do that in mutt
> by pressing the "|" and writing the command in the field which opened
> up.
>   
>> So what is missing? What is mutt saying was not done in constructing
>> /var/spool/mail/rgm?
> Maybe a permission problem?
>
> [htd at kiera ~]$ ls -l /var/spool/mail/htd
> -rw-rw----. 1 htd mail 2630378 Jan 21 17:37 /var/spool/mail/htd

No permission problem.  I have the same permissions:

  ls -l /var/spool/mail/
total 4
-rw-rw----. 1 rgm mail 663 Jan 21 08:19 rgm
-rw-rw----. 1 rpc mail   0 Jan  6 07:03 rpc

and mutt opens the file.  But there is something it does not like about 
it.  Something missing.  Maybe I should Dave Crocker and ask him  :)

$ cat /var/spool/mail/rgm
From: "(Cron Daemon)" <rgm>
To: rgm
Subject: Cron <rgm at lx120e> rsync -tvz ftp.rfc-editor.org::rfcs/*.txt 
/home/common/ietf/rfcs
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

skipping non-regular file "rfc-ref.txt"
RFCs_for_errata.txt
bcp-index.txt
fyi-index.txt
ien-index.txt
rfc-index-latest.txt
rfc-index.txt
rfc6940.txt
rfc7048.txt
rfc7078.txt
rfc7086.txt
rfc7094.txt
rfc7095.txt
rfc7096.txt
rfc7097.txt
rfc7098.txt
rfc7103.txt
rfc7105.txt
rfc7108.txt
rfc7111.txt
rfc7115.txt
rfcxx00.txt
std-index.txt

sent 11,194 bytes  received 399,421 bytes  74,657.27 bytes/sec
total size is 365,871,233  speedup is 891.03




More information about the users mailing list