mirror of
https://github.com/nix-community/home-manager.git
synced 2025-11-08 19:46:05 +01: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:
parent
cf0c5e0105
commit
342b3e3e6d
1 changed files with 2 additions and 2 deletions
|
|
@ -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";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue