HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   General (http://www.howtoforge.com/forums/forumdisplay.php?f=25)
-   -   Missing Junk Mail Folder? (http://www.howtoforge.com/forums/showthread.php?t=55756)

FeraTechInc 14th January 2012 11:17

Missing Junk Mail Folder?
 
I am running ISPConfig 3 on Ubuntu 9.10

Just recently I had a strange issue with some of the mailboxes missing the Junk mail folder.

This is causing some strange issues with errors for not having enough space then all the SPAM just goes into the inbox.

When you manually try to create the Junk folder it says it already exists.

Is there any way to re-create it?

falko 15th January 2012 10:47

What's your POP3/IMAP daemon? Courier or Dovecot?

Are there any errors in your mail log?

FeraTechInc 15th January 2012 12:22

IMAP and Courier

No other errors besides:

1000 of:
Error reading ACLs for : Invalid argument

a day....

till 15th January 2012 12:44

Quote:

When you manually try to create the Junk folder it says it already exists.
I guess that the folder exists then and that the mail client is just not subscribed to it. Each malclient has a funnction to subscribe to imap folders, open this function in your mailclient and subscribe to the Junk folder again.

Quote:

Error reading ACLs for : Invalid argument
Thats not causing any harm and is caused by aempty line in the subscribed folder config files. So this is more a "cosmetic" issue and has been fixed some time ago in ISPConfig. So it might be that you dont use a recent ISPConfig version or the mailboxes had not been updated after the iSPConfig update.

FeraTechInc 15th January 2012 12:56

How can you update the mailboxes? I did an ISPConfig update 3 months ago.

Also, I've tried it on several different mail clients. The folder does not exit but it also won't let you create a Junk folder.

Is there a way to manually delete it and recreate it?

FeraTechInc 16th January 2012 08:51

Please help, is there any possible way to recreate the Junk folder?

It does not show up but it also does not allow adding it. I've checked to see if all folders are subscribed to and even tried different e-mail clients.

till 16th January 2012 09:26

Post the 'ls -la' output from the mildir. E.g.

ls -la /var/vmail/domain.com/user/

FeraTechInc 16th January 2012 09:29

That's so strange... it appears there is a Junk folder...

drwx------ 25 vmail vmail 4096 2012-01-16 02:11 .
drwx------ 29 vmail vmail 4096 2011-06-14 10:28 ..
drwx------ 6 vmail vmail 4096 2011-10-05 10:28 .Agents issues with Fannie
drwx------ 6 vmail vmail 4096 2011-07-12 15:26 .American Airlines
drwx------ 6 vmail vmail 4096 2011-12-13 18:18 .AquaVor
drwx------ 6 vmail vmail 4096 2011-09-13 15:12 .AquaVor DJ's
drwx------ 6 vmail vmail 4096 2012-01-11 12:46 .AquaVor Flyers
drwx------ 6 vmail vmail 4096 2011-08-06 18:08 .Auto Trader
drwx------ 6 vmail vmail 4096 2011-03-29 15:22 .Briggs Insurance
drwx------ 2 vmail vmail 20480 2012-01-15 20:06 courierimapkeywords
-rw-r--r-- 1 vmail vmail 392 2012-01-15 05:56 courierimapsubscribed
-rw-r--r-- 1 vmail vmail 4442383 2012-01-16 02:11 courierimapuiddb
-rwx------ 1 vmail vmail 493694 2010-08-11 07:29 courierpop3dsizelist
drwx------ 2 vmail vmail 7647232 2012-01-16 02:11 cur
drwx------ 6 vmail vmail 4096 2010-08-12 11:55 .Drafts
drwx------ 6 vmail vmail 4096 2011-07-13 16:12 .Edward Jones
drwx------ 6 vmail vmail 4096 2011-04-06 12:18 .Freddie Mac
drwx------ 6 vmail vmail 4096 2011-08-25 23:46 .Harrison Point Apartments
-rw-rw---- 1 vmail vmail 6 2012-01-16 02:09 ispconfig_mailsize
drwx------ 6 vmail vmail 4096 2011-07-23 12:10 .Junk
drwx------ 2 vmail vmail 32768 2012-01-16 02:11 new
drwx------ 6 vmail vmail 4096 2011-09-15 08:09 .Realtor Email Contact
drwx------ 6 vmail vmail 4096 2012-01-16 01:43 .Sent
-rwx------ 1 vmail vmail 19 2010-08-11 04:18 subscriptions
drwx------ 6 vmail vmail 4096 2011-04-15 14:10 .Tax Bills
drwx------ 2 vmail vmail 4096 2012-01-16 02:23 tmp
drwx------ 6 vmail vmail 4096 2012-01-15 05:55 .Trash
drwx------ 6 vmail vmail 4096 2011-08-16 19:53 .Trash.Apartment Buildings
drwx------ 6 vmail vmail 4096 2011-08-16 20:07 .white river insurance claim
drwx------ 6 vmail vmail 4096 2011-08-25 23:46 .White River Village

till 16th January 2012 09:30

The junk folder exists:

drwx------ 6 vmail vmail 4096 2011-07-23 12:10 .Junk

Please post the ls output from within the junk folder, maybe one of the inner folders is missing.

FeraTechInc 16th January 2012 09:33

-rwx------ 1 vmail vmail 43 2010-08-11 05:16 courierimapacl
drwx------ 2 vmail vmail 4096 2010-08-11 06:53 courierimapkeywords
-rw-r--r-- 1 vmail vmail 254763 2011-07-23 12:10 courierimapuiddb
drwx------ 2 vmail vmail 397312 2011-07-23 12:10 cur
drwx------ 2 vmail vmail 385024 2011-12-19 09:19 new
drwx------ 2 vmail vmail 4096 2011-12-19 09:19 tmp

Can I just delete the folder as root and then try recreating it from within the IMAP account?


All times are GMT +2. The time now is 01:04.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.