- Roundcube 500 internal server error cwp
- Server error (Internal Server Error)
Solutions:
Check /var/vmail/* permission
drwx------ 4 vmail mail 34 ene 16 14:01 domain.tld
Or try update roundcube
sh /scripts/mail_roundcube_update
by dev
Solutions:
Check /var/vmail/* permission
drwx------ 4 vmail mail 34 ene 16 14:01 domain.tld
Or try update roundcube
sh /scripts/mail_roundcube_update
by dev
HTML form input type=”file” provides “Browse” and “No file Selected” in firefox and “choose File” and “No File Chosen” in chrome to choose a file.
It’s not possible to translate “Choose file” and “No file chosen” or “Browse” and “No file selected” labels, as those are native browser elements and depend on browser’s language.
However, we can apply some tricks like
Trick with CSS
Trick with Javascript
HTML:
For image, file and video. You can use one as per requirement.
<!-- bootstrap.min.css not necessary --> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap/5.1.0/css/bootstrap.min.css"> <input data-com="fileBtn" placeholder="Select Image"> <!-- com: components --> <input data-com="fileBtn" placeholder="Select File"> <div class="mt-2"> <input id="build-by-myself" placeholder="Select Video" accept="video/mp4, video/webm"> <div>
Javascript:
<script>
// ? Test
(()=>{
window.onload = () =>{
// FileButton.className =”btn btn-danger”
FileButton.BuildAll() // auto build all data-com=”fileBtn”
// or you can specify the target that you wanted.
new FileButton(document.getElementById(“build-by-myself”), “btn btn-danger”)
}
})()
// ? script begin
class FileButton {
static className = “btn btn-primary”
static BuildAll() {
document.querySelectorAll(`input[data-com=”fileBtn”]`).forEach(input=>{
new FileButton(input, FileButton.className)
})
}
/**
* @param {HTMLInputElement} input
* @param {string} btnClsName
* */
constructor(input, btnClsName) {
input.style.display = “none” // [display is better than visibility](https://stackoverflow.com/a/48495293/9935654)
input.type = “file”
const frag = document.createRange().createContextualFragment(`<button class=”${btnClsName}”>${input.placeholder}</button>`)
const button = frag.querySelector(`button`)
input.parentNode.insertBefore(frag, input)
button.onclick = ()=>{
input.click()
}
input.addEventListener(`change`, (e)=>{
// create a textNode to show the file name.
const file = input.files[0]
if (file === undefined) {
return
}
const textNode = document.createTextNode(file.name)
if (button.textNode) { // create a new attribute to record previous data.
button.textNode.remove()
}
button.textNode = textNode
button.parentNode.insertBefore(textNode, input)
})
}
}
</script>
by dev
Solution:
The warning message should be gone.
by dev
Domain-based Message Authentication, Reporting, and Conformance (DMARC) helps mail server administrators to prevent hackers and other attackers. It provides extra protection of email accounts from spam, spoofing, and phishing.
DMARC is the key to improving Email Deliverability! By some measures, 80% of mailboxes worldwide are protected by DMARC. DMARC dramatically improves on SPF and DKIM by letting you:
How do I set it up?
Before we begin, here’s a high-level overview of how to add DMARC to your DNS.
by dev
Follow these simple steps:
Old Server Task:
If backup wizard is hidden then you can follow
https://serverhostname.com:2083/cpsess1268795626/frontend/paper_lantern/backup/wizard.html
New Server Task:
Now login to your email accounts and find all your data.