Difference between revisions of "Allow Non-existent Domains"

From Roaring Penguin
Jump to: navigation, search
(Update: /etc/mail/access line should be From:unresolvable.domain OK (note From: prefix))
Line 7: Line 7:
 
:<tt># DO NOT EDIT BELOW THIS LINE: CANIT MAY DELETE CHANGES BELOW THIS LINE</tt>
 
:<tt># DO NOT EDIT BELOW THIS LINE: CANIT MAY DELETE CHANGES BELOW THIS LINE</tt>
 
add a line like this (user domain in question):
 
add a line like this (user domain in question):
:<tt>this.example.com OK</tt>
+
:<tt>From:this.example.com OK</tt>
 
<li>On every CanIt machine, run:   
 
<li>On every CanIt machine, run:   
 
:<tt>make -C /etc/mail</tt>
 
:<tt>make -C /etc/mail</tt>

Revision as of 10:06, 24 April 2018

Mail which comes from a non-existent domain is automatically refused for the reasons provided here.

If absolutely necessary, you can allow a specific unresolvable domain through by following these steps:

  1. On every CanIt machine, edit /etc/mail/access. Right *ABOVE* the line that reads:
    # DO NOT EDIT BELOW THIS LINE: CANIT MAY DELETE CHANGES BELOW THIS LINE
    add a line like this (user domain in question):
    From:this.example.com OK
  2. On every CanIt machine, run:
    make -C /etc/mail