Using Mailjet SMTP for Notifications Without Local Email Management

Hello everyone,

I’m setting up a web server with a MySQL database to host my applications. However, I don’t need local email services (no receiving or managing emails on the server). My goal is to use Mailjet’s SMTP server to send necessary notifications (e.g., alerts or confirmation emails).

My requirements:

  1. Fixed sender address: The sender address for outgoing emails must be explicitly defined, e.g., [email protected], and should not depend on the server’s hostname.
  2. No local email handling: I don’t want services like Exim4 or Postfix managing emails locally.
  3. Simplicity: I’d prefer a lightweight solution without setting up a full-blown mail server if possible.

My questions:

  1. How can I configure my server to send emails via Mailjet without requiring a complete MTA?
  2. How can I set a fixed sender address, e.g., [email protected]?
  3. Is there a lightweight alternative to simply relay emails via Mailjet?

I’d appreciate any suggestions or advice, especially if it simplifies the setup.

Thank you in advance for your help!

bash /usr/local/hestia/install/upgrade/manual/configure-server-smtp.sh

Good morning,
I already did it.
But how do you test sending an email?
And be sure that the sending address is not the host name and the defined email address?
because I have an email address that tries to send emails but the domain name is not validated:
here are the addresses: [email protected] and @default

THANKS