Jump to content
Froxlor Forum
  • 0

Delete Email Data from Filesystem has no effect


acidfreeze

Question

Hi,

 

on my new installation i got the following problem,

 

 

if i delete an Email Account and check the field delete Email data from filesystem, the Account is deleted but the Email Data stays under /var/customers/mail/customername/emailadress

 

Does anyone now how this problem can be fixed

 

Greetings Michael

Link to comment
Share on other sites

24 answers to this question

Recommended Posts

hi

 

yes the cronjob did run,

 

i even started the cron srcrip manually from console

 

/usr/bin/php5 -q /var/www/froxlor/scripts/froxlor_master_cronjob.php

 

 

but even then the mails from the users stays in the filesystem

 

Would it help if i would post some logfiles, or configfiles?

 

Here some more information:

 

Version: 0.9.10

System: debian lenny

 

xinet.d is active and configured

Link to comment
Share on other sites

xinet.d is the realtime-feature you should not use this as it causes unwanted cronjob-failures.

When deleting another e-mail account + data on the filesystem, please check the "log cronjob" setting and set the logging to "paranoid"

Link to comment
Share on other sites

would you say i should generally not use the xinit.d feature, or should i not use xinit.d an cronjobs paralell.

yes, don't use it generally

 

Where can i set the cronjob logging settings ?

 

admin panel -> settings -> Log settings

Link to comment
Share on other sites

Ok i did as you said, and here are the latest syslog entrys

 

Jul 24 18:35:02 vs169108 /USR/SBIN/CRON[20378]: (root) CMD (/usr/bin/php5 -q /var/www/froxlor/scripts/froxlor_master_cronjob.php)

Jul 24 18:39:02 vs169108 /USR/SBIN/CRON[2027]: (root) CMD ( [ -x /usr/lib/php5/maxlifetime ] && [ -d /var/lib/php5 ] && find /var/lib/php5/ -type f -cmin +$(/usr/lib/php5/maxlifetime) -print0 | xargs -n 200 -r -0 rm)

Jul 24 18:39:17 vs169108 Froxlor: [Administrator Action (admin)] viewed admin_customers

Jul 24 18:39:18 vs169108 Froxlor: [Administrator Action (admin)] switched user and is now 'mziebell'

Jul 24 18:39:18 vs169108 Froxlor: [Customer Action (mziebell)] viewed customer_index

Jul 24 18:39:21 vs169108 Froxlor: [Customer Action (mziebell)] viewed customer_email::emails

Jul 24 18:39:26 vs169108 Froxlor: [Customer Action (mziebell)] deleted forwarder for email address '@schicksal-aion.de'

Jul 24 18:39:26 vs169108 Froxlor: [Customer Action (mziebell)] deleted email address '@schicksal-aion.de'

Jul 24 18:39:27 vs169108 Froxlor: [Customer Action (mziebell)] viewed customer_email::emails

Jul 24 18:39:46 vs169108 Froxlor: [Cronjob Action (cronjob)] Searching for tasks to do

Jul 24 18:39:46 vs169108 Froxlor: [Cronjob Action (cronjob)] Checking system's last guid

Jul 24 18:40:01 vs169108 /USR/SBIN/CRON[14200]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly)

Jul 24 18:40:01 vs169108 /USR/SBIN/CRON[14210]: (root) CMD (/usr/bin/php5 -q /var/www/froxlor/scripts/froxlor_master_cronjob.php)

Link to comment
Share on other sites

gerne

 

root@vs169108:/# ls -la /var/customers/mail/mziebell/

insgesamt 20

drwxr-xr-x 5 2000 2000 4096 24. Jul 17:43 .

drwxr-xr-x 3 vmail vmail 4096 23. Jul 20:12 ..

drwx------ 7 2000 2000 4096 24. Jul 17:51 michael@schicksal-aion.de

drwx------ 9 2000 2000 4096 24. Jul 14:37 mike@schicksal-aion.de

drwx------ 9 2000 2000 4096 24. Jul 15:05 suza@schicksal-aion.de

root@vs169108:/#

Link to comment
Share on other sites

Ah ok stimmt, aber

 

habe jetzt nochmal ein Konto mit dem namen testuser angelegt, (adresse und konto)

 

oot@vs169108:/var/customers/mail/mziebell# ls -la

insgesamt 28

drwxr-xr-x 7 2000 2000 4096 24. Jul 18:57 .

drwxr-xr-x 3 vmail vmail 4096 23. Jul 20:12 ..

drwx------ 5 2000 2000 4096 24. Jul 18:53 kundenkonto@schicksal-aion.de

drwx------ 7 2000 2000 4096 24. Jul 17:51 michael@schicksal-aion.de

drwx------ 9 2000 2000 4096 24. Jul 14:37 mike@schicksal-aion.de

drwx------ 9 2000 2000 4096 24. Jul 15:05 suza@schicksal-aion.de

drwx------ 5 2000 2000 4096 24. Jul 18:57 testuser@schicksal-aion.de

root@vs169108:/var/customers/mail/mziebell#

root@vs169108:/var/customers/mail/mziebell#

 

 

Dieses wieder gel?scht und hier nochmal der log auszug, daten sind leider immer noch vorhanden:

 

Jul 24 18:56:56 vs169108 Froxlor: [Administrator Action (admin)] switched user and is now 'mziebell'

Jul 24 18:57:07 vs169108 Froxlor: [Customer Action (mziebell)] added email address 'testuser@schicksal-aion.de'

Jul 24 18:57:11 vs169108 Froxlor: [Customer Action (mziebell)] added email account for 'testuser@schicksal-aion.de'

Jul 24 18:57:11 vs169108 postfix/pickup[3100]: 421FE18B0C504: uid=33 from=<admin@vs169108.vserver.de>

Jul 24 18:57:11 vs169108 postfix/cleanup[13380]: 421FE18B0C504: message-id=<03b77619df18440273a02052f5a5e800@62.75.169.108>

Jul 24 18:57:11 vs169108 postfix/qmgr[27832]: 421FE18B0C504: from=<admin@vs169108.vserver.de>, size=1445, nrcpt=1 (queue active)

Jul 24 18:57:11 vs169108 postfix/virtual[13384]: 421FE18B0C504: to=<testuser@schicksal-aion.de>, relay=virtual, delay=0.73, delays=0.02/0.02/0/0.69, dsn=2.0.0, status=sent (delivered to maildir)

Jul 24 18:57:11 vs169108 postfix/qmgr[27832]: 421FE18B0C504: removed

Jul 24 18:58:45 vs169108 Froxlor: [Administrator Action (admin)] viewed admin_customers

Jul 24 18:58:47 vs169108 Froxlor: [Administrator Action (admin)] switched user and is now 'mziebell'

Jul 24 18:58:47 vs169108 Froxlor: [Customer Action (mziebell)] viewed customer_index

Jul 24 18:58:49 vs169108 Froxlor: [Customer Action (mziebell)] viewed customer_email::emails

Jul 24 18:58:56 vs169108 Froxlor: [Customer Action (mziebell)] deleted forwarder for email address 'testuser@schicksal-aion.de'

Jul 24 18:58:56 vs169108 Froxlor: [Customer Action (mziebell)] deleted email address 'testuser@schicksal-aion.de'

Jul 24 18:58:56 vs169108 Froxlor: [Customer Action (mziebell)] viewed customer_email::emails

Jul 24 18:59:38 vs169108 Froxlor: [Cronjob Action (cronjob)] Searching for tasks to do

Jul 24 18:59:38 vs169108 Froxlor: [Cronjob Action (cronjob)] Checking system's last guid

 

hier nochmal n ls:

 

root@vs169108:/var/customers/mail/mziebell# ls -la

insgesamt 28

drwxr-xr-x 7 2000 2000 4096 24. Jul 18:57 .

drwxr-xr-x 3 vmail vmail 4096 23. Jul 20:12 ..

drwx------ 5 2000 2000 4096 24. Jul 18:53 kundenkonto@schicksal-aion.de

drwx------ 7 2000 2000 4096 24. Jul 17:51 michael@schicksal-aion.de

drwx------ 9 2000 2000 4096 24. Jul 14:37 mike@schicksal-aion.de

drwx------ 9 2000 2000 4096 24. Jul 15:05 suza@schicksal-aion.de

drwx------ 5 2000 2000 4096 24. Jul 18:57 testuser@schicksal-aion.de

root@vs169108:/var/customers/mail/mziebell#

Link to comment
Share on other sites

stelle mal in den einstellungen unter "Systemeinstellungen" ganz unten "Debuggen des Cronscripts" auf "ja" (dann bleibt das lock-file in /var/run/ erhalten), da sollte dann _eigentlich_ sowas stehen wie:

 

Running: rm -rf /var/customers/mail/mziebell/kundenkonto@schicksal-aion.de

Link to comment
Share on other sites

hab ich gemacht hier der inhalt des lock files:

 

 

Setting Lockfile to /var/run/froxlor_froxlor_master_cronjob.lock-22248

Setting Froxlor installation path to /var/www/froxlor

Userdatas included

Table definitions included

Database Class has been loaded

Database-connection established

Froxlor settings have been loaded from the database

Froxlor version and database version are correct

Logger has been included

cron_tasks: Searching for tasks to do

Cronfiles have been included

Closing database connection

 

leider kein rm vorhanden

Link to comment
Share on other sites

Ja, hab ich gemacht

 

es handelt sich hier um den user testnetu

 

root@vs169108:/var/customers/mail/mziebell# ls -la

insgesamt 32

drwxr-xr-x 8 2000 2000 4096 24. Jul 19:13 .

drwxr-xr-x 3 vmail vmail 4096 23. Jul 20:12 ..

drwx------ 5 2000 2000 4096 24. Jul 18:53 kundenkonto@schicksal-aion.de

drwx------ 7 2000 2000 4096 24. Jul 17:51 michael@schicksal-aion.de

drwx------ 9 2000 2000 4096 24. Jul 14:37 mike@schicksal-aion.de

drwx------ 9 2000 2000 4096 24. Jul 15:05 suza@schicksal-aion.de

drwx------ 5 2000 2000 4096 24. Jul 19:13 testneu@schicksal-aion.de

drwx------ 5 2000 2000 4096 24. Jul 18:57 testuser@schicksal-aion.de

root@vs169108:/var/customers/mail/mziebell#

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.



×
×
  • Create New...