procmail filtering problem

Kernels & Hardware, configuring network, installing services

procmail filtering problem

Postby arzgi » 2021-01-06 18:31

Debian Buster 10.7

I have set getmail to retrieve my mail, procmail to fiter to mh-format ~/Mail

My .procmailrc
Code: Select all
MAILDIR=$HOME/Mail
LOGFILE=$HOME/.procmail_log
LOCKEXT=.lock
STORE=/usr/lib/mh/rcvstore

:0 w:user/$LOCKEXT
* ^From.*user@oldmail.com
| $STORE +user

:0 w:  inbox/$LOCKEXT
| $STORE +inbox

One person changed her email address,
changed * ^From.*user@oldmail.com >>> * ^From.*user@newmail.com

Now in .procmail_log her mails show this error
Code: Select all
rcvstore: malloc failed, size wanted: 40171668864
procmail: Program failure (1) of "/usr/lib/mh/rcvstore"
From user@newmail.com  Wed Jan  6 16:10:07 2021

And messages go to inbox instead of inbox/user

Why does the change of email address in .procmailrc cause this?
arzgi
 
Posts: 701
Joined: 2008-02-21 17:03
Location: Finland

Return to System configuration

Who is online

Users browsing this forum: No registered users and 25 guests

fashionable