From: Mikhail Zabaluev <mhz@alt-linux.org>
To: Mandrake <mandrake-russian@altlinux.ru>
Subject: [mdk-re] Re: Не могу настроить Postfix
Date: Fri Aug 24 13:48:37 2001
Message-ID: <20010824111642.B1778@localhost.localdomain> (raw)
In-Reply-To: <002701c12c53$989d5500$5a0aa8c0@john>; from john@rmts.donpac.ru on Fri, Aug 24, 2001 at 08:16:41AM +0400
Hello Прокопьев,
On Fri, Aug 24, 2001 at 08:16:41AM +0400, Прокопьев Евгений wrote:
>
> Привет всем!
> Думал уже разобрался с этой проблемой, но нет.
> Из спринговского дистрибутива ставлю Postfix, редактирую main.cf (файл прилагается), затем
> ifup ppp0
> ifconfig | mail john@rmts.donpac.ru
> в лог выводится следующее
> Aug 18 11:18:40 master postfix/qmgr[651]: 1A6D47790: from=<root@master.home>, size=674, nrcpt=1 (queue active)
> Aug 18 11:18:40 master postfix/smtp[1253]: 1A6D47790: to=<eugene_prokopiev@mail.ru>, relay=none, delay=2767, status=deferred (Name service error for mail.ru: Host not found, try again)
>
> Что я сделал не так?
Это точно запись о том сообщении? Как john@rmts.donpac.ru
преобразовался в eugene_prokopiev@mail.ru?
> PS: потом удаляю постфикс, ставлю сендмайл, в sendmail.mc пишу
> divert(-1)
> dnl This is the macro config file used to generate the /etc/sendmail.cf
> dnl file. If you modify thei file you will have to regenerate the
> dnl /etc/sendmail.cf by running this macro config through the m4
> dnl preprocessor:
> dnl
> dnl m4 /etc/sendmail.mc > /etc/sendmail.cf
> dnl
> dnl You will need to have the sendmail-cf package installed for this to
> dnl work.
> include(`/usr/lib/sendmail-cf/m4/cf.m4')
> OSTYPE(`linux')
> define(`PROCMAIL_MAILER_PATH',`/usr/bin/procmail')
> define('ALIAS_FILE','/etc/mail/aliases')
> define('SMART_HOST','rmts.donpac.ru')
> FEATURE(`mailertable',`hash -o /etc/mail/mailertable')
> FEATURE(always_add_domain)
> FEATURE(masquerade_envelope)
> FEATURE(genericstable,'hash -o /etc/mail/genericstable')
> GENERICS_DOMAIN_FILE(/etc/mail/genericsdomain)
> MAILER(smtp)
> MAILER(procmail)
> Теперь генерирую sendmail.cf пишу
> ifup ppp0
> ifconfig | mail john@rmts.donpac.ru
> и письмо отправляется
>
> Теперь удаляю сендмайл, ставлю обратно постфикс, и использую уже написанный main.cf (который раньше не работал). Пишу
> ifup ppp0
> ifconfig | mail john@rmts.donpac.ru
> и письмо отправляется
>
> Вопросы:
> 1)Почему так происходит?
> 2)Какой смтп теперь отправляет письмо: мой или rmts.donpac.ru?
Это разные машины? Что означает макрос SMART_HOST в sendmail.mc?
> 3)Что сделать, чтобы постфикс заработал с первого раза без всех этих извращений?
В первый раз что-то стряслось с DNS. Если "dig mail.ru MX" не находит
никаких хостов, значит, проблема там.
--
Stay tuned,
MhZ JID: mookid@jabber.org
___________
We will have solar energy as soon as the utility companies solve one technical
problem -- how to run a sunbeam through a meter.
next parent reply other threads:[~2001-08-24 13:48 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-08-24 13:48 ` Mikhail Zabaluev [this message]
2001-08-24 18:56 ` [mdk-re] " Прокопьев Евгений
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=20010824111642.B1778@localhost.localdomain \
--to=mhz@alt-linux.org \
--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