diff --git a/aws_cdk/lib/aws_cdk-stack.ts b/aws_cdk/lib/aws_cdk-stack.ts index 4ed9978..903dfd3 100644 --- a/aws_cdk/lib/aws_cdk-stack.ts +++ b/aws_cdk/lib/aws_cdk-stack.ts @@ -126,10 +126,10 @@ export class AwsCdkStack extends cdk.Stack { 'git clone https://github.com/mailcow/mailcow-dockerized.git mailcow', 'cd mailcow', '# Run generate_config.sh non-interactively for mail.tiproemail.com, timezone UTC', - 'export MAILCOW_HOSTNAME="mail.tiproemail.com"', + 'export MAILCOW_HOSTNAME="mail.tipro.in"', 'export MAILCOW_TZ="Asia/Kolkata"', - '# Pipe answers to generate_config.sh: Hostname (mail.tiproemail.com), Timezone (Asia/Kolkata), Stable Branch (1)', - 'echo -e "mail.tiproemail.com\nAsia/Kolkata\n1" | ./generate_config.sh', + '# Pipe answers to generate_config.sh: Hostname (mail.tipro.in), Timezone (Asia/Kolkata), Stable Branch (1)', + 'echo -e "mail.tipro.in\nAsia/Kolkata\n1" | ./generate_config.sh', '', '# Apply Memory Optimizations for t4g.medium (4GB RAM)', '# Disable ClamAV (Saves ~1.5 GB RAM)', diff --git a/dns_setup_instructions.md b/dns_setup_instructions.md index 5493293..a77651d 100644 --- a/dns_setup_instructions.md +++ b/dns_setup_instructions.md @@ -18,13 +18,13 @@ This points your mail subdomain to your EC2 instance's Elastic IP address. --- ### Step 2: Route Emails (MX Record) -This specifies that incoming emails sent to `@yourdomain.com` should be routed to Mailcow. +This specifies that incoming emails sent to `@tipro.in` should be routed to Mailcow. 1. Check your existing DNS records in Hostinger and delete any default/old **MX** records first. 2. Add a new record: - **Type:** `MX` - **Name (Host):** `@` - - **Points to (Mail Server):** `mail.yourdomain.com` *(Replace "yourdomain.com" with your actual domain, e.g., "tiproemail.com")* + - **Points to (Mail Server):** `mail.tipro.in` - **Priority:** `10` - **TTL:** `14400` (or default) 3. Click **Add Record**. @@ -59,9 +59,9 @@ This policy dictates how receiving servers should handle emails that fail SPF/DK This adds a digital signature to outgoing emails to verify they were sent by you. 1. Deploy your EC2 instance and wait for Mailcow to start up. -2. Log into the Mailcow web interface at: `https://mail.yourdomain.com` (Default login: Username: `admin` / Password: `moohoo` — **Change this password immediately!**). +2. Log into the Mailcow web interface at: `https://mail.tipro.in` (Default login: Username: `admin` / Password: `moohoo` — **Change this password immediately!**). 3. Navigate to **Configuration** > **ARC/DKIM**. -4. In the "Domain" field, enter your domain name (e.g. `yourdomain.com`). +4. In the "Domain" field, enter your domain name (e.g. `tipro.in`). 5. Choose a selector (default is `dkim`). 6. Click **Add** (or **Generate**). Mailcow will display a long public key string. 7. Go back to your **Hostinger DNS Zone Editor** and add a new record: