サービス継続性を優先するルーティング

運用上の問題は起こります。制御されたフェイルオーバー付きのスマートルーティングは、手動介入を待たずに配信パフォーマンスを維持するのに役立ちます。

メールがコミュニケーションツールではなくプロダクトの稼働に組み込まれているチームにとって最も重要です。

Routing decisions are made before messages enter the queue, so SMTP relay traffic and email API calls route through the right infrastructure paths based on policy, not accident.

メールルーティングアーキテクチャ

ルーティングと信頼性のコントロール

ルーティング戦略は信頼性レイヤーです。Sendarix は継続性、制御されたフェイルオーバー、配信パス全体の透明な結果に焦点を当てます。

スマートパス選択

アクティブな配信条件と宛先の行動パターンに基づいて健全なパスを選択。

フェイルオーバー処理

プライマリパスのパフォーマンスが低下したときにトラフィックをシフトし、インシデント中の一貫性を維持。

設計上の継続性

部分的な中断と一時的なプロバイダー問題の間もクリティカルなユーザーコミュニケーションを維持。

監査可能性

結果を追跡し、ルートレベルの挙動を理解し、インシデントのポストモーテムを支援。

ポリシーベースのルーティングルール

メッセージタイプ、宛先グループ、またはリスクプロファイルに応じて決定論的なルーティングロジックを定義。

プロバイダーパフォーマンスのフィードバック

履歴ルートデータを使って意思決定を洗練し、長期的な配信レジリエンスを向上。

ルーティング意思決定フロー

パフォーマンスとレジリエンスのバランスを取る実用的なモデル。

1. 評価

ディスパッチ前に宛先と現在のパス品質シグナルを評価。

2. ルーティング

そのトラフィックセグメントと宛先セットにとって最もパフォーマンスの良いルートで送信。

3. フェイルオーバー

ルート品質が低下したときにトラフィックを移し、配信の中断を減らす。

4. レビュー

ログとトレンドデータを検査し、将来のトラフィックウィンドウのルーティングポリシーを調整。

Real-World Scenario: Failover During Provider Outage

A primary provider experiences elevated deferrals. email routing detects sustained throttling via email analytics and automatically shifts high-priority transactional traffic to a secondary IP pool. email warmup rules apply gradual ramp-up on the backup pool, preserving reputation while the primary recovers.

Technical Deep Dive: How Routing Works Under the Hood

Understanding the underlying mechanics helps you design more resilient email infrastructure. Below is a detailed breakdown of the key technical components that power Sendarix routing.

SMTP Flow and Connection Management

When a message is submitted to Sendarix, it passes through our MTA (Mail Transfer Agent) layer, which establishes an SMTP connection to the optimal path based on real-time conditions. The flow follows these steps: First, the client authenticates via our API or SMTP submission endpoint. Then, Sendarix evaluates routing policies and destination signals to select a path. Next, a connection is opened to the selected upstream provider or IP. Finally, the message is injected with full compliance headers and tracking metadata.

IP Rotation and Pool Management

Sendarix maintains separate IP pools for different traffic types and reputation tiers. New IPs enter a warmup phase where volume increases gradually, building domain and IP reputation with major mailbox providers. Rotation logic considers: sending history, bounce and complaint rates, time-of-day patterns, and destination-specific performance. This approach prevents cold IP syndrome and maintains consistent deliverability across high-volume campaigns.

Bucket Systems and Traffic Segmentation

Traffic segmentation uses bucket logic to isolate message types and control blast radius during issues. High-value transactional messages (password resets, payment confirmations) route through premium pools with dedicated IP reputation. Bulk and marketing traffic flows through separate infrastructure to prevent reputation cross-contamination. Each bucket has independent rate limits, warmup status, and monitoring alerts.

Rate Limiting and Throttling

Rate limits exist at multiple layers: recipient provider limits (e.g., Gmail's 500/minute for certain volume tiers), Sendarix internal throttles to protect infrastructure stability, and upstream provider API caps. Sendarix implements adaptive throttling that monitors delivery success rates and backs off automatically when error rates climb, then gradually ramps volume when stability returns.

IP Warmup Logic

IP warmup is critical for new sending infrastructure. Sendarix uses an algorithmic warmup curve that starts at 50-100 messages per day for new IPs and increases by 10-20% daily, pausing if bounce rates exceed thresholds. Warmup status is tracked per-destination, so an IP might be fully warmed for Gmail but still in warmup for Outlook. This prevents the common problem of tanking reputation by sending too much volume too quickly to major providers.

When Warmup Becomes a Problem

Warmup is not always beneficial. Over-warmup or artificial activity can:

  • Create unnatural engagement patterns
  • Trigger spam detection systems
  • Damage long-term reputation

Effective warmup must align with real sending behavior and real users. Monitor warmup metrics alongside deliverability signals and route decisions via email routing to maintain healthy sender reputation.

Routing Logic: Domain-Based and Rule-Based

Sendarix routing operates at the MTA layer, evaluating each message against configured policies before selecting an outbound path. Both domain-based and rule-based routing can be combined in a single configuration.

Domain-Based Routing

Route messages based on the recipient domain. This is the most common routing strategy and handles the majority of multi-tenant and international deployment scenarios. Example policies: route all @gmail.com recipients through high-reputation warm pools, route @company.com through dedicated enterprise infrastructure, route @region-specific domain through regional SMTP endpoints.

Domain affinity: track per-domain delivery performance and route high-volume domains through optimal paths

Domain-level failover: if a domain's primary MX responds slowly or errors, route to backup path

Tiered domain routing: group domains by sending volume and assign pools by tier

Rule-Based Routing

Route messages based on message attributes rather than destination alone. Rules are evaluated top-to-bottom with the first matching rule taking precedence. Attributes available for routing: message type (transactional, marketing, system), sending domain, IP pool assignment, custom headers, recipient address pattern, API key or credentials used for submission.

Rule Evaluation Order

Rules follow strict priority ordering. Highest priority rules are evaluated first. A message that matches multiple rules uses the rule with the lowest priority number (first in list). Best practice: place narrow, high-priority rules (e.g., specific recipient domains) before broad rules (e.g., catch-all fallback).

IF

Condition: recipient domain = @critical-client.com

THEN

Action: route via premium-pool, require signature

IF

Condition: message type = transactional

THEN

Action: route via high-trust pool, no retries on hard bounce

IF

Condition: message type = marketing

THEN

Action: route via bulk pool, apply daily rate limit

IF

Condition: recipient domain matches (gmail|yahoo|outlook)

THEN

Action: route via warm pools only, enforce strict rate limits

IF

Condition: default (catch-all)

THEN

Action: route via default pool with standard settings

Failover System: Automatic Rerouting

Failover is the mechanism that keeps email flowing when primary paths degrade or fail. Sendarix implements multi-layer failover with sub-second detection and automatic promotion of backup routes.

Failover Layers

Connection-Level Failover

Detects SMTP connection failures, timeouts, and 421/450/451 responses. Triggers within 5 seconds of failure detection. Routes to next available endpoint in the current pool.

IP-Level Failover

Detects reputation degradation, sustained soft bounces, or provider-specific rate limit errors on a specific sending IP. Deprioritizes the affected IP and redistributes traffic to warm alternatives within the same pool.

Pool-Level Failover

When all IPs in a pool exceed failure thresholds, Sendarix fails over to the next configured pool. Pools are ordered by priority in your configuration — failover follows that order automatically.

Provider-Level Failover

For integrations with upstream providers (e.g., SendGrid, Mailgun, AWS SES), when the provider API or SMTP endpoint returns sustained errors, traffic shifts to alternative providers or queues locally until the provider recovers.

Failure Detection

Sendarix monitors: SMTP response codes (550, 421, 450), connection timeouts (>10s threshold), TLS negotiation failures, recipient server capacity signals, and upstream provider API health. Detection is passive — no probe traffic required.

Automatic Recovery

After failover to a backup path, Sendarix periodically probes the degraded path at increasing intervals. Once the path shows healthy responses for a sustained window (typically 3-5 minutes), it is reintroduced to the pool at reduced weight and volume ramps gradually to avoid re-triggering the original failure.

Health Check Intervals

Failed paths are rechecked at: 1 minute, 5 minutes, 15 minutes, 30 minutes, 1 hour, 4 hours. This geometric backoff prevents hammering a degraded endpoint while still allowing fast recovery for transient issues.

Fallback Provider Configuration

Define up to 5 fallback providers per routing pool. Providers are tried in order until one accepts the message. Each provider has independent rate limit tracking and reputation metrics.

Load Distribution Across Pools

Load distribution is the complement to failover. Rather than reacting to failures, it proactively spreads traffic across available paths to maximize throughput, minimize per-IP volume, and prevent any single path from hitting rate limits.

Weighted Pool Distribution

Assign a weight (1-100) to each pool. Sendarix distributes traffic proportionally: a pool with weight 80 receives approximately 80% of traffic, a pool with weight 20 receives 20%. Weights are adjustable in real-time without restarting traffic.

Round-Robin Within Pools

Within a single pool containing multiple IPs, Sendarix uses round-robin distribution with reputation weighting. Higher-reputation IPs receive slightly more volume to build and maintain their standing. Cold IPs receive minimal volume during warmup.

Sticky Sessions by Domain

For high-volume domains, Sendarix can pin traffic to a specific IP or sub-pool to maintain consistent delivery patterns. This prevents the same Gmail user from receiving your messages from different IPs on consecutive sends, which some providers interpret as suspicious patterns.

Traffic Shedding

When total traffic exceeds pool capacity, Sendarix queues excess traffic in priority order: transactional messages first, then high-engagement marketing, then bulk. Queued messages are delivered as capacity becomes available. Queue depth is visible in the dashboard with per-message estimated delivery time.

Dynamic Rebalancing

As IP reputation changes over time, Sendarix rebalances traffic to favor well-performing paths. Rebalancing is gradual — no sudden shifts that could trigger provider rate limit alarms. Manual rebalancing can be triggered via API or dashboard.

Real-World Scenarios

These scenarios describe how routing, failover, and load distribution interact during actual operational events.

Provider Outage: Gmail API Unavailable

T+0: Event: Gmail's mail ingestion API returns 503 errors for 90% of traffic for 8 minutes.

Detection: Detection: Sendarix MTA layer detects >50% error rate on Gmail-bound traffic within 30 seconds.

Action: Action: Traffic bound for @gmail.com is immediately rerouted to backup SMTP MX endpoints. Fallback providers are tried in priority order.

Outcome: Outcome: 98% of transactional messages delivered within 2 minutes via fallback. Gmail API recovery detected after 8 minutes. Traffic gradually reintroduced to primary Gmail path at 10% volume, ramping to 100% over 15 minutes.

Alert: Alert: Operations team receives alert at T+1 minute. Dashboard shows current route assignments and queue depth in real time.

High-Volume Sending: Flash Sale Campaign

Event: Event: Marketing team launches a flash sale to 500,000 subscribers simultaneously.

Load distribution: Load distribution: Campaign traffic is pre-segmented into 5 pools with 100,000 recipients each. Weighted distribution routes 60% through dedicated bulk IPs, 40% through standard pools.

Rate limiting: Rate limiting: Per-provider rate limits enforced per pool. Gmail (500/min) distributed across 3 warm IPs. Outlook (varies by tenant) distributed across 2 IPs.

Monitoring: Monitoring: Dashboard shows real-time delivery rates, bounce rates, and deferral counts per pool. Auto-throttling reduces volume if bounce rate exceeds 5%.

Completion: Completion: All 500,000 messages delivered within 45 minutes. Final delivery rate: 94.2%. Spam complaints: 0.03%.

IP Reputation Degradation: Single IP Flagged

Event: Event: One sending IP in the transactional pool develops poor reputation with Outlook due to a sustained 3% soft bounce rate from a customer's mailing list.

Detection: Detection: Sendarix reputation monitor detects Outlook delivery rate dropping below 92% threshold for the affected IP.

Action: Action: Affected IP is removed from active rotation. Traffic redistributed to remaining warm IPs in the same pool. Affected IP enters "probation" state with minimal volume probing.

Recovery: Recovery: After 4 hours with no additional issues, IP is reintroduced at 10% volume. If soft bounce rate stays below 1% for 24 hours, full volume restored.

Result: Result: Transactional delivery rate to Outlook stays above 97% throughout. No user-visible impact.

Advanced Routing Rules

Beyond basic domain and rule routing, Sendarix supports sophisticated routing constructs for complex enterprise architectures.

Header-Based Routing

Read X-Sendarix-Route or custom headers from the message envelope to determine routing. Set headers at submission time via API or SMTP to encode routing instructions without changing the destination address. Example: X-Sendarix-Pool: premium-transactional forces message through the premium pool.

Priority Queuing

Assign priority (1-10, default 5) to messages at submission. Higher priority messages are delivered before lower priority ones when queue depth is high. Critical transactional messages (password reset, MFA codes) should use priority 1. Bulk marketing can use priority 8-10.

Per-Recipient Rate Limiting

Limit the number of messages sent to a specific recipient address within a time window. Prevents misconfigured automation from sending hundreds of password resets to the same user. Default: 5 messages per recipient per hour, configurable per routing policy.

Time-Window Routing

Route messages based on time-of-day or day-of-week. Useful for: throttling marketing sends during business hours to avoid spam folder impact, routing high-priority transactional messages through low-latency paths during business hours, separating batch and interactive traffic by time window.

Geographic Routing

Route based on recipient MX server geographic location inferred from DNS resolution. Regional SMTP endpoints reduce latency and improve deliverability for international recipients. Configure regional endpoints and assign weights per geographic zone.

Pool Affinity Rules

Force messages from specific sending domains or API keys to use specific pools. Use case: separate pools per product or customer tenant to prevent cross-tenant reputation contamination. Affinity rules override weighted distribution for matching messages.

Common Use Cases for Email Routing

Routing logic applies across many operational scenarios. Here are the most common ways development and platform teams implement Sendarix routing.

Transactional Email Continuity

Password resets, order confirmations, and security alerts must reach users regardless of upstream provider status. Configure high-priority routing to dedicated infrastructure with 99.9% uptime SLAs and automatic failover.

Multi-Region Disaster Recovery

Deploy sending infrastructure across multiple geographic regions. When latency increases or connectivity drops in one region, traffic shifts transparently to another without application-level changes.

Marketing and Transactional Isolation

Keep transactional emails on pristine IP reputation by routing them through dedicated pools separate from marketing campaigns. This prevents bulk send reputation issues from affecting critical user communications.

A/B Testing Between Providers

Route percentage of traffic to different upstream providers to compare delivery rates, speed, and engagement metrics. Use routing policies to gradually shift volume toward the better-performing option.

Compliance and Audit Requirements

Route messages through specific infrastructure for data residency compliance or archival requirements. Maintain immutable logs of routing decisions for SOC 2 and GDPR accountability.

Common Problems and Solutions

Email routing issues manifest in specific ways. Here is how to diagnose and resolve the most common scenarios.

Messages queuing during provider outage

Root cause: Primary SMTP endpoint unreachable. Solution: Ensure at least two paths exist in your routing pool. Sendarix detects connection failures within seconds and promotes fallback routes automatically. Monitor queue depth via the analytics dashboard and set alerts for queue lengths exceeding 5 minutes of traffic.

Inconsistent delivery rates between providers

Root cause: Uneven warming or reputation divergence across IPs. Solution: Check IP reputation scores in the Deliverability dashboard. If one provider's IPs are underperforming, increase traffic to well-warmed alternatives until reputation equalizes.

Spike in bounces after routing change

Root cause: New route may have reputation issues, or rate limits are exceeded. Solution: Roll back routing changes immediately via the dashboard or API. Review bounce classification (hard vs soft) to identify whether the issue is reputation (hard bounces) or throttling (soft bounces with temporary error codes).

Latency increase after implementing routing

Root cause: Extra hop in routing chain or cold connection to new upstream. Solution: Pre-warm new upstream connections during low-traffic windows. Use persistent SMTP connections where possible to eliminate handshake overhead on each message.

Routing not respecting message type priority

Root cause: Policy rules may be misconfigured or evaluated in wrong order. Solution: Review routing rule priority in dashboard. Rules are evaluated top-to-bottom; ensure high-priority transactional rules appear before bulk routing rules.

Ready to Build Resilient Email Infrastructure?

Start routing with automatic failover, intelligent path selection, and full observability.

What Makes Sendarix Routing Different

Generic email routing solutions treat routing as a simple failover mechanism. Sendarix builds routing into a comprehensive delivery intelligence platform.

Infrastructure Control

Many providers abstract routing behind their own infrastructure. Sendarix gives you visibility and control over IP assignments, pool configurations, and routing policies. You decide where traffic flows, not the provider.

Advanced Routing Intelligence

Beyond simple failover, Sendarix routing considers recipient provider, time-of-day patterns, historical delivery success, and reputation signals at the time of send. This dynamic evaluation produces better outcomes than static routing tables.

Deliverability Integration

Routing decisions are informed by Sendarix's broader deliverability infrastructure. When an IP shows early reputation decline, routing automatically deprioritizes that path while the warmup and reputation systems work to restore it.

Real-Time Observability

Every routing decision is logged with full context: upstream response times, error codes, and delivery outcomes. Post-incident analysis is fast because you have route-level data, not just aggregate delivery statistics.

What sets Sendarix apart: Routing logic on Sendarix is defined by you, not by the provider. Failover behavior, priority rules, and IP assignment respond to your policies — giving engineering teams infrastructure control that typical platforms reserve for themselves.

よくある質問

ルーティングはエンタープライズボリュームにだけ有用ですか?

いいえ。ユーザークリティカルなメールを持つチームは誰でも継続性とフェイルオーバーから恩恵を受けます。

ルーティングはインシデント対応を改善しますか?

はい。制御されたフェイルオーバーとルートの可視性は、より速く反応し、ユーザーへの影響を減らすのに役立ちます。

ルーティングは配信到達率の作業に取って代わりますか?

いいえ。ルーティングと配信は補完関係です。一方はパスのレジリエンス、もう一方は送信者の品質。

フェイルオーバーとロードスプリットの違いは?

フェイルオーバーはプライマリが失敗したときにバックアップパスに送ります。ロードスプリットは容量やレピュテーション分離のために意図的にトラフィックを分散します。ポリシーはリスクとアーキテクチャに合わせてください。

ルーティング変更を安全にテストするには?

まず低リスクのストリームで、バウンス率と遅延率を監視し、ロールバックパスを用意。変更を承認する人とインシデントの宣言方法を文書化。

ルーティングルールはメッセージタイプやドメインに依存できますか?

多くの場合は可能です。チームはトランザクションメールを高信頼パスに、マーケティングを別インフラにルーティングし、一方のストリームの問題がクリティカルな通知をブロックしないようにします。

ルーティングはメール配信の遅延を増やしますか?

よく設計されたルーティングは、ネットワークと受信者の受理時間に比べてオーバーヘッドは最小です。遅延に敏感なフローではエンドツーエンドで測定してください。

大規模組織では誰がルーティング設定を所有しますか?

通常はプラットフォームまたはインフラエンジニアリングで、配信とセキュリティの入力があります。明確な所有権はインシデント中の衝突する変更を防ぎます。

ルーティングはサードパーティ ESP やリレーとどう相互作用しますか?

ルーティングは異なる上流プロバイダーやリージョンを指せます。移行中は段階的なトラフィックシフトと並行監視でカットオーバーリスクを下げます。

What is IP rotation and why does it matter for routing?

IP rotation distributes sending volume across multiple IP addresses to prevent any single IP from triggering rate limits or reputation penalties. Sendarix manages IP pools automatically, cycling traffic based on warming status and real-time reputation metrics.

How does Sendarix handle SMTP fallback during provider outages?

When a primary SMTP provider becomes unreachable or returns persistent errors, Sendarix automatically redirects traffic to the next available path in your configured pool. This happens within seconds, without requiring manual intervention or developer involvement.

What is a routing pool and how does Sendarix use it?

A routing pool is a collection of configured sending paths (IP addresses, SMTP servers, or upstream providers) grouped by purpose or reputation tier. Sendarix evaluates each message against pool policies to select the optimal path at send time.

What happens if all fallback providers fail simultaneously?

Messages queue locally on Sendarix infrastructure during a total provider outage. The queue is durable and messages are not lost. Once any provider recovers, queued messages are delivered in priority order. You receive alerts when queue depth exceeds configurable thresholds.

Can we route different sending domains through different pools?

Yes. Configure sending domain-to-pool mappings in your routing policy. Each sending domain can have its own primary pool, fallback pool, and failover order. This is the recommended approach for multi-product or multi-tenant deployments.

How does routing handle messages to recipients with no MX record?

Messages to domains with no MX records fail at DNS resolution. Sendarix returns a permanent bounce with code 555 (No MX record). These are not retried, as they represent invalid destinations rather than transient failures.

What is the maximum number of routing pools supported?

Standard plans support up to 5 routing pools. Enterprise plans support up to 25 pools with cross-pool failover chains. Each pool can contain up to 20 sending IPs with independent reputation tracking.

ルーティングが最も重要な場面

パスワードリセット、セキュリティ通知、請求ワークフロー、配信ミスが即座にユーザーに影響する高ボリュームのプラットフォーム送信。

運用の組み合わせ

SMTP リレー分析配信到達率 と組み合わせ、エンドツーエンドでレジリエントな運用を。

Start Optimizing Your Email Routing Today

Join teams who rely on Sendarix for critical email delivery. Set up routing in minutes with no infrastructure changes required.

Start Free Trial

No credit card required. 14-day trial with full access.

信頼できるメールインフラへ移行しませんか?

カード不要で無料開始。大量送信やエンタープライズ向けは営業までご相談ください。

送信を始める営業に問い合わせ