Ver código fonte

Merge pull request #735 from phirecc/hostname

Set hostname variable
tags/v3.3
Luke Smith 2 anos atrás
committed by GitHub
pai
commit
c8bbef5b88
Nenhuma chave conhecida encontrada para esta assinatura no banco de dados ID da chave GPG: 4AEE18F83AFDEB23
1 arquivos alterados com 2 adições e 0 exclusões
  1. +2
    -0
      bin/mw

+ 2
- 0
bin/mw Ver arquivo

@@ -91,6 +91,7 @@ set folder = \"$folder\"
set header_cache = $cachedir/$fulladdr/headers
set message_cachedir = $cachedir/$fulladdr/bodies
set mbox_type = Maildir
set hostname = \"$hostname\"
$extra

bind index,pager gg noop
@@ -193,6 +194,7 @@ askinfo() { \
read -r smtp
[ "$sport" = 465 ] && tlsline="tls_starttls off"
[ -z "$realname" ] && realname="${fulladdr%%@*}"
hostname="$(echo "$fulladdr" | cut -d @ -f 2)"
login="${login:-$fulladdr}"
if [ -n "${password+x}" ]; then
createpass


Carregando…
Cancelar
Salvar