procmail
[Top] [All Lists]

condition matching from a file

1997-01-17 16:11:38
I'm trying to get procmail to something like this:

        * ^From:.*(`cat $PMDIR/file`)

The idea is to have file looked at for a possible match from it's list
of addresses. I tried a full pathname for file, too. I also tried
egrep instead of cat. I know this is pretty basic, but I haven't found
the answer yet. 
Log says "procmail: No match on "^From:.*........." 

'file' is in this form:

domain-name
domain.com
user(_at_)domain(_dot_)com
etc(_at_)etc(_dot_)etc
                        
From reading the grep manpage it seems that egrep uses either pipe or
newline as the 'or' seperator. Is that true for procmail?

Thanks

David