| Summary: | Changes to smtpd instances are not activated by email-update event | ||
|---|---|---|---|
| Product: | [SME Server Extras] SME Server Documentation | Reporter: | Michael McCarn <mmccarn+sme> |
| Component: | Unknown | Assignee: | SME Server Docteam <docteam> |
| Status: | CLOSED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | esmith |
| Version: | 9.0 | Flags: | esmith:
review?
|
| Target Milestone: | --- | ||
| Hardware: | --- | ||
| OS: | --- | ||
| Package: | --- | ||
|
Description
Michael McCarn
2013-09-14 07:29:27 CEST
(In reply to Michael McCarn from comment #5) > If this looks OK, lets close this bug: > > http://wiki.contribs.org/DB_Variables_Configuration#smtpd Thanks for the fast update
If this looks OK, lets close this bug:
> http://wiki.contribs.org/DB_Variables_Configuration#smtpd
(In reply to Charlie Brady from comment #3) > (In reply to Michael McCarn from comment #0 > > Should these be changed from "sighup" to "restart"? > > No. We don't want to shut down email any time anything is changed in the > email settings. > > Just do: > > config setprop smtpd Instances 30 > expand-template /var/service/qpsmtpd/config > sv t /service/qpsmtpd /service/sqpsmtpd > > if you wish to change the number of instances. So document only, no code change. (In reply to Michael McCarn from comment #0) > Changing smtpd Instances using > > config setprop smtpd Instances 30 > > signal-event email-update > > does not change the setting for the running instance of qpsmtpd. > > In order to get the new setting to take effect, you need to: > > sv t qpsmtpd > > Looking in /etc/e-smith/events/email-update/services2adjust, I see: > > qpsmtpd -> sighup > > sqpsmtpd -> sighup > > Should these be changed from "sighup" to "restart"? No. We don't want to shut down email any time anything is changed in the email settings. Just do: config setprop smtpd Instances 30 expand-template /var/service/qpsmtpd/config sv t /service/qpsmtpd /service/sqpsmtpd if you wish to change the number of instances. (In reply to Michael McCarn from comment #0) > Changing smtpd Instances using > > config setprop smtpd Instances 30 > > signal-event email-update > > does not change the setting for the running instance of qpsmtpd. > > In order to get the new setting to take effect, you need to: > > sv t qpsmtpd > > Looking in /etc/e-smith/events/email-update/services2adjust, I see: > > qpsmtpd -> sighup > > sqpsmtpd -> sighup > > Should these be changed from "sighup" to "restart"? I don't know - so asking for further comment. Toggling the review flag as I cannot answer Michael's question. |