Changes between Initial Version and Version 1 of Ticket #60923, comment 1
- Timestamp:
- Aug 1, 2020, 12:27:56 PM (4 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #60923, comment 1
initial v1 13 13 Why does Restart() manually reload postfix and dovecot by unloading, then waiting a second, then loading? That is exactly what reload already does so why not use that? 14 14 15 This is a robustness hack I found that is necessary on my own systems to make sure that {{{postfix}}}'s port 25 is available when the port is reloaded. If the port system already is waiting a second, then perhaps it needs additional time for {{{postfix}}}. macOS launchd timing is frankly a PITA, and I don't known of a general fix beyond just waiting a little longer, or explicitly checking to make sure that port 25 isn't open before reloading. 15 This is a robustness hack I found that is necessary on my own systems to make sure that {{{postfix}}}'s port 25 is available when the port is reloaded. If the port system already is waiting a second, then perhaps it needs additional time for {{{postfix}}}. macOS launchd timing is frankly a PITA, and I don't known of a general fix beyond just waiting a little longer, or explicitly checking to make sure that port 25 isn't open before reloading. Same comment for {{{dovecot}}} ports.