Page 1 of 1
procmail formail
Posted: Fri Mar 26, 2021 7:02 am
by nhdesign
Using procmail and formail to modify subject lines.
It stopped working, don't know when it stopped working.
Is it working for anyone?
:0 fhw
* ^Received: .*may be forged
* ^Subject: *\/.*
| formail -I "Subject: [MAY_BE_FORGED] $MATCH"
Re: procmail formail
Posted: Fri Mar 26, 2021 11:44 am
by gkeller
Everything looks fine at first glance. If you pm me a message id that should have had the subject rewritten I can investigate further.
Re: procmail formail
Posted: Sat Mar 27, 2021 5:57 am
by nhdesign
The may be forged recipe worked last night.
Thanks,
Re: procmail formail
Posted: Sat Mar 27, 2021 6:29 am
by nhdesign
The personal addresses failed because I forgot the .* between From and nhdesign
:0 fhw
* ^From: .*
nhdesign@sonic.net
* ^Subject: *\/.*
| formail -I "Subject: [forwarded
nhdesign@sonic.net] $MATCH"
Re: procmail formail
Posted: Sat Mar 27, 2021 12:48 pm
by scott
nhdesign wrote:The personal addresses failed because I forgot the .* between From and nhdesign
:0 fhw
* ^From: .*
nhdesign@sonic.net
* ^Subject: *\/.*
| formail -I "Subject: [forwarded
nhdesign@sonic.net] $MATCH"
So it's all working now a-okay?
Re: procmail formail
Posted: Sat Mar 27, 2021 9:20 pm
by nhdesign
Yes, Don't know how I missed the .*
so hard to find little syntax errors