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!

EXIM And Smart Host ignoring mail queue rules?

Discussion in 'E-mail Discussion' started by mikefromnz, Dec 6, 2017.

  1. mikefromnz

    mikefromnz Active Member

    Joined:
    Feb 9, 2017
    Messages:
    32
    Likes Received:
    5
    Trophy Points:
    8
    Location:
    New Zealand
    cPanel Access Level:
    Root Administrator
    Hi guys,

    I got an email system setup where all our servers outgoing mail for certain domains go to a SMTP smarthost (SMTP2GO) I configured this in Exim as part of their instructions.

    I used the part "Section: POSTMAILCOUNT" in Advanced Configuration figuring this would allow the "Increments max emails per hour if needed" and other rules to still apply but it does not seem to be working. I set max emails to 100 and maximum to queue as 600%, figuring it should send 100 each hour up to total of 700 emails.

    Infact it totally ignored these limits in cPanel and sent the whole lot to my smart host as quickly as possible.

    My config in Exim Advanced for SMTP2GO as follows

    Under Section: AUTH
    smtp2go_login:
    *login info etc is here*

    Under Section: POSTMAILCOUNT
    send_via_smtp2go:
    driver = manualroute
    domains = ! +local_domains
    headers_add = "${perl{mailtrapheaders}}"
    senders = *list of my senders goes here*
    Under Section: TRANSPORTSTART
    smtp2go_smtp:
    driver = smtp
    port = 2525
    hosts = mail.smtp2go.com
    hosts_require_auth = mail.smtp2go.com


     
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,802
    Likes Received:
    1,895
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. mikefromnz

    mikefromnz Active Member

    Joined:
    Feb 9, 2017
    Messages:
    32
    Likes Received:
    5
    Trophy Points:
    8
    Location:
    New Zealand
    cPanel Access Level:
    Root Administrator
    Thank you but I did exactly that and keeping note of this following line from the instructions (which should fix the issue, but does not for me)

    Section: POSTMAILCOUNT
    The POSTMAILCOUNT section must be used instead of ROUTERSTART if you wish for max hourly mail limits to be followed and used. You must also add the domains = section if you wish for the server to still accept mail for the localdomains and only relaying mail out. Otherwise all email, incoming and outgoing gets relayed.
    As you can see in my first message I specified I used "Under Section: POSTMAILCOUNT"

    Am I missing something?
     
  4. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

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

    Could you open a support ticket using the link in my signature so we can take a closer look?

    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