Friday, May 27, 2016

Postfix configuration


Requirements:


  1. Allow RELAYing for mydomain.com
  2. Allow such relaying ONLY for hosts in the local network

Setup:

/etc/postfix/main.cf


inet_interfaces = all

 mynetworks = 10.0.0.0/16  (local network IP)

smtpd_recipient_restrictions =
        permit_sasl_authenticated
        check_recipient_access hash:/etc/postfix/recipient_access
        reject_unauth_destination

/etc/postfix/recipient_access:

mydomain.com   OK

sudo postmap /etc/postfix/recipient_access
sudo service postmap restart






1 comment:

  1. While you might not in a position to|be capable of|have the power to} make the most of your mathametical skills on video poker, there are other methods to get one of the best consequence. One of those methods is to check the titles of video poker. An average recreation goes to have an 카지노사이트 RTP of 95% or more. You usually are not taking part in} in opposition to other players, so that you won’t profit from anyone else’s bad choices.

    ReplyDelete