On May 30, 2016, at 2:36 AM, Santiago Vila <sanv...@unex.es> wrote:

> On Sun, 29 May 2016, Rick Thomas wrote:
> 
>> Package: procmail
>> Version: 3.22-24
>> Severity: normal
>> 
>> Dear Maintainer,
>> 
>> *** Reporter, please consider answering these questions, where appropriate 
>> ***
>> 
>> If procmail processes a mail with body containing a plaintext attachment 
>> that has a line
>> that begins with the string "From " it seems to think this is a separator 
>> between mails.
>> It winds up splitting the original mail into two parts and filing each as a 
>> separate mail
>> item.
>> 
>> This can happen when the attachment is a mail item that has not had the 
>> proper quoting
>> for lines beginning with "From ".  I have attached such an email to this 
>> bugreport.
> 
> procmail does not split anything unless explicitly told.
> 
> In fact, it is usually "formail -s" who split emails, not procmail.
> 
>> There needs to be some way of telling procmail that it will receive input 
>> one email item
>> at a time, (as when being fed by fetchmail) so the line-begins-with-From 
>> processing is
>> not necessary.
> 
> And there is a way indeed, which is to use procmail alone, not "formail -s 
> procmail".
> 
> Your report says "If procmail processes a mail". What do you mean
> exactly by "processes a mail"? Could you please be more explicit?
> A sample email is good, but the report is incomplete if you don't
> tell me what I'm supposed to do with the email.
> 
> Thanks.

Thank you very much, Santiago, for the prompt reply!

Here’s the setup:

I have a POP/IMAP account at pobox.com.  I use cron to run fetchmail which 
retrieves (POP3) mail from pobox to a local server on my home network.
I process the retrieved mail with procmail to split it into folders and 
subfolders based on who it’s from, addressed to, subject, etc…

Here’s the .fetchmailrc file”:
========================= .fetchmailrc ===============================
# Configuration created Thu Aug 15 20:08:16 2002 by fetchmailconf
# Lightly edited later by Rick Thomas
set postmaster "rbthomas"
set bouncemail
set no spambounce
set properties ""
# set syslog

poll mail.pobox.com with proto POP3 timeout 20 and options uidl
       user 'XXXXXXX' there with password 'YYYYYY' is 'rbthomas' here options 
keep ssl 

mda "formail -s procmail"
======================================================================

As I interpret your reply, I should be using a different mda — NOT formail.  
Can you give me some hint as to what it should look like?

Thanks!
Rick

Reply via email to