Cinq conseils essentiels pour la configuration de PowerMTA

Cinq conseils essentiels pour la configuration de PowerMTA

Cinq conseils essentiels pour la configuration de PowerMTA

Apr 6, 2020

Publié par

Publié par

Bird

Bird

-

Catégorie :

Catégorie :

Courriel :

Courriel :

Ready to see Bird
in action?

Ready to see Bird
in action?

Five Essential PowerMTA Configuration Tips

Customers often ask “what are the best configurations to use with PowerMTA”?  Le answer is different for every region of the world. Configuration settings in the US will be vastly different than those in Europe for example, so global settings are not as effective. In this blog post, we take a look at five essential PowerMTA™ configuration tips that will help make your sending infrastructure more efficient and reduce I/O clutter.


Utilisez les directives de source pour vous assurer que les en-têtes de votre courriel sont corrects.

ESPs and many high volume senders send email on behalf of other organizations and often feel they do not have full control over the email headers.   This is not the case, and if best practices are not followed, email almost inherently will end up being routed à la junk folder. With PowerMTA™, you can add missing data or Message-ID headers.  You can also hide internal sources in the “received header,” or completely disable adding the received header altogether. Le latter is often used to make it look as if the email originated from the sender’s public IP.


Gardez une configuration propre en utilisant plus judicieusement l'héritage des paramètres.

For manageability configurations, it is important to keep them DRY. DRY stands for Don’t Repeat Yourself, and, is an acronym used by software developers.  For example, PowerMTA™ merges the settings from all matching sources. Thus you can often move common settings à la source 0/0 that matches every IP that connects to PowerMTA™. Except for “always-allow-relaying” of course, which should only be allowed from specific sources. You can also remove settings with obvious default values and further reduce redundant configurations.

With domain directives, all matching domain entries are merged, giving preference to more specific entries, regardless of the order in the configuration. By using sensible default settings for the wildcard domain, you can reduce the configuration to only a few exceptions.  For example, the following setting eliminates the need to enable the use of TLS on “many” specific domains:

<domain *>     use-starttls yes # Use TLS when delivering email </domain>


Ne gaspillez pas de ressources sur des domaines de messagerie non valides

Si la partie locale d'une adresse électronique n'existe pas, vous recevrez généralement un message d'erreur de votre fournisseur d'accès. Toutefois, si le domaine n'est pas valide, vous risquez de rencontrer des erreurs répétitives telles que l'échec de la recherche DNS, des serveurs qui ne répondent pas ou des serveurs qui refusent de relayer un domaine particulier.

PowerMTA™ should be configured not to waste resources on these domains, and focus delivery of resources to valid domains. You can instruct PowerMTA to bounce email if an MX record could not be found for a domain since invalid domains caused by typos often have an “A “record without a proper “MX” mail server record in DNS. You can also use a domain macro combined with black-holing to drop mail known for discontinued domains or domains with anonymous discardable accounts.  In any event, the goal is to keep the configuration “lean” for invalid or less important domains.


Appliquer les paramètres en fonction de vos propres données et de votre expérience

We’ve talked about this before, but I’d like to reiterate here.  PowerMTA™ has a long list of configuration directives that you can use straight out of the box. Directly copying settings from other sources or matching configurations from another sender environment is not useful, since you might end up with redundant configurations, or even applying settings that are not applicable in your sending environment. The best approach is to keep it as simple as possible and add settings that you understand, and are appropriate in your “own” environment.

Senders in the US require a different configuration than senders in Europe. Furthermore, the settings often depend on the volume of mail, the type of email, and the reputation of the sending IPs.  You can use data from PowerMTA’s accounting files to determine what are the most important domains in your case. By looking au bounce reports, you can determine which errors should trigger the back-off mode for example.


Enregistrez les erreurs transitoires pour surveiller l'étranglement par les FAI.

Les journaux de comptabilité PowerMTA™ sont souvent utilisés pour enregistrer les livraisons ou les rebonds. Mais en activant la journalisation des erreurs transitoires, vous pouvez obtenir une multitude d'informations sur la livraison, et comment l'optimiser. Les grands fournisseurs de webmails, mais aussi les petits FAI, ont des limites quant au nombre de messages qu'ils acceptent depuis une certaine IP. Lorsque la limite est atteinte, ils renvoient une erreur temporaire, qui peut être enregistrée par PowerMTA™. Cette information peut être utilisée pour ajuster le volume pour l'assaisonnement IP (warm-up) ou le taux d'envoi maximal, ou encore pour affiner la configuration du mode back-off.

For more comprehensive information on configuration settings, join the PowerMTA forum and don’t hesitate to ask detailed questions about your settings and more specifically about your sending environment.

~ Maarten Oelering, Partner and CTO at Postmastery

Your new standard in Marketing, Pay & Sales. It's Bird

The right message -> to the right person -> au right time.

By clicking "See Bird" you agree to Bird's Avis de confidentialité.

Your new standard in Marketing, Pay & Sales. It's Bird

The right message -> to the right person -> at the right time.

By clicking "See Bird" you agree to Bird's Avis de confidentialité.