Hi, I've set up amavis-new with per user spam and blacklist configuration and the spam works but blacklist doesn't. When I blacklist a emailadress it get tagged in the header with BLACKLISTED but it still gets delivered. Please help me.
No errors in the log. Just the normal stuff. Sep 21 23:27:45 365724 amavis[6744]: (06744-02) Passed, <[email protected]> -> <[email protected]>, quarantine HXkhj1Y72dBN, Message-ID: <001301c7fc96$9397c6c0$8a00a8c0@hemmahos>, Hits: - Sep 21 23:27:45 365724 postfix/smtp[6858]: B8F7F28001: to=<[email protected]>, relay=127.0.0.1[127.0.0.1], delay=1, status=sent (250 2.6.0 Ok, id=06744-02, from MTA([127.0.0.1]:10025): 250 Ok: queued as 13F3D28002) Sep 21 23:27:45 365724 postfix/qmgr[32534]: B8F7F28001: removed Sep 21 23:27:45 365724 postfix/virtual[6872]: 13F3D28002: to=<[email protected]>, relay=virtual, delay=0, status=sent (delivered to maildir) Sep 21 23:27:45 365724 postfix/qmgr[32534]: 13F3D28002: removed Here is a part of my mail log. The part in blue is different from my test server were everything works fine. Were it says "Ok" in this in the other is says "Ok, discarded, sender blacklisted" and after that it get thrown away. Is it some setting in postfix or where do I set it. Because amavis tags it with blacklisted.
Hi again, I found the problem late last night. When I looked at amavis log file I found that it did two checks for "spamlover" and found one so it just passed the mail forward. It was an entry in the users and policys table. I had one entry for "@myd.se" that was a spamlover that owerrided my entry. If I test another mail it works fine. That setting was suppose to be default setting for the whole domain and the overridden by each user. Thats a little strange because my priority was 9 and the other was set to 7 so you would think that it shouldn't check the one with lower priority. Do you know anything about this? And thanks for some great tutorials and all help you give.