Search found 3783 matches

by shawniverson
11 Feb 2025 00:03
Forum: 5.x Bugs
Topic: Spamassassin local.cf ignored
Replies: 9
Views: 201225

Re: Spamassassin local.cf ignored

There is a spamassassin results cache database in MailScanner. You can

Code: Select all

sudo rm /var/spool/MailScanner/incoming/SpamAssassin.cache.db
and

Code: Select all

sudo systemctl restart mailscanner
to reset it.
by shawniverson
10 Feb 2025 23:45
Forum: How-to
Topic: Greylist vs banking auth code
Replies: 1
Views: 16408

Re: Greylist vs banking auth code

You can add the bank's domain to /etc/sqlgrey/clients_fqdn_whitelist.local and run

Code: Select all

sudo update_sqlgrey_config
by shawniverson
17 Jan 2025 23:04
Forum: Discussion
Topic: EFA's incorrect handling of zen.spamhaus.org
Replies: 8
Views: 46385

Re: EFA's incorrect handling of zen.spamhaus.org

Thank you for bringing this to my attention. I will drop this configuration from postfix for new installations since it is not recommended. For existing installations I'll see if I can add the return code range to the definition.
by shawniverson
17 Jan 2025 22:55
Forum: Introduction
Topic: Howdy
Replies: 1
Views: 34965

Re: Howdy

:text-welcomewave: If you use two of them you get the added flexibility of customizing your inbound and outbound filtering separately and not have to worry about making your customizations distinguish between inbound and outbound mail flows. On the other hand, you would have to manage two boxes, so ...
by shawniverson
16 Dec 2024 18:59
Forum: Discussion
Topic: Quarantine email - View Links
Replies: 1
Views: 5245

Re: Quarantine email - View Links

This is expected behavior.
by shawniverson
06 Dec 2024 20:28
Forum: 5.x Bugs
Topic: postfix chdir permission denied
Replies: 4
Views: 8538

Re: postfix chdir permission denied

I looked at the queue logic in MailWatch and can't figure out how you are getting this warning.

In /etc/MailScanner/MailScanner.conf, what is the value for the following:

MTA
Incoming Queue Dir
Outgoing Queue Dir

In /var/www/html/mailscanner/conf.php:

MS_CONFIG_DIR
by shawniverson
05 Dec 2024 13:39
Forum: 5.x Bugs
Topic: postfix chdir permission denied
Replies: 4
Views: 8538

Re: postfix chdir permission denied

This could be MailWatch trying to monitor the queues, but I'm not sure why it would be trying to use sendmail for that. Does it only log when the MailWatch UI is open for about every 30 seconds?
by shawniverson
05 Dec 2024 13:13
Forum: How-to
Topic: Only send spam notifications to specific domain
Replies: 1
Views: 5877

Re: Only send spam notifications to specific domain

Yes, you can. What you need is a ruleset. Create a new file in /etc/MailScanner/rules such as spamactions.rules Define your rules in the file, using tabs to separate fields. Be sure to look at your Spam Actions setting in MailScanner.conf to see what parameters you are using in case you need to put ...
by shawniverson
22 Nov 2024 23:04
Forum: Discussion
Topic: Edit release message
Replies: 1
Views: 5772

Re: Edit release message

/var/www/html/mailscanner/conf.php

Code: Select all

define('QUARANTINE_MSG_BODY', 'Please find the original message that was quarantined attached to this mail.

Regards,
Postmaster');
by shawniverson
17 Nov 2024 19:21
Forum: 5.x Bugs
Topic: Postfix mynetworks default setting
Replies: 3
Views: 13507

Re: Postfix mynetworks default setting

I'd like to know how "hash:/etc/postfix/transport" ended up here.

mynetworks is initialized out of the box as:

eFa-base-5.0.0-1.eFa.el9.noarch
postfix-config-5.0.0.sh, line 35:

Code: Select all

postconf -e "mynetworks = 127.0.0.0/8 [::1]/128"
by shawniverson
12 Nov 2024 05:14
Forum: 5.x Bugs
Topic: eFa v5 bayes behaviour
Replies: 18
Views: 53635

Re: eFa v5 bayes behaviour

Please test the following:

Change the following line in /etc/mail/spamassassin/mailscanner.cf:

From:

Code: Select all

bayes_store_module               Mail::SpamAssassin::BayesStore::SQL
To:

Code: Select all

bayes_store_module               Mail::SpamAssassin::BayesStore::MySQL
Report back results.
by shawniverson
12 Nov 2024 02:47
Forum: 5.x Bugs
Topic: eFa v5 bayes behaviour
Replies: 18
Views: 53635

Re: eFa v5 bayes behaviour

I am able to reproduce the same behavior. sudo su - postfix -s /bin/sh -c "spamassassin -D bayes -t < /var/spool/MailScanner/quarantine/20241110/spam/4XmZWK3SLgzcDDsV" Run #1 Nov 11 21:38:24.182 [2892651] dbg: bayes: tokenized header: 62 tokens Nov 11 21:38:24.183 [2892651] dbg: bayes: tok...
by shawniverson
10 Nov 2024 23:25
Forum: 5.x Bugs
Topic: eFa v5 bayes behaviour
Replies: 18
Views: 53635

Re: eFa v5 bayes behaviour

Given that bayes is doing this unpredictable behaviour for you it is essentially unreliable and useless. I am going to populate bayes and try to reproduce the same behaviour on my end to continue troubleshooting with you. I reached out for help from spamassassin on IRC and they want us to: 1) Try ba...
by shawniverson
08 Nov 2024 20:11
Forum: 5.x Bugs
Topic: eFa v5 bayes behaviour
Replies: 18
Views: 53635

Re: eFa v5 bayes behaviour

Uhhhh.... :crazy: :crazy: :crazy: :crazy: Do me a favor, can you temporarily disable SELinux and run some more tests? Can you confirm that bayes autolearning is off in the context of the postfix user? (see below) Do you have a /etc/MailScanner/spamassassin.conf that is a regular file and has a valid...
by shawniverson
08 Nov 2024 11:17
Forum: Discussion
Topic: Daily Quarantine Report Timing
Replies: 1
Views: 5657

Re: Daily Quarantine Report Timing

This is pretty much it.

Yeah, if you change the cron job, you'll have to be mindful that an update to MailWatch could potentially add the default cron job back to cron.daily.
by shawniverson
08 Nov 2024 10:25
Forum: 5.x Bugs
Topic: eFa v5 bayes behaviour
Replies: 18
Views: 53635

Re: eFa v5 bayes behaviour

What happens if you execute spamassassin as the user that MailScanner runs as?

Code: Select all

sudo su - postfix -s /bin/sh -c "spamassassin -D -t < msg"
by shawniverson
25 Oct 2024 22:59
Forum: 4.x Bugs
Topic: Problem with transport
Replies: 1
Views: 7918

Re: Problem with transport

To ways to potentially resolve. One is to remove the recipient address validation cache. (best) sudo mv /var/lib/postfix/verify_cache.db /var/lib/postifx/verify_cache.db.bak Another is to disable recipient address verification using eFa-Configure (under mail settings) or adjusting the postfix main.c...
by shawniverson
25 Oct 2024 07:32
Forum: How-to
Topic: V5 - 16) DKIM and DMARC
Replies: 1
Views: 9554

Re: V5 - 16) DKIM and DMARC

This option enables validation via opendkim and opendmarc. Enabling signing for opendkim requires additional setup.

Setup should be the same as in previous versions, so those posts should still apply.
by shawniverson
17 Oct 2024 11:33
Forum: How-to
Topic: efa3 to efa4
Replies: 3
Views: 13186

Re: efa3 to efa4

You should get to eFa4 first...

Looks like appstream was moved to vault.

Give this a try:

https://medium.com/@bonguides25/fixed-f ... 1ad6db8f16
by shawniverson
05 Oct 2024 15:53
Forum: 5.x Bugs
Topic: Connection Refused
Replies: 1
Views: 10315

Re: Connection Refused

You are getting a service unavailable. Is your milter functioning properly? msmilter must be running and available on port 33333.
by shawniverson
05 Oct 2024 15:51
Forum: How-to
Topic: same antispam problem
Replies: 2
Views: 9619

Re: same antispam problem

Sounds like you have a mail loop occurring in that direction somehow. I'm not sure why with the information you provided. You may need to check your /etc/postfix/transport file and see if it makes sense for both servers.
by shawniverson
05 Oct 2024 15:39
Forum: How-to
Topic: Restricted administrator account for email quarantine access
Replies: 1
Views: 7795

Re: Restricted administrator account for email quarantine access

This is not one of the roles that MailWatch has out of the box.

It is possible to make MailWatch do this, but it will require some modification.

I think this would make a good feature request for MailWatch.