View previous topic :: View next topic |
Author |
Message |
ariesow n00b
Joined: 29 Mar 2007 Posts: 65 Location: Malaysia
|
Posted: Thu Mar 29, 2007 3:41 pm Post subject: Mail Server with POP3 not functioning |
|
|
Dear All,
I have been configuring my mail server for quite some time.
The problem is that i could not receive mail with pop3, but only when SSL is enable, the i can receive mail.
Whenever i receive mail using pop3, these messages will appear and logged in /var/log/messages :
Mar 29 23:37:57 origin xinetd[16511]: START: pop-3 pid=16560 from=192.168.100.3
Mar 29 23:37:57 origin ipop3d[16560]: port 110 service init from 192.168.100.3
Mar 29 23:37:58 origin ipop3d[16560]: Command stream end of file while reading line user=??? host=[192.168.100.3]
Mar 29 23:37:58 origin xinetd[16511]: EXIT: pop-3 status=1 pid=16560 duration=1(sec)
Please help...
Thanks. |
|
Back to top |
|
|
thoughtform l33t
Joined: 24 May 2004 Posts: 600
|
Posted: Thu Mar 29, 2007 5:40 pm Post subject: |
|
|
which pop3 server are you using?
please paste your config file. |
|
Back to top |
|
|
ariesow n00b
Joined: 29 Mar 2007 Posts: 65 Location: Malaysia
|
Posted: Fri Mar 30, 2007 12:53 am Post subject: |
|
|
i am using uw-imap2004g which i use "merge uw-imap" to emerge it.
Below are the settings for my /etc/xinentd.d/ipop3 and /etc/xinetd.d/ipop3s
service pop-3
{
socket_type = stream
wait = no
user = root
server = /usr/sbin/ipop3d
log_on_success += USERID
log_on_failure += USERID
disable = no
}
AND
service pop3s
{
socket_type = stream
wait = no
user = root
server = /usr/sbin/ipop3d
log_on_success += USERID
log_on_failure += USERID
disable = no
}
AND my netstat
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 *:tcpmux *:* LISTEN
tcp 0 0 *:pop3s *:* LISTEN
tcp 0 0 *:pop-3 *:* LISTEN
tcp 0 0 *:imap *:* LISTEN
tcp 0 0 *:10000 *:* LISTEN
tcp 0 0 *:smtp *:* LISTEN
tcp 0 0 *:ssh *:* LISTEN
tcp 0 128 ::ffff:xxx.xx.xx.xx:ssh ::ffff:xxx.xx.xx.x:3006 ESTABLISHED
udp 0 0 *:10000 *:*
udp 0 0 *:bootpc *:*
Active UNIX domain sockets (servers and established)
Proto RefCnt Flags Type State I-Node Path
unix 2 [ ] DGRAM 2811 @/org/kernel/udev/udevd
unix 2 [ ACC ] STREAM LISTENING 7844 /dev/log
unix 3 [ ] STREAM CONNECTED 8443 /dev/log
unix 3 [ ] STREAM CONNECTED 8442
unix 3 [ ] STREAM CONNECTED 8333 /dev/log
unix 3 [ ] STREAM CONNECTED 8332
unix 3 [ ] STREAM CONNECTED 8228 /dev/log
unix 3 [ ] STREAM CONNECTED 8227
unix 3 [ ] STREAM CONNECTED 8071 /dev/log
unix 3 [ ] STREAM CONNECTED 8070
unix 3 [ ] STREAM CONNECTED 8061 /dev/log
unix 3 [ ] STREAM CONNECTED 8060
My MTA is Sendmail.
Please help..... |
|
Back to top |
|
|
DaveArb Guru
Joined: 29 Apr 2004 Posts: 510 Location: Texas, USA
|
Posted: Fri Mar 30, 2007 2:42 pm Post subject: |
|
|
What happens if you try to telnet to the POP port (you type the bold parts)?
$ telnet <mail_server_ip> 110
+OK POP3 <mail_server_fqdn> 2004.89 server ready
USER <your_user_name>
+OK User name accepted, password please
PASS <your_password>
+OK Mailbox open, 0 messages
quit
+OK Sayonara
My /etc/xinetd.d/ipop3:
Code: | service pop-3
{
socket_type = stream
wait = no
user = root
server = /usr/sbin/ipop3d
} |
|
|
Back to top |
|
|
ariesow n00b
Joined: 29 Mar 2007 Posts: 65 Location: Malaysia
|
Posted: Fri Mar 30, 2007 5:10 pm Post subject: |
|
|
DaveArb wrote: | What happens if you try to telnet to the POP port (you type the bold parts)?
$ telnet <mail_server_ip> 110
+OK POP3 <mail_server_fqdn> 2004.89 server ready
USER <your_user_name>
+OK User name accepted, password please
PASS <your_password>
+OK Mailbox open, 0 messages
quit
+OK Sayonara
My /etc/xinetd.d/ipop3:
Code: | service pop-3
{
socket_type = stream
wait = no
user = root
server = /usr/sbin/ipop3d
} |
|
I got this :
+OK POP3 [192.168.100.4] 2004.89 server ready
USER CHOOHOONG
-ERR Unknown AUTHORIZATION state command
all the time...What should i check for this case..? |
|
Back to top |
|
|
DaveArb Guru
Joined: 29 Apr 2004 Posts: 510 Location: Texas, USA
|
Posted: Sat Mar 31, 2007 1:01 am Post subject: |
|
|
Well, according to Mark Crispin, that behavior is by design... http://mailman1.u.washington.edu/pipermail/imap-uw/2006-August/000571.html
If plaintext POP is important to you, it might be time to consider different server software.
The server I used earlier is an older installation that isn't kept up to date, not used for real mail any more. I didn't know this change had been made, sorry about that. |
|
Back to top |
|
|
ariesow n00b
Joined: 29 Mar 2007 Posts: 65 Location: Malaysia
|
Posted: Sat Mar 31, 2007 2:43 am Post subject: |
|
|
DaveArb wrote: | Well, according to Mark Crispin, that behavior is by design... http://mailman1.u.washington.edu/pipermail/imap-uw/2006-August/000571.html
If plaintext POP is important to you, it might be time to consider different server software.
The server I used earlier is an older installation that isn't kept up to date, not used for real mail any more. I didn't know this change had been made, sorry about that. |
Well, no sorry....you did help me out a lot...
Thanks man...
I might shift to postfix and courier-imap...is this good....
Do you have any experience on this..? |
|
Back to top |
|
|
ariesow n00b
Joined: 29 Mar 2007 Posts: 65 Location: Malaysia
|
Posted: Sat Mar 31, 2007 8:03 am Post subject: |
|
|
Is there anyway that i can manually build this UW-IMAP so that it will recognize Plain Text and SSL authentication ? |
|
Back to top |
|
|
|