Hi All,
can anybody tell me what the "Tokens" in the EFA db stands for?
How are they generated and where are refenreces to that value?
Why do I ask:
I have a distributed Setup with 2 EFA boxes.
I set them up with help from the mailwatch community and as far as I understood, the second box is logging and reading everything from the first box's databases. I rsync configuration files manually.
Now, when correcting the "salearn" bug in learn-msg-cgi I found another reference to db_host=localhost in that script.
I wonder, if I should change this on the second box as well.
Right at the Moment, the EFA db on the second box is completly empty. This might be because currently we use box 1 as MX host to handle mailflow and box 2 is only used as a webfrontend. So no mailflow at box 2.
But I wonder if there was mailflow on both boxes, is the token a local Information only interesting for the box which actually handled a particular mail or should this be consistent throughout all boxes.
thx in advance
akl
EFA db tokens
- shawniverson
- Posts: 3783
- Joined: 13 Jan 2014 23:30
- Location: Indianapolis, Indiana USA
- Contact:
Re: EFA db tokens
The tokens is just a temporary shared key for releasing emails and reporting them as spam to the EFA that processed them via the signature line.
Re: EFA db tokens
ah, ok. thx!
that means, the token is (in every case) generated on the system, that handles the mail.
That means in a distributed Setup, I must not stop the mysql service on the "slave" Systems. Which I haven't since, but good to know.
Is there any documention about the Tokens?
Where in the code and how are they produced?
In the distributed setup I have this minor concern, that sa-learn Information is still kind of local thing, isn't it?
I wonder, if I can somehow create a kind of hash value from the content of a mail, store it in a global database and let all my nodes "learn" it by looking up the db.
I am also rhight now evaluating to store some postfix configuration in mysql. I read, that one can store e.g. relaydomains and sasl_auth users in mysql. That will make it unneccessary to run EFA-Config on every single node for a newly added domain....
Regards
akl
that means, the token is (in every case) generated on the system, that handles the mail.
That means in a distributed Setup, I must not stop the mysql service on the "slave" Systems. Which I haven't since, but good to know.
Is there any documention about the Tokens?
Where in the code and how are they produced?
In the distributed setup I have this minor concern, that sa-learn Information is still kind of local thing, isn't it?
I wonder, if I can somehow create a kind of hash value from the content of a mail, store it in a global database and let all my nodes "learn" it by looking up the db.
I am also rhight now evaluating to store some postfix configuration in mysql. I read, that one can store e.g. relaydomains and sasl_auth users in mysql. That will make it unneccessary to run EFA-Config on every single node for a newly added domain....
Regards
akl