Message Quarantine Report

General eFa discussion
Post Reply
alwtech
Posts: 9
Joined: 16 Feb 2019 18:09

Message Quarantine Report

Post by alwtech »

Message Quarantine Report

Is there a way to make the system automatically create the users once email transverses the system or a self signup?
This system will be used for multiple domains and users.
I am tring to avoid having to enter everyone in manually.

if not then what do you do for a user that would have multiple aliases under one account?
User avatar
shawniverson
Posts: 3644
Joined: 13 Jan 2014 23:30
Location: Indianapolis, Indiana USA
Contact:

Re: Message Quarantine Report

Post by shawniverson »

alwtech wrote: 17 Feb 2019 02:57 Is there a way to make the system automatically create the users once email transverses the system or a self signup?
Not yet. Automatic user creation or self sign up would require some form of sender or recipient verification to ensure only accounts are created for real users. It is something that I am considering for v4.
This system will be used for multiple domains and users.
I am tring to avoid having to enter everyone in manually.
Here's some tools that may be of interest

https://github.com/E-F-A/v3/tree/master/tools
if not then what do you do for a user that would have multiple aliases under one account?
MailWatch has a filters action where you can define aliases for a single account.
alwtech
Posts: 9
Joined: 16 Feb 2019 18:09

Re: Message Quarantine Report

Post by alwtech »

I am not sure what I am doing wrong but I have the box checked under the user to send dialy report.. nothing happened yesterday for that.
Today I went in and clicked the button to sent the report now and the page refreshes with the message "The quarantine report was successfully sent." but I never see the report sent out through maillog. I am not able to find anything else that might show the error.
Can you help direct me on how to troublshoot this futher ?
User avatar
shawniverson
Posts: 3644
Joined: 13 Jan 2014 23:30
Location: Indianapolis, Indiana USA
Contact:

Re: Message Quarantine Report

Post by shawniverson »

Try running it from the shell and see what happens:

Code: Select all

sudo /usr/local/bin/mailwatch/tools/Cron_jobs/mailwatch_quarantine_report.php
alwtech
Posts: 9
Joined: 16 Feb 2019 18:09

Re: Message Quarantine Report

Post by alwtech »

=== Generating report for j**@s*******l.net type=U
==== Recipient e-mail address is j**@s*******l.net
==== Building list for j**@s*******l.net
==== Found 0 quarantined e-mails


When you login to the web portal. It shows there are items in quarantine
See attachment
Attachments
Capture.PNG
Capture.PNG (26.16 KiB) Viewed 8040 times
mattch
Posts: 44
Joined: 28 Mar 2018 22:26

Re: Message Quarantine Report

Post by mattch »

Maybe one-day mailwatch can connect to multiple LDAP connections like postfix can.

using the Mailwatch-Ad-Sync script works flawlessly. so much so its easy enough for me to build a EFA/vm dedicated for each "exchange server" then backup and restore the bayes from one that has a good amount of tokens for your mail patterns.

i haven't tried the other tools to import user.

some things that helped me is to send a bonified spam message using an SA rule then in mailwatch go to that user and send now.
for that i :

Code: Select all

 /etc/mail/spamassassin/mattchs-custom-rules.cf

body BYPASS_RULE /mattchs-super-secret-bypass-string/
score BYPASS_RULE -100
describe BYPASS_RULE Bypass Rule

body dePASS_RULE /spamson/
score dePASS_RULE 100
describe dePASS_RULE Depass Rule to force spam
Last edited by mattch on 17 Feb 2019 22:51, edited 1 time in total.
alwtech
Posts: 9
Joined: 16 Feb 2019 18:09

Re: Message Quarantine Report

Post by alwtech »

What about the reports not seeming to generate ?
User avatar
shawniverson
Posts: 3644
Joined: 13 Jan 2014 23:30
Location: Indianapolis, Indiana USA
Contact:

Re: Message Quarantine Report

Post by shawniverson »

You need actual spam in your quarantine before a report will generate.
alwtech
Posts: 9
Joined: 16 Feb 2019 18:09

Re: Message Quarantine Report

Post by alwtech »

Then what are the items that show up in quarantine considered?
mattch
Posts: 44
Joined: 28 Mar 2018 22:26

Re: Message Quarantine Report

Post by mattch »

only spam messages come through in the quarantine report.
"clean" messages wont show in the report.

get a spam though to that user and then send the report from mailwatch.

for me sending spam test messages was easily achieved with a custom SA rule that assigns high score with a certain string in the body, on the opposite side another string to force a low score, so when testing it wont be treated as spam when it shouldnt.
henk
Posts: 517
Joined: 14 Dec 2015 22:16
Location: Netherlands
Contact:

Re: Message Quarantine Report

Post by henk »

mattch wrote: 17 Feb 2019 22:50 only spam messages come through in the quarantine report.
"clean" messages wont show in the report.
hence the name: quarantine report. :whistle: and who wants to receive an empty report if there are no quarantined messages?
“We are stuck with technology when what we really want is just stuff that works.” -Douglas Adams
crazykilla86
Posts: 5
Joined: 25 Feb 2019 01:10

Re: Message Quarantine Report

Post by crazykilla86 »

Is there a way for the administrator of MailWatch to get a quarantine report for all recipients?
mattch
Posts: 44
Joined: 28 Mar 2018 22:26

Re: Message Quarantine Report

Post by mattch »

crazykilla86 wrote: 25 Feb 2019 01:47 Is there a way for the administrator of MailWatch to get a quarantine report for all recipients?
if thats your goal then dont use the quarantine email report and just manage quarantine from mailwatch web ui. the quarantine report will take to mailwatch anyway. in mailwatch you can add a filter of any particular user email address to see their stuff or view it all, thats what i do for some anyway. :banana-stoner:
henk
Posts: 517
Joined: 14 Dec 2015 22:16
Location: Netherlands
Contact:

Re: Message Quarantine Report

Post by henk »

You could take a look at viewtopic.php?t=3002

I use efa with fetchmail, so localhost will cover all domains for me :think:
You could create 1 user for each domain.
“We are stuck with technology when what we really want is just stuff that works.” -Douglas Adams
Post Reply