How to increase mass mailing over EFA 3.x

Questions and answers about how to do stuff
Post Reply
bostjanc
Posts: 165
Joined: 01 Jun 2016 17:18

How to increase mass mailing over EFA 3.x

Post by bostjanc »

Hi.
Once per month we have to send "mass mailing" over EFA 3.x
This is triggered from Windows WebServer and it uses EFA 3.x SMTP as a relay.
We are talking about 8-10 thousands of messages.

How can we speed up process of sending that amount of messages?
Currently sending those 8-10 thousands messages lasts about 1 hour for postfix queue to send them all.

Sometimes I run service postifx restart several times which seems to me that speeds up processing this huge queue.
Please help out which settings should we increase to speed up the process in future.

Thank you very much and wish you a great day!
bostjanc
Posts: 165
Joined: 01 Jun 2016 17:18

Re: How to increase mass mailing over EFA 3.x

Post by bostjanc »

Anyone, pls?
User avatar
shawniverson
Posts: 3644
Joined: 13 Jan 2014 23:30
Location: Indianapolis, Indiana USA
Contact:

Re: How to increase mass mailing over EFA 3.x

Post by shawniverson »

You can add more threads to /etc/postfix/master.cf and you can increase your delivery concurrency limits in /etc/postfix/main.cf
User avatar
pdwalker
Posts: 1553
Joined: 18 Mar 2015 09:16

Re: How to increase mass mailing over EFA 3.x

Post by pdwalker »

How big are the messages?

Are you sending the messages one at a time, or are you sending them in batches?
bostjanc
Posts: 165
Joined: 01 Jun 2016 17:18

Re: How to increase mass mailing over EFA 3.x

Post by bostjanc »

Hi. Got this info from the team who are sending those mesages to customers:

- We send them one by one. How big.. it's HTML based emails. So, it's dozens of KB, I think.
- I also found out, that we don't close explicitly communication channel. So, i believe it could cause some delays.
User avatar
pdwalker
Posts: 1553
Joined: 18 Mar 2015 09:16

Re: How to increase mass mailing over EFA 3.x

Post by pdwalker »

I have a client that sends 10-15K emails, several times per week via Exchange Server.

1/ they send them bcc'ed 300 messages at a time. The "To:" address is to their own address, not directly to the recipient. I believe EFA then breaks this down into groups of 100 at a time on our installation.

2/ yes, close your connection. that's helpful.

From sending all those messages from Exchange Server to EFA only takes a few seconds for all emails.

From EFA to the rest of the world takes less than 15 minutes.
bostjanc
Posts: 165
Joined: 01 Jun 2016 17:18

Re: How to increase mass mailing over EFA 3.x

Post by bostjanc »

Hi.
Thanks for the reply.
BTW u could stop by on IRC chanel (https://wiki.efa-project.org/doku.php?id=irc_channel) ;)

We have migrated to EFA 4 and change settings per Shawn suggestion "You can add more threads to /etc/postfix/master.cf and you can increase your delivery concurrency limits in /etc/postfix/main.cf".

I will monitor the next time when we "mass mail" to see if it's any better.
Have a nice day!
With best regards
BostjanC
Post Reply