Skip to content

Commit

Permalink
docs: update imap and smtp timeout
Browse files Browse the repository at this point in the history
Signed-off-by: Daniel Kesselberg <[email protected]>
  • Loading branch information
kesselb committed Jan 21, 2025
1 parent 98804d9 commit 60e26af
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions doc/admin.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,19 +32,20 @@ Admins can prevent users from attaching large attachments to their emails. Users
The unit is bytes. The example about with limit to 3MB attachments. The default is 0 bytes which means no upload limit.

### Timeouts
Depending on your mail host, it may be necessary to increase your IMAP and/or SMTP timeout threshold. Currently IMAP defaults to 20 seconds and SMTP defaults to 2 seconds. They can be changed as follows:
Depending on your mail host, it may be necessary to increase your IMAP and/or SMTP timeout threshold.
Currently IMAP defaults to 5 seconds and SMTP defaults to 20 seconds. They can be changed as follows:

#### IMAP timeout
```php
'app.mail.imap.timeout' => 20
'app.mail.imap.timeout' => 5
```
#### SMTP timeout
```php
'app.mail.smtp.timeout' => 20
```
#### Sieve timeout
```php
'app.mail.sieve.timeout' => 2
'app.mail.sieve.timeout' => 5
```

### Background sync interval
Expand Down

0 comments on commit 60e26af

Please sign in to comment.