Submitted by lewisjenkins on Wed, 01/21/2015 - 06:43
Fresh install of Ubuntu 14.04 and Virtualmin GPL
Usermin > Filter and Forward Mail > Add a new email filter
If I choose "Save to new folder named" and enter "whatever" then I get the following :
$HOME/mail/whatever/
but it should be
$HOME/Maildir/.whatever/
(note both the wrong path, and also the missing [.])
Status:
Active
Comments
Submitted by JamieCameron on Wed, 01/21/2015 - 21:46 Comment #1
Sounds like the default folder path isn't setup correctly. What does the
mailbox_dir
line in your system's/etc/usermin/mailbox/uconfig
file contain?It should be like :
mailbox_dir=Maildir
Submitted by lewisjenkins on Thu, 01/22/2015 - 02:34 Comment #2
I can confirm that the line in
/etc/usermin/mailbox/uconfig
is already set as it should be :So I guess it must be something else?
Submitted by JamieCameron on Thu, 01/22/2015 - 10:04 Comment #3
That looks fine. However, can you also check for the same line in the
.usermin/mailbox/config
file under the home directory of the user logging into Usermin?Submitted by Chris_C on Thu, 01/22/2015 - 13:28 Comment #4
I don't know if this would help, but on my virtualmin gpl,
".usermin/mailbox/config" file under the home directory of the user logging into Usermin, that file does not exist. The folder exists, and contains other files and folders, but that file doesn't exist.
Submitted by JamieCameron on Thu, 01/22/2015 - 20:33 Comment #5
That's ok, if that file is missing Usermin will fall back to
/etc/usermin/mailbox/uconfig
So does
/etc/usermin/mailbox/uconfig
containmail
in any of the settings?Submitted by lewisjenkins on Fri, 01/23/2015 - 01:34 Comment #6
Same as Chris_C, I have an existing folder at
/home/[DOMAIN]/.usermin/mailbox
but there is noconfig
file. The only file in there isinbox.imap
.Submitted by Chris_C on Fri, 01/23/2015 - 13:32 Comment #7
@Jamie
My /etc/usermin/mailbox/uconfig contains only one line:
mailbox_dir=Maildir
Submitted by JamieCameron on Fri, 01/23/2015 - 15:21 Comment #8
Can you also post your
/etc/usermin/mailbox/config
file ?Submitted by lewisjenkins on Sun, 01/25/2015 - 01:52 Comment #9
Submitted by JamieCameron on Sun, 01/25/2015 - 12:40 Comment #10
Are you sure that when you created a new filter, you selected the "Save to new folder named" option? Because I don't see any references to the
mail
directory in any of those config files.