procmail
[Top] [All Lists]

Re: Skipping script for users with a "." in their username

2003-10-13 15:05:01
On Mon, 13 Oct 2003, Linux wrote:

L> All,
L>
L> I am testing new software and I want to run this globally except that it
L> doesn't work if the user has a "." in their username, for example,
L> foo(_dot_)bar(_at_)domain(_dot_)com(_dot_)
L>
L> How the heck can I ackomplish this?
L>
L> Something like:
L>
L> * !^To:(_dot_)*\(_dot_)(_at_)domain\(_dot_)com
L>
L> I tried this to no avail.
L>


It will match foo(_dot_)(_at_)domain(_dot_)com(_dot_)  Try inserting an extra 
.* for the
characters after the dot.

* ! ^To:(_dot_)*\(_dot_)(_dot_)*(_at_)domain\(_dot_)com



Alan


( Please do not email me AS WELL as replying to the list.  Please
  address personal email to alan+1@ as lists@ is not read. A
  password autoresponder may be invoked if this email is very old. )


_______________________________________________
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>