Email sending limit using Mailgun SMTP

satankoh666

Verified User
Joined
Feb 2, 2020
Messages
17
Hi everyone, good day.

I was wondering if anyone have any idea, is there a way to limit email sending limit on Direct Admin if we are using mailgun SMTP to send out all our emails. The emails are send from our server to Mailgun.

I had tried setting the limit on the email control on Direct Admin, but it does not seem to work, currently, all the emails accounts in my control panels are all 0/200, the sending does not seem to be counted into the numbers, so I assume that Direct Admin is unable to control the limit if it is send via Mailgun.

Any helps or ideas are appreciated
Thanks in advanced

Ron
 
Hello Ron,

Make sure the MailGun router has the line

Code:
condition = "${perl{check_limits}}

so it would be something like:

Code:
mailgun:
    driver = manualroute
    domains = ! +local_domains
    ignore_target_hosts = 127.0.0.0/8
    condition = "${perl{check_limits}}"
    transport = mailgun_transport
    route_list = "* smtp.mailgun.org::2525 byname"
    host_find_failed = defer
    no_more
 
Back
Top