由 xggabc 在 04-06-2004 18:11 发表:
qmail+vpopmail
我的QMAIL安装好了,但是telnet localhost 25后发送不了邮件,在rcphosts文件中的域名都存在,但mail <...>后回送501错误。
请问如何解决上述QMAIL+VPOPMAIL安装后能正确在互联网上收发信?
由 Snoopy 在 04-06-2004 19:10 发表:
发不了邮件出现什么错误 ?
/home/vpopmail/etc/tcp.smtp里呢 ???
是否有认证?数据库表是否正确,很多问题,可以说得清楚点吗?
And then in the evening light, when the bars of freedom fall
I watch the two of you in the shadows on the wall
How in the darkness steals some of the choices from my hand
Then will I begin to under
由 xggabc 在 04-06-2004 20:40 发表:
问题
#telnet localhost 25
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
220 localhost.localdomain ESMTP Sendmail 8.12.5/8.12.5; Tue, 6 Apr 2004 20:42:41 +0800
helo server
250 localhost.localdomain Hello nisec [127.0.0.1], pleased to meet you
1<[email protected]>
2
3501 5.5.2 Syntax error in parameters scanning "<[email protected]>"
4
5
6
7xgg.com是我在本机下随便加的域名,
8
9
10
11用root时
12
13Trying 127.0.0.1...
14
15Connected to localhost.
16
17Escape character is '^]'.
18
19220 localhost.localdomain ESMTP Sendmail 8.12.5/8.12.5; Tue, 6 Apr 2004 20:44:37 +0800
20
21helo server
22
23250 localhost.localdomain Hello nisec [127.0.0.1], pleased to meet you
24
25mail <root@localhost>
26
27501 5.5.2 Syntax error in parameters scanning "<root@localhost>"
28
29mail <[email protected]>
30
31501 5.5.2 Syntax error in parameters scanning "<[email protected]>"
32
33
34
35/home/vpopmail/etc/tcp.smtp中
36
37是
38
39127.0.0.1:allow,RELAYCLIENT=""
40
41:allow
42
43应该没有错误。
44
45
46
47
48* * *
49
50
51_由 xggabc 在 04-06-2004 20:41 发表:_
52
53
54
55****
56
57
58
59
60
61在mysql库中有root--localhost,xgg--xgg.com等记录
62
63
64
65
66* * *
67
68
69_由 xggabc 在 04-06-2004 21:14 发表:_
70
71
72
73****
74
75
76
77
78
79是不是用qmail必须要去掉sendmail?
80
81怎么样才能实现用qmail+vpopmail在网络中收发邮件?
82
83
84
85
86* * *
87
88
89_由 xggabc 在 04-06-2004 22:18 发表:_
90
91
92
93****
94
95
96
97
98
99是我用错了命令
100
101mail 应该用mail from代替
102
103目前实现了本机下的25 端口传输邮件了
104
105但是要实现网络上传输还是不行?
106
107很急
108
109
110
111
112* * *
113
114
115_由 xggabc 在 04-07-2004 10:25 发表:_
116
117
118
119**原来我用的是sendmail而不是qmail**
120
121
122
123
124
125[root@nisec control]# netstat -na | less
126
127Active Internet connections (servers and established)
128
129Proto Recv-Q Send-Q Local Address Foreign Address State
130
131tcp 0 0 0.0.0.0:32768 0.0.0.0:* LISTEN
132
133tcp 0 0 127.0.0.1:32769 0.0.0.0:* LISTEN
134
135tcp 0 0 127.0.0.1:3306 0.0.0.0:* LISTEN
136
137tcp 0 0 0.0.0.0:139 0.0.0.0:* LISTEN
138
139tcp 0 0 0.0.0.0:110 0.0.0.0:* LISTEN
140
141tcp 0 0 0.0.0.0:143 0.0.0.0:* LISTEN
142
143tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN
144
145tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN
146
147tcp 0 0 0.0.0.0:21 0.0.0.0:* LISTEN
148
149tcp 0 0 192.168.0.130:53 0.0.0.0:* LISTEN
150
151tcp 0 0 127.0.0.1:53 0.0.0.0:* LISTEN
152
153tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN
154
155tcp 0 0 0.0.0.0:25 0.0.0.0:* LISTEN
156
157tcp 0 0 127.0.0.1:953 0.0.0.0:* LISTEN
158
159tcp 0 0 192.168.0.130:22 192.168.0.22:1179 ESTABLISHED
160
161tcp 0 48 192.168.0.130:22 192.168.0.22:1175 ESTABLISHED
162
163udp 0 0 0.0.0.0:32768 0.0.0.0:*
164
165udp 0 0 0.0.0.0:32769 0.0.0.0:*
166
167udp 0 0 192.168.0.130:137 0.0.0.0:*
168
169udp 0 0 0.0.0.0:137 0.0.0.0:*
170
171udp 0 0 192.168.0.130:138 0.0.0.0:*
172
173
174
175但是我用如下:
176
177[root@nisec root]# telnet localhost 25
178
179Trying 127.0.0.1...
180
181Connected to localhost.
182
183Escape character is '^]'.
184
185Connection closed by foreign host.
186
187[root@nisec root]# telnet www.163.com 25
188
189Trying 202.108.36.153...
190
191telnet: connect to address 202.108.36.153: Connection refused
192
193Trying 202.108.36.155...
194
195telnet: connect to address 202.108.36.155: Connection refused
196
197Trying 202.108.36.156...
198
199telnet: connect to address 202.108.36.156: Connection refused
200
201Trying 202.108.36.167...
202
203telnet: connect to address 202.108.36.167: Connection refused <br /</[email protected]></[email protected]></root@localhost></root@localhost></[email protected]></[email protected]>