bug-mailfromd


Search for: Advanced

Re: [Bug-mailfromd] change the database type for one database


> 
> You can do so using the recent commit:
> 
> https://git.gnu.org.ua/mailfromd.git/commit/?id=5f249d72324c2ec4e2d95108
> 8c13bbe79a3c1d8e
> 
> See the manual, section 7.11 "Database Configuration" for details.
> 

Hi Sergey, I have an unknown keyword message, if replace the entry with enable true; mailfromd starts normally.


[]#  /usr/sbin/mailfromd -u nobody --foreground --debug-level=100 --stderr
mailfromd: /etc/mailfromd/mailfromd.conf:11.3-21: unknown keyword `database-type


[]# grep  'database-type' /usr/sbin/mailfromd
grep: /usr/sbin/mailfromd: binary file matches


[]# cat /etc/mailfromd/mailfromd.conf


state-directory "/var/lib/mailfromd";

program "mailfromd" {
  include-path "/etc/mailfromd";
  pidfile "/var/run/mailfromd/mailfromd.pid";
}

database greylist {
  database-type gdbm;
}

server milter {
  listen unix:///var/run/mailfromd/mailfromd.sock;
  #max-instances 1;
  acl { allow from 127.0.0.1/32; deny from any; }