From: "Victor P. Vyatkin" <vtor77@list.ru> To: community@altlinux.ru Subject: Re: [Comm] postfix relay Date: Wed, 25 Aug 2004 08:15:56 +0600 Message-ID: <412BF65C.8030404@list.ru> (raw) In-Reply-To: <20040824154926.GA2389@linux.vlink.ru> >[skip] > > >>Покажи какие строки добавил в main.cf для работы transport >> Ответа ты не дал .... >> и покажи >>файл /etc/postfix/transport. >>transport.db сделал после записи маршрута в /etc/postfix/transport ? >> >> > >mydomain.ru smtp:192.168.200.xxx > > верно >потом сделал postmap /etc/postfix/transport, потом reload >postfix'у. > >Не пашет, ругается на то, что relay не разрешен. > > это тоже верно. Но ведь надо сказать самому pistfix работать с механизмом transport , а ты этого не сделал еще с первом посте была дана полная подсказка [user@ns /]$ cat /usr/share/doc/postfix-1.1.12/samples/transport.cf # DO NOT EDIT THIS FILE. EDIT THE MAIN.CF FILE INSTEAD. THE STUFF # HERE JUST SERVES AS AN EXAMPLE. # # This file contains example settings of Postfix configuration # parameters that control the optional transport table lookups. # The transport_maps parameter specifies optional tables with domain # to (transport, nexthop) mappings. See transport(5) for syntax details. # # By default, this feature is disabled. Specify the types of databases ^^^ выключен транспорт по умолчанию # to use. If you use this feature, run "postmap /etc/postfix/transport" # after change, then "postfix reload". # #transport_maps = dbm:/etc/postfix/transport #transport_maps = hash:/etc/postfix/transport #transport_maps = hash:/etc/postfix/transport, nis:transport #transport_maps = hash:/etc/postfix/transport, netinfo:/transport transport_maps = [user@ns /]$ Так вот на будущее читай внимательно доку помогает сильно ;-) Все что тебе сейчас нужно это прописать в mailn.cf строку transport_maps = hash:/etc/postfix/transport service postfix restart и усе. Во время рестарта postfix сам будет делать transport.db . -- Best regards, Victor Vyatkin
next prev parent reply other threads:[~2004-08-25 2:15 UTC|newest] Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top 2004-08-23 8:59 Barabashka 2004-08-23 11:01 ` Victor P. Vyatkin 2004-08-23 11:43 ` Barabashka 2004-08-23 12:02 ` Mike Lykov 2004-08-23 12:18 ` Barabashka 2004-08-24 7:12 ` Victor P. Vyatkin 2004-08-24 15:49 ` Barabashka 2004-08-25 2:15 ` Victor P. Vyatkin [this message] 2004-08-25 5:45 ` Barabashka 2004-08-25 7:57 ` Victor P. Vyatkin 2004-08-24 8:32 ` Artem K. Jouravsky 2004-08-25 3:32 ` Mike Lykov 2004-08-25 5:51 ` Barabashka 2004-08-31 15:44 ` Barabashka
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=412BF65C.8030404@list.ru \ --to=vtor77@list.ru \ --cc=community@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