fatal: open database /etc/postfix/spammers.db: No such file or directory
- Hi all,
I have this configured in my main.cf:
smtpd_sender_restrictions = reject_unknown_sender_domain,
Since I'm upgrading our existing mail server, I copied over the
/etc/postfix/spammers file that was on our old mail server. Do I need
to have postfix somehow build the db for that file?
- At 05:24 PM 7/6/2007, Patrick - South Valley Internet wrote:
>I have this configured in my main.cf:
>smtpd_sender_restrictions = reject_unknown_sender_domain,
>Since I'm upgrading our existing mail server, I copied over the
>/etc/postfix/spammers file that was on our old mail server. Do I
>need to have postfix somehow build the db for that file?
# postmap hash:/etc/postfix/spammers
You also might want to order your restrictions such as this to do
easy/cheap checks first:
You may want to use permit_mynetworks as the first rule to exempt
local users from these checks, but that's a per-site decision.