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

SOLVED

Email server setup

samikshaj895937
Level 2
Level 2

I have a local campaign server setup in my machine but email server is not configured,i can download any free smtp server for mail but dont know how to configure it.

Please let me know if there is any documentation for the same, i could not find one.

1 Accepted Solution
Amit_Kumar
Correct answer by
Community Advisor
Community Advisor

Hi Samiksha,

Adobe Campaign does not support authenticated SMTP servers. You need to configure the mta so that it accepts all traffic coming from the loopback.

Read following articles to configure the SMTP server for localhost:

https://support.sonicwall.com/kb/sw7497

http://serverfault.com/questions/575470/restrict-smtp-for-localhost-only

http://stackoverflow.com/questions/33062285/how-to-send-an-email-from-a-windows-machine-by-using-rem...

and this for more options: https://docs.campaign.adobe.com/doc/AC6.1/en/INS_Additional_configurations__Email_deliverability.htm...

Regards,

Amit

View solution in original post

5 Replies
Amit_Kumar
Community Advisor
Community Advisor

Hi Samiksha,

it's quite simple, follow given steps:
1. download any smtp server like https://github.com/haraka/Haraka
2. install and configure your account, add domain name to your local host file and note down the server address and port number.
3. In your local campaign go to the config-<instance>.xml file, you can add an option: <mta><relay address="<server address or MX address>" port="<server port>" /></mta>
4. If the <mta> tag already exists in this file (which is normally the case), you just need to add the <relay> tag inside.
 
More description is available in the serverConf.xml file.

Note that Campaign does not support authenticated SMTP. You need to configure the mta so that it accepts all traffic coming from the loopback.

Regards,
Amit

samikshaj895937
Level 2
Level 2

 this is how my conf file is:

 <mta autoStart="false" statServerAddress="">
    <child>
      <smtp>
        <IPAffinity 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="" heloHost="" publicId="" weight=""/>
        </IPAffinity>
      </smtp>
    </child>
  </mta>

 

Please let me know what all has to be removed from it n what to keep.

Amit_Kumar
Community Advisor
Community Advisor

samikshaj895937 wrote...

 this is how my conf file is:

 <mta autoStart="false" statServerAddress="">
    <child>
      <smtp>
        <IPAffinity 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="" heloHost="" publicId="" weight=""/>
        </IPAffinity>
      </smtp>
    </child>
  </mta>

 

Please let me know what all has to be removed from it n what to keep.

 

Can you go to your serverConf file and look for <relay address="" port="25"/> , i just saw in my local and i can see this, you can change in serverConf file and this will work.

Amit_Kumar
Correct answer by
Community Advisor
Community Advisor

Hi Samiksha,

Adobe Campaign does not support authenticated SMTP servers. You need to configure the mta so that it accepts all traffic coming from the loopback.

Read following articles to configure the SMTP server for localhost:

https://support.sonicwall.com/kb/sw7497

http://serverfault.com/questions/575470/restrict-smtp-for-localhost-only

http://stackoverflow.com/questions/33062285/how-to-send-an-email-from-a-windows-machine-by-using-rem...

and this for more options: https://docs.campaign.adobe.com/doc/AC6.1/en/INS_Additional_configurations__Email_deliverability.htm...

Regards,

Amit

View solution in original post

samikshaj895937
Level 2
Level 2

hi , i tried as you suggested downloaded haraka and node.js and then while installing haraka through nodes.js i got following error.

crosoft Windows [Version 10.0.10586] (c) 2015 Microsoft Corporation. All rights reserved. C:\Users\sajain\Downloads\node-v6.10.3-win-x64\node-v6.10.3-win-x64>npm install -g Haraka npm ERR! not a package C:\Users\sajain\Downloads\node-v6.10.3-win-x64\node-v6.10.3-win-x64\Haraka npm ERR! addLocal Could not install C:\Users\sajain\Downloads\node-v6.10.3-win-x64\node-v6.10.3-win-x64\Haraka npm ERR! Windows_NT 10.0.10586 npm ERR! argv "C:\\Users\\sajain\\Downloads\\node-v6.10.3-win-x64\\node-v6.10.3-win-x64\\node.exe" "C:\\Users\\sajain\\Downloads\\node-v6.10.3-win-x64\\node-v6.10.3-win-x64\\node_modules\\npm\\bin\\npm-cli.js" "install" "-g" "Haraka" npm ERR! node v6.10.3 npm ERR! npm  v3.10.10 npm ERR! path C:\Users\sajain\AppData\Local\Temp\npm-820-c857c20e\unpack-d358aebb\package.json npm ERR! code ENOENT npm ERR! errno -4058 npm ERR! syscall open npm ERR! enoent ENOENT: no such file or directory, open 'C:\Users\sajain\AppData\Local\Temp\npm-820-c857c20e\unpack-d358aebb\package.json' npm ERR! enoent ENOENT: no such file or directory, open 'C:\Users\sajain\AppData\Local\Temp\npm-820-c857c20e\unpack-d358aebb\package.json' npm ERR! enoent This is most likely not a problem with npm itself npm ERR! enoent and is related to npm not being able to find a file. npm ERR! enoent npm ERR! Please include the following file with any support request: npm ERR!     C:\Users\sajain\Downloads\node-v6.10.3-win-x64\node-v6.10.3-win-x64\npm-debug.log C:\Users\sajain\Downloads\node-v6.10.3-win-x64\node-v6.10.3-win-x64>