[DragonFlyBSD - Bug #3189] (Closed) Allow DragonFly Mail Agent to accept an alternate config via command line switch
bugtracker-admin at leaf.dragonflybsd.org
bugtracker-admin at leaf.dragonflybsd.org
Thu Jan 5 09:02:33 PST 2023
Issue #3189 has been updated by daftaupe.
Category changed from Feature request to Vendor software
Status changed from New to Closed
Assignee set to daftaupe
This is issue is a duplicate of https://github.com/corecode/dma/issues/113. I'm closing this one, please follow what's going in the upstream project repository.
Regards,
----------------------------------------
Bug #3189: Allow DragonFly Mail Agent to accept an alternate config via command line switch
http://bugs.dragonflybsd.org/issues/3189#change-14445
* Author: iang
* Status: Closed
* Priority: Normal
* Assignee: daftaupe
* Category: Vendor software
* Target version: 6.4
* Start date: 2019-06-05
----------------------------------------
If DMA could accept a path to a different config file when executed it would allow user the option of using different sending accounts.
This could be handy for situations where I want to send out via different smarthosts.
On line 578 of dma.c it shows the config path is hardcoded when compiled:
parse_conf(CONF_PATH "/dma.conf");
If this was changed to
parse_conf(CONF_PATH CONF_SUB_PATH "/dma.conf");
The CONF_SUB_PATH could be something like hotmail or gmail or livemail etc.. and the relevant config could be pulled out and used.
This may have an effect on spooled messages, perhaps they should be in CONF_SUB_PATH as well.
Would this cause too many other issues?
--
You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here: http://bugs.dragonflybsd.org/my/account
More information about the Bugs
mailing list