Difference between revisions of "DNS and email setup"

From Dreamwidth Notes
Jump to: navigation, search
(needs so much work)
 
(exemplified the domains)
Line 5: Line 5:
 
The worker file had to be updated and then he also had to do this:
 
The worker file had to be updated and then he also had to do this:
 
Created 2 MX records for post and replies, and 2 A records. Added a virtual_alias_map into the Postfix conf, and added:
 
Created 2 MX records for post and replies, and 2 A records. Added a virtual_alias_map into the Postfix conf, and added:
@post.dreamish.org dw
+
@post.example.com dw
@replies.dreamish.org dw
+
@replies.example.com dw
  
 
to that. Added /home/dw/.forward with:
 
to that. Added /home/dw/.forward with:

Revision as of 00:54, 30 January 2024

You will only need this if you are running your own instance.

This is what Jimmy did to get reply by email working:

The worker file had to be updated and then he also had to do this: Created 2 MX records for post and replies, and 2 A records. Added a virtual_alias_map into the Postfix conf, and added: @post.example.com dw @replies.example.com dw

to that. Added /home/dw/.forward with: | /home/dw/dw/bin/incoming-mail-inject.pl

in it. Adjusted /home/dw/dw/bin/incoming-mail-inject.pl: BEGIN {

   $ENV{LJHOME} ||= "/home/dw/dw";
   require "$ENV{LJHOME}/cgi-bin/ljlib.pl";

}