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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user