Hi,

I have a mail receiving postfix deployed.

On this I am trying to block emails that are to sent to 
'donotre...@mydomain.com'

For this I am doing the following:

smtpd_recipient_restrictions =
  check_recipient_access hash:/etc/postfix/blockList,
  reject_unauth_destination,
  reject_rbl_client zen.spamhaus.org,
  reject_rbl_client bl.spamcop.net
  permit

the 'blockList' file contains the following content:

donotre...@mydomain.com REJECT

But the postfix logs are as follows:

Sep  7 04:53:55 ip-10-194-99-63 postfix/smtpd[942]: fatal: open database 
/etc/postfix/blockList.db: No such file or directory
Sep  7 04:53:56 ip-10-194-99-63 postfix/master[938]: warning: process 
/usr/libexec/postfix/smtpd pid 942 exit status 1

Please help

Thanks in advance

Ashish Sharma

Reply via email to