procmail formail

Advanced feature discussion, beta programs and unsupported "Labs" features.
6 posts Page 1 of 1
by nhdesign » Fri Mar 26, 2021 7:02 am
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"
by gkeller » Fri Mar 26, 2021 11:44 am
Everything looks fine at first glance. If you pm me a message id that should have had the subject rewritten I can investigate further.
Grant Keller
Sonic.net System Operations
by nhdesign » Sat Mar 27, 2021 5:57 am
The may be forged recipe worked last night.

Thanks,
by nhdesign » Sat Mar 27, 2021 6:29 am
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"
by scott » Sat Mar 27, 2021 12:48 pm
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?
by nhdesign » Sat Mar 27, 2021 9:20 pm
Yes, Don't know how I missed the .*
so hard to find little syntax errors
6 posts Page 1 of 1

Who is online

In total there are 3 users online :: 1 registered, 0 hidden and 2 guests (based on users active over the past 5 minutes)
Most users ever online was 999 on Mon May 10, 2021 1:02 am

Users browsing this forum: Google [Bot] and 2 guests