Postfix mailq – send every x minutes

postfixsmtp

I got about 2000 clients on my website that have subscribed to our mailing list. I've used in the past Swift Mailer but it didn't work the way it was supposed to.

I'm wondering if there is a way that Postfix could keep emails on the mailq (if lots of emails are sent at the same time) and send chunks of 20-30 emails every 10-20 mins. So this way, our server is not blacklisted.

Any suggestions will be appreciate it.

Best Answer

If I understand the question correctly, you can do this using the default_destination_rate_delay and default_destination_recipient_limit parameters.

  • default_destination_rate_delay specifies a delay between deliveries. You would set this to 10-20 mins.
  • default_destination_recipient_limit specifies the number of recipients to send email to in one delivery. Assuming you are sending one single message to many recipients, you would set this to 20-30, according to your question.
Related Topic