1 |
Oh, qmail, I don't really know how they work |
2 |
for me the best and the easiest are postfix, |
3 |
|
4 |
Perhaps someone else could help you about qmail |
5 |
|
6 |
You can force qmail to use your host file, just install dnsmasq, |
7 |
move your resolv.conf to resolv.orig.conf |
8 |
and create this one: |
9 |
|
10 |
search jasoncarson.ca |
11 |
nameserver 127.0.0.1 |
12 |
|
13 |
in your dnsmasq.conf: |
14 |
resolv-file=/etc/resolv.orig.conf |
15 |
|
16 |
now qmail if they use the dns system, will see properly your host file |
17 |
|
18 |
could you give a piece of your host file ? |
19 |
any 127.0.0.1 line, and any 66.11.182.5 line ? |
20 |
|
21 |
|
22 |
|
23 |
|
24 |
Jason Carson a écrit : |
25 |
>> Push this: |
26 |
>> |
27 |
>> 66.11.182.5 jasoncarson.ca penguin.jasoncarson.ca |
28 |
>> |
29 |
>> in your host file |
30 |
>> remove reference to jasoncarson.ca in the 127.0.0.1 lines |
31 |
>> |
32 |
>> |
33 |
> ok, I tried that and it didn't work. I came across this... |
34 |
> |
35 |
> "qmail never uses /etc/hosts to determine the IP address associated with a |
36 |
> host name." |
37 |
> |
38 |
> ...Which was in the Life with Qmail documentation |
39 |
> ( http://www.lifewithqmail.org/lwq.html ) |
40 |
> |
41 |
> |
42 |
> |
43 |
>> Jason Carson a écrit : |
44 |
>> |
45 |
>>>> try to push your external ip adress in your hosts file for your domain |
46 |
>>>> |
47 |
>>>> |
48 |
>>> My static IP is 66.11.182.5 and my computer is called |
49 |
>>> penguin.jasoncarson.ca so what exactly would I put in /etc/hosts? |
50 |
>>> |
51 |
>>> |
52 |
>>> |
53 |
>>>> On 3/17/08, Jason Carson <jason@×××××××××××.ca> wrote: |
54 |
>>>> |
55 |
>>>> |
56 |
>>>>> Greetings, |
57 |
>>>>> |
58 |
>>>>> When I send an email to myself, in the header information it says the |
59 |
>>>>> following... |
60 |
>>>>> |
61 |
>>>>> |
62 |
>>>>> Return-Path: <jason@×××××××××××.ca> |
63 |
>>>>> Delivered-To: jason@×××××××××××.ca |
64 |
>>>>> Received: (qmail 5901 invoked from network); 16 Mar 2008 23:57:45 |
65 |
>>>>> -0000 |
66 |
>>>>> |
67 |
>>>>> Received: from unknown (HELO jasoncarson.ca) (127.0.0.1) |
68 |
>>>>> by penguin.jasoncarson.ca with SMTP; 16 Mar 2008 23:57:45 -0000 |
69 |
>>>>> |
70 |
>>>>> Received: from 192.168.0.75 |
71 |
>>>>> (SquirrelMail authenticated user jason) |
72 |
>>>>> by jasoncarson.ca with HTTP; |
73 |
>>>>> Sun, 16 Mar 2008 19:57:45 -0400 (EDT) |
74 |
>>>>> Message-ID: <1573.192.168.0.75.1205711865.squirrel@×××××××××××.ca> |
75 |
>>>>> Date: Sun, 16 Mar 2008 19:57:45 -0400 (EDT) |
76 |
>>>>> Subject: Test |
77 |
>>>>> From: "Jason Carson" <jason@×××××××××××.ca> |
78 |
>>>>> To: jason@×××××××××××.ca |
79 |
>>>>> User-Agent: SquirrelMail/1.4.10a |
80 |
>>>>> MIME-Version: 1.0 |
81 |
>>>>> Content-Type: text/plain;charset=iso-8859-1 |
82 |
>>>>> Content-Transfer-Encoding: 8bit |
83 |
>>>>> X-Priority: 3 (Normal) |
84 |
>>>>> Importance: Normal |
85 |
>>>>> |
86 |
>>>>> |
87 |
>>>>> Where it says "Received: from unknown (HELO jasoncarson.ca) |
88 |
>>>>> (127.0.0.1)" |
89 |
>>>>> What do I have to do so it doesn't say "Received: from unknown" but |
90 |
>>>>> instead displays the correct information and IP address instead of |
91 |
>>>>> 127.0.0.1? |
92 |
>>>>> |
93 |
>>>>> I am running qmail 1.03. |
94 |
>>>>> |
95 |
>>>>> Thanks |
96 |
>>>>> |
97 |
>>>>> -- |
98 |
>>>>> gentoo-user@l.g.o mailing list |
99 |
>>>>> |
100 |
>>>>> |
101 |
>>>>> |
102 |
>>>>> |
103 |
>>>> -- |
104 |
>>>> gentoo-user@l.g.o mailing list |
105 |
>>>> |
106 |
>>>> |
107 |
>>>> |
108 |
>>>> |
109 |
>>> |
110 |
>>> |
111 |
>> |
112 |
>> |
113 |
> |
114 |
> |
115 |
> |