From: "Eugene Bazhenov" <mad_kot@mail.ru> To: community@altlinux.ru Subject: Re: [Comm] sendmail Q Date: Thu, 3 Oct 2002 16:59:27 +0700 Message-ID: <20021003165927.4bacff69.mad_kot@mail.ru> (raw) In-Reply-To: <20021003103258.7d5e7392.gorev@mailru.com> On Thu, 3 Oct 2002 10:32:58 +0300 Andy Gorev <gorev@mailru.com> wrote: > On Thu, 3 Oct 2002 09:54:23 +0700 > "Eugene Bazhenov" <mad_kot@mail.ru> wrote: > > > > Например, лежит письмо в очереди с адресом назначения user@domain.net > > host domain.net говорит, что > > domain.net mail is handled (pri=10) by mail.domain.net > > А письмо отправляется на relay.mail.net, с адресом назначения > > user@domain.net Вот. > Если relay.mail.net знает что так должно быть, и принимает почту для > домена domain.net, то можно перерутить трафик с помощью > advanced-routing, или iptables. Если вы владелец обоих доменов, то > все решается с помощью MX. Если владелец одного из доменов, то в > virtusertable работает конструкция типа > user1@mydomain.com user2@otherdomain.net У меня ядро 2.2, так что с iptables не получится. А ipchains такого вроде не умеет. Или умеет? К сожалению, я не владелец ни одного из доменов - имена для sendmail у меня резольвит pdnsd. В качестве костыля прописал mail.domain.net альясом к relay.mail.net в /etc/hosts, и разрешил pdnsd туда смотреть. Вроде работает. Только некошерно это как-то. > Для отдельных пользователей есть еще вариант с переписыванием dst > адреса, применяя рулесеты sendmail config. Но это не просто. Можно > запретить sendmail-у консультироваться с NS и брать MX локально, но это > тоже будет огульно, а не для одного адресата. Проще всего на удаленной > стороне настроить форвардинг. Понятно. Тоже не подходит. --- wBW, KOTetc
next prev parent reply other threads:[~2002-10-03 9:59 UTC|newest] Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top 2002-10-01 5:49 Eugene Bazhenov 2002-10-01 7:37 ` Andrey V. Kuleshov 2002-10-01 10:45 ` Andy Gorev 2002-10-01 11:28 ` Andrey V. Kuleshov 2002-10-03 2:54 ` Eugene Bazhenov 2002-10-03 6:24 ` Alexey I. Froloff 2002-10-03 10:02 ` Eugene Bazhenov 2002-10-03 13:33 ` Sergey Vlasov 2002-10-04 3:28 ` Eugene Bazhenov 2002-10-03 7:32 ` Andy Gorev 2002-10-03 7:54 ` [Comm] Gnome2 + Evolution Danil V. Glova 2002-10-03 9:59 ` Eugene Bazhenov [this message] 2002-10-03 11:33 ` [Comm] sendmail Q Andrey V. Kuleshov 2002-10-03 13:42 ` Serhii Hlodin 2002-10-04 2:48 ` Eugene Bazhenov 2002-10-04 3:23 ` Eugene Bazhenov 2002-10-04 10:37 ` Serhii Hlodin 2002-10-04 10:45 ` Serhii Hlodin
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=20021003165927.4bacff69.mad_kot@mail.ru \ --to=mad_kot@mail.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