debian wheezy delay start postfix/fetchmail?

Discussion in 'Installation/Configuration' started by commentator, Jul 2, 2012.

  1. commentator

    commentator Member

    Hi,

    I'm testing Debian Wheezy with postfix mailserver and clamscan as in one of the perfect setup howto's. Also running fetchmail to pop some mailboxes.

    Works perfect for previous Debian release. Saturday upgraded to Wheezy. Now there is problem when booting. Postfix/Clamscan results in abnormal high cpu load.

    When disable it from starting and starting it manual after some time no problem. How can I delay this start automaticaly so I don't have to log in and start postfix manual ?
     
  2. falko

    falko Super Moderator Howtoforge Staff

    You could try something like this in /etc/rc.local:

    Code:
    sleep 600 && /etc/init.d/postfix start
    This will delay the Postfix start for ten minutes. Please note that this will also delay all other commands that come after this line in /etc/rc.local, so it is a good idea to use this as the last command (before the exit line) in /etc/rc.local.
     
  3. commentator

    commentator Member

    Ok, thanks for your response.
    Going to try that later this evening.
     
  4. commentator

    commentator Member

    update:

    works perfect :) Thank you
     

Share This Page