Once on the same server as cPanel, after changing the settings in the WHM menu “Server Configuration” – “Settings”, email stopped working, I found the following error in the logs:
Continue reading “cPanel. Solving the Failed to find user “” from expanded string”Tag Archives: Email
How to add DMARC record
DMARC recors allow recipients and senders to verify the authenticity of messages, as well as determine what to do with messages that are not DKIM validated.
Continue reading “How to add DMARC record”How to add DKIM record for iRedMail
Suppose iRedMail was installed, the DKIM key was generated during the installation process, now let’s see which public keys are present:
Continue reading “How to add DKIM record for iRedMail”How to add MX record
I will give an example of adding MX records in the DNS settings of a domain name registrar.
Continue reading “How to add MX record”Sending Asterisk voicemail to multiple emails
Let’s say the voice mail is configured as I described in the article – Setting up voicemail in Asterisk.
There is the following context:
[voicemailcontext] 207 => 1111,Username,test@example.com,,attach=yes|tz=ua|delete=yes
If you want to send a voice message to several email addresses, then instead of test@example.com, for example, testmail:
[voicemailcontext] 207 => 1111,Username,testmail,,attach=yes|tz=ua|delete=yes
Then open the /etc/aliases file in a text editor:
sudo nano /etc/aliases
And let’s specify aliases for testmail:
testmail: support@example.net,user@example.net
For the changes to take effect, you need to update the alias database with the command:
cd /etc sudo newaliases
Done, Asterisk will send a message to testmail, and it will be automatically forwarded to the specified addresses.
See also:
Redirecting mail for the root user
Redirecting mail for the root user
Open the aliases in the text editor:
Continue reading “Redirecting mail for the root user”Setting the default mail address in cPanel
Suppose you want all mail that arrives at nonexistent mailboxes in your domain to be delivered to a specific mailbox.
For this:
1) On the cPanel main page, in the “Email” section, select “Default Address ”
2) In the window that opens, select the domain (if there are several), select “Forward to Email Address” and specify which address to forward.
Instead of sending it, you can also choose to delete emails, forward to a system mail account, or send to a script.
Done.