When I put a specific emailaddress (i.e. happy+blacklist@mydomain.org) on the blacklist in efa which is in postfix forwarded to happy@mydomain.org (by using recipient_canonical_maps = regexp:/etc/postfix/recipient_canonical in postfix - which removes the + and everything behind it till the @) it gets blocked (as aspected and supposed to), but does not show up in the mailwatch-page as blacklisted...
If I recall correctly mailwatch did use to show blacklisted emails...
Is it possible to get it shown there (again)?
Blacklist not showing in mailwatch?
Re: Blacklist not showing in mailwatch?
If you add a blacklist via the Gui, it shows up on the mailwatch-page as blacklisted?
check the Spam settings in
check the Spam settings in
Code: Select all
/var/www/html/mailscanner/conf.php
Code: Select all
// Do you want the whitelist/blacklist functionality enabled?
// You'll need to configure MailScanner to use it accordingly.
define('LISTS', true);
// Hide High Spam and high mcp from regular users.
// Prevent regular users from seeing high spam and high mcp.
define('HIDE_HIGH_SPAM', false);
“We are stuck with technology when what we really want is just stuff that works.” -Douglas Adams
Re: Blacklist not showing in mailwatch?
The page to display all white- and blacklisted is available (and blacklisted emailaddresses appear there) and the settings are like you showed them.
The blocked emails don't show on the status page (and are also not available in mysql)...
The blocked emails don't show on the status page (and are also not available in mysql)...
Re: Blacklist not showing in mailwatch?
The blacklisted items do show fine with me
Can you check your Mailscanner.conf for spam actions?
I use the conf.d directory
Can you check your Mailscanner.conf for spam actions?
I use the conf.d directory
Code: Select all
/etc/MailScanner/conf.d/01_MailScanner.conf
Code: Select all
# Spam Blacklist:
# Make this point to a ruleset, and anything in that ruleset whose value
# is "yes" will *always* be marked as spam.
# This value can be over-ridden by the "Is Definitely Not Spam" setting.
# This can also be the filename of a ruleset.
Is Definitely Spam = &SQLBlacklist
Non Spam Actions = store deliver header "X-Spam-Status:No" custom(nonspam)
Spam Actions = store header "X-Spam-Status:Yes" custom(spam)
High Scoring Spam Actions = store
“We are stuck with technology when what we really want is just stuff that works.” -Douglas Adams
Re: Blacklist not showing in mailwatch?
I have the same settings...
I found this line in the maillog
Could it be because of milter?
Weird... I removed an emailaddress from the blacklist and after that it gets displayed on the status-page and in the logging I get but the emailaddress is no longer in the database as blacklisted...
Solved it... I think... For like forever I had 'default' at 'from' at the blacklist, but it was supposed to be 'defaultS'....
Changed it and it works as it's supposed to
Thanks!
I found this line in the maillog
Code: Select all
postfix/cleanup[16101]: 48J9cQ6wWTz7D83: milter-reject: END-OF-MESSAGE from mail-m6eur05olkn2043.outbound.protection.outlook.com[40.92.91.43]: 5.7.1 Message Blacklisted;
Weird... I removed an emailaddress from the blacklist and after that it gets displayed on the status-page and in the logging I get
Code: Select all
MailScanner[15675]: Message 48JQN73W4Wz7DGT from 40.92.90.47 (test@hotmail.com) to <mydomain> is spam (blacklisted)
Solved it... I think... For like forever I had 'default' at 'from' at the blacklist, but it was supposed to be 'defaultS'....
Changed it and it works as it's supposed to
Thanks!
Re: Blacklist not showing in mailwatch?
I have the same problem, when milter rejects the email it doesn't show up in "Recent Messages" as blocklisted.. And I really need to know what was blocklisted, so I can monitor it for any legitimate emails that got blocked by mistake. How did you resolve this? I read your post 10 times and still don't understand how you resolved it.