|
|
Incorrect default date |
Author
ramon fincken
:: Posted: Thu Apr 14, 2022 1:44 pm
:: Category: CMS-ses (Joomla, WordPress, etc..)
Code: | ALTER TABLE `wp_posts` CHANGE `post_date` `post_date` DATETIME NOT NULL DEFAULT '1970-01-01 00:00:00', CHANGE `post_date_gmt` `post_date_gmt` DATETIME NOT NULL DEFAULT '1970-01-01 00:00:00', CHANGE `post_modified` `post_modified` DATETIME NOT NULL DEFAULT '1970-01-01 00:00:00', CHANGE `post_modified_gmt` `post_modified_gmt` DATETIME NOT NULL DEFAULT '1970-01-01 00:00:00';
|
|
[solution] convert linux mdbox compressed to maildir directories and separate mail |
Author
ramon fincken
:: Posted: Fri Aug 20, 2021 1:44 pm
:: Category: Bash, perl, python and CLI linux
please note:
do this on a separate server! Then Imapsync the result once you are done.
Also note: not all doveadm version support this ->
Error: Couldn't load plugin /usr/lib/dovecot/doveadm/lib10_doveadm_zlib_plugin.so: Module is for different ABI version 2.1.1 (we have 2.3.ABIv15(2.3.15))
Code: | # Change the owner of the files in mdbox so doveadm has access.
chown -R mail /home/myDomain/imap/myDomain.nl/myUser/mdbox
# Convert mdbox to Maildir. Do this in a temporary folder and not straight into the existing Maildir of the user because this will result in a permission error.
doveadm -o first_valid_uid=1 -o namespace=inbox -o namespace/inbox/inbox=yes -o namespace/inbox/separator=. -o mail_location=mdbox:/home/myDomain/imap/myDomain.nl/myUser/mdbox backup -u mail maildir:/home/myDomain/imap/myDomain.nl/myUser/Maildir_test
# Now copy the converted Maildir into the existing Maildir of the user.
cp -rf /home/myDomain/imap/myDomain.nl/myUser/Maildir_test/. /home/myDomain/imap/myDomain.nl/myUser/Maildir
# Change the owner of the files in Maildir so the user has access.
chown -R myDomain:mail /home/myDomain/imap/myDomain.nl/myUser/Maildir |
Source
https://forum.directadmin.com/threads/m...ion.63538/
|
Forum |
Topics |
Posts |
Last Post |
General forums |
|
 |
About this blog
Moderator ramon fincken |
4 |
4 |
Mon Jan 05, 2009 5:47 pm ramon fincken  |
 |
Lounge
Chit - chat
Moderator ramon fincken |
62 |
77 |
Wed May 11, 2022 9:00 am ramon fincken  |
 |
Reviews
Movie reviews - Goodie reviews and much more !
Moderator ramon fincken |
5 |
5 |
Sun Oct 11, 2009 8:00 pm ramon fincken  |
 |
Rants
Rants about things in daily life ...
|
5 |
11 |
Sun Mar 21, 2010 10:12 pm ramon fincken  |
 |
Ubuntu
A forum about my favourite Operating System!
|
26 |
30 |
Tue Aug 04, 2020 6:27 am ramon fincken  |
The world of freelance |
|
 |
Freelancing
Moderator ramon fincken |
2 |
2 |
Wed Jan 21, 2009 9:52 am ramon fincken  |
 |
Coping with clients
Moderator ramon fincken |
1 |
1 |
Thu Jan 08, 2009 12:00 pm ramon fincken  |
 |
Services
I offer many webdevelopment services such as custom coding, photoshop webdesign and W3 valid slicing and basing !
Feel free to ask for a quote !
Moderator ramon fincken |
1 |
2 |
Sun Mar 21, 2010 2:00 pm ramon fincken  |
Programming |
|
 |
PHP coding
Moderator ramon fincken |
79 |
94 |
Fri Dec 13, 2019 12:23 pm ramon fincken  |
 |
Mysql databases
Moderator ramon fincken |
12 |
14 |
Thu Mar 18, 2021 9:28 am ramon fincken  |
 |
HTML and other markup&programming languages
Moderator ramon fincken |
30 |
31 |
Sat Jul 28, 2018 5:59 pm ramon fincken  |
 |
Control panels (plesk, cpanel, direct admin)
Moderator ramon fincken |
5 |
8 |
Tue Jun 09, 2015 5:44 am ramon fincken  |
 |
CMS-ses (Joomla, WordPress, etc..)
Moderator ramon fincken |
47 |
63 |
Thu Apr 14, 2022 1:44 pm ramon fincken  |
 |
Bash, perl, python and CLI linux
|
38 |
39 |
Sun May 22, 2022 9:11 am ramon fincken  |
Other projects |
|
 |
Antispam
Moderator ramon fincken |
6 |
6 |
Sat Oct 30, 2010 4:37 pm ramon fincken  |
 |
Other projects
Moderator ramon fincken |
17 |
26 |
Sat Dec 27, 2014 1:01 pm ramon fincken  |
Who is Online |
 |
Our users have posted a total of 417 articles We have 26 registered users The newest registered user is MathewCow
|
In total there is 1 user online :: 0 Registered, 0 Hidden and 1 Guest [ Administrator ] [ Moderator ] Most users ever online was 41 on Wed Sep 09, 2015 1:34 am Registered Users: None |
This data is based on users active over the past five minutes |
 |
New posts |
|
 |
No new posts |
|
 |
Forum is locked |
|
|
|