Skip to content

Question about configuration for maxconnections #443

@pydubreucq

Description

@pydubreucq

Hi,
I have question about connections.

I need to limit the number of connection for sending to Orange Mailbox Service Provider. (recommended: 2 simultaneous connections)

So, I created a zone dedicated to this MSP:

        orange: {                                                                                                                                                                                                                                                                         
            connectionCache: {
                ttl: 10, 
                reuseCount: 15
            },
            connections: 2,
            recipientDomains: [ 'orange.fr', 'wanadoo.fr' ],
        },

In logs I have bounce messages like this one:

Trop de connexions, veuillez verifier votre configuration. **Too many connections, slow down. OFR005_104**, please visit: https://postmaster.orange.fr/ [104])

In default.js, I saw domain specific configuration :

// Domain specific configuration
    // Where "domain" means the domain part of an email address
    domainConfig: {
        // default is required
        default: {
            // How many parallel connections per Sending Zone to use against a recipient domain
            maxConnections: 5,
            // blacklisted IP addresses that should not be used to send mail to this specific server
            disabledAddresses: []
        }
        /*
        'test.tahvel.info': {
            maxConnections: 5
        },
        'hot.ee': {
            maxConnections: 5,
            disabledAddresses: ['127.0.0.1'],
            // domain specific DNS options that override zone and general DNS options
            dnsOptions: {
                preferIPv6: true,
                ignoreIPv6: false
            }
        }
        */
    },

In this part, I saw this comment:

// How many parallel connections per Sending Zone to use against a recipient domain

I would like to know if I can add zone name like mine "orange" like that:

    // Domain specific configuration
    // Where "domain" means the domain part of an email address
    domainConfig: {
        // default is required
        default: {
            // How many parallel connections per Sending Zone to use against a recipient domain
            maxConnections: 5,
            // blacklisted IP addresses that should not be used to send mail to this specific server
            disabledAddresses: []
        },
        ...
        'orange': { maxConnections: 2 },

Or if I have to add the domains in my zone "orange.fr" & "wanadoo.fr" like that:

    // Domain specific configuration
    // Where "domain" means the domain part of an email address
    domainConfig: {
        // default is required
        default: {
            // How many parallel connections per Sending Zone to use against a recipient domain
            maxConnections: 5,
            // blacklisted IP addresses that should not be used to send mail to this specific server
            disabledAddresses: []
        },
        ...
        'orange.fr': { maxConnections: 2 },                                                                                                                                                                                                                                               
        'wanadoo.fr': { maxConnections: 2 },

By doing this, I wonder if my connection limit is therefore 4...

I hope that I was clear :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions