How to edit the default skeleton of the maildir directories ?

lonea

Verified User
Joined
Jan 3, 2009
Messages
45
Right now when an email account is created. A .INBOX.spam directory is created.

I would like to change the .INBOX.spam to .Junk. I have looked in /usr/local/directadmin/scripts and /usr/local/directadmin/data/templates. But still can't find the script I need to edit to make it happen.

TIA
 
You cant just change that without editing many of that programs that interact with mail.
 
You cant just change that without editing many of that programs that interact with mail.

Well the only program that interfact with the .INBOX.spam directory should only be spamassasin. And I have already edited the template to use .Junk instead.
 
Hello,

There are about 3 different programs that need to use that path:
Exim
Dovecot
DA

SpamAssasin is only a filter, it doesn't care about paths.

You can change the values in the filters:
/usr/local/directadmin/data/templates/filter_spamfolder

Dovecot will just read whatever is there..

However, DA has "INBOX.spam" hardcoded internally.
Unless you create a symbolic link somehow and still have it work, you won't be able to change INBOX.spam to INBOX.junk.

John
 
Back
Top