your config says that you have postfix on yourip:25/tcp,
and it forwards emails to piler (127.0.0.1:25/tcp).

However you shouldn't use piler as a smarthost, because
it is not such a host. It doesn't relay anything. It just
receives and archives the emails it gets.

The recommended approach is to let piler run on 0.0.0.0:25
and use an smtp server on another host as a smarthost (=relay).

You may decide to put a postfix instance on 127.0.0.1:10026
(or similar) that piler can use.

If you absolutely need postfix in front of piler to protect
it or for any reason then I also recommend to put a postfix
instance on 127.0.0.1:10026 and let piler use it as a mail
relay.

I assume admin@yourdomain is a valid address, and it should
be accepted by postfix.

Janos


On 2013-03-26 12:11, Adam Fyfe wrote:
Thanks for the reply

so i config.php

i have:

define('LOCALHOST', '127.0.0.1');
define('PILER_HOST', '127.0.0.1');
define('PILER_PORT', 25);
define('SMARTHOST', '127.0.0.1');
define('SMARTHOST_PORT', 25);
define('SMTP_DOMAIN', 'domain.my');
define('SMTP_FROMADDR', '[email protected]');
define('ADMIN_EMAIL', '[email protected]');

So when I forward an email to admin@ Postfix rejects it - unable to relay

Adam


On 2013-03-26 12:02, Adam Fyfe wrote:

Hi

We have Piler all up and installed.

BUT, inbound email is rejected with an NDR unable to relay

The domain is setup in the webui.

 Is Piler listening for inbound, or is Postfix ?

Thanks for the help

adam



Reply via email to