CatchALL cause sever to create fake mailboxes on file system

viki

Verified User
Joined
Mar 25, 2006
Messages
23
Location
Poland
When catchall is ON, and “Send the spam to the appropriate users's spam folder" is also ON

Then email with spam will create mailboxes in filesystem witch owner=mail:mail perm=700
insted of puting this emils into catchall mailbox INBOX.SPAM

In my opinion, this option in spamassasin should be shomehow disabled for catchall emails.




Why this is wrong:
1. There will be plenty of stiupid mailboxes in mailsystem
2. Quota is counting wrong for this domain because of mail:mail perm on dir.
3. Creation of new mailbox wich is previously had been created for spam delivery will faill.




Today I’ve noticed that I have on my filesystem inside
/home/user/imap/userdomain.com/
some directories witch for sure aren’t mailboxes
For example: "44c4ca04.5080706" "napf" "niwt"

All of this dir. had different time of creation some of them are more than 10 days old.
Inside those dirs are only Maildir/.INBOX.spam/new files

find niwt napf 44c4ca04.5080706
niwt
niwt/Maildir
niwt/Maildir/.INBOX.spam
niwt/Maildir/.INBOX.spam/new
niwt/Maildir/.INBOX.spam/new/q1GrTFc-2328165
napf
napf/Maildir
napf/Maildir/.INBOX.spam
napf/Maildir/.INBOX.spam/new
napf/Maildir/.INBOX.spam/new/q1Gs8Uf-2328233
44c4ca04.5080706
44c4ca04.5080706/Maildir
44c4ca04.5080706/Maildir/.INBOX.spam
44c4ca04.5080706/Maildir/.INBOX.spam/new
44c4ca04.5080706/Maildir/.INBOX.spam/new/q1GcRPL-2293912
44c4ca04.5080706/Maildir/.INBOX.spam/new/q1GrvOE-108527617

Also what is strange all directories “niwt” “napf “ “44c4ca04.5080706”
Are owned by mail:mail with perm=700. They should be user:mail 770.
All this mail where classify as a SPAM


I have catchall turned on for this domain, and “Send the spam to the appropriate users's spam folder. Also ON”


I think problem is when mail witch is not in my system arrives to server, system starts delivery process (because catchall=ON for this domain) , a spamassasin finds spam and creates mailbox with INBOX.SPAM instead of puting this spam into catchall mailbox.


I am running on:
DA 1.28.1
Exim version 4.61 #1 built 19-Apr-2006 19:14:38
SpamAssassin version 3.1.1
dovecot 1.0.beta7
 
Please read forum, possible there is a solution, see my post about aliases.
I had this problem with aliases.
You have to rewrite the spamcheck_director section
My catchall is turned off because this is no good to use it !
better use aliases.

I don't know why DA doesn't give that modified config by default.
Possible they want debug little more.
 
xemaps said:
Please read forum, possible there is a solution, see my post about aliases.
I had this problem with aliases.
You have to rewrite the spamcheck_director section
My catchall is turned off because this is no good to use it !
better use aliases.

I don't know why DA doesn't give that modified config by default.
Possible they want debug little more.

A am not an expert of spamassasin, i don't want to change it by hand.

In My opinion this is behaviors miss configuration of DA.

User can clik this scenario in DA panel!


Turning off catch all isnt't an option. I am not going to switch off all functions one by one if I find that some times it fails.

Anyway thanks xemaps for reply
 
Back
Top