Finally find why smtpd won't start on system boot.

Except of DNS issue, OpenSMTPd was configured to get data from
PostgreSQL database, so smtpd must be started after PgSQL backend to get
all the necessary data about domains, aliases, virtuals, and passwords
available.

Since I run it from package scripts, it starts correctly during system
boot.

On 4/2/2018 9:33 PM, Raf Czlonka wrote:
> On Mon, Apr 02, 2018 at 06:31:28PM BST, Denis wrote:
>> Hello,
>>
>> Having fully working OpenSMTPd setup with PostgreSQL user auth.
>> While starting 'smptd -dvv' OR 'rcctl start smtpd' it starts as expected
>> until next reboot.
>>
>> It is enabled by default in '/etc/rc.conf' by setting 'smtpd_flags=' flag.
>>
>> '/etc/rc.conf.local' has no any 'smtpd_flags=' flags in it.
>>
>> Every time when system boots there is no Internet connection established
>> (Internet connection appears a bit later by call ppp manually).
>>
>> Can it affect on smtpd start during system boot? How to have it loaded
>> automatically?
>>
>> It must be started with system together to have local mail delivery working.
> 
> Hi Denis,
> 
> You *forgot* to include any configuration but my crystal ball tells
> me that it's most likely related to DNS.
> 
> Put any and all of your domains in your hosts(5) file and see if
> that solves your issue.
> 
> Cheers,
> 
> Raf
> 

-- 
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