Change default folder where claws-mail stores mails

How can I change the directory where claws-mail stores the mail folders? By default it stores it in /home/USERNAME/.

I would like to have them in a hidden directory. Searching the web did not yield any usable result.


Solution 1:

How can I change the directory where claws-mail stores the mail folders?

Look in $HOME/.claws-mail/clawsrc and change the value of mailbox.

The default location for Claws Mail's configuration files is $HOME/.claws-mail/. (The command claws-mail --config-dir shows the location.)

They are in plain text format and quite easy to understand, so don't fear to take a look into them using a text editor.

clawsrc

main configuration: nearly all options from the settings window, e.g. mailbox location, font entries, etc.

Source What configuration files are there, and what are they used for?