Skip to content

Conversation

@xwiz
Copy link
Contributor

@xwiz xwiz commented Dec 26, 2025

Description

Added a new Domain Connect template venmail_email_send_only for send-only email hosting mode. This template excludes MX records and website redirection CNAME records, which are not needed for send-only email functionality. The template includes only the essential DNS records required for email sending: DKIM, SPF, and DMARC.

This addresses the issue where send-only mode was generating placeholder MX records like %mx_points% 10 and %mx2_points% 20 because the original template always included MX records regardless of the service mode.

Type of change

Please mark options that are relevant.

  • New template
  • Bug fix (non-breaking change which fixes an issue in the template)
  • New feature (non-breaking change which adds functionality to the template)
  • Breaking change (fix or feature that would cause existing template behavior to not be backward compatible)

How Has This Been Tested?

Please mark the following checks done

  • Schema validated using JSON Schema template.schema
  • Template functionality checked using Online Editor
  • Template is checked using template linter
  • Template file name follows the pattern <providerId>.<serviceId>.json
  • resource URL provided with logoUrl is actually served by a webserver

Example variable values

domain: example.com
dkim_name: venmail-nioqvo
dkim_data: "v=DKIM1; k=rsa; p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQC7VqUt61AvwQj6rBzZlL1fSbUBQWqIvO3CjNFp7jT6XGhQ5B8vJbXJdYxL9aZKfE8Hk2mP7jQ3rW8tY6uI4oP9kL1mX2nZ3fG4hJ5kL6mN7oP8qR9sT0uV1wX2yZ3a4b5c6d7e8f9g0h1i2j3k4l5m6n7o8p9q0r1s2t3u4v5w6x7y8z9"
spf_rules: "v=spf1 a mx include:spf.venmail.io ~all"
dmarc_data: "v=DMARC1; p=quarantine; rua=mailto:dmarc@example.com; ruf=mailto:dmarc@example.com; pct=100; adkim=s; aspf=s"

Technical Details

Records Included in Send-Only Template:

  1. DKIM Record (venmail-dkim): Required for email authentication and signing
  2. SPF Record (venmail-spf): Required for sender policy framework
  3. DMARC Record (venmail-dmarc): Required for domain-based message authentication

Records Excluded from Send-Only Template:

  1. MX Records (venmail-mx, venmail-mx2): Not needed for send-only email
  2. Website Redirection CNAME (website-redirection): Not related to email functionality

Integration Notes:

  • The application code has been updated to use venmail_email_send_only service ID when send-only mode is selected
  • Full email service continues to use venmail_email service ID

@github-actions
Copy link

Linter OK:

Linter result for venmail.io.venmail_email_send_only.json

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant