Re: Optimizing for mass mail delivery

2017-04-20 Thread Gilles Chehade
On Thu, Apr 20, 2017 at 10:24:14AM +0200, Joris Vanhecke wrote:
> Hey guys,
> 

Hey,


> I have set up an OpenSMTPD server to use as mailing server for corporate
> spam and phishing simulations.
> The server will typically get a bunch of emails (50-1000) to be sent to
> the same domain.
> 
> Are there any configuration options that will help optimize this
> use-case?
> 

Yes, but I'm not too keen on describing them because I assume someone
who is in the business of sending mails must have a proof-of-work and
must figure out by reading the code ;-)



> Currently I'm experiencing two issues:
> 
> The target mailserver drops mails because too many are sent (around
> 100).
> (I guess a whitelist on target server is best solution, but limiting
> outgoing speed could be easier?).
> 
> 
> OpenSMTPD is blocking my client that is sending mails with:
> 452 4.5.3 Too many recipients: Too many messages sent
> 
> Especially the last one is an issue for me.
> 
> Current config:
> 
> listen on lo tag TO_DKIM hostname $domain mask-source
> listen on lo tag FROM_DKIM port 10029 hostname $domain
> accept tagged TO_DKIM sender "@$domain" for any relay via
> smtp://127.0.0.1:10028 hostname $domain
> accept tagged FROM_DKIM for any relay hostname $domain
> 

g

-- 
Gilles Chehade

https://www.poolp.org  @poolpOrg

-- 
You received this mail because you are subscribed to misc@opensmtpd.org
To unsubscribe, send a mail to: misc+unsubscr...@opensmtpd.org



Optimizing for mass mail delivery

2017-04-20 Thread Joris Vanhecke
Hey guys,

I have set up an OpenSMTPD server to use as mailing server for corporate
spam and phishing simulations.
The server will typically get a bunch of emails (50-1000) to be sent to
the same domain.

Are there any configuration options that will help optimize this
use-case?

Currently I'm experiencing two issues:

The target mailserver drops mails because too many are sent (around
100).
(I guess a whitelist on target server is best solution, but limiting
outgoing speed could be easier?).


OpenSMTPD is blocking my client that is sending mails with:
452 4.5.3 Too many recipients: Too many messages sent

Especially the last one is an issue for me.

Current config:

listen on lo tag TO_DKIM hostname $domain mask-source
listen on lo tag FROM_DKIM port 10029 hostname $domain
accept tagged TO_DKIM sender "@$domain" for any relay via
smtp://127.0.0.1:10028 hostname $domain
accept tagged FROM_DKIM for any relay hostname $domain


Thanks! :)

Joris

-- 
You received this mail because you are subscribed to misc@opensmtpd.org
To unsubscribe, send a mail to: misc+unsubscr...@opensmtpd.org