On Thu, Aug 22, 2013 at 11:15:27AM +0200, Denis Fondras wrote:
> Hello all,
> 
> It is me again :)
> 
> I have two questions about OpenSMTPd configuration update.
> First is about updating tables.
> 
> I have a table named "mytable". When I do :
> 
> # smtpctl update table mytable
> command succeeded
> # smtpctl update table mytaable
> command succeeded
> 
> For the latter, I get "warn: Lookup table not found: "mytaable"" in the
> logs.
> Shouldn't smtpctl notify that the table is inexistent ?

I have started to fix that for some commands, but it's not done yet.

> My second question is about re-scheduling an envelope after a
> configuration change. Let's say I have such a smtpd.conf :
> --
> listen on all
> accept for domain "example.com" deliver to mbox
> accept for any relay
> --
> 
> I send a mail to [email protected], it will get relayed. If the
> destination server is down, the mail will enqueued and retried later.
> 
> Then I decide that example.org is local, I reload OpenSMTPd with this
> smtpd.conf :
> --
> listen on all
> accept for domain { example.com, example.org } deliver to mbox
> accept for any relay
> --
> 
> If I launch "smtpctl schedule all", OpenSMTPd will try to send it
> remotely again.
> How to tell OpenSMTPd it should deliver it locally now ?

Currently you can't (except by hand-editing the envelopes).
The ruleset is only evaluated on incoming mails, and the routing
parameters are hard-coded in the envelope.

Eric.

-- 
You received this email because you are subscribed to the "[email protected]" 
list
To unsubscribe, send mail with subject: [[email protected]] unregister

Reply via email to