***/etc/mail/access contains:
localhost.localdomain RELAY
localhost RELAY
127.0.0.1 RELAY
116.168.1.2 RELAY
mydomainname.com RELAY
# mail.mydomainname.com RELAY
cyberpromo.com REJECT
spam@xxxxxxxxx 550 Spammers shan't see sunlight here
***/etc/hosts
127.0.0.1 localhost.localdomain localhost
#116.168.1.2 mail.mydomainname.com mail
***/etc/mail/local-host-names contains:
localhost
localhost.localdomain
server1.mydomainname.com
***/etc/named.conf contains:
controls {
inet 127.0.0.1 allow { localhost; } keys { rndckey; };
};
include "/etc/named.custom";
include "/etc/rndc.key";
zone "0.0.127.in-addr.arpa" {
type master;
file "0.0.127.in-addr.arpa.zone";
};
zone "1.168.116.in-addr.arpa" {
type master;
file "1.168.116.in-addr.arpa.zone";
};
zone "localhost" {
type master;
file "localhost.zone";
};
zone "mydomainname.com" {
type master;
file "mydomainname.com.zone";
};
--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list