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!

Issue with email bounce script

Discussion in 'E-mail Discussion' started by bugetarul, Dec 13, 2017.

  1. bugetarul

    bugetarul Member

    Joined:
    Jul 19, 2014
    Messages:
    21
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Hi

    I have an application that uses smpt to make bounce.

    The application sends mail but the bounce part does not work.

    It's not because of the application. In any case, there are no errors in the logs

    the bounce mail account is ok.

    Recently, besides php 56 I installed php 7. Can it be connected?

    I'm not able to find information about the malfunction in the logs

    It's not an application-related problem, it's something with the server but I can not understand what.
     

    Attached Files:

  2. acenetgeorge

    acenetgeorge Well-Known Member
    PartnerNOC

    Joined:
    Mar 6, 2008
    Messages:
    67
    Likes Received:
    4
    Trophy Points:
    58
    Location:
    Southfield, MI
    cPanel Access Level:
    DataCenter Provider
    Sending via PHP Mailer is strongly recommended, since this sends mail though Exim and logs all mail. Easier to check and deal with abuse this way

    In WHM, check your "Restrict outgoing SMTP to root, exim, and mailman (FKA SMTP Tweak)" setting in Tweak settings. If it is enabled, SMTP is blocked unless the mail is sent through the server's root, exim, and mailman users.

    If you use CSF, you can disable this Tweak Setting, and just restrict to specific users via the CSF configuration file. In the /etc/csf/csf.conf file, just add the username in question to "SMTP_ALLOWUSER =" and they will be able to send via SMTP.
     
  3. bugetarul

    bugetarul Member

    Joined:
    Jul 19, 2014
    Messages:
    21
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    I made both changes, no change.
    Sure php7 does not affect something? i have php56 and php 7
    Nothing in the logs
     
  4. sparek-3

    sparek-3 Well-Known Member

    Joined:
    Aug 10, 2002
    Messages:
    1,762
    Likes Received:
    116
    Trophy Points:
    343
    cPanel Access Level:
    Root Administrator
    What are you expecting the application to do?

    I'm not understanding what is not working.

    Perhaps we have a different definition of what bounce means.
     
  5. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

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

    You could try adjusting the options referenced in the earlier post, but it's a difficult issue to troubleshoot without a better idea of how the application works. Are there any entries at all in /var/log/exim_mainlog related to the failed message?

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. bugetarul

    bugetarul Member

    Joined:
    Jul 19, 2014
    Messages:
    21
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    except for this error that does not know what the rest of it ok

    2017-12-11 23:12:10 SMTP connection from [127.0.0.1]:43048 (TCP/IP connection count = 1)
    2017-12-11 23:12:10 SMTP connection from (localhost) [127.0.0.1]:43048 closed by QUIT

    The application is interspire marketing, which use bounce for mails. There are no errors in the application. I'm reasonably sure it's not the problem.

    I also closed CSF, is not to blame.
     
  7. sparek-3

    sparek-3 Well-Known Member

    Joined:
    Aug 10, 2002
    Messages:
    1,762
    Likes Received:
    116
    Trophy Points:
    343
    cPanel Access Level:
    Root Administrator
    A bounce address (or envelope-sender) is the email address that will receive the bounce back message should an email be rejected by the recipient's mail server.

    If the messages are sent out successfully then there will be no bounce back message.

    Or am I missing something?
     
  8. bugetarul

    bugetarul Member

    Joined:
    Jul 19, 2014
    Messages:
    21
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    the application makes a test to contact the bounce mail account.
    dont work... without error message

    the mail bounce account is ok, the login settings are ok ...
     
  9. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

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

    You could also review /var/log/exim_rejectlog for any output when testing your application? Additionally, does the bounce@domain.tld email address exist? If not, what's configured under "cPanel >> Default Address" for the domain name?

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  10. bugetarul

    bugetarul Member

    Joined:
    Jul 19, 2014
    Messages:
    21
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    the bounce addres exist.
    is Forward to your system account ...
     
  11. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

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

    Feel free to open a support ticket using the link in my signature if you'd like us to take a closer look to see what could be happening.

    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