Koozali.org: home of the SME Server
Obsolete Releases => SME 9.x Contribs => Topic started by: jmarcosm on March 16, 2016, 10:49:30 PM
-
Hi,
I have a user that is sending mails to 870 different addresses. Because I have a small upload bandwith (2Mb) my server is dead until all this emails are sent. There is a way to reduce the bandwith to send email to this user?
Thank you in advance for the help
Marcos
-
Marcos
https://wiki.contribs.org/Qos
or the Wondershaper script (manual install & configuration), look in Howtos.
-
Thank you Janet for your respond!
Y have a pfsense firewall , so I can do QOS with the it. I wonder is if is possible to control the traffic of a especific user. I have a 9.1 installation. Searching the contribs.org site I found a contrib AltQmail that seems to be my solution but is not working on 9.1!
https://wiki.contribs.org/AltQmail
"You sometime send relativly big mailing (several 100 or 1000 at a time), so you do not want to reduce the global remote concurrency limit "
Shold be possible with this contrib split the email outgoing traffic in 2 queues and control witch user use this queue?
Thank you in advance for any comment
Marcos
-
I have a user that is sending mails to 870 different addresses. Because I have a small upload bandwith (2Mb) my server is dead until all this emails are sent. There is a way to reduce the bandwith to send email to this user?
Ask that user to send the messages directly via an external mail server, rather than your server. That way only a single copy will leave your server, not 870 copies.
There's no easy technical way to do what you are asking.
-
jmarcosm
I found a contrib AltQmail that seems to be my solution but is not working on 9.1!
https://wiki.contribs.org/AltQmail
As it says at the end of that article, if there are problems with the contrib please post a bug report.
That is the way to trigger off the maintainer to do some fixes.
Be prepared to follow through with log entries etc as requested.
Wondershaper should still help with reducing your bandwidth saturation.
Qmail will queue the outgoing messages, & SME server will establish 40 concurrent remote connections by default.
Qmail will try to use as much bandwidth as it can.
You can set the qmail Remote Concurrency setting to be very low, the validity of doing so depends on your servers mail load etc (how many messages going in & out & how quickly you want to send/receive them & the size of each message).
This will help to slow down the outgoing mesages & therefore reduce the saturation of your bandwidth.
db configuration setprop qmail ConcurrencyRemote 1
signal-event email-update
More typical lower settings on SME are
config setprop qmail ConcurrencyLocal 4
config setprop qmail ConcurrencyRemote 10
signal-event email-update