procmail
[Top] [All Lists]

Re: mail filtering doesn't work

2002-11-29 09:21:46
Stelios has this recipe,

| :0
| *^From:asmar(_at_)pathfinder\(_dot_)gr
| /dev/null

but

| after all this i still can receive messages from 
asmar(_at_)pathfinder(_dot_)gr,
| any suggestions? (i don't have root access)

Your regexp requires that the address be right up against the colon of "From:"
with no allowance for a space or a formal name between them.  Try

 * ^From:(_dot_)*asmar(_at_)pathfinder\(_dot_)gr

will probably do, or to be more strict (maybe there's a 
plasmar(_at_)pathfinder(_dot_)gr
from whom you do want to receive mail, for example),

 * ^From:(.*\<)?asmar(_at_)pathfinder\(_dot_)gr




_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>