friendica / docker

Docker image for Friendica

Home Page:https://friendi.ca

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SMTP_DOMAIN not honored

jgoerzen opened this issue · comments

Hi,

While attempting to get this going with the initial account, the message was sent from the hostname of the Friendica server, not the SMTP_DOMAIN, which was different. Replacing the exact hostname, it came from noreply@friendica.example.com instead of noreply@noreply.example.com. SMTP_DOMAIN is noreply.example.com. Looking at the scripts, the SMTP_DOMAIN was correctly used to populate /etc/aliases, so I don't know why it wasn't used by Friendica itself. It also was correct in /etc/msmtprc.

This prevented configuration because I was unable to get the initial mail. Resolved with inserting into the database:

insert into config (cat, k, v) values ('config', 'sender_email', 'friendica@noreply.example.com');