Me again...
I have a separate rc file for dealing with plussed addresses.... now that
sendmail is working, I need to improve it somewhat.
I had something working, I think it was like this:
:0
* ^TOluomat\+
{ INCLUDERC=$RCFILES/plussed.rc }
But now I am using different names (such as
'nospam(_at_)luomat(_dot_)peak(_dot_)org') and
want to catch _anything_ with a "+" in the ^TO line.
However, it should be
anything+anything(_at_)luomat(_dot_)peak(_dot_)org
That is, I should now make sure that my hostname is the one which has the
plussed addresses.
I thought it would be something like this:
:0
* ^TO(_dot_)*\+(_dot_)*(_at_)luomat\(_dot_)peak\(_dot_)org
{ INCLUDERC=$RCFILES/plussed.rc }
and this _does_ seem to work, however I did not know if it was at all
redundant to the ^TO macro....
Here is what the verbose log says when it matches:
procmail: Match on
"(^((Original-)?(Resent-)?(To|Cc|Bcc)|(X-Envelope|Apparently(-Resent)?)-To):
(.*[^a-zA-Z])?)(_dot_)*\+(_dot_)*(_at_)luomat\(_dot_)peak\(_dot_)org"
Is there any way to trim down my line:
* ^TO(_dot_)*\+(_dot_)*(_at_)luomat\(_dot_)peak\(_dot_)org
or is that as good as it gets?
Thanks again.
TjL