Piler and Postfix on same machine

Issue #522 wontfix
Former user created an issue

Hello,

I install piler for the first time. I recognised, that piler works as smtp itself and listens on port 25. But on same machine I have postfix, which uses same port.

Is it possible to have piler and postfix on same machine and same IP?

Comments (5)

  1. eXtremeSHOK

    Yes

    Set piler to listen on localhost port 10025

    /usr/local/etc/piler.conf ; piler will listen here listen_addr=127.0.0.1 listen_port=10025

    Set piler to use localhost 25 as the smart host config-site.php $config['SMARTHOST'] = '127.0.0.1'; $config['SMARTHOST_PORT'] = 25;

  2. Grega Krajnc

    Thank you for prompt answer. I did as you said. Now I'm stuck with postfix configuration. I added always_bcc = archive@mydomain.com. How would piler get this mail?

  3. Janos SUTO repo owner

    An email archive should be put on a different host than the mailserver for several reasons. So unless you have something very serious forcing you to put piler to your mailserver, I suggest you not to do so.

    Anyway you need some smtp routing on your host, and some postfix config tweaking main.cf, including the inet_interfaces option.

  4. Log in to comment