is postfix.service actually required? (I only have imap mail)

I have noticed that postfix.service is slowing down boot considerably (systemd-analyze critical-chain). looking on google its not clear why this would be necessary (is this for setting up your own mail server or something?). I only have kmail with imap account, is it ok to disable postfix.service?

On 01/16/2017 07:36 AM, ndc33 wrote:
>
> I have noticed that postfix.service is slowing down boot considerably
> (systemd-analyze critical-chain). looking on google its not clear why
> this would be necessary (is this for setting up your own mail server or
> something?). I only have kmail with imap account, is it ok to disable
> postfix.service?
>
>

Yes it is, I do


Ken
linux since 1994
S.u.S.E./openSUSE since 1996

You can disable the postfix service if…

  1. You intend to receive mail only, and never send
    or
  2. You configure a remote SMTP mail server which can be provided by your email or service provider. In this case, a local SMTP server is not needed.

If you are running any other application than Kmail (like a website) locally on your machine, it may require the local postfix service or need to be re-configured.

TSU

Hi
I would guess you only use ipv4 and the postfix service is failing to start…


systemctl status postfix.service

Edit the inet_protocols line (around 674) in /etc/postfix/main.cf from all to ipv4


inet_protocols = ipv4

Restart the postfix service;


systemctl restart postfix
systemctl status postfix.service

If something goes wrong on the system, then root won’t receive any emails… I normally set postfix to a relay and forward them to my real email…