Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

MTA configuration for local domain/localhost

Avatar

Avatar
Boost 5
Level 2
dhanesh04s
Level 2

Likes

9 likes

Total Posts

19 posts

Correct Reply

6 solutions
Top badges earned
Boost 5
Applaud 5
Ignite 1
Boost 3
Boost 1
View profile

Avatar
Boost 5
Level 2
dhanesh04s
Level 2

Likes

9 likes

Total Posts

19 posts

Correct Reply

6 solutions
Top badges earned
Boost 5
Applaud 5
Ignite 1
Boost 3
Boost 1
View profile
dhanesh04s
Level 2

17-08-2019

Hello,

I am trying to configure mta in local instance. I have already configured hmail server for localhost and have created a local domain known as localhost.com

Now when I am trying to configure mta the server stops because of below error1815249_pastedImage_0.png

I have don the following changes in respective instance:

Changes done in serverconf File:

<mta args="-tracefilter:nlmta" autoStart="true" dataLogPath="" debugPath="" dnsRequestLogDelayMs=""

       errorPeriodSec="300" initScript="" logEmailErrors="true" logLevel="2" maxMemoryMb="1024"

       maxProcessMemoryAlertMb="1800" maxProcessMemoryWarningMb="1600" minConnectionsToLog="100"

       minErrorsToLog="1" minMessagesToLog="1000" notifRelay="" processRestartTime="06:00:00"

       purgeDataLogDelay="15" retryLostMessages="true" runLevel="10" statServerAddress="localhost:7777"

       statServerTLSSupport="true" statServerVersion="" verifyMode="false" workingPath="$(XTK_INSTALL_DIR)/var/$(INSTANCE_NAME)/mta/"

       xMailer="nlserver, Build $(PRODUCT_VERSION)">

    <relay address="localhost" port="25"/>

Changes done in instance config File:

  <mta autoStart="true" statServerAddress="localhost">

    <child>

      <smtp>

        <IPAffinity localDomain="localhost.com" name="default,mid.default,dev.default,test.default">

          <!--  For dev instances, if you need a default IP (not recommended), use address="0.0.0.0" -->

          <IP address="0.0.0.0" heloHost="" publicId="1" weight="5"/>

        </IPAffinity>

      </smtp>

    </child>

  </mta>

Any lead or any kind of solution will be of great help

Replies

Avatar

Avatar
Boost 250
MVP
DavidKangni
MVP

Likes

257 likes

Total Posts

372 posts

Correct Reply

151 solutions
Top badges earned
Boost 250
Validate 1
Give Back 5
Give Back 3
Give Back 25
View profile

Avatar
Boost 250
MVP
DavidKangni
MVP

Likes

257 likes

Total Posts

372 posts

Correct Reply

151 solutions
Top badges earned
Boost 250
Validate 1
Give Back 5
Give Back 3
Give Back 25
View profile
DavidKangni
MVP

19-08-2019

hi,

You should modify only instance config

In your instance conf, set autostart="true", and fill out the IP element, e.g.:

<IP address="0.0.0.0" heloHost="localhost.localdomain" publicId="1" weight="1"/>

Then restart nlserver6 service.

1816768_pastedImage_0.png

NB You have a relay address set in your serverConf.xml. If intended it should be moved to the instance conf- serverConf is supposed to be used as a read-only reference.

Thanks

David

Avatar

Avatar
Establish
MVP
wodnicki
MVP

Likes

969 likes

Total Posts

1,091 posts

Correct Reply

513 solutions
Top badges earned
Establish
Affirm 500
Contributor
Shape 1
Give Back 100
View profile

Avatar
Establish
MVP
wodnicki
MVP

Likes

969 likes

Total Posts

1,091 posts

Correct Reply

513 solutions
Top badges earned
Establish
Affirm 500
Contributor
Shape 1
Give Back 100
View profile
wodnicki
MVP

20-08-2019

Hi,

Quick note- use 127.0.0.1 for relay address, for whatever reason whenever I tried localhost it would fail.

Thanks,

-Jon