LukeSmithxyz / emailwiz

Script that installs/configures a Dovecot, Postfix, Spam Assassin, OpenDKIM Debian web server
GNU General Public License v3.0
1.82k stars 301 forks source link

Error in dovecot with lda after fresh installation #333

Open danielw97 opened 1 month ago

danielw97 commented 1 month ago

I've come to this tool recently, and whilst most things are working well I'm seeing a consistent issue in my logs. On debian 12, it appears as though the postmaster emails are being sent to root instead, and there's a failure with civ running as the root user like this: Not sure if there is a preferred way to sort this? Thanks in advance for any info. 2024-10-20T07:33:02.768956-04:00 mail dovecot: lda(root)<1325><ir3HLW7qFGctBQAARqF/Cw>: Error: chdir(/root/) failed: Permission denied (euid=65534(nobody) egid=65534(nogroup) missing +x perm: /root, dir owned by 0:0 mode=0700) 2024-10-20T07:33:02.770342-04:00 mail dovecot: lda(root)<1325><ir3HLW7qFGctBQAARqF/Cw>: Error: sieve: file storage: Failed to stat sieve storage path: stat(/root/.sieve) failed: Permission denied (euid=65534(nobody) egid=65534(nogroup) missing +x perm: /root, dir owned by 0:0 mode=0700) 2024-10-20T07:33:02.770984-04:00 mail dovecot: lda(root)<1325><ir3HLW7qFGctBQAARqF/Cw>: Error: stat(/root/Mail/Inbox/tmp) failed: Permission denied (euid=65534(nobody) egid=65534(nogroup) missing +x perm: /root, dir owned by 0:0 mode=0700) 2024-10-20T07:33:02.771083-04:00 mail dovecot: lda(root)<1325><ir3HLW7qFGctBQAARqF/Cw>: Error: sieve: msgid=4746419656439289652@google.com: failed to store into mailbox 'INBOX': stat(/root/Mail/Inbox/tmp) failed: Permission denied (euid=65534(nobody) egid=65534(nogroup) missing +x perm: /root, dir owned by 0:0 mode=0700) 2024-10-20T07:33:02.771180-04:00 mail dovecot: lda(root)<1325><ir3HLW7qFGctBQAARqF/Cw>: Error: sieve: Execution of script /var/lib/dovecot/sieve/default.sieve was aborted due to temporary failure 2024-10-20T07:33:02.780510-04:00 mail postfix/local[1324]: B57C02F1A06: to=root@mydomain, orig_to=postmaster@mydomain, relay=local, delay=6538, delays=6538/0.02/0/0.03, dsn=4.3.0, status=deferred (temporary failure)