mirror of
https://github.com/nix-community/home-manager.git
synced 2026-01-11 17:39:37 +08:00
msmtp: rename environment variables (#6839)
I've started seeing $HOME/log $HOME/.msmtp.queue.log populated after using msmtp via neomutt. Although the latter is not, the former is a bit annoying. Home-manager already tries to avoids this 1, so I was curious to why this occured. Interestingly this didn't happen until a month ago, so I've tried to git blame my way out of the problem both on my configuration and on upstream home-manager however I didn't find a fitting change on the suspected dates. Home-manager uses2 msmtpq script3 to send emails through which manages also the queue of mails to be sent. As stated on upstream source of the script 4, it looks for MSMTPQ_Q and MSMTPQ_LOG variables to decide where to https://git.marlam.de/gitweb/?p=msmtp.git;a=blob_plain;f=scripts/msmtpq/msmtpq;hb=HEAD
This commit is contained in:
@@ -101,8 +101,8 @@ in
|
||||
xdg.configFile."msmtp/config".text = configFile msmtpAccounts;
|
||||
|
||||
home.sessionVariables = {
|
||||
MSMTP_QUEUE = "${config.xdg.dataHome}/msmtp/queue";
|
||||
MSMTP_LOG = "${config.xdg.dataHome}/msmtp/queue.log";
|
||||
MSMTPQ_Q = "${config.xdg.dataHome}/msmtp/queue";
|
||||
MSMTPQ_LOG = "${config.xdg.dataHome}/msmtp/queue.log";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user