Since the update on the 16th, we have a weird issue with alias deliveries. If you send externally to an alias email account it works fine . However, when we send from a local sendmail request, the email never arrives. We’ve tried setting the email to the primary email address (which the aliases are linked to), and it arrives fine - but isn’t really a solution.
I’ve taken a look over exim4.template.conf to see if I can spot anything, but can’t see anything. Is anyone else having this issue? Is it a known problem?
I think I have the same problem. Till now I could send emails from a not exists email address, if it was NOT added as an alias it worked too. Maybe from Hestia 1.6 it doesn’t, I got “SMTP hiba (550): ...... Email account XXX is sending too many emails - rate overlimit”. After I added the not exists and not alias e-mail to /etc/exim4/domains/{domain}/limits file I could send.
I can confirm that the solution from @eris works for me as well. But I have the same question as @andrewnewby about fixing that issue in future versions of Hestia. I believe quite a few people who are using Hestia CP do rely on email aliases.
If I edit the email account itself (not the mail domain), it works fine and updates right away in /home/chambres/conf/mail/foo.org
However, when I edit the mail domain - it seems to be “1 step out”. So, I set it to 10000 and then update. It doesn’t change to 10000, it set the limits files to whatever the last setting was. Change it to 11000, and then when saved it changes the limits file to 10000
Almost like its taking the OLD value and updating the limits file, and then updating the file? (not too sure how it works in the code)
ALSO - it still won’t send over the limits , no matter what I send it to We still get:
Seeing some weird errors again since last nights update. Not sure if its related:
[Wed Jun 29 05:18:11 2022] [error] [pid 1519828] Apache2__Log.h(331): [client [Wed Jun 29 05:18:11 2022] -e: Unable to send message: Unable to send email: SMTP: Local user '[email protected]' unknown on host 'localhost'. Server said: 550 Email account is sending too many emails - rate overlimit = 1.0 / 1h\n
[Wed Jun 29 05:25:19 2022] [error] [pid 1519487] Apache2__Log.h(331): [client [Wed Jun 29 05:25:19 2022] -e: Unable to send mail: Unable to send email: SMTP: Local user '[email protected]' unknown on host 'localhost'. Server said: 550 Email account is sending too many emails - rate overlimit = 1.8 / 1h\n
[Wed Jun 29 05:25:52 2022] [error] [pid 1583176] Apache2__Log.h(331): [client [Wed Jun 29 05:25:52 2022] -e: Unable to send mail: Unable to send email: SMTP: Local user '[email protected]' unknown on host 'localhost'. Server said: 550 Email account is sending too many emails - rate overlimit = 2.8 / 1h\n
[Wed Jun 29 05:26:00 2022] [error] [pid 1519487] Apache2__Log.h(331): [client [Wed Jun 29 05:26:00 2022] -e: Unable to send message: Unable to send email: SMTP: Local user '[email protected]' unknown on host 'localhost'. Server said: 550 Email account is sending too many emails - rate overlimit = 3.8 / 1h\n
[Wed Jun 29 06:41:54 2022] [error] [pid 1519828] Apache2__Log.h(331): [client [Wed Jun 29 06:41:54 2022] -e: Unable to send message: Unable to send email: SMTP: Local user '[email protected]' unknown on host 'localhost'. Server said: 550 Email account is sending too many emails - rate overlimit = 1.6 / 1h\n
[Wed Jun 29 06:45:59 2022] [error] [pid 1519479] Apache2__Log.h(331): [client [Wed Jun 29 06:45:59 2022] -e: Unable to send message: Unable to send email: SMTP: Local user '[email protected]' unknown on host 'localhost'. Server said: 550 Email account is sending too many emails - rate overlimit = 2.5 / 1h\n
[Wed Jun 29 06:50:15 2022] [error] [pid 1519479] Apache2__Log.h(331): [client [Wed Jun 29 06:50:15 2022] -e: Unable to send message: Unable to send email: SMTP: Local user '[email protected]' unknown on host 'localhost'. Server said: 550 Email account is sending too many emails - rate overlimit = 3.3 / 1h\n
[Wed Jun 29 07:12:22 2022] [error] [pid 1583176] Apache2__Log.h(331): [client [Wed Jun 29 07:12:22 2022] -e: Unable to send message: Unable to send email: SMTP: Local user '[email protected]' unknown on host 'localhost'. Server said: 550 Email account is sending too many emails - rate overlimit = 3.1 / 1h\n
[Wed Jun 29 07:17:42 2022] [error] [pid 1519479] Apache2__Log.h(331): [client [Wed Jun 29 07:17:42 2022] -e: Unable to send mail: Unable to send email: SMTP: Local user '[email protected]' unknown on host 'localhost'. Server said: 550 Email account is sending too many emails - rate overlimit = 3.8 / 1h\n
[Wed Jun 29 07:30:36 2022] [error] [pid 1519476] Apache2__Log.h(331): [client [Wed Jun 29 07:30:36 2022] -e: Unable to send mail: Unable to send email: SMTP: Local user '[email protected]' unknown on host 'localhost'. Server said: 550 Email account is sending too many emails - rate overlimit = 4.0 / 1h\n
[Wed Jun 29 07:31:14 2022] [error] [pid 1526950] Apache2__Log.h(331): [client [Wed Jun 29 07:31:14 2022] -e: Unable to send mail: Unable to send email: SMTP: Local user '[email protected]' unknown on host 'localhost'. Server said: 550 Email account is sending too many emails - rate overlimit = 4.9 / 1h\n
[Wed Jun 29 07:43:37 2022] [error] [pid 1519492] Apache2__Log.h(331): [client [Wed Jun 29 07:43:37 2022] -e: Unable to send message: Unable to send email: SMTP: Local user '[email protected]' unknown on host 'localhost'. Server said: 550 Email account is sending too many emails - rate overlimit = 4.9 / 1h\n
[Wed Jun 29 07:52:21 2022] [error] [pid 1583192] Apache2__Log.h(331): [client [Wed Jun 29 07:52:21 2022] -e: Unable to send message: Unable to send email: SMTP: Local user '[email protected]' unknown on host 'localhost'. Server said: 550 Email account is sending too many emails - rate overlimit = 5.2 / 1h\n
[Wed Jun 29 07:54:19 2022] [error] [pid 1519482] Apache2__Log.h(331): [client [Wed Jun 29 07:54:19 2022] -e: Unable to send message: Unable to send email: SMTP: Local user '[email protected]' unknown on host 'localhost'. Server said: 550 Email account is sending too many emails - rate overlimit = 6.0 / 1h\n
[Wed Jun 29 07:54:20 2022] [error] [pid 1519479] Apache2__Log.h(331): [client [Wed Jun 29 07:54:20 2022] -e: Unable to send mail: Unable to send email: SMTP: Local user '[email protected]' unknown on host 'localhost'. Server said: 550 Email account is sending too many emails - rate overlimit = 7.0 / 1h\n
[Wed Jun 29 07:57:10 2022] [error] [pid 1583176] Apache2__Log.h(331): [client [Wed Jun 29 07:57:10 2022] -e: Unable to send message: Unable to send email: SMTP: Local user '[email protected]' unknown on host 'localhost'. Server said: 550 Email account is sending too many emails - rate overlimit = 7.6 / 1h\n
[Wed Jun 29 08:01:09 2022] [error] [pid 2173033] Apache2__Log.h(331): [client [Wed Jun 29 08:01:09 2022] -e: Unable to send mail: Unable to send email: SMTP: Local user '[email protected]' unknown on host 'localhost'. Server said: 550 Email account is sending too many emails - rate overlimit = 8.1 / 1h\n
[Wed Jun 29 08:01:09 2022] [error] [pid 1519482] Apache2__Log.h(331): [client [Wed Jun 29 08:01:09 2022] -e: Unable to send mail: Unable to send email: SMTP: Local user '[email protected]' unknown on host 'localhost'. Server said: 550 Email account is sending too many emails - rate overlimit = 9.1 / 1h\n
[Wed Jun 29 08:01:28 2022] [error] [pid 1583192] Apache2__Log.h(331): [client [Wed Jun 29 08:01:28 2022] -e: Unable to send mail: Unable to send email: SMTP: Local user '[email protected]' unknown on host 'localhost'. Server said: 550 Email account is sending too many emails - rate overlimit = 10.1 / 1h\n
[Wed Jun 29 08:01:33 2022] [error] [pid 1526950] Apache2__Log.h(331): [client [Wed Jun 29 08:01:33 2022] -e: Unable to send mail: Unable to send email: SMTP: Local user '[email protected]' unknown on host 'localhost'. Server said: 550 Email account is sending too many emails - rate overlimit = 11.1 / 1h\n
[Wed Jun 29 08:02:24 2022] [error] [pid 1519479] Apache2__Log.h(331): [client [Wed Jun 29 08:02:24 2022] -e: Unable to send mail: Unable to send email: SMTP: Local user '[email protected]' unknown on host 'localhost'. Server said: 550 Email account is sending too many emails - rate overlimit = 11.9 / 1h\n
[Wed Jun 29 08:02:50 2022] [error] [pid 1519828] Apache2__Log.h(331): [client [Wed Jun 29 08:02:50 2022] -e: Unable to send mail: Unable to send email: SMTP: Local user '[email protected]' unknown on host 'localhost'. Server said: 550 Email account is sending too many emails - rate overlimit = 12.8 / 1h\n
[Wed Jun 29 08:02:59 2022] [error] [pid 1526950] Apache2__Log.h(331): [client [Wed Jun 29 08:02:59 2022] -e: Unable to send mail: Unable to send email: SMTP: Local user '[email protected]' unknown on host 'localhost'. Server said: 550 Email account is sending too many emails - rate overlimit = 13.8 / 1h\n
[Wed Jun 29 08:03:10 2022] [error] [pid 1526950] Apache2__Log.h(331): [client [Wed Jun 29 08:03:10 2022] -e: Unable to send mail: Unable to send email: SMTP: Local user '[email protected]' unknown on host 'localhost'. Server said: 550 Email account is sending too many emails - rate overlimit = 14.7 / 1h\n
[Wed Jun 29 08:03:15 2022] [error] [pid 1519482] Apache2__Log.h(331): [client [Wed Jun 29 08:03:15 2022] -e: Unable to send mail: Unable to send email: SMTP: Local user '[email protected]' unknown on host 'localhost'. Server said: 550 Email account is sending too many emails - rate overlimit = 15.7 / 1h\n
[Wed Jun 29 08:03:20 2022] [error] [pid 2173040] Apache2__Log.h(331): [client [Wed Jun 29 08:03:20 2022] -e: Unable to send mail: Unable to send email: SMTP: Local user '[email protected]' unknown on host 'localhost'. Server said: 550 Email account is sending too many emails - rate overlimit = 16.7 / 1h\n
[Wed Jun 29 08:03:23 2022] [error] [pid 1583192] Apache2__Log.h(331): [client [Wed Jun 29 08:03:23 2022] -e: Unable to send mail: Unable to send email: SMTP: Local user '[email protected]' unknown on host 'localhost'. Server said: 550 Email account is sending too many emails - rate overlimit = 17.7 / 1h\n
[Wed Jun 29 08:03:25 2022] [error] [pid 1519492] Apache2__Log.h(331): [client [Wed Jun 29 08:03:25 2022] -e: Unable to send mail: Unable to send email: SMTP: Local user '[email protected]' unknown on host 'localhost'. Server said: 550 Email account is sending too many emails - rate overlimit = 18.7 / 1h\n
[Wed Jun 29 08:03:26 2022] [error] [pid 2173040] Apache2__Log.h(331): [client [Wed Jun 29 08:03:26 2022] -e: Unable to send mail: Unable to send email: SMTP: Local user '[email protected]' unknown on host 'localhost'. Server said: 550 Email account is sending too many emails - rate overlimit = 19.7 / 1h\n
[Wed Jun 29 08:03:29 2022] [error] [pid 1519479] Apache2__Log.h(331): [client [Wed Jun 29 08:03:29 2022] -e: Unable to send mail: Unable to send email: SMTP: Local user '[email protected]' unknown on host 'localhost'. Server said: 550 Email account is sending too many emails - rate overlimit = 20.6 / 1h\n
[Wed Jun 29 08:03:31 2022] [error] [pid 1583192] Apache2__Log.h(331): [client [Wed Jun 29 08:03:31 2022] -e: Unable to send mail: Unable to send email: SMTP: Local user '[email protected]' unknown on host 'localhost'. Server said: 550 Email account is sending too many emails - rate overlimit = 21.6 / 1h\n
I have this set for the scripts in exim4:
acl_not_smtp:
deny message = Website of user $authenticated_id is sending too many emails - rate overlimit = $sender_rate / $sender_rate_period
ratelimit = 10000 / 1h / $authenticated_id
Thanks. I’ve made that change and will keep an eye on the apache error log to see if it comes up again It would be interesting to know why its doing it though (apart from the initial email issues we had when the limits were introduced, it had sorted itself out until last nights update)