[Outline] An open, extensible, wiki for your team

Hi! Thanks a lot for packaging this app.

I’m facing an issue with SMTP, and Outline cannot send any email with the default configuration.
I’ve tried a lot of things, using another user/password, setting a different cypher, etc., but with no chance.
The only thing that worked for me is using another SMTP server (SendGrid), but I’d really like to be able to user my Yunohost SMTP server.

Does someone know what I should try?

With this configuration in /var/www/outline/.env:

SMTP_HOST='localhost'
SMTP_PORT='25'
SMTP_USERNAME='MY_USERNAME'
SMTP_PASSWORD='MY_PASSWORD'
SMTP_FROM_EMAIL='MY_EMAIL'
SMTP_REPLY_EMAIL='MY_EMAIL'
SMTP_TLS_CIPHERS=
SMTP_SECURE='false'

I get this error: Sender address rejected: not logged in.

If I use port 587, I get:

Error: Mail command failed: 530 5.7.0 Must issue a STARTTLS command first

Any idea of what can be wrong?
Thanks a lot in advance!

This should work, let me recheck on my server. I have a patch in place to correct it, but maybe it didn’t work with the latest upgrade. I will keep you updated. Can you please tell me which version you are currently using ?

Thanks a lot for your reply!

I’m using Outline 0.78.0~ynh2, with Yunohost 11.2.31

Hey Limezy,
Did you have a chance to check on your server?
Thanks a lot anyways!

After checking I think that you messed up the initial config. Here is how to get it back

  1. You should get your SMTP internal password with the following command : sudo yunohost app setting outline mail_pwd
  2. Use the following parameters
SMTP_HOST='localhost'
SMTP_PORT='25'
SMTP_USERNAME='outline'
SMTP_PASSWORD='YOUR_SMTP_INTERNAL_PWD_FROM_STEP_1'
SMTP_FROM_EMAIL='outline@YOUR_OUTLINE_DOMAIN.TLD'
SMTP_REPLY_EMAIL='webmaster@YOUR_OUTLINE_DOMAIN.TLD'
SMTP_TLS_CIPHERS=
SMTP_SECURE='false'

Please tell me if it still doesn’t work

It works, thanks a lot!

I had to change the emails from outline@outline.MY_DOMAIN.TLD into outline@MY_DOMAIN.TLD (I’m using a noho.st domain, I don’t know if this changes anything).

1 Like