Requires:
libsecret
or a similar package)Tested with:
#!/bin/sh
secret-tool lookup "$1" "$2"
# wait until the password is available
while [ $? != 0 ]; do
secret-tool lookup "$1" "$2"
done
accounts.conf
to use source-cred-cmd
and outgoing-cred-cmd
to point to the script.source-cred-cmd = ~/.config/aerc/scripts/wait-for-creds.sh Title "Mailaccount (Work)"
aerc will now wait for the credentials to become available (for you to unlock you password manager) when starting.
commit c1f77a5a85e93e93e83414244d540eccdd114822 Author: Simon Martin <simon@nasilyan.com> Date: 2025-06-03T15:02:15+00:00 wiki: improve protonmail configuration instructions This updates the wiki to mention how I was able to setup the Proton Bridge on Ubuntu (instructions are different from Arch or Fedora...), and also improves the sample configuration to avoid such warnings from the bridge upon mail sending: ``` WARN[Jun 3 16:39:03.678] Message already in sent mailbox addr-id="[...]" gluon-connector=0 messageID="[...]" pkg=imapservice user-id="[...]" ``` Signed-off-by: Simon Martin <simon@nasilyan.com> Acked-by: Robin Jarry <robin@jarry.cc>