[Esd-l] security_notify_sender

Joe Steele joe at madewell.com
Wed Feb 6 09:56:00 PST 2002


On Monday, February 04, 2002 8:10 PM, John D. Hardin wrote:
>
>
> On Mon, 4 Feb 2002, Jason Noble wrote:
>
> >  From root  Mon Feb  4 10:19:20 2002
> >   Subject: test
> >    Folder: /var/spool/mail/quarantine                                 
> > 71868
> > procmail: Extraneous locallockfile ignored
> > procmail: Extraneous locallockfile ignored
> > procmail: Extraneous locallockfile ignored
> > procmail: Lock failure on ".lock"
>
> That stuff is unexpected.

That stuff is a result of three local recipes in Jason's procmailrc 
file.  One example:

On Monday, February 04, 2002 10:23 AM, Jason Noble wrote:
>
> :0:
> * ^From:.*<[a-z0-9]+ at polezero.com>
> * ^To:.*<[a-z0-9]+ at polezero.com>
> {
>    
> MANGLE_EXTENSIONS='exe|com|cmd|bat|pif|sc[rt]|lnk|dll|ocx|dot]|xl[wt]|pot|rtf|vb[se]?|ht[at]|p[lm]|sh[bs]|hlp|chm|eml|ws[cfh]|ad[ep]|jse?|md[aew]|ms[ip]|reg|as[dfx]|cil|pps|wm[szd]|vcf|nws|\{[-0-9a-f]+\}'
> }
>
>

Each of the offending recipes begins with ':0:'.  The second colon 
says that a lockfile should be used for delivery, but the recipe 
doesn't deliver to a file, thus the "Extraneous locallockfile 
ignored" warning.

Eliminate the second colon by changing ':0:' to ':0' for each of the 
three recipes and see if it fixes those errors.

As far as failure of 'SECURITY_NOTIFY_SENDER', sender notification is 
skipped if the following pattern fails to match:
* !  ^FROM_DAEMON

Your debug log showed the above pattern match failed, so notification 
of sender did not occur.  The failure shows up as:

procmail: No match on ! "(^(Mailing-List:|Precedence:.*(junk|bulk|list)|To:
Multiple recipients of |(((Resent-)?(From|Sender)|X-Envelope-From):|>?From
)([^>]*[^(.%@a-z0-9])?(Post(ma?(st(e?r)?|n)|office)|(send)?Mail(er)?|daemon|m(mdf|ajordomo)|n?uucp|LIST(SERV|proc)|NETSERV|o(wner|ps)|r(e(quest|sponse)|oot)|b(ounce|bs\.smtp)|echo|mirror|s(erv(ices?|er)|mtp(error)?|ystem)|A(dmin(istrator)?|MMGR|utoanswer))(([^).!:a-z0-9][-_a-z0-9]*)?[%@>        
][^<)]*(\(.*\).*)?)?$([^>]|$)))"


--Joe



More information about the esd-l mailing list