X-OTRS-Loop no longer preventing autoreply (v6)
Moderator: crythias
-
- Znuny newbie
- Posts: 47
- Joined: 15 Sep 2011, 09:32
- Znuny Version: 6.0.22
- Real Name: Kimmo Jaskari
- Company: Transmar Ab
X-OTRS-Loop no longer preventing autoreply (v6)
I have a queue that I want to send autoreplies to all internal senders, but not to anything coming from the outside. I have a rule for this; we use an external smarthost for our mail that adds its FQDN to the Received header and that is only present when mail is external, so I match on that and if found, the rule sets "X-OTRS-Loop" to "True". This has prevented autoreplies until now.
I can see in the message log that the filter does match - successful Filter: 'filtername' - but even though that happens, the ticket sends the autoreply. This is not a disaster, but it isn't optimal. Ideas? Any other approach to preventing autoreplies for a specific queue and external only?
I can see in the message log that the filter does match - successful Filter: 'filtername' - but even though that happens, the ticket sends the autoreply. This is not a disaster, but it isn't optimal. Ideas? Any other approach to preventing autoreplies for a specific queue and external only?
-
- Znuny newbie
- Posts: 47
- Joined: 15 Sep 2011, 09:32
- Znuny Version: 6.0.22
- Real Name: Kimmo Jaskari
- Company: Transmar Ab
Re: X-OTRS-Loop no longer preventing autoreply (v6)
I think I spotted the issue, the rule in question had to match on both the FQDN and on the recipient email address, but when people send to BCC the email address isn't there. Ideally I suppose a rule would be to match on both the external FQDN in a header and on a per-queue basis, but I just added a regex check for "Undisclosed recipients" as well for now and will see if that's effective.
-
- Znuny newbie
- Posts: 17
- Joined: 07 Dec 2015, 18:19
- Znuny Version: 5.0.4
- Real Name: Csaba Németh
Re: X-OTRS-Loop no longer preventing autoreply (v6)
Hi,
I have similar issue.
I can see that the rule matches and it set X-OTRS-Loop to yes but the sender gets auto reply.
I have similar issue.
I can see that the rule matches and it set X-OTRS-Loop to yes but the sender gets auto reply.
What should I check?12 Kernel::System::PostMaster::Filter::MatchDBSource successful Filter: 'Nincs automatikus válasz' 'Németh Csaba <whatever@gmail.com>' =~ /whatever@gmail.com/i ! 2020-06-09 16:44:43
13 Kernel::System::PostMaster::Filter::MatchDBSource Filter: 'Nincs automatikus válasz' Set param 'X-OTRS-Loop' to 'yes' (Message-ID: <CAPM7-8m+6htg8L-d6HKoNgJ_05APK5=*********@mail.gmail.com>) 2020-06-09 16:44:43
...
40 Kernel::System::PostMaster::NewTicket X-OTRS-Loop: yes 2020-06-09 16:44:44
-
- Znuny superhero
- Posts: 624
- Joined: 24 Feb 2012, 03:58
- Znuny Version: LTS and Features
- Real Name: Mo Azfar
- Location: Kuala Lumpur, MY
- Contact:
Re: X-OTRS-Loop no longer preventing autoreply (v6)
1. X-OTRS-Loop = Yes1soproni wrote: ↑09 Jun 2020, 16:54 Hi,
I have similar issue.
I can see that the rule matches and it set X-OTRS-Loop to yes but the sender gets auto reply.
What should I check?12 Kernel::System::PostMaster::Filter::MatchDBSource successful Filter: 'Nincs automatikus válasz' 'Németh Csaba <whatever@gmail.com>' =~ /whatever@gmail.com/i ! 2020-06-09 16:44:43
13 Kernel::System::PostMaster::Filter::MatchDBSource Filter: 'Nincs automatikus válasz' Set param 'X-OTRS-Loop' to 'yes' (Message-ID: <CAPM7-8m+6htg8L-d6HKoNgJ_05APK5=*********@mail.gmail.com>) 2020-06-09 16:44:43
...
40 Kernel::System::PostMaster::NewTicket X-OTRS-Loop: yes 2020-06-09 16:44:44
2. Mail account setting *Trusted = Yes
good luck
Re: X-OTRS-Loop no longer preventing autoreply (v6)
can you please show full log of the communication log for this mail and also the history of the ticket
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master
Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
"Testing": ((OTRS Community Edition)) and git Master
Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
-
- Znuny newbie
- Posts: 17
- Joined: 07 Dec 2015, 18:19
- Znuny Version: 5.0.4
- Real Name: Csaba Németh
Re: X-OTRS-Loop no longer preventing autoreply (v6)
Here you are
Message: Answer: History:
You do not have the required permissions to view the files attached to this post.
Re: X-OTRS-Loop no longer preventing autoreply (v6)
Do you use a TicketNotification instead of an Auto Reply?
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master
Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
"Testing": ((OTRS Community Edition)) and git Master
Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
-
- Znuny newbie
- Posts: 17
- Joined: 07 Dec 2015, 18:19
- Znuny Version: 5.0.4
- Real Name: Csaba Németh
Re: X-OTRS-Loop no longer preventing autoreply (v6)
Well, it's an inherited otrs instance.
You are absolutely right!
I checked the auto replies and there was a very similar to the used notification...
After your hint I checked the correct settings and I saw that is not any auto reply assigned to the queue.
Thanks again!