[Bug 996569] Re: [SRU] unused parameter: spf-policyd_time_limit in amavisd-new-postfix

Ante Karamatić 996569 at bugs.launchpad.net
Mon Jul 30 07:22:30 UTC 2012


** Description changed:

- When installing amavisd-new-postfix I get multiple errors as such: 
+ Please apply this patch to the current 12.04 package.
+ 
+ [Impact]
+ Every user that installs amavisd-new-postfix will see a warning:
+ 
+ /usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter:
+ spf-policyd_time_limit=3600s
+ 
+ This warning will get printed out multiple times. In addition, SPF
+ timeout is never really set, since this parameter is invalid.
+ 
+ [Test case]
+ 1. Install 12.04 with all latest updates
+ 2. Install amavisd-new-postfix
+ 3a. Observe printed warnings
+ 3b. Run 'postconf policy-spf_time_limit'
+ 
+ In case of 3b, broken package will return unknown parameter, while fixed
+ one will return value '3600s'.
+ 
+ [Regression potential]
+ I've made sure that this parameter is changed on upgrade of the package, fixing this issue for new installs and upgrades. If applied, this fix will remove incorrect parameter by editing /etc/postfix/main.cf and deleting a line that starts with 'spf-policyd_time_limit'. Postfix doesn't have parameters that start with that string, so regression potential will be minimal.
+ 
+ Original report
+ ---------------
+ 
+ When installing amavisd-new-postfix I get multiple errors as such:
  /usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: spf-policyd_time_limit=3600s
  
  The correct parameter is "policy-spf_time_limit", not "spf-
  policyd_time_limit".
  
  Should be easy to fix in line 42 in /debian/amavisd-new-postfix.postinst
  http://bazaar.launchpad.net/~ubuntu-branches/ubuntu/precise/amavisd-new/precise/view/head:/debian/amavisd-new-postfix.postinst#L42
  
- 
  amavisd-new-postfix 1:2.6.5-0ubuntu3
  Ubuntu 12.04 LTS

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to amavisd-new in Ubuntu.
https://bugs.launchpad.net/bugs/996569

Title:
  [SRU] unused parameter: spf-policyd_time_limit in amavisd-new-postfix

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/amavisd-new/+bug/996569/+subscriptions



More information about the Ubuntu-server-bugs mailing list