Procmail whitelisting - where does it go?


#1

Greetings:

This is what appears in my whitelist:
[color=#0000CC][code]# Variables:
MAILDIR=$HOME/Maildir

Whitelist this address

:0

  • ^(From|Reply-To):.*myaddress@charter.net
    ${MAILDIR}
    [/code][/color]
    This is how it shows up in my mail log:
    [color=#0000CC][code]From Log without any whitelisting
    From myaddress@not-charter.net Tue Aug 14 19:14:23 2007
    Subject: This is a test - toads and frogs
    Folder: /mnt/banger/vol/boot/yada/bada/myHome/Maildir/new/118 2055

From Log just to check spam filtering
From myaddress@not-charter.net Tue Aug 14 19:21:11 2007
Subject: This is a test SPAM
Folder: .badsubjects/new/1187144472.20324_0.spaceymail-mx1 2059

From Log adding the example whitelisting
From myaddress@not-charter.net Tue Aug 14 19:45:33 2007
Subject: This is a test - okie dokie
Folder: /mnt/banger/vol/boot/yada/bada/myHome/Maildir/msg.qIY 2120
[/code][/color]
Needless to say, they don’t show up in my Mailbox.
[color=#0000CC][code]cd Maildir
ls -la msg*
-rw------- 1 greenman pg1021328 2120 Aug 14 19:45 msg.qIYJE

more msg.qIYJE
[/code][/color]
(Shows the lost message in it’s entirety.)

I know it should be obvious, but could someone please tell me what I should have in the MAILDIR variable?

Cheers,

Chris


#2

If it had been a snake it would have bitten me…
[color=#0000CC][code]# Variables:
MAILDIR=$HOME/Maildir

Whitelist this address

:0

  • ^(From|Reply-To):.*myaddress@charter.net
    ${MAILDIR}[color=#CC0000]/[/color][/code][/color]
    I forgot the slash (seen here in red).
    Slashes will do it to you every time.