![]() |
![]() |
![]() |
Author Archives: te-bachi
Rust/Python: Ownership and Borrowing
- Implicit Sharing
- copy-on-write
- deep copy
- shallow copy
- value semantics
Python
What is reference stealing and borrowing ?
Ownership Explained with Python
Ownership in Python
Rust
Rust: Ownership and Borrowing
Rust for Python Developers: Ownership and Borrowing
Rust for Python Developers: Environment Setup
Understanding Rust Ownership and Borrowing with Examples
Rust’s Ownership and Borrowing enforce Memory Safety
MailDir and Dbox (Multi-Dbox = mdbox)
serverfault.com: Migrating to postfix from qmail/vpopmail
catalyst2: MailDir and Mdbox
iRedMail: Change per-user mailbox format (e.g. maildir, mdbox)
dovecot
# pkg info | grep dovecot dovecot2-2.2.20 Secure, fast and powerful IMAP and POP3 server
Doc
dbox Mailbox Format
Migrating mailboxes
Wiki
Migration/MailFormat: Converting between mailbox formats
Tools/Doveadm/Sync: Doveadm-Sync
Migrating from any IMAP/POP3 server to Dovecot via dsync
mail_location = maildir:/usr/local/vpopmail/domains/%d/%n/Maildir
/etc/dovecot/dovecot.conf /etc/dovecot/dovecot-dict-auth.conf.ext /etc/dovecot/dovecot-dict-sql.conf.ext /etc/dovecot/dovecot-sql.conf.ext /etc/dovecot/conf.d/10-auth.conf /etc/dovecot/conf.d/10-director.conf /etc/dovecot/conf.d/10-logging.conf /etc/dovecot/conf.d/10-mail.conf /etc/dovecot/conf.d/10-master.conf /etc/dovecot/conf.d/10-ssl.conf /etc/dovecot/conf.d/10-tcpwrapper.conf /etc/dovecot/conf.d/15-lda.conf /etc/dovecot/conf.d/15-mailboxes.conf /etc/dovecot/conf.d/90-acl.conf /etc/dovecot/conf.d/90-plugin.conf /etc/dovecot/conf.d/90-quota.conf /etc/dovecot/conf.d/auth-checkpassword.conf.ext /etc/dovecot/conf.d/auth-deny.conf.ext /etc/dovecot/conf.d/auth-dict.conf.ext /etc/dovecot/conf.d/auth-master.conf.ext /etc/dovecot/conf.d/auth-passwdfile.conf.ext /etc/dovecot/conf.d/auth-sql.conf.ext /etc/dovecot/conf.d/auth-static.conf.ext /etc/dovecot/conf.d/auth-system.conf.ext /etc/dovecot/conf.d/auth-vpopmail.conf.ext /etc/systemd/system/multi-user.target.wants/dovecot.service → /lib/systemd/system/dovecot.service
$ doveadm backup -f -u info@xxx.com maildir:/home/andreas/MailBackup doveadm(info@xxx.com): Error: userdb lookup: connect(/var/run/dovecot/auth-userdb) failed: Permission denied (euid=1001(andreas) egid=1001(andreas) missing +r perm: /var/run/dovecot/auth-userdb, dir owned by 0:0 mode=0755) doveadm(info@xxx.com): Fatal: User lookup failed: Internal error occurred. Refer to server log for more information. # doveadm backup -f -u info@xxx.com maildir:/home/andreas/MailBackup dsync(info@xxx.com): Error: mkdir(/home/andreas/MailBackup/cur) failed: Permission denied (euid=89(vpopmail) egid=89(vchkpw) missing +w perm: /home/andreas/MailBackup, dir owned by 1001:1001 mode=0755) dsync(info@xxx.com): Error: open(/home/andreas/MailBackup/maildirfolder, O_CREAT) failed: Permission denied dsync(info@xxx.com): Error: mkdir(/home/andreas/MailBackup/cur) failed: Permission denied (euid=89(vpopmail) egid=89(vchkpw) missing +w perm: /home/andreas/MailBackup, dir owned by 1001:1001 mode=0755) dsync(info@xxx.com): Error: Can't create mailbox INBOX: Internal error occurred. Refer to server log for more information. [2022-09-10 15:02:59] # chown vpopmail:vchkpw /home/andreas/MailBackup # doveadm backup -f -u info@xxx.com maildir:/home/andreas/MailBackup # ls -la /home/andreas/MailBackup drwxr-xr-x 5 vpopmail vchkpw 512 Sep 10 15:14 .Trash drwxr-xr-x 2 vpopmail vchkpw 512 Sep 10 15:14 cur -rw-r--r-- 1 vpopmail vchkpw 536 Sep 10 15:14 dovecot-uidlist -rw-r--r-- 1 vpopmail vchkpw 8 Sep 10 15:14 dovecot-uidvalidity -r--r--r-- 1 vpopmail vchkpw 0 Sep 10 15:14 dovecot-uidvalidity.631c8dab -rw-r--r-- 1 vpopmail vchkpw 3524 Sep 10 15:14 dovecot.index.cache -rw-r--r-- 1 vpopmail vchkpw 740 Sep 10 15:14 dovecot.index.log -rw-r--r-- 1 vpopmail vchkpw 24 Sep 10 15:14 dovecot.mailbox.log -rw-r--r-- 1 vpopmail vchkpw 0 Sep 10 15:14 maildirfolder drwxr-xr-x 2 vpopmail vchkpw 512 Sep 10 15:14 new -rw-r--r-- 1 vpopmail vchkpw 6 Sep 10 15:14 subscriptions drwxr-xr-x 2 vpopmail vchkpw 512 Sep 10 15:14 tmp # doveadm backup -f -u info@styleesh.com mdbox:/home/andreas/MailBackup dsync(info@styleesh.com): Error: Mail locations must use the same virtual mailbox hierarchy separator (specify separator for the default namespace) # doveadm backup -f -u info@styleesh.com -o mail_location=mdbox:/home/andreas/MailBackup/mdbox maildir:/home/andreas/MailBackup/maildir doveadm: illegal option -- o doveadm backup [-u <user>|-A] [-S <socket_path>] [-fPRU] [-l <secs>] [-r <rawlog path>] [-m <mailbox>] [-g <mailbox_guid>] [-n <namespace> | -N] [-x <exclude>] [-s <state>] -d|<dest> # doveadm -D -o mail_location=mdbox:/home/andreas/MailBackup/mdbox backup -fR -u info@xxx.com maildir:/home/andreas/MailBackup/maildir Debug: Loading modules from directory: /usr/local/lib/dovecot/doveadm Debug: Skipping module doveadm_acl_plugin, because dlopen() failed: /usr/local/lib/dovecot/doveadm/lib10_doveadm_acl_plugin.so: Undefined symbol "acl_user_module" (this is usually intentional, so just ignore this message) Debug: Skipping module doveadm_expire_plugin, because dlopen() failed: /usr/local/lib/dovecot/doveadm/lib10_doveadm_expire_plugin.so: Undefined symbol "expire_set_lookup" (this is usually intentional, so just ignore this message) Debug: Skipping module doveadm_quota_plugin, because dlopen() failed: /usr/local/lib/dovecot/doveadm/lib10_doveadm_quota_plugin.so: Undefined symbol "quota_user_module" (this is usually intentional, so just ignore this message) Debug: Module loaded: /usr/local/lib/dovecot/doveadm/lib10_doveadm_sieve_plugin.so Debug: Skipping module doveadm_fts_plugin, because dlopen() failed: /usr/local/lib/dovecot/doveadm/lib20_doveadm_fts_plugin.so: Undefined symbol "fts_list_backend" (this is usually intentional, so just ignore this message) doveadm(info@xxx.com): Debug: Effective uid=89, gid=89, home=/usr/local/vpopmail/domains/xxx.com/info doveadm(info@xxx.com): Debug: Namespace inbox: type=private, prefix=, sep=, inbox=yes, hidden=no, list=yes, subscriptions=yes location=mdbox:/home/andreas/MailBackup/mdbox doveadm(info@xxx.com): Debug: fs: root=/home/andreas/MailBackup/mdbox, index=, indexpvt=, control=, inbox=, alt= doveadm(info@xxx.com): Debug: Namespace : Using permissions from /home/andreas/MailBackup/mdbox: mode=0755 gid=default dsync(info@xxx.com): Debug: Effective uid=89, gid=89, home=/usr/local/vpopmail/domains/xxx.com/info dsync(info@xxx.com): Debug: Namespace inbox: type=private, prefix=, sep=, inbox=yes, hidden=no, list=yes, subscriptions=yes location=maildir:/home/andreas/MailBackup/maildir dsync(info@xxx.com): Debug: maildir++: root=/home/andreas/MailBackup/maildir, index=, indexpvt=, control=, inbox=/home/andreas/MailBackup/maildir, alt= dsync(info@xxx.com): Error: Mail locations must use the same virtual mailbox hierarchy separator (specify separator for the default namespace) doveadm(info@styleesh.com): Error: User initialization failed: namespace configuration error: list=yes requires prefix=backup to end with separator doveadm(info@styleesh.com): Fatal: User init failed doveadm(info@styleesh.com): Error: User initialization failed: namespace configuration error: All list=yes namespaces must use the same separator doveadm(info@styleesh.com): Fatal: User init failed
# doveadm backup -f -u abc@xyz.ch mdbox:/home/andreas/dovecot_backup/xyz.ch/abc /usr: write failed, filesystem is full dsync(abc@xyz.ch): Error: write(/home/andreas/dovecot_backup/xyz.ch/abc/storage/.temp.1670767993.P88286Q1689M398392.ns2.xyz.ch) failed: No space left on device dsync(abc@xyz.ch): Error: write(/home/andreas/dovecot_backup/xyz.ch/abc/storage/.temp.1670767993.P88286Q1689M398392.ns2.xyz.ch) failed: No space left on device dsync(abc@xyz.ch): Error: write() failed for file /home/andreas/dovecot_backup/xyz.ch/abc/storage/.temp.1670767993.P88286Q1689M398392.ns2.xyz.ch: No space left on device /usr: write failed, filesystem is full dsync(abc@xyz.ch): Error: write(/home/andreas/dovecot_backup/xyz.ch/abc/storage/.temp.1670767993.P88286Q1690M398392.ns2.xyz.ch) failed: No space left on device dsync(abc@xyz.ch): Error: Mailbox Trash: Saving failed: Internal error occurred. Refer to server log for more information. [2022-12-11 15:13:13] dsync(abc@xyz.ch): Error: write(/home/andreas/dovecot_backup/xyz.ch/abc/storage/.temp.1670767993.P88286Q1690M398392.ns2.xyz.ch) failed: No space left on device /usr: write failed, filesystem is full /usr: write failed, filesystem is full dsync(abc@xyz.ch): Error: write() failed for file /home/andreas/dovecot_backup/xyz.ch/abc/storage/.temp.1670767993.P88286Q1689M398392.ns2.xyz.ch: No space left on device dsync(abc@xyz.ch): Error: Mailbox Trash: Save commit failed: Internal error occurred. Refer to server log for more information. [2022-12-11 15:13:13]
cyon
E-Mail-Konten von einem anderen Dienst zu cyon transferieren
Windows 10 Search
date: datemodified: dateaccessed: datecreated: datetaken:
gcc “Multiple definition”, “first defined here” errors
Options for Code Generation Conventions
-fcommon
In C code, this option controls the placement of global variables defined without an initializer, known as tentative definitions in the C standard. Tentative definitions are distinct from declarations of a variable with the extern keyword, which do not allocate storage.
The default is -fno-common, which specifies that the compiler places uninitialized global variables in the BSS section of the object file. This inhibits the merging of tentative definitions by the linker so you get a multiple-definition error if the same variable is accidentally defined in more than one compilation unit.
The -fcommon places uninitialized global variables in a common block. This allows the linker to resolve all tentative definitions of the same variable in different compilation units to the same object, or to a non-tentative definition. This behavior is inconsistent with C++, and on many targets implies a speed and code size penalty on global variable references. It is mainly useful to enable legacy code to link without errors.
Inkscape 1.2
Release notes/1.2
The option to add margins to a document when resizing it is currently unavailable
3D Drucker (UV LCD, Stereolithography, SLA)
Migration from Qt5 to Qt6
Debugging QThread in Python
- PySide6
- PyQt6
PyCharm
PyCharm not stopping/showing PySide6 threads!!!, 07.02.2021
Debugger fails to start with “module ‘numpy.core’ has no attribute ‘numerictypes’ ” error if PyQT compatibility is set to “PySide2” or Auto, 30.09.2021
vscode
Support pyside6 (without frame-eval mode) #709
QT5 Threads not captured in the debugger via VSCode #428
when use QThread Debug PyQt app, breakpoint not work,while wing IDE can debug #176
Breakpoints not working with QThread/PySide2 #304
QThread debugging regression after version 1.1.0 #526
Blaues Licht (Blue Protect, Blaulichtfilter)
Zeiss
Wie schädlich ist blaues Licht für die Augen? – Fakten, die Sie interessieren werden
Wie gefährlich blaues Licht für das menschliches Auge wirklich ist – Der Dualismus des blauen Lichts
Die zwei Seiten des blauen Lichts – Wie viel blaues Licht brauchen wir, und wann bzw. wie müssen wir uns davor schützen?
DuraVision BlueProtect von ZEISS – Blaulichtschutz für Ihre Augen


