Results 1 to 4 of 4

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

  1. #1
    Join Date
    Feb 2016
    Location
    Berlin
    Posts
    357

    Default 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?

  2. #2

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

    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

  3. #3
    Join Date
    Jun 2008
    Location
    San Diego, Ca, USA
    Posts
    11,461
    Blog Entries
    2

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

    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
    Beginner Wiki Quickstart - https://en.opensuse.org/User:Tsu2/Quickstart_Wiki
    Solved a problem recently? Create a wiki page for future personal reference!
    Learn something new?
    Attended a computing event?
    Post and Share!

  4. #4
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    27,201
    Blog Entries
    15

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

    Quote Originally Posted by ndc33 View Post
    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?
    Hi
    I would guess you only use ipv4 and the postfix service is failing to start...

    Code:
    systemctl status postfix.service
    Edit the inet_protocols line (around 674) in /etc/postfix/main.cf from all to ipv4
    Code:
    inet_protocols = ipv4
    Restart the postfix service;
    Code:
    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...
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    SUSE SLE, openSUSE Leap/Tumbleweed (x86_64) | GNOME DE
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •