Join the community today
Register Now

Email imap authentication cancelled

Discussion in 'System Administration' started by Jake, Feb 2, 2016.

  1. Jake

    Jake Member

    76
    10
    8
    Feb 3, 2015
    Ratings:
    +11
    Local Time:
    4:40 PM
    NA
    Maria DB 5.5
    Hey guys,
    I need your help, I currently am running the latest centmin and I am running into an issue, I am trying to connect to an imap on a different server of mine. I have all the necessary ports open and ip's whitelisted. I am running centos 6.7. I need to run a cron job but when I manually run it I am receiving this error.... Any idea?

    imap authentication cancelled php /home/nginx/domains/xxxx.xxx/public/modules/addons/xxx.xxx/import.php
     
  2. Jake

    Jake Member

    76
    10
    8
    Feb 3, 2015
    Ratings:
    +11
    Local Time:
    4:40 PM
    NA
    Maria DB 5.5
    Update, I did find one issue I need to install PHP-IMAP. How do I install that on a LEMP stack?
     
  3. eva2000

    eva2000 Administrator Staff Member

    29,053
    6,594
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,790
    Local Time:
    4:40 PM
    Nginx 1.13.x
    MariaDB 5.5
    it's already installed
    Code:
    php --ri imap
    
    imap
    
    IMAP c-Client Version => 2007e
    SSL Support => enabled
    Kerberos Support => enabled
    Code:
    php -m
    [PHP Modules]
    bcmath
    bz2
    calendar
    Core
    ctype
    curl
    date
    dom
    enchant
    ereg
    exif
    ffmpeg
    filter
    ftp
    gd
    geoip
    gettext
    gmp
    hash
    iconv
    igbinary
    imagick
    imap
    intl
    json
    libxml
    mailparse
    mbstring
    mcrypt
    memcache
    memcached
    mhash
    mysql
    mysqli
    mysqlnd
    openssl
    pcntl
    pcre
    PDO
    pdo_mysql
    pdo_sqlite
    Phar
    posix
    pspell
    readline
    redis
    Reflection
    session
    shmop
    SimpleXML
    snmp
    soap
    sockets
    SPL
    sqlite3
    standard
    sysvmsg
    sysvsem
    sysvshm
    tidy
    tokenizer
    xml
    xmlreader
    xmlrpc
    xmlwriter
    xsl
    Zend OPcache
    zip
    zlib
    
    [Zend Modules]
    Zend OPcache
     
  4. Jake

    Jake Member

    76
    10
    8
    Feb 3, 2015
    Ratings:
    +11
    Local Time:
    4:40 PM
    NA
    Maria DB 5.5
    Thankyou, it is installed! But that leads me to the first question. What would cause "imap authentication cancelled"? I am pretty stuck on that
     
  5. eva2000

    eva2000 Administrator Staff Member

    29,053
    6,594
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,790
    Local Time:
    4:40 PM
    Nginx 1.13.x
    MariaDB 5.5
    Centmin Mod is provide as is, so short of scripted related bugs or issues, any further optimisation to the web stack components - nginx, php-fpm, mariadb mysql, csf firewall etc or web app specific configurations are left to the Centmin Mod user to deal with. So I do not provide any free support for such.

    However, Centmin Mod users are free to help each other out and ask questions or give answers on this community forum. My hopes are that this community forum evolves so that more veteran long time Centmin Mod users help new Centmin Mod users out :)

    With that said could be incorrect IMAP login details/server details. Have you double checked IMAP login works with settings provided ? Asked script's developer(s) ?
     
    • Like Like x 1