Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Mail system is not working

Discussion in 'E-mail Discussion' started by Larkolag, Oct 20, 2017.

  1. Larkolag

    Larkolag Active Member

    Joined:
    May 22, 2017
    Messages:
    35
    Likes Received:
    1
    Trophy Points:
    8
    Location:
    Trabzon
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello,
    My server does not send mail or receive mail, even smtp mails cause problems?
    I just blocked the mail function in php.ini, but why does not smtp mail work?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. HostingH

    HostingH Well-Known Member

    Joined:
    Jan 13, 2008
    Messages:
    125
    Likes Received:
    17
    Trophy Points:
    68
    cPanel Access Level:
    Root Administrator
    Are you sending mails through php mail script and as you said you disabled php mail function in php.ini then you will not able to send receive mails through script only but you are sending mails through webmail or any email client then its should work.
    Please check exim mainlogs for more details.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    Shushant likes this.
  3. Larkolag

    Larkolag Active Member

    Joined:
    May 22, 2017
    Messages:
    35
    Likes Received:
    1
    Trophy Points:
    8
    Location:
    Trabzon
    cPanel Access Level:
    Root Administrator
    Twitter:
    no php mailer script does not send mail, If I uninstall and reinstall the umiI fix the problem?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. SysSachin

    SysSachin Well-Known Member

    Joined:
    Aug 23, 2015
    Messages:
    604
    Likes Received:
    42
    Trophy Points:
    28
    Location:
    India
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello,

    There is no issue if you have disable php mail function in php.ini. In this case only php script mail not work.

    May I know which method you are using to check smtp mail work or not ?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. 24x7server

    24x7server Well-Known Member

    Joined:
    Apr 17, 2013
    Messages:
    1,834
    Likes Received:
    85
    Trophy Points:
    78
    Location:
    India
    cPanel Access Level:
    Root Administrator
    PHP mail function and SMTP function are 2 different ways of sending mail, both of them are incorporated in PHP scripts, but the way of authentication is different, with SMTP you actually use a genuine email login details, so the mailserver is query through this email account that you use, while with PHP it just goes out without authenticating...

    If you have disabled mail function in PHP, then php mail will not work, but if you have disable other like sendmail too, then it might be the case that the mails will be blocked completely, but that will not stop the mail server functionality of delivering the mail through webmail..
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. Larkolag

    Larkolag Active Member

    Joined:
    May 22, 2017
    Messages:
    35
    Likes Received:
    1
    Trophy Points:
    8
    Location:
    Trabzon
    cPanel Access Level:
    Root Administrator
    Twitter:
    @SysSachin I do not know why smtp does not work malesef do not know :(

    @24x7server this server needs to look generally in general, both have poor performance and it is giving me such problems.
    I think I would care for a server optimization company with a low cost
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,323
    Likes Received:
    1,851
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    Do you notice any specific output to /var/log/exim_mainlog or /var/log/exim_paniclog on this system when attempting to send or receive an email?

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice