Jump to content
Froxlor Forum
  • 0

Default option to add DMARC record to each domain


Alexander Lehmann

Question

I have set up SPF and DKIM for the domains provided by Froxlor, that works pretty straight forward except for the opendkim thing, but I got it working.

Now I am wondering if it is possible to add a DNS record for DMARC to each domain that is maintained automatically, this would be a TXT record

with _dmarc TXT "fixed string" or a domain-by-domain entry when using a different feedback address for different domains

for domains that are manually maintained that works by adding it manually, but a generic rule for all domains would be helpful

 

Link to comment
Share on other sites

14 answers to this question

Recommended Posts

  • 0

Hi,

i set my update channel to "nightly" and updatet my froxlor installation to 2.2-dev.

Now I´m able to edit SPAM Settig, etc, and everything seems to work.
But after a little time, i got an timeout and want relogin, but this di not work :(

SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'WHERE `loginname`= 'admin'' at line 1

 

Link to comment
Share on other sites

  • 0

Be sure to have the l latest version, nightlies are build after each push to the repository. Just run `bin/froxlor-cli froxlor:update` as root in your shell

Link to comment
Share on other sites

  • 0

A database error occurred

SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'WHERE `loginname`= 'admin'' at line 1


 

#0 /var/www/html/froxlor/lib/Froxlor/Database/Database.php(122): PDOStatement->execute()
#1 /var/www/html/froxlor/index.php(287): Froxlor\Database\Database::pexecute()
#2 {main}


			SELECT * FROM  WHERE `loginname`= :loginname

 

Link to comment
Share on other sites

  • 0
Just now, PC Service Gronau said:

Hi,

steht doch oben ;) Updated Froxlor, configured the new features, drink a coffee, come back to my computer, have to relogin (Time out) and then the error occurs.
It seems, that only the login does not work.

"Login does not work" hilft halt nicht. Als customer? Als admin? Hast du 'domain_login' aktiviert und loggst dich vllt damit ein?

Link to comment
Share on other sites

  • 0

Reproducable when "login with domain" is active, try the following patch:

diff --git a/index.php b/index.php
index c2f6d911..90fbdd53 100644
--- a/index.php
+++ b/index.php
@@ -220,11 +220,14 @@ if ($action == '2fa_entercode') {
                                                }
                                        }
                                }
-                       } else {
-                               $is_admin = true;
                        }
                }

+               if (empty($table)) {
+                       // try login as admin of no customer-login method worked
+                       $is_admin = true;
+               }
+
                if ((Froxlor::hasUpdates() || Froxlor::hasDbUpdates()) && $is_admin == false) {
                        Response::redirectTo('index.php');
                        exit();

 

Link to comment
Share on other sites

  • 0

Moin,

also Login war als Admin, Domainlogin ist nicht aktivert.
Mein Problem hat sich allerdings gerade nach einem "/var/www/html/froxlor/bin/froxlor-cli froxlor:update" erledigt. Ich konnte mich direkt nach dem Update so wieder Einloggen. Danke für den Support und gruss aus Gronau

Link to comment
Share on other sites

  • 0
Just now, PC Service Gronau said:

Moin,

also Login war als Admin, Domainlogin ist nicht aktivert.
Mein Problem hat sich allerdings gerade nach einem "/var/www/html/froxlor/bin/froxlor-cli froxlor:update" erledigt. Ich konnte mich direkt nach dem Update so wieder Einloggen. Danke für den Support und gruss aus Gronau

Ganz sicher das Domain-Login nicht aktiviert ist? Das ist eigentlich die einzige chance das der Fehler auftreten kann...und klar gehts jetzt nach dem update, hab den patch ja schon commited und die neue nightly gebaut...

Link to comment
Share on other sites

  • 0

Habe gerade in die Konteneinstellung geschaut und der Punkt "Erlaube Anmeldung mit Domains" ist tatsächlich aktiviert. Habe ich allerding bisher noch nicht genutzt.

Eine Frage habe ich noch. Kann ich jetzt die Paketquelle für die Updates gefahrlos zurück auf stable stellen oder wird das Probleme verursachen? Hatte nightly nur als Quelle gewählt um die neuen Spamfilterregeln nutzen zu können.

Link to comment
Share on other sites

  • 0

Ein Downgrade ist nicht möglich, aber natürlich kannst du den Update-Kanal auf "stable" stellen, dann wirst du erst wieder updates bekommen, wenn es einen release gibt (mit 2.2.x)

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×
×
  • Create New...