Bug 1141833 - sieve: Failed to access active Sieve script in user storage
sieve: Failed to access active Sieve script in user storage
Status: RESOLVED FEATURE
Classification: openSUSE
Product: openSUSE Distribution
Classification: openSUSE
Component: Other
Leap 15.1
x86-64 Other
: P3 - Medium : Major (vote)
: Leap 15.1
Assigned To: Peter Varkoly
E-mail List
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2019-07-17 11:28 UTC by Matthias Weiss
Modified: 2021-09-09 14:24 UTC (History)
1 user (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Matthias Weiss 2019-07-17 11:28:30 UTC
When a new Mailbos is created, the Mailbox doesn't contain a folder for the sieve rules.

sieve = file:~/sieve/;active=~/.dovecot.sieve

As Long the directory ~/sieve does not exist, mails will be rejected.

Jul 15 14:42:59 wep001aa postfix/lmtp[8872]: E48E9358A1: to=<support@example.com>, relay=mx.example.com[private/dovecot-lmtp], delay=0.06, delays=0.01/0/0.04/0, dsn=4.2.0, status=deferred (host mx.example.com[private/dovecot-lmtp] said: 451 4.2.0 <support@example.com> Temporarily unable to access necessary Sieve scripts (in reply to end of DATA command))


Jul 15 14:41:40 wep001aa dovecot[6754]: lmtp(support@example.com)<8873><COX6OYR0LF2pIgAAiK8i3Q>: Error: sieve: file storage: Performing t_readlink() on active sieve symlink '(null)' failed: readlink() failed: Bad address
Jul 15 14:41:40 wep001aa dovecot[6754]: lmtp(support@example.com)<8873><COX6OYR0LF2pIgAAiK8i3Q>: Error: sieve: Failed to access active Sieve script in user storage `/var/vmail/example.com/support' (temporary failure)
Jul 15 14:42:59 wep001aa dovecot[6754]: lmtp(support@example.com)<8930><GdrqOtN0LF3iIgAAiK8i3Q>: Error: sieve: file storage: Performing t_readlink() on active sieve symlink '(null)' failed: readlink() failed: Bad address
Jul 15 14:42:59 wep001aa dovecot[6754]: lmtp(support@example.com)<8930><GdrqOtN0LF3iIgAAiK8i3Q>: Error: sieve: Failed to access active Sieve script in user storage `/var/vmail/example.com/support' (temporary failure)



After this directory is created, mails will be delivered.

-> AFAIK ist shouldn't couse such a problem.
Comment 1 Matthias Weiss 2019-07-17 11:42:31 UTC
dovecot 2.3.3, postfix 3.3.1 on opensuse 15.1.
Virtual Maps/Domains etc. managed by postfixadmin on database mysql.
Comment 2 Peter Varkoly 2021-09-09 14:24:45 UTC
General Dovecot 2.0 changes:
Note that the Dovecot v2.0 LDA does not create mailfolders automatically by default anymore. If your configuration relies on this, you need to enable the lda_mailbox_autocreate setting for LDA or start using the Sieve mailbox extension’s :create tag for fileinto commands.