Quantcast

How to remove (spam) issues from the tracker

classic Classic list List threaded Threaded
8 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

How to remove (spam) issues from the tracker

Christian Wolf
Hello,

I have the problem, that my issue tracker is used to track mails to an
address for a official of an association. Unfortunately some spam mails
will be sent to this account as well.

I will soon modify the mailing rules (hopefully) to separate but it will
not be possible to separate these mails completely. Mails from the
outside should go to the tracker if the content is a real issue.
I am not yet sure how manage this...

The question is: How can I remove these issues coming from external mail
sources that contain spam?
There will nobody assigned and I wanted these simply to get removed. I
can for sure unlink the message and the potential appendices from the
issue. However I do not see how to
a) Remove/retire the issue itself?
b) Tidy up the removed mail messages/files?

Thanks a lot
Christian Wolf

------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
_______________________________________________
Roundup-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/roundup-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: How to remove (spam) issues from the tracker

Peter Funk
Hello Christian,

Christian Wolf schrieb am Freitag, den 22.04.2016 um 14:00:
> Hello,
>
> I have the problem, that my issue tracker is used to track mails to an
> address for a official of an association. Unfortunately some spam mails
> will be sent to this account as well.

That is a common situation.

> I will soon modify the mailing rules (hopefully) to separate but it will
> not be possible to separate these mails completely. Mails from the
> outside should go to the tracker if the content is a real issue.
> I am not yet sure how manage this...

There are several approaches to this problem:  The first question
is: Is the web interface of your issue tracker visible on the internet?

If yes then the default configuration of the classic template will
send a message to all new unknown users asking them to register first.
So only emails from registered users will be accepted and archived
by Roundup.  This prevents spam (at least almost) from going into
Roundup.

If no then it becomes a little bit more complicated.  
However this is how we in our company are using Roundup (the web
interface is only visible to employees in our Intranet).  
I could write up a description how we handle this here.

> The question is: How can I remove these issues coming from external mail
> sources that contain spam?
> There will nobody assigned and I wanted these simply to get removed. I
> can for sure unlink the message and the potential appendices from the
> issue. However I do not see how to
> a) Remove/retire the issue itself?

You could easy add a "Remove this issue" button to your issue.item.html
I can provide an example if you want.

> b) Tidy up the removed mail messages/files?

This can currently only be done in the filesystem.  Of course it is
possible to write a cleanup script, which will do this automatically.
But AFAIK such a script doesn't exist publically. (However I believe
others might have already encountered the same situation and so chances
are that somebody reading this text could post such a script as
followup here).

Best Regards (or in german: Viele Grüße),
Peter Funk
--
Peter Funk, home: ✉Oldenburger Str.86, D-27777 Ganderkesee
mobile:+49-179-640-8878 phone:+49-421-20419-0 <http://www.artcom-gmbh.de/>
office: ArtCom GmbH, ✉Haferwende 2, D-28357 Bremen, Germany

------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
_______________________________________________
Roundup-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/roundup-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: How to remove (spam) issues from the tracker

Rob Kellock
In reply to this post by Christian Wolf
Hi Christian,

It's been a long time since I've had to play with my setup, but what I
did was to create a new role called Staff and assign internal users to
that role.  Then I wrote a small reactor that Rejects the message if the
sender isn't Staff.  Finally I hacked the Unauthorized user code in
mailgw.py so that the rejected email is sent to the dispatcher email
address.  So what I ended up with is that all emails that aren't
generated by a Staff member or a customer replying to an existing issue
are sent to the Dispatcher. If the email is spam, then, it never gets
into Roundup at all.  If it is a valid email the Dispatcher can forward
it to the appropriate Issue or create a new Issue.

I'm not sure that you can privately email me from here, but all my
alterations to Roundup I've kept in a zip archive and I'm quite happy to
send them to you.  Google pocketclassmaker and you'll find me easily.

Cheers,

Rob Kellock.

On 23/04/2016 12:00 a.m., Christian Wolf wrote:

> Hello,
>
> I have the problem, that my issue tracker is used to track mails to an
> address for a official of an association. Unfortunately some spam mails
> will be sent to this account as well.
>
> I will soon modify the mailing rules (hopefully) to separate but it will
> not be possible to separate these mails completely. Mails from the
> outside should go to the tracker if the content is a real issue.
> I am not yet sure how manage this...
>
> The question is: How can I remove these issues coming from external mail
> sources that contain spam?
> There will nobody assigned and I wanted these simply to get removed. I
> can for sure unlink the message and the potential appendices from the
> issue. However I do not see how to
> a) Remove/retire the issue itself?
> b) Tidy up the removed mail messages/files?
>
> Thanks a lot
> Christian Wolf
>
> ------------------------------------------------------------------------------
> Find and fix application performance issues faster with Applications Manager
> Applications Manager provides deep performance insights into multiple tiers of
> your business applications. It resolves application problems quickly and
> reduces your MTTR. Get your free trial!
> https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
> _______________________________________________
> Roundup-users mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/roundup-users


------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
_______________________________________________
Roundup-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/roundup-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: How to remove (spam) issues from the tracker

John P. Rouillard
Hi Rob:

In message <[hidden email]>,
Rob Kellock writes:
>It's been a long time since I've had to play with my setup, but what I
>did was to create a new role called Staff and assign internal users to
>that role.  Then I wrote a small reactor that Rejects the message if the
>sender isn't Staff.  Finally I hacked the Unauthorized user code in
>mailgw.py so that the rejected email is sent to the dispatcher email
>address.

Have you thought about adding your zip/explanation to the roundup
wiki?

http://www.roundup-tracker.org/cgi-bin/moin.cgi/FrontPage

Also there is:

   http://www.roundup-tracker.org/cgi-bin/moin.cgi/AntiSpam

and

  http://www.roundup-tracker.org/cgi-bin/moin.cgi/SpamBayesIntegration

for other wasy of handiling email spam.


>> The question is: How can I remove these issues coming from external mail
>> sources that contain spam?
>> There will nobody assigned and I wanted these simply to get removed. I
>> can for sure unlink the message and the potential appendices from the
>> issue. However I do not see how to
>> a) Remove/retire the issue itself?

Probably easiest to retire the issue and msgs using the roundup-admin
interface. If your anti-spam defenses are ok, there shouldn't be many
to handle.

>> b) Tidy up the removed mail messages/files?

You can just empty the files at the filesystem level, however once
they are retired IIRC the web intrface won't let them be viewed even if
you have a link to them..

--
                                -- rouilj
John Rouillard
===========================================================================
My employers don't acknowledge my existence much less my opinions.

------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
_______________________________________________
Roundup-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/roundup-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: How to remove (spam) issues from the tracker

Christian Wolf
Hello,

I have seen the pages but I did not find more information than the basic
idea in 3 lines. A bit more information how to achieve this would be
helpful.
I was interested in the IMAP folder based approach but for now I do not
see all the details. I know how to filter using e.g. sieve and could
imagine filtering spam out. However I do not see how roundup-mailgw
comes into play. (Filtering works on delivery, not on user-action. Thus
I could not call the mailgw from within the mail filtering language...)

Thanks a lot

Christian Wolf

Am 25.04.2016 um 03:47 schrieb John P. Rouillard:

> Hi Rob:
>
> In message <[hidden email]>,
> Rob Kellock writes:
>> It's been a long time since I've had to play with my setup, but what I
>> did was to create a new role called Staff and assign internal users to
>> that role.  Then I wrote a small reactor that Rejects the message if the
>> sender isn't Staff.  Finally I hacked the Unauthorized user code in
>> mailgw.py so that the rejected email is sent to the dispatcher email
>> address.
>
> Have you thought about adding your zip/explanation to the roundup
> wiki?
>
> http://www.roundup-tracker.org/cgi-bin/moin.cgi/FrontPage
>
> Also there is:
>
>    http://www.roundup-tracker.org/cgi-bin/moin.cgi/AntiSpam
>
> and
>
>   http://www.roundup-tracker.org/cgi-bin/moin.cgi/SpamBayesIntegration
>
> for other wasy of handiling email spam.
>
>
>>> The question is: How can I remove these issues coming from external mail
>>> sources that contain spam?
>>> There will nobody assigned and I wanted these simply to get removed. I
>>> can for sure unlink the message and the potential appendices from the
>>> issue. However I do not see how to
>>> a) Remove/retire the issue itself?
>
> Probably easiest to retire the issue and msgs using the roundup-admin
> interface. If your anti-spam defenses are ok, there shouldn't be many
> to handle.
>
>>> b) Tidy up the removed mail messages/files?
>
> You can just empty the files at the filesystem level, however once
> they are retired IIRC the web intrface won't let them be viewed even if
> you have a link to them..
>
> --
> -- rouilj
> John Rouillard
> ===========================================================================
> My employers don't acknowledge my existence much less my opinions.
>
> ------------------------------------------------------------------------------
> Find and fix application performance issues faster with Applications Manager
> Applications Manager provides deep performance insights into multiple tiers of
> your business applications. It resolves application problems quickly and
> reduces your MTTR. Get your free trial!
> https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
> _______________________________________________
> Roundup-users mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/roundup-users
>

------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
_______________________________________________
Roundup-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/roundup-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: How to remove (spam) issues from the tracker

R. David Murray
On Mon, 25 Apr 2016 10:45:05 +0200, Christian Wolf <[hidden email]> wrote:
> I have seen the pages but I did not find more information than the basic
> idea in 3 lines. A bit more information how to achieve this would be
> helpful.
> I was interested in the IMAP folder based approach but for now I do not
> see all the details. I know how to filter using e.g. sieve and could
> imagine filtering spam out. However I do not see how roundup-mailgw
> comes into play. (Filtering works on delivery, not on user-action. Thus
> I could not call the mailgw from within the mail filtering language...)

Most mail filtering programs allow you to deliver to a program.

--David

------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
_______________________________________________
Roundup-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/roundup-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: How to remove (spam) issues from the tracker

John P. Rouillard
In reply to this post by Christian Wolf
Hello:

In message <[hidden email]>,
Christian Wolf writes:
>Hello,
>
>I have seen the pages but I did not find more information than the basic
>idea in 3 lines. A bit more information how to achieve this would be
>helpful.
>I was interested in the IMAP folder based approach but for now I do not
>see all the details. I know how to filter using e.g. sieve and could

(I assume sieve RFC 5228??)

>imagine filtering spam out. However I do not see how roundup-mailgw
>comes into play. (Filtering works on delivery, not on user-action. Thus
>I could not call the mailgw from within the mail filtering language...)

Assume a user who gets email caled help.

The spam determination  is run when the email  arrives/is delivered to
help.  The email is either directed into the spam folder (fileinto) or
the imap inbox (keep).

On the roundup server, you run the mailgw in imap mode on a regular
basis (e.g. out of cron) to collect email from the spam free "help"
mailbox and process it.

If you are receiving email on the same server where roundup is
running, you can set up another alias say: roundup and in sieve use
"redirect roundup" which is an alias that runs the roundup gateway in
normal sendmail/postfix mode where the message is piped into the mail
gateway on stdin. Note that emails sent directly to roundup will
bypass the spam filter.

Does that help you see how the gateway is used?

--
                                -- rouilj
John Rouillard
===========================================================================
My employers don't acknowledge my existence much less my opinions.

------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
_______________________________________________
Roundup-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/roundup-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: How to remove (spam) issues from the tracker

Christian Wolf
Hello,

Am 26.04.2016 um 00:44 schrieb John P. Rouillard:
> Hello:
> [...]
> (I assume sieve RFC 5228??)

yes, I think this is the standard. I use dovecat at the moment.

>
>> imagine filtering spam out. However I do not see how roundup-mailgw
>> comes into play. (Filtering works on delivery, not on user-action. Thus
>> I could not call the mailgw from within the mail filtering language...)
>
> Assume a user who gets email caled help.
>
> The spam determination  is run when the email  arrives/is delivered to
> help.  The email is either directed into the spam folder (fileinto) or
> the imap inbox (keep).

So far I am completely with you. This implies that the mail is either
directly classified as spam (removed) or as roundup-related (has a
[issue...] tag). These mails can directly processed by moving away,
sending to another folder or piping through the mailgw.

> On the roundup server, you run the mailgw in imap mode on a regular
> basis (e.g. out of cron) to collect email from the spam free "help"
> mailbox and process it.
>
> If you are receiving email on the same server where roundup is
> running, you can set up another alias say: roundup and in sieve use
> "redirect roundup" which is an alias that runs the roundup gateway in
> normal sendmail/postfix mode where the message is piped into the mail
> gateway on stdin. Note that emails sent directly to roundup will
> bypass the spam filter.

This is how it works in the moment.

> Does that help you see how the gateway is used?

Yes, that was a good hint.
I was not aware that I could also run the mailgw command on imap or
mailbox files. I was aware I could use cron but I was not aware that I
could read the mails directly from the file system.

I think I will have to look into the imap(s) protocol connection further.

Thanks so far

Christian

------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
_______________________________________________
Roundup-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/roundup-users
Loading...