Bugzilla – Bug 139567
Subdomain stops postfix/cyrus working
Last modified: 2007-02-01 13:16:10 UTC
Hi, standalone postfix works. Local mail delivery through cyrus does not work. In /var/log/messages I get something like: <date> kernel: SubDomain: REJECTING w access to /var/spool/postfix/private/lmtp (local(6717) profile /usr/lib/postfix/local active /usr/lib/postfix/local) I have to use YaST-> AppArmor -> UpdateProfile Wizard to get it working. But very annoying: Through the wizard I got rid of the error messages, restarted postfix and got _new_ error messages from sudomain system. So I had to use the Update Profile Wizard for about 10 times before everything was working. My installation: Straight forward setup with KDE, just for postfix, nothing else.
Thanks for the info: we will look into this issue. For working around repeated cycles for single rejects. You can use the command line utils "complain" and "enforce" to toggle the mode of a profile. So for the above: 1. Run "complain /usr/lib/postfix/local" - would toggle the profile into learning mode 2. In learning mode you can then completely execute your use case (mail delivery and retrieval) 3. Run YaST-> AppArmor -> Update Profile Wizard to capture the new behavior 4. Run "enforce /usr/lib/postfix/local" to reset this profile to enforce mode
Will exercise this use case and update profile set for a maintenance release in feb. Will close this bug when the release has been pushed to the maintenance system
Michael, could you attach the logfile that included the additional accesses you required to allow cyrus and postfix to work together? Thanks
Sorry, but I did set up this machine nearly two months ago. Where are the logfiles saved?
Michael, the logs are in /var/log/messages; if the errors were a while ago, syslog may have rotated the logs to a messages.1, or similar. Thanks
No reaction for 8 months, closing as CANTFIX.