How to configure cpanel to notify you by email - configuration

How can I configure cpanel in order to notify me by email each time after a new account is created for a new domain? Can I change the log it sends to me?

In Server Configuration and on "Basic cPanel & WHM Setup" tab, you have to enter contact information (email address) for any case that may happen in the future.

Related

HAProxy Email Alert - How to configure password for SMTP?

HAProxy has configuration options to setup email notifications in case of errors. Unfortunately I cannot find a way to configure the email account password for the SMTP connection. Does anyone know how this is possible?
This feature isn't implemented yet http://git.haproxy.org/?p=haproxy.git;a=blob;f=src/mailers.c;h=3df02f0f55759b8340fbbea676dde62e9260e7df;hb=HEAD
Patches are welcome to add this feature.

Cannot send email using SMTP server through Office 365 with ADFS

I am trying to send an email using the smtp.office365.com server. It always return the same error:
5.7.57 Client not authenticated to send mail.
As far as I know, the problem is related with the fact that I'm working with ADFS. So I have previously federated my domain to work with Office 365. When I try to log in to Office, I'm redirected to the login page of my platform, which is fine.
Is there a way to send email using the Office smtp server when working with ADFS?
Not to my knowledge, you need to change the primary username to use your tenant domain rather than your federated domain. Then you'll be able to log in without ADFS.
We configured a single account for SMTP with just an Exchange Plan 1 license, and then set up internal SMTP relays using that account to transmit to O365. We then limit connections on that account to only known locations. Then we add SendAs permissions for that account to all the DLs/mailboxes that we need to send email from.

Odoo12: Setup SMPT Server with Sendinblue in Odoo. What I missed here?

I am trying to setup Sendinblue and use it as an SMTP server for my marketing and general Odoo 12 email messaging.
I setup every thing in Sendinblue and tested the SMTP Server in Odoo and got a "sucess" message under Settings / Technical / Outgoing Mail Servers.
For this I setup an external smpt server with the following data:
SMTP Server: smtp-relay.sendinblue.com
Email: my sendinblue email
Password: Password provided by sendinblue
Port: 587
Security: TLS (STARTTLS)
I can test the connection with success and set this SMTP Server as the server for sending email campaigns from Email Marketing / Settings / General Settings
Created a test email campaign and tried to send it and test it with no luck.
When Odoo tries to send the message, returns a "not delivered email" message with a unique reference and my local PC name, something like:
989345297097442.1625436965.401543280300903-openerp-reply_to#MYPC-NAME
I confirm sender email is registered and validated in Sendinblue. Using the same email as sender in Odoo.
Tried to do the same with my personal gmail account but even activating less secure apps, no message is sent from my instance.
What could be wrong?
I found the problem.
I had to verify the domain name I use for sending emails from Sendinblue service.
I have done it Senders & API main menu option on "domain" tab.
After verifying my domain name, everything is running fine

OJS 3.0.1 is not sending any emails

I have a new installation of OJS 3.0.1. I am new to OJS so I apologize if my question is simple. I log in as the manager and create a journal. I tell it to send email to my address but I never receive it. . When I try to send from OJS there is nothing in the maillog . in OJS in the classes/mail folder there are only 1 php files. Is that correct.
Also, is there an easier way to test sending mail from OJS
Please see the documentation:
3) Emails sent out by the system are never received.
A: By default, OJS sends mail through PHP's built-in mail() facility.
On Windows PHP needs to be configured to send email through a SMTP
server (running either on the same machine or on another machine).
On other platforms such as Linux and Mac OS X, PHP will sent mail using the local sendmail client, so a local MTA such as
Sendmail or Postfix must be running and configured to allow
outgoing mail.
See http://www.php.net/mail for more details on configuring PHP's mail functionality.
OJS can also be configured to use an SMTP server as specified in config.inc.php, either with or without authentication.
There are many ways to configure email for OJS. There are advantages and disadvantages all around. Using Gmail for SMTP is simple to set up, but it does not give you the ability to direct emails to individual associate editors. If you want fine grained control, you need to run your own mail server, and that takes some setting up. Also, with your own mail server, spam filtering becomes a problem. For our installation, we had to send email from OJS to our own email server (same domain) and then forward to external addresses. If we sent directly from OJS to external addresses, spam filters would block the email b/c OJS wants to impersonate your email address while sending it from another domain (you solve this by creating an email address in the same domain as OJS so the email headers aren't spoofed this way).
You can see specific examples of email set ups here. Reviewing these might answer your question or help you ask a more specific one.
There are 2 easy ways to setup Open Journal System (OJS) email
config.inc.php
PHPMailer.php
config.inc.php
Open config.inc.php (public_html/config.inc.php), uncomment and configure the following lines
smtp = On
smtp_server = mail.domain.com
smtp_port = 465
smtp_auth = ssl
smtp_username = info#domain.com (your email)
smtp_password = *********** (your password)
you can confirm smtp_server and smtp_port through cpanel
enter image description here
PHPMailer.php
Open PHPMailer.php (public_html/lib/pkp/lib/vendor/phpmailer/phpmailer/src/PHPMailer.php) and configure the following
public $From = 'info#domain.com';
public $FromName = 'User';
public $Host = 'ssl://smtp.domain.com';
public $Port = 465;
public $Username = 'info#domain.com';
public $Password = '**************';
public $AuthType = 'ssl';
In New Version of OJS-3.2.0-1 has no setting of SMTP and PHPMailer Setting. Many people worried about email notification when I debug the issue I found that no SMTP Setting & PHPMailer.
First of all, User should check localhost Connecting with XAMPP Server. If the server has successfully sent a mail message it means localhost is working. Now you should check simple code of PHPMailer to check the Connectivity with XAMPP while PHPMailer is working

Need help setup windows server 2008 SMTP server

I am trying to setup windows server 2008 smtp server to relay emails to gmail smtp. Everything appears to be setup but it is not sending emails. Could you please help me figure out whats wrong.
Below is the setup:
Windows server 2008 with SMTP server
feature installed. Need SMTP server
to forward all messages to gmail smtp
server to send.
I have google apps setup for my
domain, also I can send emails
throught my test app using
gmail smtp.
SMTP Server Configuration: By default has default smtp server virtual directory.
In Properties of that virtual smtp server changed following.
Fully qualified domain name = mydomain.com
smart host = smtp.gmail.com
TCP Port = 587
Out Bound Security = Basic Authentication(my username password for google apps email account)
In domains list under virtual smtp server. I have one default domain that's server dns. I added another one for my domain name.
With above setup i am trying to redirect all email to gmail smtp.
I tested connection to smtp.gmail.com from server on port 587 through telnet and it works.
I am trying to use above server from my web application also by just dropping emails in pickup directory. It get's picked up and also accepts request form web application but never sends an email.
I can see that it adds those emails in queue folder but it stays there forever.
When i try to send emails from web app to above server it rejects if To address is other than my domain.(Am i missing something in list of domains)
Thanks for all answers, finally found solution there is a property for maximum sessions which value was 0 by default. Changed it to 100 and it send all pending emails immediately.
Possible reasons are that some SMTP servers block the outgoing messages if there domain name mismatch, possible to prevent spam mails from being sent. So for example, I will not be able to send my email with an address abc#mydomain.com from my domain yourdomain.com.
Hope that helps.
Ensure your sending domain is the same as the google apps domain
Ensure your sending address is a real address and not just an alias
IIRC you need to use STARTTLS (SSL) not basic authentication
This souds like a DNS issue. Check your /badmail directory. It will have .bad and .bdp files in there. You can open these in notepad (there will be some binary in there).
However, it may point to the possible problem.
You may also want to try and enable logging on the SMTP service. There may be something in there.