postfix pop-before-smtp problem
hi,
I'm trying to get pop-before-smtp getting to work with postfix.
Following the instructions in /usr/share/doc/README.Debian I edited main.cf
like this:
mynetworks=127.0.0.0/8
smtpd_recipient_restrictions =
permit_mynetworks,reject_non_fqdn_recipient,check_client_access
hash:/var/lib/pop-before-smtp/hosts,check_relay_domains
After restarting Postfix all looks fine but by receiving the first email
Postfix starts to complaing with:
Sep 30 17:52:12 esteta postfix/smtpd[6216]: fatal: open database
/var/lib/pop-before-smtp/hosts.db: Invalid argument
Sep 30 17:52:13 esteta postfix/master[6172]: warning: process
/usr/lib/postfix/smtpd pid 6216 exit status 1
Sep 30 17:52:13 esteta postfix/master[6172]: warning:
/usr/lib/postfix/smtpd: bad command startup -- throttling
This is the output from postmap -n:
[root@esteta ~]# postconf -n
alias_maps = hash:/etc/postfix/aliases
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/lib/postfix
debug_peer_level = 2
default_destination_concurrency_limit = 10
default_privs = nobody
inet_interfaces = all
local_destination_concurrency_limit = 2
mail_owner = postfix
mail_spool_directory = /var/mail
mydestination = $myhostname, localhost.$mydomain, $mydomain
mydomain = esteta.net
myhostname = mail.esteta.net
mynetworks = 127.0.0.0/8
myorigin = mail.esteta.net
program_directory = /usr/lib/postfix
queue_directory = /var/spool/postfix
smtpd_recipient_restrictions =
permit_mynetworks,reject_non_fqdn_recipient,check_client_access
hash:/var/lib/pop-before-smtp/hosts,check_relay_domains
virtual_maps = hash:/etc/postfix/virtual
Anyone any ideas??
Thanks in advance,
Hans
--
Reply to: