Senin, 19 Januari 2015

Rejecting Mail From Palsu

#nano  /opt/zimbra/conf/zmconfigd/smtpd_sender_restrictions.cf

tambahkan check_sender_access hash:/opt/zimbra/conf/domainrestrict

#nano  /opt/zimbra/conf/domainrestrict

localdomain.com   REJECT You're not me!
anotherlocaldomain.com REJECT You're not me!
 
#/opt/zimbra/postfix/sbin/postmap  /opt/zimbra/conf/domainrestrict
 
#su zimbra
 
$zmmtactl stop

$zmmtactl start 

Done now test it :D
 
#telnet yourdomain.com 25 
 
HELO yourdomain.com 
 
mail from: user@localdomain.com 
 
rcpt to: user2@yourdomain.com 

554 5.7.1 <user@localdomain.com>: Sender address rejected: You're not me!
Categories:

0 komentar:

Posting Komentar