Community Discussions and Support
Forwarding to a mail list trouble.

Thanks Lythende...

The interesting thing is, on the system I use 99.9% of the time, that button "Expression.." is not shown.  But, on another machine that has Peg on, from years ago, it it there.  Both machines seems to have the same version of Peg installed, but in different places, one's in a folder from C:\ (buggy?) the other from C:\ProgramFiles\ (has the missing button)    I seem to remember, that the C:\ version I use mostly, was bulk copied from an earlier machine, not "installed" as such.

I'm going to backup all the existing mail data, and re-install Peg on the main PC and try again.

Let you know.

Thanks again.

Dave.

 

<p>Thanks Lythende...</p><p>The interesting thing is, on the system I use 99.9% of the time, that button "Expression.." is not shown.  But, on another machine that has Peg on, from years ago, it it there.  Both machines seems to have the same version of Peg installed, but in different places, one's in a folder from C:\ (buggy?) the other from C:\ProgramFiles\ (has the missing button)    I seem to remember, that the C:\ version I use mostly, was bulk copied from an earlier machine, not "installed" as such. </p><p>I'm going to backup all the existing mail data, and re-install Peg on the main PC and try again. </p><p>Let you know.</p><p>Thanks again.</p><p>Dave.</p><p> </p>

Hi All..

Peg V4.41, on Win2k.

Long time pmail user, since the mid 90's.  However I've only ever used it for the usual mail stuff, from the Win3x days to now.

I'm guessing this might have been asked before, but I find the sites search clunky in the extreme, and unable to search relaibly on phrases, so here I am.

I'm having problems setting up a filter rule, to forward an incoming message to a smal number of club members in a mail list, including attachments, without suffering looping problems, whenever something bounces, or I send it to myself.  This is for newsletter and other club notifications..

I have a list of members email addresses, and can trigger the rule to forward to them just fine.  But if anything "bounces", or they reply to me without changing the subject, or I'm on the list (I get the list updated regularly from our club sec') I get the inevitable forwarding loop....  (It'd be good for me, to have it come back to me, as I then know it got out OK, but I don't want that in turn sent out again, and again, and again etc...)

How best to break this loop, 100% reliably?  Other than remove my own mail address from the list, but that is only one cause of it.

I can't find a way for pmail to change the "From" address, or the "subject" text.  The available rule triggers seem lacking in this respect.   So far, I've spent two days trying to figure this out, and all I've done, is fill up my ISP's mailbox from time to time by accident.

The problem seems to be that Peg' is too willing to forward things, while trying to not show it's done so, making (afiks) preventing a loop, less than easy.

Is there any way I can get the filter rules to trigger on headers that are in the message, but not listed as options in the rules editor?  Such as, Forwarded-By: for example?   There is an option for sensing the "Return Path" header, but it seems not to work.

I sometimes write software in C or Pascal, so I'm not unfamilar with programming, looping, and rules etc, but I've probably been spoilt as a result, and expect too much of other things.

I'm doing it this way, as the various mail reflector sites I've tried strip attachments, for obvious reasons.  However, we need such attachments to stay.

The list is setup with a unique "To:" field, and with a return address.  But, I cannot get Peg to detect these to prevent a loop, if such a generated message comes back to me.

Any clues comments. What have I missed?

Regards.

Dave.

<p>Hi All.. </p><p>Peg V4.41, on Win2k. </p><p>Long time pmail user, since the mid 90's.  However I've only ever used it for the usual mail stuff, from the Win3x days to now.</p><p>I'm guessing this might have been asked before, but I find the sites search clunky in the extreme, and unable to search relaibly on phrases, so here I am. </p>I'm having problems setting up a filter rule, to forward an incoming message to a smal number of club members in a mail list, including attachments, without suffering looping problems, whenever something bounces, or I send it to myself.  This is for newsletter and other club notifications..<p>I have a list of members email addresses, and can trigger the rule to forward to them just fine.  But if anything "bounces", or they reply to me without changing the subject, or I'm on the list (I get the list updated regularly from our club sec') I get the inevitable forwarding loop....  (It'd be good for me, to have it come back to me, as I then know it got out OK, but I don't want that in turn sent out again, and again, and again etc...) </p><p>How best to break this loop, 100% reliably?  Other than remove my own mail address from the list, but that is only one cause of it.</p><p>I can't find a way for pmail to change the "From" address, or the "subject" text.  The available rule triggers seem lacking in this respect.   So far, I've spent two days trying to figure this out, and all I've done, is fill up my ISP's mailbox from time to time by accident.</p><p>The problem seems to be that Peg' is too willing to forward things, while trying to not show it's done so, making (afiks) preventing a loop, less than easy.</p><p>Is there any way I can get the filter rules to trigger on headers that are in the message, but not listed as options in the rules editor?  Such as, Forwarded-By: for example?   There is an option for sensing the "Return Path" header, but it seems not to work. </p><p>I sometimes write software in C or Pascal, so I'm not unfamilar with programming, looping, and rules etc, but I've probably been spoilt as a result, and expect too much of other things. </p><p>I'm doing it this way, as the various mail reflector sites I've tried strip attachments, for obvious reasons.  However, we need such attachments to stay. </p><p>The list is setup with a unique "To:" field, and with a return address.  But, I cannot get Peg to detect these to prevent a loop, if such a generated message comes back to me. </p><p>Any clues comments. What have I missed?</p><p>Regards.</p><p>Dave. </p>

More information, after a strong coffee and some more finger work...

If a message is manually sent to a mailing list.  Peg' dutifully fills in the To: and Reply To: header fields with what you enter into the Distribution list Settings dialog, for those parameters.   Both those header fields can be tested by the Filter rules.  No problem.

However.....

If a received message is Automaticaly forwarded by a Filter/rule trigger, or for that matter manually forwarded to a Dist' list, then, Peg' does not alter the contents of the original From: or To: fields, but it creates and uses "Forwarded To: and "Forwarded By: header fields, that are filled out according to the Distribution list Settings dialog.  The same happens if you forward to a single address, ie, not one from a list.  So, (assuming that is correct standards wise, I don't know email in that sort of depth) there is some comonality.

The problem with all that is, within the Filter rules, I can find no way to test these extra header fields to detect if a message has already passed through here, so I can prevent duplicate and loop problems.

It does not seem posible either, to filter on the contents of the "Return path:" field, that and forwarded messages do not seem to have a "Reply To:" (or "Sender:") header field.  (A single message "Sent" to a list, also does not have a "Sender:" field.)  However, if they were present, from within the wizard at least it would appear posible to use them. 

However, if you start to create a filter rule, from within a received message's "Filter Wizard" dialog, you potentialy get a whole lot more options to mess with, than if you start at the main Peg' window Filter button.  That, and so created filter/rule, if you then go to view/edit it after it's been created, you only get the smaller collection of options to fiddle with.   Even if I try to use the "other - please specify" entry in the Wizard, it puts the whole lot as a string to search for, in any of the comon headers. In fact, it appears if what the Wizard creates, is not compatable with the Filter rules viewer/editor.

Any words of wisdom out there, as to how I can get round this?

Regards.

Dave.

<p>More information, after a strong coffee and some more finger work...</p><p>If a message is manually sent to a mailing list.  Peg' dutifully fills in the <b>To:</b> and <b>Reply To:</b> header fields with what you enter into the Distribution list Settings dialog, for those parameters.   Both those header fields can be tested by the Filter rules.  No problem.</p><p>However..... </p><p>If a received message is <u><i>Automaticaly</i></u> forwarded by a Filter/rule trigger, or for that matter manually forwarded to a Dist' list, then, Peg' does not alter the contents of the original From: or To: fields, but it creates and uses "<b>Forwarded To:</b> and "<b>Forwarded By:</b> header fields, that are filled out according to the Distribution list Settings dialog.  The same happens if you forward to a single address, ie, not one from a list.  So, (assuming that is correct standards wise, I don't know email in that sort of depth) there is some comonality. </p><p>The problem with all that is, within the Filter rules, I can find no way to test these extra header fields to detect if a message has already passed through here, so I can prevent duplicate and loop problems.</p><p>It does not seem posible either, to filter on the contents of the "<b>Return path:</b>" field, that and forwarded messages do not seem to have a "<b>Reply To:</b>" (or "<b>Sender:</b>") header field.  (A single message "Sent" to a list, also does not have a "Sender:" field.)  However, if they were present, from within the wizard at least it would appear posible to use them.  </p><p>However, if you start to create a filter rule, from within a received message's "Filter Wizard" dialog, you potentialy get a whole lot more options to mess with, than if you start at the main Peg' window Filter button.  That, and so created filter/rule, if you then go to view/edit it after it's been created, you only get the smaller collection of options to fiddle with.   Even if I try to use the "other - please specify" entry in the Wizard, it puts the whole lot as a string to search for, in any of the comon headers. In fact, it appears if what the Wizard creates, is not compatable with the Filter rules viewer/editor. </p><p>Any words of wisdom out there, as to how I can get round this? </p><p>Regards.</p><p>Dave. </p>

Without seeing the messages it is a little difficult to tell you the rule content, but as an initial suggestion you must have a rule before any rule causing a distribution, that tests for yourself (as sender or receiver) and moves or deletes it.

Martin

<p>Without seeing the messages it is a little difficult to tell you the rule content, but as an initial suggestion you <b>must</b> have a rule before any rule causing a distribution, that tests for yourself (as sender or receiver) and moves or deletes it.</p><p>Martin </p>

You also may need to use a rule with regular expressions from text within the message to pull bounces out.

You also may need to use a rule with regular expressions from text within the message to pull bounces out.

Hi Martin.

Not at the machine in question at the moment, but yes I understand that.  It's just that I can't *Reliably* detect myself as the forwarder.  I am not the originator, our newsletter editor is that, or our club sec', and their source mail id's change, as the task moves arround the committee.

Again, I need to detect that a message has passed through my mailer previously.  At the moment, I can't seem to figure out how to do that.

I can't use the incoming destination (To:) address as part of the rule, as when Peg' automaticaly Forwards something, it Does not alter the "To:" address, so when it comes round again, it's still the same.  It Does add a "Forwarded by:" field in the header, but that cannot be used for a rule check.  That I can figure out.

I'll try and get some headers to illustrate all this, but it'll take a little time, as at the moment, it's an easy way to 'P' off my ISP, even though it's only my mailbox that get's nuked!

Cheers for the reply.

Dave

 

<p>Hi Martin. </p><p>Not at the machine in question at the moment, but yes I understand that.  It's just that I can't *Reliably* detect myself as the forwarder.  I am not the originator, our newsletter editor is that, or our club sec', and their source mail id's change, as the task moves arround the committee. </p><p>Again, I need to detect that a message has passed through my mailer previously.  At the moment, I can't seem to figure out how to do that. </p><p>I can't use the incoming destination (To:) address as part of the rule, as when Peg' automaticaly Forwards something, it <i><b>Does not</b></i> alter the "To:" address, so when it comes round again, it's still the same.  It <i><b>Does</b></i><b> </b>add a "Forwarded by:" field in the header, but that cannot be used for a rule check.  That I can figure out.</p><p>I'll try and get some headers to illustrate all this, but it'll take a little time, as at the moment, it's an easy way to 'P' off my ISP, even though it's only my mailbox that get's nuked!</p><p>Cheers for the reply.</p><p>Dave</p><p> </p>

Hi..

Thanks for the reply.

Problem with regular rules and the body of the mail to check, is that the body of the mail does not get changed when it is forwarded, therefore, it is not posible to do that to see if it has been round before.

Two fields in the mail header get added, "Forwarded by:" and (I think, I'm not in front of the machine in quesiton right now) "Forwarded to:"   The original From: and To: fields do not get changed when the mail is automaticaly forwarded.

Regards..

Dave.

 

<p>Hi..</p><p>Thanks for the reply.</p><p>Problem with regular rules and the body of the mail to check, is that the body of the mail does not get changed when it is forwarded, therefore, it is not posible to do that to see if it has been round before.</p><p>Two fields in the mail header get added, "Forwarded by:" and (I think, I'm not in front of the machine in quesiton right now) "Forwarded to:"   The original From: and To: fields <i><b>do not</b></i> get changed when the mail is automaticaly forwarded.</p><p>Regards..</p><p>Dave.</p><p> </p>

It Does add a "Forwarded by:" field in the header, but that cannot be used for a rule check.
You can match the header with an "Expression" type filter. It's best to match the entire string so you only match this string when it's been forwarded by you.
<blockquote>It Does add a "Forwarded by:" field in the header, but that cannot be used for a rule check.</blockquote>You can match the header with an "Expression" type filter. It's best to match the entire string so you only match this string when it's been forwarded by you.

Hi Thomas.

Thanks for your reply.   I'm going to have to ask for more detailed guidance on this.

Are you saying that Peg can indeed examine "Any" header, regular or custom?

In one of the rules entry systems (the wizard) there is one entry field called I think "Other".  I have never made that work, and I've read, and re-read the help many many times, and I'm still not getting it.

What am I doing wrong, or misinterpreting, as I just can't get it to trigger or detect anything other than the "standard" pre-deffined headers.   Even with them, if you select one in the wizard, when you go to the editor, when you open a rule to examine it, more than one is selected, that and I often get duplicate rules in the list (all the same.)

Where shall I post some screen scrapes to illustrate this?

Is there a more detailed text somewhere (with proven worked examples) I can follow?

Thanks for reading this far, sorry for any spikeyness, it's not a good day today.

Regards.

Dave.


<p>Hi Thomas.</p><p>Thanks for your reply.   I'm going to have to ask for more detailed guidance on this.</p><p>Are you saying that Peg can indeed examine "Any" header, regular or custom? </p><p>In one of the rules entry systems (the wizard) there is one entry field called I think "Other".  I have never made that work, and I've read, and re-read the help many many times, and I'm still not getting it.</p><p>What am I doing wrong, or misinterpreting, as I just can't get it to trigger or detect anything other than the "standard" pre-deffined headers.   Even with them, if you select one in the wizard, when you go to the editor, when you open a rule to examine it, more than one is selected, that and I often get duplicate rules in the list (all the same.) </p><p>Where shall I post some screen scrapes to illustrate this? </p><p>Is there a more detailed text somewhere (with proven worked examples) I can follow?</p><p>Thanks for reading this far, sorry for any spikeyness, it's not a good day today.</p><p>Regards.</p><p>Dave.</p><p> </p>

[quote user="Dave4x4"]Hi Thomas.

Thanks for your reply.   I'm going to have to ask for more detailed guidance on this.

Are you saying that Peg can indeed examine "Any" header, regular or custom?

It's an string match of data in the headers.  The header is only specified as a part of the string.  

In one of the rules entry systems (the wizard) there is one entry field called I think "Other".  I have never made that work, and I've read, and re-read the help many many times, and I'm still not getting it.

What am I doing wrong, or misinterpreting, as I just can't get it to trigger or detect anything other than the "standard" pre-deffined headers.   Even with them, if you select one in the wizard, when you go to the editor, when you open a rule to examine it, more than one is selected, that and I often get duplicate rules in the list (all the same.)

Where shall I post some screen scrapes to illustrate this?

 Do not need screen prints or graphics, the text from winrules.pmc (PMail) or rules.mer (mercury) is enough.

Is there a more detailed text somewhere (with proven worked examples) I can follow?

Here's a PMail "expression" filter matching a header.

If expression headers matches "X-Text-Classification: spam" Highlight "1"

Thanks for reading this far, sorry for any spikeyness, it's not a good day today.

Regards.

Dave.[/quote]

<blockquote>[quote user="Dave4x4"]Hi Thomas.<p>Thanks for your reply.   I'm going to have to ask for more detailed guidance on this.</p><p>Are you saying that Peg can indeed examine "Any" header, regular or custom?</p></blockquote><p>It's an string match of data in the headers.  The header is only specified as a part of the string.   </p><blockquote><p>In one of the rules entry systems (the wizard) there is one entry field called I think "Other".  I have never made that work, and I've read, and re-read the help many many times, and I'm still not getting it.</p><p>What am I doing wrong, or misinterpreting, as I just can't get it to trigger or detect anything other than the "standard" pre-deffined headers.   Even with them, if you select one in the wizard, when you go to the editor, when you open a rule to examine it, more than one is selected, that and I often get duplicate rules in the list (all the same.) </p><p>Where shall I post some screen scrapes to illustrate this? </p></blockquote><p> Do not need screen prints or graphics, the text from winrules.pmc (PMail) or rules.mer (mercury) is enough. </p><blockquote><p>Is there a more detailed text somewhere (with proven worked examples) I can follow?</p></blockquote><p>Here's a PMail "expression" filter matching a header.</p><p>If expression headers matches "X-Text-Classification: spam" Highlight "1" </p><blockquote><p>Thanks for reading this far, sorry for any spikeyness, it's not a good day today.</p><p>Regards.</p><p>Dave.[/quote]</p></blockquote>

I just remembered, I used to have a small list like you describe going (it was years ago, but I think V4 came out while I was still running it).  I'm not sure, but I think what I ended up doing to avoid those issues was to take my name off the "list" and just move a copy of the mail in question to a folder in my mailbox _after_ performing the forward, etc.

I just remembered, I used to have a small list like you describe going (it was years ago, but I think V4 came out while I was still running it).  I'm not sure, but I think what I ended up doing to avoid those issues was to take my name off the "list" and just move a copy of the mail in question to a folder in my mailbox _after_ performing the forward, etc.

Hi Thomas, thanks again for replying, sorry for the delay, too many things to do.

 OK, in winrules.pmc, there is this, the first three lines of text, the following stuff is irrelivant to this, and works just fine (moving incoming messages into dedicated folders etc)

NoDisplay:New mail filtering rules
If header "FCRE" contains "X-borg: (<borglist>)" Exit ""
If header "FCRE" contains "borg4x4@g8kbv.demon.co.uk" Exit ""

The first rule line is my attempt to get the thing to recognise a custom X header.  I can see that header in incoming mails just fine, in the raw view.

The second line, is an attempt to get it to ignore anything coming in to that address (what I've set in the list's "Reply to") so members replies or bounces don't get (re)distributed.

Neither seem to work, that is, a following rules that trigger forwarding to the list always fire (triggered by a special subject header) the Exit in the above is never done.

What confuses me, is that whatever I try, that "FCRE" always gets put in there, regardless of any other selection in either of the rule dialogs.  A Bug perhaps?  Even stuff I put in the "Other" field in the wizard, still comes up with the FCRE in the rules editor, and I've found in the pmc file.

 I've never found (yet) where you enter "regular expression" rule matches, I've only seen the rules editor, and the new rule wizard.  Have I missed something?  Or does that mean I have to edit the .pmc file outside of Peg?

In all honesty, I've given up trying to make this work, it's too phreaky and undocumented.  If I did ever make it work, then it broke for whatever reason, it'd be a devils job to fix it.  For now, as it's low traffic anyway (one or two messages a month!) I forward the needed stuff manualy to the list.

Other than the above attempt at a rule triggered list distribution (and some HTML mail rendering crashes when reading stuff sent from a Yahoo list) I have no other issues with Peg', or I'd go use something else.

You mention Mercury, I know wha it is, but have never used it.  Would that be an alernative method for an automated list?  How well would it co-exist on the same PC as Peg, or is a dedicated PC recomended? (not a problem)

Best Regards.

Dave

 

 

&lt;p&gt;Hi Thomas, thanks again for replying, sorry for the delay, too many things to do.&lt;/p&gt;&lt;p&gt;&amp;nbsp;OK, in winrules.pmc, there is this, the first three lines of text, the following stuff is irrelivant to this, and works just fine (moving incoming messages into dedicated folders etc) &lt;/p&gt;&lt;p&gt;NoDisplay:New mail filtering rules If header &quot;FCRE&quot; contains &quot;X-borg: (&amp;lt;borglist&amp;gt;)&quot; Exit &quot;&quot; If header &quot;FCRE&quot; contains &quot;borg4x4@g8kbv.demon.co.uk&quot; Exit &quot;&quot; &lt;/p&gt;&lt;p&gt;The first rule line is my attempt to get the thing to recognise a custom X header.&amp;nbsp; I can see that header in incoming mails just fine, in the raw view.&lt;/p&gt;&lt;p&gt;The second line, is an attempt to get it to ignore anything coming in to that address (what I&#039;ve set in the list&#039;s &quot;Reply to&quot;) so members replies or bounces don&#039;t get (re)distributed. &lt;/p&gt;&lt;p&gt;Neither seem to work, that is, a following rules that trigger forwarding to the list always fire (triggered by a special subject header) the Exit in the above is never done. &lt;/p&gt;&lt;p&gt;What confuses me, is that whatever I try, that &quot;FCRE&quot; always gets put in there, regardless of any other selection in either of the rule dialogs.&amp;nbsp; A Bug perhaps?&amp;nbsp; Even stuff I put in the &quot;Other&quot; field in the wizard, still comes up with the FCRE in the rules editor, and I&#039;ve found in the pmc file.&lt;/p&gt;&lt;p&gt;&amp;nbsp;I&#039;ve never found (yet) where you enter &quot;regular expression&quot; rule matches, I&#039;ve only seen the rules editor, and the new rule wizard.&amp;nbsp; Have I missed something?&amp;nbsp; Or does that mean I have to edit the .pmc file outside of Peg? &lt;/p&gt;&lt;p&gt;In all honesty, I&#039;ve given up trying to make this work, it&#039;s too phreaky and undocumented.&amp;nbsp; If I did ever make it work, then it broke for whatever reason, it&#039;d be a devils job to fix it.&amp;nbsp; For now, as it&#039;s low traffic anyway (one or two messages a month!) I forward the needed stuff manualy to the list.&lt;/p&gt;&lt;p&gt;Other than the above attempt at a rule triggered list distribution (and some HTML mail rendering crashes when reading stuff sent from a Yahoo list) I have no other issues with Peg&#039;, or I&#039;d go use something else.&lt;/p&gt;&lt;p&gt;You mention Mercury, I know wha it is, but have never used it.&amp;nbsp; Would that be an alernative method for an automated list?&amp;nbsp; How well would it co-exist on the same PC as Peg, or is a dedicated PC recomended? (not a problem) &lt;/p&gt;&lt;p&gt;Best Regards.&lt;/p&gt;&lt;p&gt;Dave &lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;

Hi Lythande, thanks for the reply.

I've done that, take my address out of the list, but bounces and intended replies from the members that I want to come back to me, at the moment if I try to automate things, get redistributed, causing mayhem and confusion.

Also, moving the source message to a folder, but that doesnt stop replies and bounces re-triggering things.

For now, I do it manualy, but it'd be good if I can get it automated.

Best Regards.

Dave.

 

&lt;p&gt;Hi Lythande, thanks for the reply.&lt;/p&gt;&lt;p&gt;I&#039;ve done that, take my address out of the list, but bounces and intended replies from the members that I want to come back to me, at the moment if I try to automate things, get redistributed, causing mayhem and confusion.&lt;/p&gt;&lt;p&gt;Also, moving the source message to a folder, but that doesnt stop replies and bounces re-triggering things.&lt;/p&gt;&lt;p&gt;For now, I do it manualy, but it&#039;d be good if I can get it automated.&lt;/p&gt;&lt;p&gt;Best Regards.&lt;/p&gt;&lt;p&gt;Dave.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;



> Hi Thomas, thanks again for replying, sorry for the delay, too many
> things to do.
>
>  OK, in winrules.pmc, there is this, the first three lines of text,
> the following stuff is irrelivant to this, and works just fine (moving
> incoming messages into dedicated folders etc)
>
>
> NoDisplay:New mail filtering rules
> If header "FCRE" contains "X-borg: (<borglist>)" Exit ""
> If header "FCRE" contains "borg4x4@g8kbv.demon.co.uk" Exit ""
>
>
> The first rule line is my attempt to get the thing to recognise a
> custom X header.  I can see that header in incoming mails just fine,
> in the raw view.

To work with a special header you need to use an "expression" type rule.  It would look something like this in the winrules.pmc.

If expression headers matches "X-borg: (,borglist>)" Exit

&amp;gt; Hi Thomas, thanks again for replying, sorry for the delay, too many &amp;gt; things to do. &amp;gt; &amp;gt; &amp;nbsp;OK, in winrules.pmc, there is this, the first three lines of text, &amp;gt; the following stuff is irrelivant to this, and works just fine (moving &amp;gt; incoming messages into dedicated folders etc) &amp;gt; &amp;gt; &amp;gt; NoDisplay:New mail filtering rules &amp;gt; If header &quot;FCRE&quot; contains &quot;X-borg: (&amp;lt;borglist&amp;gt;)&quot; Exit &quot;&quot; &amp;gt; If header &quot;FCRE&quot; contains &quot;borg4x4@g8kbv.demon.co.uk&quot; Exit &quot;&quot; &amp;gt; &amp;gt; &amp;gt; The first rule line is my attempt to get the thing to recognise a &amp;gt; custom X header.&amp;nbsp; I can see that header in incoming mails just fine, &amp;gt; in the raw view. To work with a special header you need to use an &quot;expression&quot; type rule.&amp;nbsp; It would look something like this in the winrules.pmc. If expression headers matches &quot;X-borg: (,borglist&amp;gt;)&quot; Exit

Hi Thomas, thanks again for your reply.

Sadly, I'm being rather dense at the moment.  I can see mention of "Expression Rules" in Peg's help system, but where/how does one enter them?   Or, do I need to manually edit the winrules.pmc file, if so, with any old editor (notepad) etc, or???   Also, what not to do, just in case...

Sorry for the dumb ass questions, but the harder I look, it seems the less I see.

Best Regards.

Dave.

&lt;p&gt;Hi Thomas, thanks again for your reply.&lt;/p&gt;&lt;p&gt;Sadly, I&#039;m being rather dense at the moment.&amp;nbsp; I can see mention of &quot;Expression Rules&quot; in Peg&#039;s help system, but where/how does one enter them? &amp;nbsp; Or, do I need to manually edit the winrules.pmc file, if so, with any old editor (notepad) etc, or???&amp;nbsp;&amp;nbsp; Also, what not to do, just in case... &lt;/p&gt;&lt;p&gt;Sorry for the dumb ass questions, but the harder I look, it seems the less I see.&lt;/p&gt;&lt;p&gt;Best Regards.&lt;/p&gt;&lt;p&gt;Dave. &lt;/p&gt;

Click on the filters icon (or go through the menus) click add rule, second button is expressions.  I think you can figure it out from there.

Click on the filters icon (or go through the menus) click add rule, second button is expressions.&amp;nbsp; I think you can figure it out from there.
live preview
enter atleast 10 characters
WARNING: You mentioned %MENTIONS%, but they cannot see this message and will not be notified
Saving...
Saved
With selected deselect posts show selected posts
All posts under this topic will be deleted ?
Pending draft ... Click to resume editing
Discard draft