Highlighted
Absent Member.
Absent Member.
867 views

GW rules wrong effect

GW 2014 LDAP AD environment, one GW system, one PO.

Anybod any idea? I have a mailbox that should be able to forward all external mail to another (same PO) mailbox. Internal mail should be kept in the original mailbox. In the rules, I defined that

IF the sending user contains [PO_NAME] or [GWSYSTEM_NAME] (PO_NAME and GWSYSTEM_NAME being the real names of the PO / the GW system), mail should not be forwarded and should be kept in the original mailbox.

In my opinion, that should be sufficient. However, this exception does not work, all internal and external mail is being forwarded to the second mailbox (which should not be happening of course).

Because of this, I added additional exceptions, notably being that if the sender contains @domain_name (domain_name being the actual mail DNS domain name), mail should not be forwarded. Doesn't help either.

Anybody any clue as to how to achieve this selective forwarding?

Cheers,

Jan
Labels (1)
0 Likes
11 Replies
Highlighted
Knowledge Partner
Knowledge Partner

Re: GW rules wrong effect

Disclaimer: i have NO driving license for rules...
...but as a quickshot (i.e. until someone with proper skills jumps in) i'd define an X-field which gets added by the scan engine of your choice on mail coming in from the internet.
for me e.g. something like
act on items where (item type is mail) and ('x-rbl-sophos' contains something)
there are for sure more sophisticated ways to accomplish is but it works for me on a quick test.
0 Likes
Highlighted
Micro Focus Expert
Micro Focus Expert

Re: GW rules wrong effect

Jvoort,

> Because of this, I added additional exceptions, notably being that if
> the sender contains @domain_name (domain_name being the actual mail DNS
> domain name), mail should not be forwarded. Doesn't help either.
>
> Anybody any clue as to how to achieve this selective forwarding?


You could use your domain name. For example, I set up the following rule
where the event is New Item and the items are Received. I then defined
conditions where the From does not contain novell.com. I added the
action to Forward and selected my gmail account.

This forwarded everything that come into my inbox that was not from an
internal address to my external gmail account.

Give this a shot and see if it will work for you.

Thanks,

Pam



0 Likes
Highlighted
Knowledge Partner
Knowledge Partner

Re: GW rules wrong effect

Hi.

If "view name" = "Internet" the mail come from the internet, or of
course, if != it's internal.

CU,
Massimo

On 10.07.2018 10:34, JVOORT wrote:
>
> GW 2014 LDAP AD environment, one GW system, one PO.
>
> Anybod any idea? I have a mailbox that should be able to forward all
> external mail to another (same PO) mailbox. Internal mail should be kept
> in the original mailbox. In the rules, I defined that
>
> IF the sending user contains [PO_NAME] or [GWSYSTEM_NAME] (PO_NAME and
> GWSYSTEM_NAME being the real names of the PO / the GW system), mail
> should not be forwarded and should be kept in the original mailbox.
>
> In my opinion, that should be sufficient. However, this exception does
> not work, all internal and external mail is being forwarded to the
> second mailbox (which should not be happening of course).
>
> Because of this, I added additional exceptions, notably being that if
> the sender contains @domain_name (domain_name being the actual mail DNS
> domain name), mail should not be forwarded. Doesn't help either.
>
> Anybody any clue as to how to achieve this selective forwarding?
>
> Cheers,
>
> Jan
>
>



--
Massimo Rosen
Micro Focus Knowledge Partner
No emails please!
http://www.cfc-it.de
CU,
--
Massimo Rosen
Micro Focus Knowledge Partner
No emails please!
http://www.cfc-it.de
0 Likes
Highlighted
Absent Member.
Absent Member.

Re: GW rules wrong effect

Hi all, thanks for your input. I'm on holiday right now. Will keep all posted after my holiday 🙂 Thanks, Jan
0 Likes
Highlighted
Absent Member.
Absent Member.

Re: GW rules wrong effect

Hello Massimo, I know that "view name" is a field. Now as to the value of it. You mention "Internet". Is that a fixed value or something that I have to match to any local situation? In the latter case: where can I find the value of "view name"?

Cheers,

Jan
0 Likes
Highlighted
Knowledge Partner
Knowledge Partner

Re: GW rules wrong effect

On 13.07.2018 13:24, JVOORT wrote:
>
> Hello Massimo, I know that "view name" is a field. Now as to the value
> of it. You mention "Internet". Is that a fixed value or something that I
> have to match to any local situation? In the latter case: where can I
> find the value of "view name"?


"Internet" is the default value GWIA writes into emails, but it is
configurable. I don't know if it's still exposed in the admin interface
though. It was in ConsoleOne.

CU,
--
Massimo Rosen
Micro Focus Knowledge Partner
No emails please!
http://www.cfc-it.de
CU,
--
Massimo Rosen
Micro Focus Knowledge Partner
No emails please!
http://www.cfc-it.de
0 Likes
Highlighted
Absent Member.
Absent Member.

Re: GW rules wrong effect

Ah that one. I remember. I'll have to check indeed if this value still exists and I'll post back results.
0 Likes
Highlighted
Knowledge Partner
Knowledge Partner

Re: GW rules wrong effect

On 14.07.2018 08:14, JVOORT wrote:
>
> Ah that one. I remember. I'll have to check indeed if this value still
> exists and I'll post back results.
>
>

The value definitely still exists, and if nobody changed it
deliberately, it will be "Internet". I just don't know for sure if it's
still shown in the admin interface of the GWIA.

CU,
--
Massimo Rosen
Micro Focus Knowledge Partner
No emails please!
http://www.cfc-it.de
CU,
--
Massimo Rosen
Micro Focus Knowledge Partner
No emails please!
http://www.cfc-it.de
0 Likes
Highlighted
Knowledge Partner
Knowledge Partner

Re: GW rules wrong effect

In article <f7K2D.390$D87.371@novprvlin0913.provo.novell.com>, Massimo
Rosen wrote:
> >

> The value definitely still exists, and if nobody changed it
> deliberately, it will be "Internet". I just don't know for sure if it's
> still shown in the admin interface of the GWIA.


Confirmed, that "view name" is set to 'Internet' from GWIA
but on a fairly quick look, I can't find where to configure it on post
ConsoleOne systems
nor can I see it in the message such as via Message Source or Properties,
nor can I see it in the web console or config file.

Interesting, I wonder what else gets hidden in that field or how we'd get
to see what is used, hmmm.


Andy of
http://KonecnyConsulting.ca in Toronto
Knowledge Partner
http://forums.novell.com/member.php/75037-konecnya
If you find a post helpful and are logged in the Web interface, please
show your appreciation by clicking on the star below. Thanks!

___
“i’ve sworn an oath of solitude til the blight is purged from these lands”
Andy of Konecny Consulting in Toronto
Knowledge Partner Profile
If you find a post helpful, click the Like button below. Thanks!
0 Likes
Highlighted
Absent Member.
Absent Member.

Re: GW rules wrong effect

There is one field that distinguishes a GWIA mail from an internal PO mail I think. I see it in my own GW language NL as "ID van algemene record". Translated litteraly, this would be "ID of the general record". The ID of the general record in a mail that comes from the GWIA contains, as part of the record ID, the name of the GWIA. Maybe we can focus on this field?
0 Likes
Highlighted
Absent Member.
Absent Member.

Re: GW rules wrong effect

Solution succesfully tested: item is message, Mime-Received contains string of e.g. mailscanning engine in front of GWIA, e.g. sophos.domainname, AND items contains *. The latter is for the rule to be activated on every incoming (external) mail, and not just the first one. Without this extra * setting, only the first incoming mail would trigger the rule to be executed. Thanks everyone for the input.

Cheers,

Jan
0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.