use postfix

Moderator: crythias

Post Reply
tune6688
OTRS newbie
Posts: 43
Joined: 19 Nov 2020, 14:33
Znuny / OTRS Version: 6.030
Real Name: wei

use postfix

Post by tune6688 »

Hello, everyone

System configuration: Centos8+Znuny6.035.

We receive email with system default configuration. This is executed once a minute, and the mails often be stuck.  We tried to use postfix to improve performance. Please comment whether my plan is correct.Get emails through fetchmail to the local MTA (postfix) and push them to otrs using procmail, is it correct? I’m not sure how to transfer external mail to my local MTA?

Thank you for your help!
wurzel
OTRS guru
Posts: 3095
Joined: 08 Jul 2010, 22:25
Znuny / OTRS Version: x.x.x
Real Name: Florian

Re: use postfix

Post by wurzel »

Hi,

yes it works like a charm. It is linux mailing default/standard.

set up a proper linux and a postfix, install procmail
let postfix accept mails from external
rename /opt/otrs/.procmailrc.dist to /opt/otrs/.procmailrc
forward all mails to otrs user

e.g.

your linux server name is ticket.domain.local
forward all to otrs@ticket.domain.local
postfix uses procmail

but PLEASE you need to know what you are doing. You must not set up your server as a open relay!

kind regards
Flo
OTRS 8 SILVER (Prod)
OTRS 8 auf Debian 10 (Test)
    ((OTRS)) Community Edition 6.0.x, LAMP LIVE auf Debian 10

    -- Ich beantworte keine Forums-Fragen PN - No PN please

    I won't answer to unfriendly users any more. A greeting and regards are just polite.
    tune6688
    OTRS newbie
    Posts: 43
    Joined: 19 Nov 2020, 14:33
    Znuny / OTRS Version: 6.030
    Real Name: wei

    Re: use postfix

    Post by tune6688 »

    Dear Flo
    Thanks for your help!
    1.Please help to confirm again that get emails through fetchmail to the local MTA (postfix), right?
    2.forward mail from ticket.domain.local to otrs@ticket.domain.local, this is done to Keep the original message ?

    I didn't understand technical things, I really appreciate the time you have taken to help me.

    Looking forward to your reply !
    wurzel
    OTRS guru
    Posts: 3095
    Joined: 08 Jul 2010, 22:25
    Znuny / OTRS Version: x.x.x
    Real Name: Florian

    Re: use postfix

    Post by wurzel »

    Hi,

    Sorry but if you say "I didn't understand technical things" you should really ask a mail specialist.
    This is out of scope for me here.

    Sorry for that

    there is a simple overview for OTRS
    https://doc.otrs.com/doc/manual/admin/6 ... -receiving

    the mailing part itself... as I said is up to experts for mailing/postfix/...

    kind regards
    Flo
    OTRS 8 SILVER (Prod)
    OTRS 8 auf Debian 10 (Test)
      ((OTRS)) Community Edition 6.0.x, LAMP LIVE auf Debian 10

      -- Ich beantworte keine Forums-Fragen PN - No PN please

      I won't answer to unfriendly users any more. A greeting and regards are just polite.
      tune6688
      OTRS newbie
      Posts: 43
      Joined: 19 Nov 2020, 14:33
      Znuny / OTRS Version: 6.030
      Real Name: wei

      Re: use postfix

      Post by tune6688 »

      Thank you for your help!
      Post Reply