Gentoo Archives: gentoo-server

From: "A. Khattri" <ajai@××××.net>
To: gentoo-server@l.g.o
Subject: Re: [gentoo-server] how to route outgoing emails through a specific network card or ip
Date: Wed, 23 May 2007 18:54:41
Message-Id: Pine.BSO.4.58.0705231451480.28668@ida.bway.net
In Reply to: Re: [gentoo-server] how to route outgoing emails through a specific network card or ip by widyachacra
1 On Fri, 18 May 2007, widyachacra wrote:
2
3 > how to tell qmail to put all its outgoing mails through this port or ip?
4
5 Couldn't you use smtproutes to do this (i.e. /var/qmail/smtproutes) ?
6
7 man qmail-remote
8
9
10 >
11 > On 5/17/07, Xavier Neys <neysx@g.o> wrote:
12 > >
13 > > rdmurray@××××××××.com wrote:
14 > > > On Thu, 17 May 2007 at 14:42, Xavier Neys wrote:
15 > > >> rdmurray@××××××××.com wrote:
16 > > >>> On Thu, 17 May 2007 at 13:13, Matthias Bethke wrote:
17 > > >>>> the cleanest solution but it should work for now---there's certainly
18 > > a
19 > > >>>> better one if you know qmail well, which I don't.
20 > > >>>
21 > > >>> I doubt that. This is a purely ip level routing
22 > > >>> issue, not something that can be handled at
23 > > >>> the application level unless you are using a smart
24 > > >>> host.
25 > > >>>
26 > > >>> iptables is what the OP needs.
27 > > >>
28 > > >> Not necessarily. If you use your ISP as a smarthost, then you just
29 > > >> define a
30 > > >> route to it via the right interface.
31 > > >
32 > > > I believe I said that: "unless you are using a smarthost". :)
33 > >
34 > > Sorry about that.
35 > > I saw two levels, i.e. "iptables is what the OP needs." as a reply to your
36 > > reply.
37 > > My mistake :)
38 > >
39 > >
40 > > Cheers,
41 > > --
42 > > / Xavier Neys
43 > > \_ Gentoo Documentation Project
44 > > /
45 > > /\ http://www.gentoo.org/doc/en/
46 > >
47 > >
48 > >
49 >
50 >
51 >
52
53 --
54 A
55 --
56 gentoo-server@g.o mailing list