On 11/21/2015 1:06 PM, Denis Fondras wrote:
How to I tell smtpd to re-route massages currently in the queue to the
smarthost at smtp.pvt.example.com?
I haven't checked lately but it was not possible last time I asked.
Just for the archives, this is possible. In the message spool
(/var/spool/smtpd/queue/xx/xxxxxxxx) there's a control file. In the
control file you'll see something like:
mta-relay: tls://wrong.server.net:587
Stop smtpd, edit this line with the correct info, start smtpd, and
smtpctl schedule all.