From bba2ea451d7e2fd36511dd812e8f38164977c058 Mon Sep 17 00:00:00 2001 From: Jens Diemer Date: Wed, 12 May 2021 17:18:50 +0200 Subject: [PATCH] Update email_configure_relay.md Add info how to send a email and check the logs. --- .../07.email_relay/email_configure_relay.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/pages/01.administrate/07.specific_use_cases/07.email_relay/email_configure_relay.md b/pages/01.administrate/07.specific_use_cases/07.email_relay/email_configure_relay.md index f3dfb734..0369ef9e 100644 --- a/pages/01.administrate/07.specific_use_cases/07.email_relay/email_configure_relay.md +++ b/pages/01.administrate/07.specific_use_cases/07.email_relay/email_configure_relay.md @@ -70,6 +70,13 @@ Your SMTP relay is now configured! ### Step 4: Check your setup -You can check your setup by sending emails and try if everything works. +You can check your setup by sending emails and try if everything works. Log into your YunoHost server using SSH and send a test email and check the logs, e.g.: + +```bash +ssh admin@yourdomain.tld +echo "Subject: Yunohost sendmail test" | sendmail -v your@external-email-address.tld +tail /var/log/mail.log +``` + Some of the SMTP relay will give you insights about the emails you send so that can also be a good way to check that everythings works as needed. Of course, you can always have a try with [mail-tester.com](https://www.mail-tester.com/) to check for any problem or discrepancy.