procmail
[Top] [All Lists]

Re: procmail doesn't create the From header?

2007-08-06 01:56:47

On Sun, 5 Aug 2007, M. Fioretti wrote:

Hello,

I have the following problem with procmail 3.22 on a Centos 4.5 server


The first recipes is meant to make a backup copy of every message:

:0c:
/var/mail/mailhome/`/bin/date +%Y.%m`.mail.backup

And it produces logs like:

procmail: Assigning "DEFAULT=/var/mail/mailhome/INBOX/"
procmail: Executing "/bin/date,+%Y.%m"
procmail: Locking "/var/mail/mailhome/2007.08.mail.backup.lock"
procmail: Assigning "LASTFOLDER=/var/mail/mailhome/MAIL.2007.08.mail.backup"
procmail: Opening "/var/mail/mailhome/2007.08.mail.backup"
procmail: Acquiring kernel-lock
Subject: First test of new server
 Folder: /var/mail/mailhome/2007.08.mail.backup           1402
procmail: [9302] Sat Aug  4 23:24:37 2007
procmail: Unlocking "/var/mail/mailhome/2007.08.mail.backup.lock"

The problem is that, when I try to read with mutt the backup mailbox,
to check everything is OK and I am indeed saving a copy of every
message, I get:

mutt -f /var/mail/mailhome/2007.08.mail.backup
/var/mail/mailhome/2007.08.mail.backup is not a mailbox.

according to the mutt wiki, this is what happens when the From header
(without :) is missing and, sure enough, there is not even one of
those headers in the backup mailbox, even after sending 9/10 messages:
they are all there, just without that single header.

        Look at the folder by less(1) check if you realy miss
        the ~F~rom_.  Get the last procmail src and instll it
        manuely (ie not sentos's RPM).

Bye,
  Udi



What is happening? Another weird thing (to me), is that I had the same
recipe on my home computer working perfectly.

The only difference is that here at home procmail is called via
.forward, while on the server is the postfix virtual transport
mechanism.

Thank you in advance for any pointer,

      Marco
____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail