* [Comm] /etc/postfix/transport
@ 2004-10-14 21:42 Oleg K.
2004-10-15 2:51 ` Victor P. Vyatkin
0 siblings, 1 reply; 2+ messages in thread
From: Oleg K. @ 2004-10-14 21:42 UTC (permalink / raw)
To: community
Здравствуйте.
Нужно настроить доставку почты postfix'ом с dialup-машины на smtp-сервер.
Есть два почтовых ящика: user1@site1.ru, user2@site2.ru.
В /etc/postfix/transport пишу:
site1.ru smtp:smtp.site1.ru
site2.ru smtp:smtp.site2.ru
В /etc/postfix/main.cf указываю путь к БД:
transport_maps = hash:/etc/postfix/transport
Делаю:
# postmap /etc/postfix/transport
# postfix reload
Далее пишу письмо, например, с `from: user1@site1.ru; to: vasya@pupkin.com'.
По идее, postfix должен теперь доставлять почту на сервер smtp.site1.ru,
однако он пытается отправить ее через сервер pupkin.com.
Помогите советом, плз.
P.S. Использовать почтовый сервер провайдера возможности нет.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [Comm] /etc/postfix/transport
2004-10-14 21:42 [Comm] /etc/postfix/transport Oleg K.
@ 2004-10-15 2:51 ` Victor P. Vyatkin
0 siblings, 0 replies; 2+ messages in thread
From: Victor P. Vyatkin @ 2004-10-15 2:51 UTC (permalink / raw)
To: community
Oleg K. пишет:
>Здравствуйте.
>
>Нужно настроить доставку почты postfix'ом с dialup-машины на smtp-сервер.
>Есть два почтовых ящика: user1@site1.ru, user2@site2.ru.
>В /etc/postfix/transport пишу:
>site1.ru smtp:smtp.site1.ru
>site2.ru smtp:smtp.site2.ru
>В /etc/postfix/main.cf указываю путь к БД:
>transport_maps = hash:/etc/postfix/transport
>Делаю:
># postmap /etc/postfix/transport
># postfix reload
>Далее пишу письмо, например, с `from: user1@site1.ru; to: vasya@pupkin.com'.
>По идее, postfix должен теперь доставлять почту на сервер smtp.site1.ru,
>однако он пытается отправить ее через сервер pupkin.com.
>
>Помогите советом, плз.
>
>
Попробуй сказать MTA не проверять MX
/etc/postfix/transport
site1.ru smtp:[smtp.site1.ru]
site2.ru smtp:[smtp.site2.ru]
-
Best regards,
Victor Vyatkin
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2004-10-15 2:51 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-10-14 21:42 [Comm] /etc/postfix/transport Oleg K.
2004-10-15 2:51 ` Victor P. Vyatkin
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