EXIM And Smart Host ignoring mail queue rules?

mikefromnz

Active Member
Feb 9, 2017
32
5
8
Internet
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

 

mikefromnz

Active Member
Feb 9, 2017
32
5
8
Internet
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?
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,909
2,228
463
Hello,

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

Thank you.