Difference between revisions of "Allow Non-existent Domains"

From Roaring Penguin
Jump to: navigation, search
m (Instructions should include sendmail restart as well)
 
(One intermediate revision by the same user not shown)
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>
 +
:<tt>/etc/init.d/sendmail restart</tt>
 
</ol>
 
</ol>
 
<div style="float:right; clear:both; margin-right:0.5em">[[Support Wiki | [Home]]]</div>
 
<div style="float:right; clear:both; margin-right:0.5em">[[Support Wiki | [Home]]]</div>
 
[[category:All]][[category:Rules]][[category:Management]]
 
[[category:All]][[category:Rules]][[category:Management]]

Latest revision as of 10:07, 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
    /etc/init.d/sendmail restart