본문으로 건너뛰기
Skillpedia
API 및 서버 (백엔드)48k · #5135

mailtrap-setting-up-sending-domain

하는 일

Mailtrap을 통해 이메일을 보낼 도메인을 설정하는 데 도움을 줍니다. 도메인을 추가하고, 실제로 내 것임을 확인하고, 이메일이 정확히 도착하도록 필요한 정보를 설정하는 과정을 포함합니다.

사용하는 경우

  • ✓Mailtrap으로 이메일을 보낼 새 도메인을 설정할 때.
  • ✓도메인 확인이 작동하지 않을 때.
  • ✓SPF, DKIM, DMARC 같은 DNS 설정에 도움이 필요할 때.

스킬 링크

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/mailtrap-setting-up-sending-domain/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/mailtrap-setting-up-sending-domain/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“제 도메인 ‘myemail.com’이 Mailtrap으로 이메일을 보낼 수 있도록 설정하는데 확인이 계속 실패합니다. 도와주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

DNS 시스템에 SPF, DKIM, DMARC 같은 특정 레코드를 추가해야 합니다. Mailtrap이 복사해서 붙여 넣을 수 있는 정확한 레코드를 제공합니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

Setting up a Mailtrap sending domain

Overview

You must add and verify a domain you control before live sending. Mailtrap shows every DNS record required for that domain in the UI: add the complete set as given (do not cherry-pick). After DNS verifies, complete the compliance step if requested.

Subdomain vs root: add the exact hostname you will use in the From address. If you send from notifications.mycompany.com, add that subdomain as the sending domain—not only mycompany.com, unless you truly send from the root domain.

For step-by-step clicks at common hosts, open the matching guide on Sending domain setup (Cloudflare, Route 53, etc.) and follow it alongside the live UI values.

Related skills: mailtrap-sending-emails (after domain is ready).

When to use

  • New Sending Domains setup, stuck verification, or compliance questions
  • DNS at Cloudflare, AWS, Google, Namecheap, GoDaddy, DigitalOcean, etc.

When not to use

  • Sandbox-only testing without a custom domain (see mailtrap-testing-with-sandbox)

Authorization

The Sending Domains API calls below need Authorization: Bearer $MAILTRAP_API_TOKEN and an $MAILTRAP_ACCOUNT_ID in the path. Resolve $MAILTRAP_ACCOUNT_ID from GET https://mailtrap.io/api/accounts, and store tokens in environment variables or a secrets manager.

Automating setup (API and DNS providers)

Prefer this path when building scripts or AI-assisted automation:

  1. DNS records and status via API — Use the Sending Domains API:
  • GET https://mailtrap.io/api/accounts/$MAILTRAP_ACCOUNT_ID/sending_domains — lists domains
  • GET https://mailtrap.io/api/accounts/$MAILTRAP_ACCOUNT_ID/sending_domains/{sending_domain_id} — returns dns_records (each with type, name, value, and verification status) and dns_verified. Poll after you publish DNS.
  1. Create domain via API —
  • POST https://mailtrap.io/api/accounts/$MAILTRAP_ACCOUNT_ID/sending_domains with domain_name when your flow provisions domains programmatically.
  1. Publish DNS programmatically —
  • Create the returned records at your DNS host using their API (e.g., Cloudflare API, AWS Route 53, Google Cloud DNS) or IaC. Align record names and values exactly with the API response.

Human fallback: Sending Domains > Add domain > copy values into the registrar UI > Verify when API automation is not available.

Workflow (summary)

  1. Sending Domains > Add domain and enter the domain name.
  2. Obtain required records from the UI or Sending Domains API; create all listed records at your DNS host exactly as shown (names, types, values).
  3. Wait for DNS propagation. If verification stays pending, use dig, nslookup, or an online DNS lookup to confirm each record is visible publicly before clicking Verify again.
  4. Complete the compliance flow when prompted.

Product walkthrough: Sending domain setup.

DNS provider guides (documentation)

Mailtrap publishes click-path guides for common providers. Open the page that matches the user's DNS host and follow it together with the live UI records:

If the user's provider is not listed, the same rule applies: copy every record from Mailtrap into the DNS zone that serves the From domain.

Important DNS caveat (proxied DNS)

…

자주 묻는 질문

SPF, DKIM, DMARC 같은 DNS 레코드는 무엇인가요?

이메일의 ‘진위 도장’과 같습니다. 도메인에서 보낸 이메일이 정당하며 스팸이 아님을 이메일 서버가 확인하도록 돕습니다.

‘DNS 전파’란 무엇인가요?

새 DNS 설정이 인터넷 전체에 반영되는 데 걸리는 시간입니다. 몇 분에서 몇 시간까지 걸릴 수 있습니다.

‘contact.mydomain.com’ 같은 서브도메인을 쓸 수 있나요?

네, 서브도메인을 쓸 수 있습니다. Mailtrap에서 이메일 발송에 사용할 정확한 서브도메인을 추가하세요.

상세 정보

작성자의 원본 설명

Add or verify a Mailtrap sending domain, troubleshoot DNS propagation, publish SPF/DKIM/DMARC records, and complete compliance.

repo: sickn33/agentic-awesome-skills

인기도

GitHub 스타
48k
순위
#5135
라이선스
MIT
업데이트
2026. 10. 15.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬