Cannot download email. Cannot download IMAP folders. Suse 9.2 & Postfix 2.1.5

Cannot download email. Cannot download IMAP folders. Suse 9.2 & Postfix 2.1.5

am 16.07.2005 13:06:55 von iapetos2

Hello to everybody and thank you in advance for any help you can
provide.
I have set up a small office installation having a DMZ using ipcop ver
1.4.6
The red interface is my public internet address (static ip) and I have
also registered an Internet domain name with this static ip.
The green interface is my internal (protected) network and its clients
have Internet access through the proxy server (squid) that bundles
with ipcop.
In the DMZ (orange) network I have put a Suse Linux 9.2 professional
which is both my web and mail server. For web server I use Apache ver2
and for mail server I use postfix version 2.1.5. I forwarded the 80
port for my web server to the external interface (public ip address)
and it works fine with my registered domain (www.mydomain.com). I
forwarded the ports 25 for SMTP (and later port 143 for
external/public IMAP access). I've also forwarded a port for SSH
access to my server and it works fine. My Internet domain can receive
emails and I can relay and send emails through my server(from local
LAN at first and later for testing purposes from Internet also) to the
outside world. So far so good, but the problem that I cannot solve is
that I CANNOT download/receive ANY mail from ANY client inside or
outside my local network using IMAP. First I used outlook express
since I have windows clients. I configured outlook express for IMAP
access on port 143 but when i try to "download" IMAP folders it keeps
telling me to check my user name and password, authentication failed,
error Code: 800cccd1. I thought that it might be outlook and I tried
Thunderbird also, but with no success..the error message was the same:
authentication failed. I use IMAP without SSL. I tried several
modifications but without success. I put one public ip into mynetworks
variable and i could relay email not only from my local network but
from Internet also. But i COULD NOT authenticate through IMAP!! I
could "connect" to 143 port, i could telnet to it(i forwarded it
through ipcop) but i couldn't authenticate through it. I used both
outlook express and thunderbird without success, having the same error
message: authentication failed. The user names and passwords from my
users are definitely right because they can even ssh into the server
without problems. The server accepts and relays emails and i can see
them into the users mailboxes but i cannot download them. I also put
some clients to the Host file in linux just in case the problem was
that the server couldn't resolve their names since it uses the DNS
servers from my ISP because its in the orange zone and
cannot/shouldn't use ipcop for local DNS queries. No luck also..the
problem persists. I looked in google for something similar but i
didn't find anything.
I also use webmin for configuration.
I know that my problem looks like to be an IMAP one. I also post it at
mailing.postfix.users , alt.os.linux.suse comp.mail.misc and
alt.linux.suse because somebody might have faced such a situation and
could help me. Moreover I use Suse distro with postfix...I apologize
for the cross-posting. I also hope that the German fellows in
alt.linux.suse will forgive me for posting this in English since i
don't know German. :-)


This is my postfix's main.cf file:

readme_directory = /usr/share/doc/packages/postfix/README_FILES
biff = no
canonical_maps = hash:/etc/postfix/canonical
virtual_maps = hash:/etc/postfix/virtual
relocated_maps = hash:/etc/postfix/relocated
transport_maps = hash:/etc/postfix/transport
sender_canonical_maps = hash:/etc/postfix/sender_canonical
masquerade_classes = envelope_sender, header_sender, header_recipient
program_directory = /usr/lib/postfix
masquerade_domains = $mydomain
mydestination = $myhostname, localhost.$mydomain, $mydomain
defer_transports =
disable_dns_lookups = no
smtpd_sender_restrictions = hash:/etc/postfix/access
strict_rfc821_envelopes = no
smtpd_recipient_restrictions =
permit_mynetworks,reject_unauth_destination
smtp_sasl_auth_enable = no
smtpd_sasl_auth_enable = no
smtpd_use_tls = no
smtp_use_tls = no
alias_maps = hash:/etc/aliases
mailbox_size_limit = 5000000000
message_size_limit = 3240000
myorigin = mydomain.com
mynetworks = 192.168.0.0/16, 212.xx.xxx.xx/32, 127.0.0.0/8
myhostname = mail.mydomain.com
mydomain = mydomain.com

What is wrong?....
Also here is the mail.log file, part of it.

.......
Jul 9 23:25:32 mail postfix/postfix-script: starting the Postfix mail
system
Jul 9 23:25:32 mail postfix/master[9818]: daemon started -- version
2.1.5
Jul 9 23:25:47 mail postfix/smtpd[9875]: connect from
mail5-static.acn.gr[213.5.41.16]
Jul 9 23:25:47 mail postfix/smtpd[9875]: 8F57652E2A:
client=mail5-static.acn.gr[213.5.41.16]
Jul 9 23:25:47 mail postfix/cleanup[9878]: 8F57652E2A:
message-id=<42D0321B.3040302@acn.gr>
Jul 9 23:25:47 mail postfix/smtpd[9875]: disconnect from
mail5-static.acn.gr[213.5.41.16]
Jul 9 23:25:47 mail postfix/qmgr[9820]: 8F57652E2A:
from=, size=1043, nrcpt=1 (queue active)
Jul 9 23:25:47 mail postfix/local[9879]: 8F57652E2A: to= mydomain.com >, relay=local, delay=0, status=sent (delivered to
mailbox)

(This shows that i can accept mail from internet mail servers
<213.5.41.16>)

Jul 9 23:25:47 mail postfix/qmgr[9820]: 8F57652E2A: removed
Jul 9 23:27:22 mail postfix/smtpd[9875]: connect from
unknown[192.168.1.1]
Jul 9 23:27:22 mail postfix/smtpd[9875]: 30D2E52E2A:
client=unknown[192.168.1.1]
Jul 9 23:27:22 mail postfix/cleanup[9878]: 30D2E52E2A:
message-id=<001001c584c4$34b4d590$0201a8c0@fileserver>
Jul 9 23:27:22 mail postfix/smtpd[9875]: disconnect from
unknown[192.168.1.1]
Jul 9 23:27:22 mail postfix/qmgr[9820]: 30D2E52E2A:
from=, size=651, nrcpt=1 (queue active)
Jul 9 23:27:22 mail postfix/local[9879]: 30D2E52E2A: to= mydomain.com >, relay=local, delay=0, status=sent (delivered to
mailbox)

(This shows that i can send emails through my mailserver. The ip
192.168.1.1 is my ipcop firewall.)


Now the problematic logs..

Jul 15 00:52:05 mail imapd[5029]: imap service init from 192.168.1.2
Jul 15 00:52:05 mail imapd[5029]: Command stream end of file, while
reading line user=??? host=[192.168.1.2]
Jul 15 00:52:21 mail imapd[5030]: imap service init from 192.168.1.2
Jul 15 00:52:21 mail imapd[5030]: Command stream end of file, while
reading line user=??? host=[192.168.1.2]
Jul 15 00:52:40 mail imapd[5031]: imap service init from 192.168.1.2
Jul 15 00:55:43 mail imapd[5031]: Command stream end of file, while
reading line user=root host=[192.168.1.2]
Jul 15 01:20:44 mail imapd[5206]: imap service init from 192.168.1.2
Jul 15 01:21:25 mail imapd[5206]: Command stream end of file, while
reading line user=user1 host=[192.168.1.2]
Jul 15 01:23:03 mail imapd[5207]: imap service init from 192.168.1.2
Jul 15 01:23:14 mail imapd[5207]: Command stream end of file, while
reading line user=user2 host=[192.168.1.2]

(192.168.1.2 is a local windows pc, i used 2 user accounts on the same
pc)


Jul 15 02:35:44 mail postfix/smtpd[6854]: warning: smtpd_peer_init:
213.5.41.23: hostname noname-213.5.41.23.acn.gr verification failed:
Name or service not known
Jul 15 02:35:44 mail postfix/smtpd[6854]: connect from
unknown[213.5.41.23]
Jul 15 02:35:44 mail postfix/smtpd[6854]: 3F78658078:
client=unknown[213.5.41.23]
Jul 15 02:35:44 mail postfix/cleanup[6857]: 3F78658078:
message-id=<42D6F60F.9020106@acn.gr>
Jul 15 02:35:44 mail postfix/smtpd[6854]: disconnect from
unknown[213.5.41.23]
Jul 15 02:35:44 mail postfix/qmgr[6793]: 3F78658078:
from=, size=1060, nrcpt=1 (queue active)
Jul 15 02:35:44 mail postfix/local[6858]: 3F78658078:
to=, relay=local, delay=0, status=sent (delivered
to mailbox)
Jul 15 02:35:44 mail postfix/qmgr[6793]: 3F78658078: removed
Jul 15 02:35:58 mail postfix/smtpd[6854]: warning: smtpd_peer_init:
213.5.41.23: hostname noname-213.5.41.23.acn.gr verification failed:
Name or service not known
Jul 15 02:35:58 mail postfix/smtpd[6854]: connect from
unknown[213.5.41.23]
Jul 15 02:35:58 mail postfix/smtpd[6854]: EF90358078:
client=unknown[213.5.41.23]
Jul 15 02:35:59 mail postfix/cleanup[6857]: EF90358078:
message-id=<42D6F61E.2080106@acn.gr>
Jul 15 02:35:59 mail postfix/smtpd[6854]: disconnect from
unknown[213.5.41.23]
Jul 15 02:35:59 mail postfix/qmgr[6793]: EF90358078:
from=, size=1058, nrcpt=1 (queue active)
Jul 15 02:35:59 mail postfix/local[6858]: EF90358078: to= mydomain.com >, relay=local, delay=1, status=sent (delivered to
mailbox)
Jul 15 02:35:59 mail postfix/qmgr[6793]: EF90358078: removed
Jul 15 02:37:08 mail postfix/smtpd[6854]: connect from
unknown[192.168.1.1]
Jul 15 02:37:09 mail postfix/smtpd[6854]: 030ED58078:
client=unknown[192.168.1.1]
Jul 15 02:37:09 mail postfix/cleanup[6857]: 030ED58078:
message-id=<000001c588cc$7ff2c650$0201a8c0@fileserver>
Jul 15 02:37:09 mail postfix/qmgr[6793]: 030ED58078: from= mydomain.com >, size=662, nrcpt=1 (queue active)
Jul 15 02:37:09 mail postfix/smtpd[6854]: disconnect from
unknown[192.168.1.1]
Jul 15 02:37:10 mail postfix/smtp[6868]: 030ED58078:
to=, relay=mailslb.acn.gr[213.5.41.10], delay=2,
status=sent (250 ok 1121384010 qp 15114)

(Successfully sends and accepts mail...)

More problematic logs..

Jul 15 02:37:12 mail imapd[6869]: imap service init from 192.168.1.2
Jul 15 02:37:39 mail imapd[6869]: Command stream end of file, while
reading line user=user2 host=[192.168.1.2]
Jul 15 02:38:17 mail imapd[6870]: imap service init from 192.168.1.2
Jul 15 02:39:02 mail imapd[6870]: Command stream end of file, while
reading line user=user1 host=[192.168.1.2]
Jul 15 02:39:17 mail postfix/smtpd[6871]: connect from
unknown[192.168.1.1]
Jul 15 02:39:17 mail postfix/smtpd[6871]: 6B79758078:
client=unknown[192.168.1.1]
Jul 15 02:39:17 mail postfix/cleanup[6872]: 6B79758078:
message-id=<000401c588cc$cc7bf9b0$0201a8c0@fileserver>
Jul 15 02:39:17 mail postfix/qmgr[6793]: 6B79758078:
from=, size=664, nrcpt=1 (queue active)
Jul 15 02:39:17 mail postfix/smtpd[6871]: disconnect from
unknown[192.168.1.1]
Jul 15 02:39:18 mail postfix/smtp[6873]: 6B79758078:
to=, relay=mailslb.acn.gr[213.5.41.10], delay=1,
status=sent (250 ok 1121384138 qp 16286)
Jul 15 02:39:18 mail postfix/qmgr[6793]: 6B79758078: removed
Jul 15 02:39:44 mail postfix/smtpd[6871]: warning: smtpd_peer_init:
213.5.41.23: hostname noname-213.5.41.23.acn.gr verification failed:
Name or service not known
Jul 15 02:39:44 mail postfix/smtpd[6871]: connect from
unknown[213.5.41.23]
Jul 15 02:39:44 mail postfix/smtpd[6871]: D06B758078:
client=unknown[213.5.41.23]
Jul 15 02:39:44 mail postfix/cleanup[6872]: D06B758078:
message-id=<42D6F700.5030305@acn.gr>
Jul 15 02:39:44 mail postfix/smtpd[6871]: disconnect from
unknown[213.5.41.23]
Jul 15 02:39:44 mail postfix/qmgr[6793]: D06B758078:
from=, size=1223, nrcpt=1 (queue active)
Jul 15 02:39:44 mail postfix/local[6874]: D06B758078:
to=, relay=local, delay=0, status=sent (delivered
to mailbox)
Jul 15 02:39:44 mail postfix/qmgr[6793]: D06B758078: removed
Jul 15 02:39:57 mail imapd[6875]: imap service init from 192.168.1.2
Jul 15 02:40:09 mail imapd[6875]: Command stream end of file, while
reading line user=user1 host=[192.168.1.2]
Jul 15 02:40:15 mail imapd[6876]: imap service init from 192.168.1.2
Jul 15 02:40:21 mail imapd[6876]: Command stream end of file, while
reading line user=user1 host=[192.168.1.2]
Jul 15 02:41:44 mail imapd[6877]: imap service init from 192.168.1.2
Jul 15 02:41:49 mail imapd[6877]: Command stream end of file, while
reading line user=root host=[192.168.1.2]
Jul 15 02:42:19 mail imapd[6878]: imap service init from 192.168.1.2
Jul 15 02:42:30 mail imapd[6878]: Command stream end of file, while
reading line user=root host=[192.168.1.2]
Jul 15 02:42:52 mail imapd[6879]: imap service init from 192.168.1.2
Jul 15 02:43:00 mail imapd[6879]: Command stream end of file, while
reading line user=root host=[192.168.1.2]
Jul 15 02:43:43 mail postfix/smtpd[6880]: warning: smtpd_peer_init:
213.5.41.23: hostname noname-213.5.41.23.acn.gr verification failed:
Name or service not known
Jul 15 02:43:43 mail postfix/smtpd[6880]: connect from
unknown[213.5.41.23]
Jul 15 02:43:43 mail postfix/smtpd[6880]: F39ED58078:
client=unknown[213.5.41.23]
Jul 15 02:43:44 mail postfix/cleanup[6883]: F39ED58078:
message-id=<42D6F346.2080604@acn.gr>
Jul 15 02:43:44 mail postfix/smtpd[6880]: disconnect from
unknown[213.5.41.23]
Jul 15 02:43:44 mail postfix/qmgr[6793]: F39ED58078:
from=, size=1052, nrcpt=1 (queue active)
Jul 15 02:43:44 mail postfix/local[6884]: F39ED58078:
to=, relay=local, delay=1, status=sent (delivered
to mailbox)
Jul 15 02:43:44 mail postfix/qmgr[6793]: F39ED58078: removed
Jul 15 02:55:35 mail imapd[6909]: imap service init from 192.168.1.2
Jul 15 02:56:14 mail imapd[6909]: Command stream end of file, while
reading line user=root host=[192.168.1.2]
Jul 15 02:56:52 mail imapd[6910]: imap service init from 192.168.1.2
Jul 15 02:56:57 mail imapd[6910]: Command stream end of file, while
reading line user=root host=[192.168.1.2]
Jul 15 02:57:02 mail imapd[6911]: imap service init from 192.168.1.2
Jul 15 02:57:07 mail imapd[6911]: Command stream end of file, while
reading line user=root host=[192.168.1.2]
Jul 15 03:03:38 mail postfix/postfix-script: refreshing the Postfix
mail system
Jul 15 03:03:38 mail postfix/master[6791]: reload configuration
Jul 15 03:03:54 mail postfix/postfix-script: stopping the Postfix mail
system
Jul 15 03:03:54 mail postfix/master[6791]: terminating on signal 15

...................

(Now i forwarded 143 port and i could relay email from my wan ip. I
put it in my mynetworks variable)

from= to= proto=ESMTP helo=
Jul 15 03:25:58 mail postfix/smtpd[7859]: disconnect from
somebody-x-grxx.static-cust.xxx.gr[212.xx.xxx.xx]
Jul 15 06:37:15 mail postfix/smtpd[8443]: connect from
NK219-91-99-173.adsl.dynamic.apol.com.tw[219.91.99.173]
Jul 15 06:39:17 mail postfix/smtpd[8443]: NOQUEUE: reject: RCPT from
NK219-91-99-173.adsl.dynamic.apol.com.tw[219.91.99.173]: 554
: Relay access denied;
from= to= proto=SMTP
helo=<212.xx.xxx.xx>
Jul 15 06:39:17 mail postfix/smtpd[8443]: lost connection after RCPT
from NK219-91-99-173.adsl.dynamic.apol.com.tw[219.91.99.173]
Jul 15 06:39:17 mail postfix/smtpd[8443]: disconnect from
NK219-91-99-173.adsl.dynamic.apol.com.tw[219.91.99.173]
Jul 15 10:18:50 mail imapd[8801]: imap service init from 192.168.1.3
Jul 15 10:20:21 mail imapd[8801]: Command stream end of file, while
reading line user=user2 host=[192.168.1.3]
Jul 15 10:21:14 mail postfix/smtpd[8802]: warning: smtpd_peer_init:
213.5.41.23: hostname noname-213.5.41.23.acn.gr verification failed:
Name or service not known
Jul 15 10:21:14 mail postfix/smtpd[8802]: connect from
unknown[213.5.41.23]
Jul 15 10:21:14 mail postfix/smtpd[8802]: 2ED5B52E0A:
client=unknown[213.5.41.23]
Jul 15 10:21:14 mail postfix/cleanup[8805]: 2ED5B52E0A:
message-id=<000801c58915$d2cf80e0$0301a8c0@user1>
Jul 15 10:21:14 mail postfix/smtpd[8802]: disconnect from
unknown[213.5.41.23]
Jul 15 10:21:14 mail postfix/qmgr[7418]: 2ED5B52E0A:
from=, size=1839, nrcpt=1 (queue active)
Jul 15 10:21:14 mail postfix/local[8806]: 2ED5B52E0A:
to=, relay=local, delay=0, status=sent (delivered
to mailbox)
Jul 15 10:21:14 mail postfix/qmgr[7418]: 2ED5B52E0A: removed
Jul 15 12:06:36 mail imapd[8973]: imap service init from 192.168.1.3
Jul 15 12:08:04 mail imapd[8974]: imap service init from 192.168.1.3
Jul 15 12:08:16 mail imapd[8974]: Missing command before
authentication host=[192.168.1.3]
Jul 15 12:08:20 mail last message repeated 2 times
Jul 15 12:08:21 mail imapd[8974]: Null command before authentication
host=[192.168.1.3]
Jul 15 12:08:25 mail imapd[8974]: Missing command before
authentication host=[192.168.1.3]
Jul 15 12:08:31 mail imapd[8974]: Missing command before
authentication host=[192.168.1.3]
Jul 15 12:08:31 mail imapd[8974]: Null command before authentication
host=[192.168.1.3]
Jul 15 12:08:32 mail imapd[8974]: Null command before authentication
host=[192.168.1.3]
Jul 15 12:08:49 mail imapd[8973]: Command stream end of file, while
reading line user=user2 host=[192.168.1.3]
Jul 15 12:08:55 mail imapd[8975]: imap service init from 192.168.1.3
Jul 15 12:09:00 mail imapd[8975]: Command stream end of file, while
reading line user=user2 host=[192.168.1.3]
Jul 15 12:09:13 mail imapd[8974]: Command stream end of file, while
flushing line user=??? host=[192.168.1.3]
Jul 15 19:43:50 mail postfix/postfix-script: refreshing the Postfix
mail system
Jul 15 19:43:50 mail postfix/master[7416]: reload configuration
Jul 15 19:46:12 mail postfix/smtpd[10086]: connect from
somebody-x-grxx.static-cust.xxx.gr[212.xx.xxx.xx]
Jul 15 19:46:18 mail postfix/smtpd[10086]: D442752E0A:
client=somebody-x-grxx.static-cust.xxx.gr[212.xx.xxx.xx]
Jul 15 19:46:19 mail postfix/cleanup[10089]: D442752E0A:
message-id=<002201c5895c$45c2ad70$2aae59d4@ATHLON>
Jul 15 19:46:19 mail postfix/qmgr[10009]: D442752E0A:
from=, size=1367, nrcpt=1 (queue active)
Jul 15 19:46:19 mail postfix/smtpd[10086]: 9DD9D57F6F:
client=somebody-x-grxx.static-cust.xxx.gr[212.xx.xxx.xx]
Jul 15 19:46:19 mail postfix/cleanup[10089]: 9DD9D57F6F:
message-id=<002301c5895c$4632ad50$2aae59d4@ATHLON>
Jul 15 19:46:19 mail postfix/qmgr[10009]: 9DD9D57F6F:
from=, size=1363, nrcpt=1 (queue active)
Jul 15 19:46:20 mail postfix/smtpd[10086]: disconnect from
somebody-x-grxx.static-cust.xxx.gr[212.xx.xxx.xx]
Jul 15 19:46:20 mail postfix/smtp[10091]: 9DD9D57F6F:
to=, relay=mailslb.acn.gr[213.5.41.10], delay=1,
status=sent (250 ok 1121445775 qp 1679)
Jul 15 19:46:20 mail postfix/qmgr[10009]: 9DD9D57F6F: removed
Jul 15 19:46:20 mail postfix/smtp[10090]: D442752E0A:
to=, relay=mailslb.acn.gr[213.5.41.10], delay=2,
status=sent (250 ok 1121445776 qp 19023)
Jul 15 19:46:20 mail postfix/qmgr[10009]: D442752E0A: removed
Jul 15 20:04:32 mail imapd[10117]: imap service init from
212.xx.xxx.xx
Jul 15 20:06:04 mail imapd[10117]: Command stream end of file, while
reading line user=company.com/root
host=somebody-x-grxx.static-cust.xxx.gr [212.xx.xxx.xx]
Jul 15 21:24:42 mail imapd[10489]: imap service init from
212.xx.xxx.xx
Jul 15 21:28:14 mail imapd[10489]: Autologout user=user2
host=somebody-x-grxx.static-cust.xxx.gr [212.xx.xxx.xx]
Jul 15 21:36:58 mail imapd[10513]: imap service init from
212.xx.xxx.xx
Jul 15 21:39:56 mail imapd[10513]: Logout user=root
host=somebody-x-grxx.static-cust.xxx.gr [212.xx.xxx.xx]
Jul 15 21:40:32 mail imapd[10514]: imap service init from
212.xx.xxx.xx
Jul 15 21:44:05 mail imapd[10514]: Autologout user=user1
host=somebody-x-grxx.static-cust.xxx.gr [212.xx.xxx.xx]
Jul 15 21:49:38 mail imapd[10617]: imap service init from
212.xx.xxx.xx
Jul 15 21:49:46 mail imapd[10617]: Logout user=user1
host=somebody-x-grxx.static-cust.xxx.gr [212.xx.xxx.xx]
Jul 15 21:53:54 mail imapd[10927]: imap service init from
212.xx.xxx.xx
Jul 15 21:57:12 mail postfix/master[7416]: terminating on signal 15
Jul 15 21:58:40 mail postfix/postfix-script: starting the Postfix mail
system
Jul 15 21:58:40 mail postfix/master[4317]: daemon started -- version
2.1.5
Jul 15 22:00:15 mail imapd[4634]: imap service init from 212.xx.xxx.xx
Jul 15 22:00:42 mail imapd[4634]: Logout user=user1
host=athlon.company.com [212.xx.xxx.xx]
Jul 15 22:01:36 mail imapd[4635]: imap service init from 212.xx.xxx.xx
Jul 15 22:01:46 mail imapd[4635]: Logout user= user1
host=athlon.company.com [212.xx.xxx.xx]
Jul 15 22:30:03 mail imapd[4691]: imap service init from 62.190.95.146
Jul 15 22:30:05 mail imapd[4691]: Command stream end of file, while
reading line user=??? host=int2.blbw.co.uk [62.190.95.146]
Jul 15 22:40:40 mail postfix/postfix-script: refreshing the Postfix
mail system
Jul 15 22:40:40 mail postfix/master[4317]: reload configuration
Jul 15 22:41:10 mail postfix/postfix-script: refreshing the Postfix
mail system
Jul 15 22:41:10 mail postfix/master[4317]: reload configuration

END of logs..

The strange thing is the Logout and Autologout user...Why? Is ipcop
the problem??
Does it break the connection between the server and the clients?? I
don't think so because i can telnet 143 port without problem...and the
port forwarding is ok..

The ips that i didn't "masked" like
NK219-91-99-173.adsl.dynamic.apol.com.tw[219.91.99.173]
are probably spammers trying to use my server as an open relay.

Any help would be very appreciated cause i don't know what to do and i
don't want to use alternatives like send mail(since postfix is much
better) and POP3 instead of IMAP.

P.S.
In the near future i would like to make my server to relay email from
the Internet but only from authenticated users. How can i do this?
Without SSL for start.
Also is there any better way to tell the server from which specific
internet ip to relay mail for? Better way than write it into
mynetworks.

Many thanks in advance.

Nestor

Re: Cannot download email. Cannot download IMAP folders. Suse 9.2 & Postfix 2.1.5

am 16.07.2005 14:00:37 von Chris Dykes

"Nestor" wrote in message
news:6487963a.0507160306.12ac74dd@posting.google.com...
> Hello to everybody and thank you in advance for any help you can
> provide.
> I have set up a small office installation having a DMZ using ipcop ver
> 1.4.6
> The red interface is my public internet address (static ip) and I have
> also registered an Internet domain name with this static ip.
> The green interface is my internal (protected) network and its clients
> have Internet access through the proxy server (squid) that bundles
> with ipcop.
> In the DMZ (orange) network I have put a Suse Linux 9.2 professional
> which is both my web and mail server. For web server I use Apache ver2
> and for mail server I use postfix version 2.1.5. I forwarded the 80
> port for my web server to the external interface (public ip address)
> and it works fine with my registered domain (www.mydomain.com). I
> forwarded the ports 25 for SMTP (and later port 143 for
> external/public IMAP access). I've also forwarded a port for SSH
> access to my server and it works fine. My Internet domain can receive
> emails and I can relay and send emails through my server(from local
> LAN at first and later for testing purposes from Internet also) to the
> outside world. So far so good, but the problem that I cannot solve is
> that I CANNOT download/receive ANY mail from ANY client inside or
> outside my local network using IMAP. First I used outlook express
> since I have windows clients. I configured outlook express for IMAP
> access on port 143 but when i try to "download" IMAP folders it keeps
> telling me to check my user name and password, authentication failed,
> error Code: 800cccd1. I thought that it might be outlook and I tried
> Thunderbird also, but with no success..the error message was the same:
> authentication failed. I use IMAP without SSL. I tried several
> modifications but without success. I put one public ip into mynetworks
> variable and i could relay email not only from my local network but
> from Internet also. But i COULD NOT authenticate through IMAP!! I
> could "connect" to 143 port, i could telnet to it(i forwarded it
> through ipcop) but i couldn't authenticate through it. I used both
> outlook express and thunderbird without success, having the same error
> message: authentication failed. The user names and passwords from my
> users are definitely right because they can even ssh into the server
> without problems. The server accepts and relays emails and i can see
> them into the users mailboxes but i cannot download them. I also put
> some clients to the Host file in linux just in case the problem was
> that the server couldn't resolve their names since it uses the DNS
> servers from my ISP because its in the orange zone and
> cannot/shouldn't use ipcop for local DNS queries. No luck also..the
> problem persists. I looked in google for something similar but i
> didn't find anything.
> I also use webmin for configuration.
> I know that my problem looks like to be an IMAP one. I also post it at
> mailing.postfix.users , alt.os.linux.suse comp.mail.misc and
> alt.linux.suse because somebody might have faced such a situation and
> could help me. Moreover I use Suse distro with postfix...I apologize
> for the cross-posting. I also hope that the German fellows in
> alt.linux.suse will forgive me for posting this in English since i
> don't know German. :-)
>
>
> This is my postfix's main.cf file:
>
> readme_directory = /usr/share/doc/packages/postfix/README_FILES
> biff = no
> canonical_maps = hash:/etc/postfix/canonical
> virtual_maps = hash:/etc/postfix/virtual
> relocated_maps = hash:/etc/postfix/relocated
> transport_maps = hash:/etc/postfix/transport
> sender_canonical_maps = hash:/etc/postfix/sender_canonical
> masquerade_classes = envelope_sender, header_sender, header_recipient
> program_directory = /usr/lib/postfix
> masquerade_domains = $mydomain
> mydestination = $myhostname, localhost.$mydomain, $mydomain
> defer_transports =
> disable_dns_lookups = no
> smtpd_sender_restrictions = hash:/etc/postfix/access
> strict_rfc821_envelopes = no
> smtpd_recipient_restrictions =
> permit_mynetworks,reject_unauth_destination
> smtp_sasl_auth_enable = no
> smtpd_sasl_auth_enable = no
> smtpd_use_tls = no
> smtp_use_tls = no
> alias_maps = hash:/etc/aliases
> mailbox_size_limit = 5000000000
> message_size_limit = 3240000
> myorigin = mydomain.com
> mynetworks = 192.168.0.0/16, 212.xx.xxx.xx/32, 127.0.0.0/8
> myhostname = mail.mydomain.com
> mydomain = mydomain.com
>
> What is wrong?....
> Also here is the mail.log file, part of it.
>
> ......
> Jul 9 23:25:32 mail postfix/postfix-script: starting the Postfix mail
> system
> Jul 9 23:25:32 mail postfix/master[9818]: daemon started -- version
> 2.1.5
> Jul 9 23:25:47 mail postfix/smtpd[9875]: connect from
> mail5-static.acn.gr[213.5.41.16]
> Jul 9 23:25:47 mail postfix/smtpd[9875]: 8F57652E2A:
> client=mail5-static.acn.gr[213.5.41.16]
> Jul 9 23:25:47 mail postfix/cleanup[9878]: 8F57652E2A:
> message-id=<42D0321B.3040302@acn.gr>
> Jul 9 23:25:47 mail postfix/smtpd[9875]: disconnect from
> mail5-static.acn.gr[213.5.41.16]
> Jul 9 23:25:47 mail postfix/qmgr[9820]: 8F57652E2A:
> from=, size=1043, nrcpt=1 (queue active)
> Jul 9 23:25:47 mail postfix/local[9879]: 8F57652E2A: to= > mydomain.com >, relay=local, delay=0, status=sent (delivered to
> mailbox)
>
> (This shows that i can accept mail from internet mail servers
> <213.5.41.16>)
>
> Jul 9 23:25:47 mail postfix/qmgr[9820]: 8F57652E2A: removed
> Jul 9 23:27:22 mail postfix/smtpd[9875]: connect from
> unknown[192.168.1.1]
> Jul 9 23:27:22 mail postfix/smtpd[9875]: 30D2E52E2A:
> client=unknown[192.168.1.1]
> Jul 9 23:27:22 mail postfix/cleanup[9878]: 30D2E52E2A:
> message-id=<001001c584c4$34b4d590$0201a8c0@fileserver>
> Jul 9 23:27:22 mail postfix/smtpd[9875]: disconnect from
> unknown[192.168.1.1]
> Jul 9 23:27:22 mail postfix/qmgr[9820]: 30D2E52E2A:
> from=, size=651, nrcpt=1 (queue active)
> Jul 9 23:27:22 mail postfix/local[9879]: 30D2E52E2A: to= > mydomain.com >, relay=local, delay=0, status=sent (delivered to
> mailbox)
>
> (This shows that i can send emails through my mailserver. The ip
> 192.168.1.1 is my ipcop firewall.)
>
>
> Now the problematic logs..
>
> Jul 15 00:52:05 mail imapd[5029]: imap service init from 192.168.1.2
> Jul 15 00:52:05 mail imapd[5029]: Command stream end of file, while
> reading line user=??? host=[192.168.1.2]
> Jul 15 00:52:21 mail imapd[5030]: imap service init from 192.168.1.2
> Jul 15 00:52:21 mail imapd[5030]: Command stream end of file, while
> reading line user=??? host=[192.168.1.2]
> Jul 15 00:52:40 mail imapd[5031]: imap service init from 192.168.1.2
> Jul 15 00:55:43 mail imapd[5031]: Command stream end of file, while
> reading line user=root host=[192.168.1.2]
> Jul 15 01:20:44 mail imapd[5206]: imap service init from 192.168.1.2
> Jul 15 01:21:25 mail imapd[5206]: Command stream end of file, while
> reading line user=user1 host=[192.168.1.2]
> Jul 15 01:23:03 mail imapd[5207]: imap service init from 192.168.1.2
> Jul 15 01:23:14 mail imapd[5207]: Command stream end of file, while
> reading line user=user2 host=[192.168.1.2]
>
> (192.168.1.2 is a local windows pc, i used 2 user accounts on the same
> pc)
>
>
> Jul 15 02:35:44 mail postfix/smtpd[6854]: warning: smtpd_peer_init:
> 213.5.41.23: hostname noname-213.5.41.23.acn.gr verification failed:
> Name or service not known
> Jul 15 02:35:44 mail postfix/smtpd[6854]: connect from
> unknown[213.5.41.23]
> Jul 15 02:35:44 mail postfix/smtpd[6854]: 3F78658078:
> client=unknown[213.5.41.23]
> Jul 15 02:35:44 mail postfix/cleanup[6857]: 3F78658078:
> message-id=<42D6F60F.9020106@acn.gr>
> Jul 15 02:35:44 mail postfix/smtpd[6854]: disconnect from
> unknown[213.5.41.23]
> Jul 15 02:35:44 mail postfix/qmgr[6793]: 3F78658078:
> from=, size=1060, nrcpt=1 (queue active)
> Jul 15 02:35:44 mail postfix/local[6858]: 3F78658078:
> to=, relay=local, delay=0, status=sent (delivered
> to mailbox)
> Jul 15 02:35:44 mail postfix/qmgr[6793]: 3F78658078: removed
> Jul 15 02:35:58 mail postfix/smtpd[6854]: warning: smtpd_peer_init:
> 213.5.41.23: hostname noname-213.5.41.23.acn.gr verification failed:
> Name or service not known
> Jul 15 02:35:58 mail postfix/smtpd[6854]: connect from
> unknown[213.5.41.23]
> Jul 15 02:35:58 mail postfix/smtpd[6854]: EF90358078:
> client=unknown[213.5.41.23]
> Jul 15 02:35:59 mail postfix/cleanup[6857]: EF90358078:
> message-id=<42D6F61E.2080106@acn.gr>
> Jul 15 02:35:59 mail postfix/smtpd[6854]: disconnect from
> unknown[213.5.41.23]
> Jul 15 02:35:59 mail postfix/qmgr[6793]: EF90358078:
> from=, size=1058, nrcpt=1 (queue active)
> Jul 15 02:35:59 mail postfix/local[6858]: EF90358078: to= > mydomain.com >, relay=local, delay=1, status=sent (delivered to
> mailbox)
> Jul 15 02:35:59 mail postfix/qmgr[6793]: EF90358078: removed
> Jul 15 02:37:08 mail postfix/smtpd[6854]: connect from
> unknown[192.168.1.1]
> Jul 15 02:37:09 mail postfix/smtpd[6854]: 030ED58078:
> client=unknown[192.168.1.1]
> Jul 15 02:37:09 mail postfix/cleanup[6857]: 030ED58078:
> message-id=<000001c588cc$7ff2c650$0201a8c0@fileserver>
> Jul 15 02:37:09 mail postfix/qmgr[6793]: 030ED58078: from= > mydomain.com >, size=662, nrcpt=1 (queue active)
> Jul 15 02:37:09 mail postfix/smtpd[6854]: disconnect from
> unknown[192.168.1.1]
> Jul 15 02:37:10 mail postfix/smtp[6868]: 030ED58078:
> to=, relay=mailslb.acn.gr[213.5.41.10], delay=2,
> status=sent (250 ok 1121384010 qp 15114)
>
> (Successfully sends and accepts mail...)
>
> More problematic logs..
>
> Jul 15 02:37:12 mail imapd[6869]: imap service init from 192.168.1.2
> Jul 15 02:37:39 mail imapd[6869]: Command stream end of file, while
> reading line user=user2 host=[192.168.1.2]
> Jul 15 02:38:17 mail imapd[6870]: imap service init from 192.168.1.2
> Jul 15 02:39:02 mail imapd[6870]: Command stream end of file, while
> reading line user=user1 host=[192.168.1.2]
> Jul 15 02:39:17 mail postfix/smtpd[6871]: connect from
> unknown[192.168.1.1]
> Jul 15 02:39:17 mail postfix/smtpd[6871]: 6B79758078:
> client=unknown[192.168.1.1]
> Jul 15 02:39:17 mail postfix/cleanup[6872]: 6B79758078:
> message-id=<000401c588cc$cc7bf9b0$0201a8c0@fileserver>
> Jul 15 02:39:17 mail postfix/qmgr[6793]: 6B79758078:
> from=, size=664, nrcpt=1 (queue active)
> Jul 15 02:39:17 mail postfix/smtpd[6871]: disconnect from
> unknown[192.168.1.1]
> Jul 15 02:39:18 mail postfix/smtp[6873]: 6B79758078:
> to=, relay=mailslb.acn.gr[213.5.41.10], delay=1,
> status=sent (250 ok 1121384138 qp 16286)
> Jul 15 02:39:18 mail postfix/qmgr[6793]: 6B79758078: removed
> Jul 15 02:39:44 mail postfix/smtpd[6871]: warning: smtpd_peer_init:
> 213.5.41.23: hostname noname-213.5.41.23.acn.gr verification failed:
> Name or service not known
> Jul 15 02:39:44 mail postfix/smtpd[6871]: connect from
> unknown[213.5.41.23]
> Jul 15 02:39:44 mail postfix/smtpd[6871]: D06B758078:
> client=unknown[213.5.41.23]
> Jul 15 02:39:44 mail postfix/cleanup[6872]: D06B758078:
> message-id=<42D6F700.5030305@acn.gr>
> Jul 15 02:39:44 mail postfix/smtpd[6871]: disconnect from
> unknown[213.5.41.23]
> Jul 15 02:39:44 mail postfix/qmgr[6793]: D06B758078:
> from=, size=1223, nrcpt=1 (queue active)
> Jul 15 02:39:44 mail postfix/local[6874]: D06B758078:
> to=, relay=local, delay=0, status=sent (delivered
> to mailbox)
> Jul 15 02:39:44 mail postfix/qmgr[6793]: D06B758078: removed
> Jul 15 02:39:57 mail imapd[6875]: imap service init from 192.168.1.2
> Jul 15 02:40:09 mail imapd[6875]: Command stream end of file, while
> reading line user=user1 host=[192.168.1.2]
> Jul 15 02:40:15 mail imapd[6876]: imap service init from 192.168.1.2
> Jul 15 02:40:21 mail imapd[6876]: Command stream end of file, while
> reading line user=user1 host=[192.168.1.2]
> Jul 15 02:41:44 mail imapd[6877]: imap service init from 192.168.1.2
> Jul 15 02:41:49 mail imapd[6877]: Command stream end of file, while
> reading line user=root host=[192.168.1.2]
> Jul 15 02:42:19 mail imapd[6878]: imap service init from 192.168.1.2
> Jul 15 02:42:30 mail imapd[6878]: Command stream end of file, while
> reading line user=root host=[192.168.1.2]
> Jul 15 02:42:52 mail imapd[6879]: imap service init from 192.168.1.2
> Jul 15 02:43:00 mail imapd[6879]: Command stream end of file, while
> reading line user=root host=[192.168.1.2]
> Jul 15 02:43:43 mail postfix/smtpd[6880]: warning: smtpd_peer_init:
> 213.5.41.23: hostname noname-213.5.41.23.acn.gr verification failed:
> Name or service not known
> Jul 15 02:43:43 mail postfix/smtpd[6880]: connect from
> unknown[213.5.41.23]
> Jul 15 02:43:43 mail postfix/smtpd[6880]: F39ED58078:
> client=unknown[213.5.41.23]
> Jul 15 02:43:44 mail postfix/cleanup[6883]: F39ED58078:
> message-id=<42D6F346.2080604@acn.gr>
> Jul 15 02:43:44 mail postfix/smtpd[6880]: disconnect from
> unknown[213.5.41.23]
> Jul 15 02:43:44 mail postfix/qmgr[6793]: F39ED58078:
> from=, size=1052, nrcpt=1 (queue active)
> Jul 15 02:43:44 mail postfix/local[6884]: F39ED58078:
> to=, relay=local, delay=1, status=sent (delivered
> to mailbox)
> Jul 15 02:43:44 mail postfix/qmgr[6793]: F39ED58078: removed
> Jul 15 02:55:35 mail imapd[6909]: imap service init from 192.168.1.2
> Jul 15 02:56:14 mail imapd[6909]: Command stream end of file, while
> reading line user=root host=[192.168.1.2]
> Jul 15 02:56:52 mail imapd[6910]: imap service init from 192.168.1.2
> Jul 15 02:56:57 mail imapd[6910]: Command stream end of file, while
> reading line user=root host=[192.168.1.2]
> Jul 15 02:57:02 mail imapd[6911]: imap service init from 192.168.1.2
> Jul 15 02:57:07 mail imapd[6911]: Command stream end of file, while
> reading line user=root host=[192.168.1.2]
> Jul 15 03:03:38 mail postfix/postfix-script: refreshing the Postfix
> mail system
> Jul 15 03:03:38 mail postfix/master[6791]: reload configuration
> Jul 15 03:03:54 mail postfix/postfix-script: stopping the Postfix mail
> system
> Jul 15 03:03:54 mail postfix/master[6791]: terminating on signal 15
>
> ..................
>
> (Now i forwarded 143 port and i could relay email from my wan ip. I
> put it in my mynetworks variable)
>
> from= to= proto=ESMTP helo=
> Jul 15 03:25:58 mail postfix/smtpd[7859]: disconnect from
> somebody-x-grxx.static-cust.xxx.gr[212.xx.xxx.xx]
> Jul 15 06:37:15 mail postfix/smtpd[8443]: connect from
> NK219-91-99-173.adsl.dynamic.apol.com.tw[219.91.99.173]
> Jul 15 06:39:17 mail postfix/smtpd[8443]: NOQUEUE: reject: RCPT from
> NK219-91-99-173.adsl.dynamic.apol.com.tw[219.91.99.173]: 554
> : Relay access denied;
> from= to= proto=SMTP
> helo=<212.xx.xxx.xx>
> Jul 15 06:39:17 mail postfix/smtpd[8443]: lost connection after RCPT
> from NK219-91-99-173.adsl.dynamic.apol.com.tw[219.91.99.173]
> Jul 15 06:39:17 mail postfix/smtpd[8443]: disconnect from
> NK219-91-99-173.adsl.dynamic.apol.com.tw[219.91.99.173]
> Jul 15 10:18:50 mail imapd[8801]: imap service init from 192.168.1.3
> Jul 15 10:20:21 mail imapd[8801]: Command stream end of file, while
> reading line user=user2 host=[192.168.1.3]
> Jul 15 10:21:14 mail postfix/smtpd[8802]: warning: smtpd_peer_init:
> 213.5.41.23: hostname noname-213.5.41.23.acn.gr verification failed:
> Name or service not known
> Jul 15 10:21:14 mail postfix/smtpd[8802]: connect from
> unknown[213.5.41.23]
> Jul 15 10:21:14 mail postfix/smtpd[8802]: 2ED5B52E0A:
> client=unknown[213.5.41.23]
> Jul 15 10:21:14 mail postfix/cleanup[8805]: 2ED5B52E0A:
> message-id=<000801c58915$d2cf80e0$0301a8c0@user1>
> Jul 15 10:21:14 mail postfix/smtpd[8802]: disconnect from
> unknown[213.5.41.23]
> Jul 15 10:21:14 mail postfix/qmgr[7418]: 2ED5B52E0A:
> from=, size=1839, nrcpt=1 (queue active)
> Jul 15 10:21:14 mail postfix/local[8806]: 2ED5B52E0A:
> to=, relay=local, delay=0, status=sent (delivered
> to mailbox)
> Jul 15 10:21:14 mail postfix/qmgr[7418]: 2ED5B52E0A: removed
> Jul 15 12:06:36 mail imapd[8973]: imap service init from 192.168.1.3
> Jul 15 12:08:04 mail imapd[8974]: imap service init from 192.168.1.3
> Jul 15 12:08:16 mail imapd[8974]: Missing command before
> authentication host=[192.168.1.3]
> Jul 15 12:08:20 mail last message repeated 2 times
> Jul 15 12:08:21 mail imapd[8974]: Null command before authentication
> host=[192.168.1.3]
> Jul 15 12:08:25 mail imapd[8974]: Missing command before
> authentication host=[192.168.1.3]
> Jul 15 12:08:31 mail imapd[8974]: Missing command before
> authentication host=[192.168.1.3]
> Jul 15 12:08:31 mail imapd[8974]: Null command before authentication
> host=[192.168.1.3]
> Jul 15 12:08:32 mail imapd[8974]: Null command before authentication
> host=[192.168.1.3]
> Jul 15 12:08:49 mail imapd[8973]: Command stream end of file, while
> reading line user=user2 host=[192.168.1.3]
> Jul 15 12:08:55 mail imapd[8975]: imap service init from 192.168.1.3
> Jul 15 12:09:00 mail imapd[8975]: Command stream end of file, while
> reading line user=user2 host=[192.168.1.3]
> Jul 15 12:09:13 mail imapd[8974]: Command stream end of file, while
> flushing line user=??? host=[192.168.1.3]
> Jul 15 19:43:50 mail postfix/postfix-script: refreshing the Postfix
> mail system
> Jul 15 19:43:50 mail postfix/master[7416]: reload configuration
> Jul 15 19:46:12 mail postfix/smtpd[10086]: connect from
> somebody-x-grxx.static-cust.xxx.gr[212.xx.xxx.xx]
> Jul 15 19:46:18 mail postfix/smtpd[10086]: D442752E0A:
> client=somebody-x-grxx.static-cust.xxx.gr[212.xx.xxx.xx]
> Jul 15 19:46:19 mail postfix/cleanup[10089]: D442752E0A:
> message-id=<002201c5895c$45c2ad70$2aae59d4@ATHLON>
> Jul 15 19:46:19 mail postfix/qmgr[10009]: D442752E0A:
> from=, size=1367, nrcpt=1 (queue active)
> Jul 15 19:46:19 mail postfix/smtpd[10086]: 9DD9D57F6F:
> client=somebody-x-grxx.static-cust.xxx.gr[212.xx.xxx.xx]
> Jul 15 19:46:19 mail postfix/cleanup[10089]: 9DD9D57F6F:
> message-id=<002301c5895c$4632ad50$2aae59d4@ATHLON>
> Jul 15 19:46:19 mail postfix/qmgr[10009]: 9DD9D57F6F:
> from=, size=1363, nrcpt=1 (queue active)
> Jul 15 19:46:20 mail postfix/smtpd[10086]: disconnect from
> somebody-x-grxx.static-cust.xxx.gr[212.xx.xxx.xx]
> Jul 15 19:46:20 mail postfix/smtp[10091]: 9DD9D57F6F:
> to=, relay=mailslb.acn.gr[213.5.41.10], delay=1,
> status=sent (250 ok 1121445775 qp 1679)
> Jul 15 19:46:20 mail postfix/qmgr[10009]: 9DD9D57F6F: removed
> Jul 15 19:46:20 mail postfix/smtp[10090]: D442752E0A:
> to=, relay=mailslb.acn.gr[213.5.41.10], delay=2,
> status=sent (250 ok 1121445776 qp 19023)
> Jul 15 19:46:20 mail postfix/qmgr[10009]: D442752E0A: removed
> Jul 15 20:04:32 mail imapd[10117]: imap service init from
> 212.xx.xxx.xx
> Jul 15 20:06:04 mail imapd[10117]: Command stream end of file, while
> reading line user=company.com/root
> host=somebody-x-grxx.static-cust.xxx.gr [212.xx.xxx.xx]
> Jul 15 21:24:42 mail imapd[10489]: imap service init from
> 212.xx.xxx.xx
> Jul 15 21:28:14 mail imapd[10489]: Autologout user=user2
> host=somebody-x-grxx.static-cust.xxx.gr [212.xx.xxx.xx]
> Jul 15 21:36:58 mail imapd[10513]: imap service init from
> 212.xx.xxx.xx
> Jul 15 21:39:56 mail imapd[10513]: Logout user=root
> host=somebody-x-grxx.static-cust.xxx.gr [212.xx.xxx.xx]
> Jul 15 21:40:32 mail imapd[10514]: imap service init from
> 212.xx.xxx.xx
> Jul 15 21:44:05 mail imapd[10514]: Autologout user=user1
> host=somebody-x-grxx.static-cust.xxx.gr [212.xx.xxx.xx]
> Jul 15 21:49:38 mail imapd[10617]: imap service init from
> 212.xx.xxx.xx
> Jul 15 21:49:46 mail imapd[10617]: Logout user=user1
> host=somebody-x-grxx.static-cust.xxx.gr [212.xx.xxx.xx]
> Jul 15 21:53:54 mail imapd[10927]: imap service init from
> 212.xx.xxx.xx
> Jul 15 21:57:12 mail postfix/master[7416]: terminating on signal 15
> Jul 15 21:58:40 mail postfix/postfix-script: starting the Postfix mail
> system
> Jul 15 21:58:40 mail postfix/master[4317]: daemon started -- version
> 2.1.5
> Jul 15 22:00:15 mail imapd[4634]: imap service init from 212.xx.xxx.xx
> Jul 15 22:00:42 mail imapd[4634]: Logout user=user1
> host=athlon.company.com [212.xx.xxx.xx]
> Jul 15 22:01:36 mail imapd[4635]: imap service init from 212.xx.xxx.xx
> Jul 15 22:01:46 mail imapd[4635]: Logout user= user1
> host=athlon.company.com [212.xx.xxx.xx]
> Jul 15 22:30:03 mail imapd[4691]: imap service init from 62.190.95.146
> Jul 15 22:30:05 mail imapd[4691]: Command stream end of file, while
> reading line user=??? host=int2.blbw.co.uk [62.190.95.146]
> Jul 15 22:40:40 mail postfix/postfix-script: refreshing the Postfix
> mail system
> Jul 15 22:40:40 mail postfix/master[4317]: reload configuration
> Jul 15 22:41:10 mail postfix/postfix-script: refreshing the Postfix
> mail system
> Jul 15 22:41:10 mail postfix/master[4317]: reload configuration
>
> END of logs..
>
> The strange thing is the Logout and Autologout user...Why? Is ipcop
> the problem??
> Does it break the connection between the server and the clients?? I
> don't think so because i can telnet 143 port without problem...and the
> port forwarding is ok..
>
> The ips that i didn't "masked" like
> NK219-91-99-173.adsl.dynamic.apol.com.tw[219.91.99.173]
> are probably spammers trying to use my server as an open relay.
>
> Any help would be very appreciated cause i don't know what to do and i
> don't want to use alternatives like send mail(since postfix is much
> better) and POP3 instead of IMAP.
>
> P.S.
> In the near future i would like to make my server to relay email from
> the Internet but only from authenticated users. How can i do this?
> Without SSL for start.
> Also is there any better way to tell the server from which specific
> internet ip to relay mail for? Better way than write it into
> mynetworks.
>
> Many thanks in advance.
>
> Nestor

I'm sorry I can't help you but I really would like to thank you for asking
politely, it's nice to see someone who comes for help not for hate, you are
an example to us all.

Re: Cannot download email. Cannot download IMAP folders. Suse 9.2 & Postfix 2.1.5

am 16.07.2005 17:31:58 von Eraser9486

This is actually the same problem that leads me into the post that I
made earlier... it seems that the default IMAP server on SuSE 9.2
(known as the UW IMAP) comes compiled without any authentication
methods available. It seems that SuSE attempted to make IMAP more
secure by turning off plain text authentication, but didn't turn on
neither of the more secure MD5 authentication, nor allow plain text
over a secure connect.

This is the reason that I had to make a switch to Cyrus, and have run
into the problem represented in the "Multiple Deliveries" post.

Unless I am mistaken, the only fix for the issue you are having is to
do this same thing and switch to another IMAP server.. I would rather
there be another fix for this issue, though I could not seem to get UW
IMAP to compile properly either - so I have attempted to switch to
another IMAP server - which does not intergrate as easily with Postfix
as the UW server does.

Any help that can be provided would be greatly appreciated.

Re: Cannot download email. Cannot download IMAP folders. Suse 9.2 & Postfix 2.1.5

am 19.07.2005 13:55:39 von iapetos2

"Eraser9486" wrote in message news:<1121527918.495316.140160@z14g2000cwz.googlegroups.com>...
> This is actually the same problem that leads me into the post that I
> made earlier... it seems that the default IMAP server on SuSE 9.2
> (known as the UW IMAP) comes compiled without any authentication
> methods available. It seems that SuSE attempted to make IMAP more
> secure by turning off plain text authentication, but didn't turn on
> neither of the more secure MD5 authentication, nor allow plain text
> over a secure connect.
>
> This is the reason that I had to make a switch to Cyrus, and have run
> into the problem represented in the "Multiple Deliveries" post.
>
> Unless I am mistaken, the only fix for the issue you are having is to
> do this same thing and switch to another IMAP server.. I would rather
> there be another fix for this issue, though I could not seem to get UW
> IMAP to compile properly either - so I have attempted to switch to
> another IMAP server - which does not intergrate as easily with Postfix
> as the UW server does.
>
> Any help that can be provided would be greatly appreciated.

Hi Eraser,
Thank you for your interest. You know, i don't think that they have
done (SuSE) such a major mistake. How is it possible removed any kind
of authentication in their IMAP server?? Sounds crazy, at least, to
me. Maybe its something we overlooked...who knows. I'm reading some
documentation according the UW IMAP server they use in their
distributions. If i find anything i'll post it so othes can benefit
from this. I find weird the fact that no-one else was able to solve
this issue. I hope to find the solution.
Be well and thanks again for your interest,
Nestor