On Mon, 3 Aug 2015, Gianfranco Costamagna wrote:
what about adding a cut -d -f 1?
This probably works… but I’d either do something like:
mailname=$(hostname -f 2/dev/null || hostname -A)
echo ${mailname%% *} …/etc/mailname
Or, even better maybe, copy the /etc/mailname file from outside.
On Mon, Aug 03, 2015 at 12:52:11PM +0200, Thorsten Glaser wrote:
Hi,
this patch is wrong!
I pretty much agree, yes.
I pondered it for a bit while reading mailname(5) and hostname(1).
I repushed it anyway since i see an improvments instead of just failing over.
Thanks though for fiding a
Hi,
this patch is wrong!
commit c2087b165bd0fdc6511df4c874390359b290b8bf
Author: Gianfranco Costamagna costamagnagianfra...@yahoo.it
Date: Mon Aug 3 11:15:11 2015 +0200
Use a hostname -A as fallback in case of -f fails (Closes: #637627)
thanks mapreri for the help
diff --git
Hi TG,
thanks for the feedback,
what about adding a cut -d -f 1?
my pbuilder doesn't work anymore without this patch, and since it is a fallback
from the current implementation I committed it, because it was at least fixing
something.
If you have a better patch please let me know,
thanks
4 matches
Mail list logo