Hello,

I am running Postfix+MailScanner. There is a default setting:
maximal_queue_lifetime = 5d

I want to change it to 2 days so I did:
postconf -e 'maximal_queue_lifetime = 2d'

Now I check the main.cf and I see this line has been added at the bottom of the file.

Then I restarted the service:
[root@zeta ~]# service MailScanner restart
Shutting down MailScanner daemons:
         MailScanner:                                      [  OK  ]
         incoming postfix:                                 [  OK  ]
         outgoing postfix:                                 [  OK  ]
Waiting for MailScanner to die gracefully ... dead.
Starting MailScanner daemons:
         incoming postfix:                                 [  OK  ]
         outgoing postfix:                                 [  OK  ]
         MailScanner:                                      [  OK  ]
[root@zeta ~]#

Now when I do a ckeck I found out that the setting is still 5 days:

[root@zeta ~]# postconf -d | grep 'maximal_queue_lifetime'
maximal_queue_lifetime = 5d

Did I miss something here?

Please help. Thanks.

Jian

--

Reply via email to