Guido Piazzi wrote:
> Hi all,
> 
> I already reported this one in #479
> (http://dbmail.org/mantis/view.php?id=479)
> but for some reason this Debian-specific bug came back very quickly
> after being fixed by Paul.
> 
> This line in my /etc/dbmail/dbmail.conf:
> 
> host=/var/run/postgresql

I'm sure I asked this before: what makes you think that is a valid hostname?

> 
> makes the postinst script fail.  I think the culprit is this statement
> in dbmail.postinst:
> 
> sed -i -re "s/^host\W*=.*\$/host=$DB_HOST/i"
> 
> which gets confused by the forward slashes in $DB_HOST.
> 
> Thanks in advance to Paul and all the Dbmail developers!
> 
> Guido
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> DBmail mailing list
> [email protected]
> https://mailman.fastxs.nl/mailman/listinfo/dbmail


-- 
  ________________________________________________________________
  Paul Stevens                                      paul at nfg.nl
  NET FACILITIES GROUP                     GPG/PGP: 1024D/11F8CD31
  The Netherlands________________________________http://www.nfg.nl
_______________________________________________
DBmail mailing list
[email protected]
https://mailman.fastxs.nl/mailman/listinfo/dbmail

Reply via email to