Mail common: remove template warning
The missing default value for
postfix/AccessBypassList raises the following WARNING in
Dec 23 15:35:26 vm5 esmith::event: WARNING in /etc/e-smith/templates//etc/postfix/access.cidr/10smtpaccess: Use of uninitialized value in split at /etc/e-smith/templates//etc/postfix/access.cidr/10smtpaccess line 6.
Add the default value for that prop.
#5 Updated by k c over 3 years ago
- Assignee set to k c
I installed Email from the gui and verifed the above error is in the log messages with a search for "postfix/access.cidr/10smtpaccess", then reverted the vm.
from a fresh install I did;
[root@server32 ~]# yum --enablerepo=nethserver-testing install nethserver-mail-common
Loaded plugins: changelog, fastestmirror, nethserver_events, presto Setting up Install Process Loading mirror speeds from cached hostfile * centos-base: mirror.hmc.edu * centos-updates: centos-distro.cavecreek.net * nethserver-base: nethserver.antani.co * nethserver-updates: nethserver.antani.co Resolving Dependencies --> Running transaction check ---> Package nethserver-mail-common.noarch 0:1.5.2-*1.3*.gdca8ccd.ns6 will be installed
Installing: nethserver-mail-common noarch 1.5.2-1.3.gdca8ccd.ns6 nethserver-testing 66 k
but the package is not the same as in the instructions.
I went ahead with the install and it's dependencies, verified Email was installed from the gui and a search of /var/log/messages with the above search for "postfix/access.cidr/10smtpaccess", came back false.
So as long as the package is acceptable then this can be set status verified.
#6 Updated by k c over 3 years ago
I don't think I did this right.
I installed Email from the gui to verify the error msg.
Then I reverted the vm and installed from nethserver-testing nethserver-mail-common, while it installed the dependencies for that package it didn't install the full Email so I'm not sure how to go about this.
Should I install nethserver-mail-server from nethserver-testing at the cli?
Sorry I don't know what I'm doing.
#7 Updated by Filippo Carletti over 3 years ago
- Status changed from ON_QA to VERIFIED
- % Done changed from 70 to 90
Even if the nethserver-mail-common package version is not the one requested by the test case, verification is possibile, since you have a new version that contains the fix.
[root@nscom ~]# rpm -q --changelog nethserver-mail-common * Wed Feb 03 2016 Davide Principi <email@example.com> - 3.gdca8ccd.ns6 - Reduce cache lifetime for negative responses. Refs #3347 (Davide Principi <firstname.lastname@example.org>) - Default value for postfix/AccessBypassList. Refs #3335 (Davide Principi <email@example.com>) - Don't cache negative responses. Refs #3347 (Davide Principi <firstname.lastname@example.org>)
I think that your verification is correct.
Maybe who will verify issue #3347 will notice that the warning disappeared.
I'm setting this to verified based on your testing.