Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

procmail filtering problem

Linux Kernel, Network, and Services configuration.
Post Reply
Message
Author
arzgi
Posts: 1197
Joined: 2008-02-21 17:03
Location: Finland
Been thanked: 32 times

procmail filtering problem

#1 Post by arzgi »

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?

Post Reply