2014-08-21 12:27 GMT+04:00 Giovanni Bechis <[email protected]>:
> On 08/19/14 19:27, Giovanni Bechis wrote:
> [...]
>>>> Otherwise this looks nice. Didn't tried it yet, though.
>>>>
>> Thanks, port updated.
>> Now I have to understand how to proper setup mysql.conf.
>>
> a couple of other problems:
> - when I try to install the -mysql package it deletes the -main package

1. Run "make show=PKGNAMES".
2. Realize that you have "OpenSMTPD-NNN-mysql" instead of "OpenSMTPD-mysql-NNN".
3. Specify PKGNAME-mysql explicitly.
4. Repeat steps (2) and (3) for other subpackages, except -main.

For -main, it's usually the "PKGNAME-main = $PKGNAME" is used.

By the way, do you insist on capitalized names and not on "opensmtpd-*"?

> - when I start smtpd and mysql/postgres is not running (and pkg_scripts will 
> run after smtpd), smtpd will exit because it cannot connect to the user 
> database, maybe it will be worth to retry ? Gilles ?

Yep, opensmtpd shouldn't exit.

--
  WBR,
  Vadim Zhukov

Reply via email to