mirror of https://github.com/pixelfed/pixelfed.git
Merge pull request #4026 from trankten/patch-1
Allow email delivery using Google Workspace SMTP Relay by fixing EHLO authentication.
This commit is contained in:
commit
ce8343b05d
|
@ -85,9 +85,22 @@ return [
|
||||||
*/
|
*/
|
||||||
|
|
||||||
'username' => env('MAIL_USERNAME'),
|
'username' => env('MAIL_USERNAME'),
|
||||||
|
|
||||||
'password' => env('MAIL_PASSWORD'),
|
'password' => env('MAIL_PASSWORD'),
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| SMTP EHLO Domain
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| Some SMTP servers require to present a known domain in order to
|
||||||
|
| allow sending through its relay. (ie: Google Workspace)
|
||||||
|
| This will use the MAIL_SMTP_EHLO env variable to avoid the 421 error
|
||||||
|
| if not present by authenticating the sender domain instead the host.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
'local_domain' => env('MAIL_SMTP_EHLO'),
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|--------------------------------------------------------------------------
|
|--------------------------------------------------------------------------
|
||||||
| Sendmail System Path
|
| Sendmail System Path
|
||||||
|
|
Loading…
Reference in New Issue