From: cornet <cornet@zmail.ru>
To: mandrake-russian@altlinux.ru
Subject: Re: [mdk-re] $HOSTNAME for Postfix
Date: Tue Oct 16 18:09:06 2001
Message-ID: <3BCC4015.BD546F40@zmail.ru> (raw)
In-Reply-To: <20011016175745.09eae819.multik@asplinux.ru>
Viacheslav Kaloshin wrote:
>
> C> Вопрос:
> C> Как обьяснить Постфиксу, что бы он при отправки наружу
> C> использовал не стационарное имя хоста smart.home, а то
> C> динамическое, которое выделено мне провайдером в
> C> _данный_момент_??
> C> Че то я никак не соображу с какого боку за это взяться :-/
>
> как делал я (давно ;-)
> в скрипте, который пускает pppd или чем вы там дозваниваетесь, после
> дозвонки
> с помощью sed в sendmail.cf меняется Dj#HOSTNAME на то, что получено после
> nslookup на полученный адрес .. и перезапускается sendmail ... затем тут
> же пускается sendmail -q для доставки накопившегося .... затем fetchmail
> для забора почты ;-)
>
> думаю, алгорим подойдет и для postfix ...
>
> а сейчас я просто через ssh-port-forwarding гоню все через свои сервера
> ... так проще ;-) для меня
Ну да. Я примерно так себе и представлял - с привязкой
собственного скрипта к ifup ppp0 правкой чегото где то, и
передергиванием postfix.
Сеньк, видимо проще действительно не получится :-((
--
******** FIRE & STEEL ********
next prev parent reply other threads:[~2001-10-16 18:09 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-10-16 15:26 cornet
2001-10-16 17:03 ` Artem K. Jouravsky
2001-10-16 17:21 ` cornet
2001-10-16 17:34 ` Artem K. Jouravsky
2001-10-17 4:13 ` Yura Gusev
2001-10-16 17:41 ` Aleksandr Blohin
2001-10-16 17:50 ` Artem K. Jouravsky
2001-10-17 2:06 ` Aleksandr Blohin
2001-10-17 9:53 ` [mdk-re] [JT] " Vyt
2001-10-16 18:00 ` [mdk-re] " Viacheslav Kaloshin
2001-10-16 18:09 ` cornet [this message]
2001-10-16 18:44 ` Yura Zotov
2001-10-17 10:19 ` cornet
2001-10-16 21:58 ` Michael Shigorin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3BCC4015.BD546F40@zmail.ru \
--to=cornet@zmail.ru \
--cc=mandrake-russian@altlinux.ru \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
ALT Linux Community general discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
public-inbox-index community
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.community
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git