1
0
mirror of https://blitiri.com.ar/repos/chasquid synced 2025-12-17 14:37:02 +00:00

courier: Let the users configure the mail delivery agent

This patch adds configuration options for the MDA binary and command line
arguments, and changes the (soon to be renamed) procmail courier to make use
of them.
This commit is contained in:
Alberto Bertogli
2016-07-16 12:29:58 +01:00
parent bb08be4023
commit ff103c18c3
8 changed files with 119 additions and 18 deletions

View File

@@ -51,6 +51,9 @@ func main() {
go http.ListenAndServe(conf.MonitoringAddress, nil)
}
courier.MailDeliveryAgentBin = conf.MailDeliveryAgentBin
courier.MailDeliveryAgentArgs = conf.MailDeliveryAgentArgs
s := NewServer()
s.Hostname = conf.Hostname
s.MaxDataSize = conf.MaxDataSizeMb * 1024 * 1024