Hey folks,

I'm running OpenSMTPD 5.7.1 + table-sqlite from extras. I'm simply trying to get the sqlite tables to work at all. I haven't even gotten as far as trying to use them in my rules. I have the following config files:

==> smtpd.conf
table aliases file:/etc/mail/aliases
table mxdb  sqlite:/usr/local/etc/mail-config/mxdb/smtpd.sqlite.conf
listen on localhost port 2587
accept for local alias <aliases> deliver to mbox
accept for any relay

==>smtpd.sqlite.conf
dbpath               /usr/local/var/mxdb.sqlite
query_domain    select name from domain where domain = ?
query_alias select destination from alias where alias_user||'@'||alias_domain = ?

OpenSMTPD will pass the config tests and start, but will then immediately die.

Jul 25 10:36:36 smtp smtpd[61374]: info: OpenSMTPD 5.7.1p1 starting
Jul 25 10:36:36 smtp smtpd[61375]: info: startup [debug mode]
Jul 25 10:36:36 smtp smtpd[61378]: warn: table-proc: pipe closed
Jul 25 10:36:36 smtp smtpd[61378]: fatal: table-proc: exiting
Jul 25 10:36:36 smtp smtpd[61376]: warn: queue -> lka: pipe closed
Jul 25 10:36:36 smtp smtpd[61377]: warn: control -> lka: pipe closed
Jul 25 10:36:36 smtp smtpd[61375]: warn: parent -> lka: pipe closed
Jul 25 10:36:36 smtp smtpd[61380]: warn: pony -> lka: pipe closed
Jul 25 10:36:36 smtp smtpd[61379]: warn: scheduler -> queue: pipe closed
Jul 25 10:36:36 smtp smtpd[61381]: warn: ca -> control: pipe closed

Smtpd will start and run just fine if I comment out the "table mxdb" line.

This issue is being experienced on FreeBSD 10.1. Am I doing something wrong that anyone might be able to point to? Thanks in advance for any pointers!

--
You received this mail because you are subscribed to misc@opensmtpd.org
To unsubscribe, send a mail to: misc+unsubscr...@opensmtpd.org

Reply via email to