Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. Support
  3. IMAP port and server settings for LAMP app mail client

IMAP port and server settings for LAMP app mail client

Scheduled Pinned Locked Moved Support
lampmailsmtpimap
14 Posts 4 Posters 3.0k Views 4 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • ? A Former User

    Ah I see. You might be able to get what you need via the sendmail and rcvmail environment variables here: https://docs.cloudron.io/custom-apps/addons/#sendmail

    If you want to manually enter them open the web terminal and just echo the environment variables.

    saikarthikS Offline
    saikarthikS Offline
    saikarthik
    wrote on last edited by
    #5

    @atrilahiji This is exactly how I got the SMTP details that worked (refer initial post)! I'm looking for the IMAP settings; I don't see any IMAP details in the environment variables of the LAMP app.

    1 Reply Last reply
    0
    • nebulonN Away
      nebulonN Away
      nebulon
      Staff
      wrote on last edited by
      #6

      The lamp app currently only uses the sendmail addon https://git.cloudron.io/cloudron/lamp7.4-app/-/blob/master/CloudronManifest.json#L22

      This means only email sending is possible. The receiving mail addon is rarely used as mostly users in such a case would create a regular mailbox on Cloudron and then use the normal credentials (just like in thunderbird) to be used in the app. This however has the small drawback of having to add a mailbox owner account, if an existing Cloudron user should not be used.

      1 Reply Last reply
      2
      • saikarthikS Offline
        saikarthikS Offline
        saikarthik
        wrote on last edited by
        #7

        @nebulon is there a workaround? I can even update the docker image if needed.

        1 Reply Last reply
        0
        • nebulonN Away
          nebulonN Away
          nebulon
          Staff
          wrote on last edited by girish
          #8

          Currently the workaround is to create a mailbox within Cloudron dashboard and then use the credentials for that mailbox within the app.

          But maybe that is the wrong solution in your case. Can you briefly explain for what that mailbox is used within that app?

          saikarthikS 1 Reply Last reply
          0
          • nebulonN nebulon

            Currently the workaround is to create a mailbox within Cloudron dashboard and then use the credentials for that mailbox within the app.

            But maybe that is the wrong solution in your case. Can you briefly explain for what that mailbox is used within that app?

            saikarthikS Offline
            saikarthikS Offline
            saikarthik
            wrote on last edited by
            #9

            @nebulon said in IMAP port and server settings for LAMP app mail client:

            Currently the workaround is to create a mailbox within Cloudron dashboard and then use the credentials for that mailbox within the app.

            This is exactly what I am trying to do. I want to setup my mailbox client to connect to my cloudron mailboxes.

            Little background: This is for the X2CRM PHP app, as with most CRMs' the mailbox client in X2CRM is important as you can set important automations/workflows based on emails received.

            1 Reply Last reply
            0
            • girishG Offline
              girishG Offline
              girish
              Staff
              wrote on last edited by
              #10

              @saikarthik Create a mailbox in Cloudron. I am guessing you want to send email as this address as well (and not just receive). So, after creating the mailbox, go to App -> Mail section and provide the mailbox name there. After you do that, come back to this Email Account screen and then provide the new mailbox name in the User name above and Password can be the mailbox owner password.

              For IMAP, use the settings in https://docs.cloudron.io/email/#imap . So, the IMAP Port will be 993, IMAP Security will be SSL/TLS (uncheck disable SSL Validation as well), IMAP Server will be the mail server domain my.example.com. The password is the password of the mailbox owner (but I don't see a way to fill in the imap password in the configuration above, do you know why? maybe it shares the auth for sending/recieving? in which case, it will still work since SMTP/IMAP password for mailbox is the same).

              1 Reply Last reply
              0
              • saikarthikS Offline
                saikarthikS Offline
                saikarthik
                wrote on last edited by
                #11

                @girish What about configuring multiple mailboxes?
                In this case, X2CRM has its own user management and each user logged in can set up multiple emails accounts on X2CRM. I want the users to be able to access their cloudron mailboxes on X2CRM.

                The password is the password of the mailbox owner (but I don't see a way to fill in the imap password in the configuration above, do you know why?

                There is another screen where you choose your email account and then enter the password. see attached below:Screen Shot 2020-10-07 at 5.35.00 PM.png

                girishG 1 Reply Last reply
                0
                • saikarthikS saikarthik

                  @girish What about configuring multiple mailboxes?
                  In this case, X2CRM has its own user management and each user logged in can set up multiple emails accounts on X2CRM. I want the users to be able to access their cloudron mailboxes on X2CRM.

                  The password is the password of the mailbox owner (but I don't see a way to fill in the imap password in the configuration above, do you know why?

                  There is another screen where you choose your email account and then enter the password. see attached below:Screen Shot 2020-10-07 at 5.35.00 PM.png

                  girishG Offline
                  girishG Offline
                  girish
                  Staff
                  wrote on last edited by
                  #12

                  @saikarthik said in IMAP port and server settings for LAMP app mail client:

                  @girish What about configuring multiple mailboxes?

                  Each mailbox has a separate authentication. The app has to provide some way to get the authentication info for each mail box.

                  In the Email credentials, I think it has to be the email address and not "Test User".

                  saikarthikS 1 Reply Last reply
                  1
                  • girishG girish

                    @saikarthik said in IMAP port and server settings for LAMP app mail client:

                    @girish What about configuring multiple mailboxes?

                    Each mailbox has a separate authentication. The app has to provide some way to get the authentication info for each mail box.

                    In the Email credentials, I think it has to be the email address and not "Test User".

                    saikarthikS Offline
                    saikarthikS Offline
                    saikarthik
                    wrote on last edited by saikarthik
                    #13

                    @girish said in IMAP port and server settings for LAMP app mail client:

                    Each mailbox has a separate authentication. The app has to provide some way to get the authentication info for each mail box.

                    The app does allow for multiple configurations.

                    @girish said in IMAP port and server settings for LAMP app mail client:

                    In the Email credentials, I think it has to be the email address and not "Test User".

                    What I blurred out in the picture is actually a valid cloudron mailbox ID.

                    girishG 1 Reply Last reply
                    0
                    • saikarthikS saikarthik

                      @girish said in IMAP port and server settings for LAMP app mail client:

                      Each mailbox has a separate authentication. The app has to provide some way to get the authentication info for each mail box.

                      The app does allow for multiple configurations.

                      @girish said in IMAP port and server settings for LAMP app mail client:

                      In the Email credentials, I think it has to be the email address and not "Test User".

                      What I blurred out in the picture is actually a valid cloudron mailbox ID.

                      girishG Offline
                      girishG Offline
                      girish
                      Staff
                      wrote on last edited by
                      #14

                      @saikarthik said in IMAP port and server settings for LAMP app mail client:

                      What I blurred out in the picture is actually a valid cloudron mailbox ID.

                      Yes, but it seems there is some extra text before it like Test User: "Test User". Can you remove that and try?

                      1 Reply Last reply
                      1
                      Reply
                      • Reply as topic
                      Log in to reply
                      • Oldest to Newest
                      • Newest to Oldest
                      • Most Votes


                      • Login

                      • Don't have an account? Register

                      • Login or register to search.
                      • First post
                        Last post
                      0
                      • Categories
                      • Recent
                      • Tags
                      • Popular
                      • Bookmarks
                      • Search