[Workaround.org] Connection dropped by server
albiz
albiz at zbm-patents.eu
Thu Jan 20 12:02:55 CET 2011
Hi,
Thanks Dennis, as you said I have a connection problem. I make some
changes on logs (verbose options, debug...) and now I get:
Jan 20 10:06:45 Server dovecot: auth(default):
pam(user at domain,192.168.xxx.xxx): pam_authenticate() failed: User not
known to the underlying authentication module
...
Jan 20 10:06:45 Server dovecot: auth(default): client out:
OK#0111#011user=user at domain
Here's my dovecot config
# 1.0.15: /etc/dovecot/dovecot.conf
log_timestamp: %Y-%m-%d %H:%M:%S
protocols: imap imaps managesieve
disable_plaintext_auth: no
verbose_ssl: yes
login_dir: /var/run/dovecot/login
login_executable(default): /usr/lib/dovecot/imap-login
login_executable(imap): /usr/lib/dovecot/imap-login
login_executable(managesieve): /usr/lib/dovecot/managesieve-login
login_greeting_capability(default): yes
login_greeting_capability(imap): yes
login_greeting_capability(managesieve): no
max_mail_processes: 1024
mail_privileged_group: mail
mail_location: maildir:/var/vmail/%d/%n/Maildir
mail_debug: yes
mail_executable(default): /usr/lib/dovecot/imap
mail_executable(imap): /usr/lib/dovecot/imap
mail_executable(managesieve): /usr/lib/dovecot/managesieve
mail_plugin_dir(default): /usr/lib/dovecot/modules/imap
mail_plugin_dir(imap): /usr/lib/dovecot/modules/imap
mail_plugin_dir(managesieve): /usr/lib/dovecot/modules/managesieve
imap_client_workarounds(default): tb-extra-mailbox-sep
imap_client_workarounds(imap): tb-extra-mailbox-sep
imap_client_workarounds(managesieve): outlook-idle
sieve_storage(default):
sieve_storage(imap):
sieve_storage(managesieve): ~/sieve
sieve(default):
sieve(imap):
sieve(managesieve): ~/.dovecot.sieve
namespace:
type: private
separator: .
inbox: yes
auth default:
mechanisms: plain login
verbose: yes
debug: yes
debug_passwords: yes
passdb:
driver: pam
passdb:
driver: sql
args: /etc/dovecot/dovecot-sql.conf
userdb:
driver: passwd
userdb:
driver: static
args: uid=5000 gid=5000 home=/var/vmail/%d/%n allow_all_users=yes
socket:
type: listen
client:
path: /var/spool/postfix/private/auth
mode: 432
user: postfix
group: postfix
master:
path: /var/run/dovecot/auth-master
mode: 384
user: vmail
plugin:
sieve_global_path: /var/vmail/globalsieverc
and here's my postfix
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
append_dot_mydomain = no
biff = no
config_directory = /etc/postfix
content_filter = smtp-amavis:[127.0.0.1]:10024
inet_interfaces = all
mailbox_size_limit = 0
message_size_limit = 20000000
mydestination = server.domain, localhost.domain, localhost
myhostname = server.domain
mynetworks = 192.168.xxx.xxx/24, 192.168.xxx.xxx/24, 127.0.0.0/8
myorigin = /etc/mailname
readme_directory = no
receive_override_options = no_address_mappings
recipient_delimiter = +
relayhost =
smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
smtpd_client_restrictions = permit_mynetworks
permit_sasl_authenticated reject_unauth_pipelining
reject_rbl_client zen.spamhaus.org reject_rbl_client
cbl.abuseat.org reject_rbl_client sbl-xbl.spamhaus.org
smtpd_recipient_restrictions = permit_mynetworks,
permit_sasl_authenticated, reject_unauth_destination,
smtpd_sasl_auth_enable = yes
smtpd_sasl_path = private/auth
smtpd_sasl_type = dovecot
smtpd_tls_cert_file = /etc/ssl/certs/postfix.pem
smtpd_tls_key_file = /etc/ssl/private/postfix.pem
smtpd_tls_security_level = may
smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
smtpd_use_tls = yes
virtual_alias_maps =
mysql:/etc/postfix/mysql-virtual-alias-maps.cf,mysql:/etc/postfix/mysql-email2email.cf
virtual_mailbox_domains =
mysql:/etc/postfix/mysql-virtual-mailbox-domains.cf
virtual_mailbox_maps = mysql:/etc/postfix/mysql-virtual-mailbox-maps.cf
virtual_transport = dovecot
Google says maybe it's a pass-file problem but I'm not using it, any
suggestion? Thanks in advance,
EM
El 14/01/11 16:34, Dennis Guhl escribió:
> On Thu, Jan 13, 2011 at 03:23:35PM +0100, albiz wrote:
>
>> Hi,
>>
>> First of all thank you for the great work, I'm using the ispMail
>> tutorial since sarge version. Despite It works fine sometimes i get an
>> annoying issue with both: webmail and MUA's. Now I'm on lenny (posffix
>> + dovecot + spammassasin (With RBL) + sieve + clamav + mailman) with
>> both roundcube and squirrelmail webmails and Icedove/Thunderbird as
>> MUAs. Sometimes I get an error in Thunderbird, I get "connection dropped
>> by server" and in webmail "server' is not an imap4 server".
>>
>> If I try to look for some information in postfix logs I get nothing. I'm
>>
> This error will never be in postfix logfile. Postfix is only for SMTP.
> IMAP, as well as POP, is handled by Dovecot.
>
>
>> not sure which one is the real problem, of course is an imap server. Any
>> ideas? After asking google for a while I get some clues:
>>
>> - Maybe it's a conenction problem due a timeout/latency,
>>
> Whenever I saw this it was due to connection problems.
>
>
>> I think here's the problem, but I'm not sure which one is the problem.
>> For example if it's a webmail problem, maybe I must edit php.ini
>> 'defaul_socket_timeout' or something like that. But that's not the real
>> problem because I get the same for thunderbird.
>>
> As a very well educated guess I would say you have two seperate
> problems. One with thunderbird an one with roundcube.
>
>
>> - or a protocol/service problem.
>>
> Unlikely (but not impossible).
>
>
>> I tried to take off services which I don't use like pop3 pop3s... so now
>>
> You should never offer any unnecessary services!
>
>
>> I'm on imap, imaps and sieve. I'm ussing SSL for both (993 and 465). But
>>
> Port 993 is imaps and port 465 is (deprecated) smtps.
>
> From /etc/services:
> pop3 110/tcp pop-3 # POP version 3
> imap3 220/tcp # Interactive Mail
> Access
> imaps 993/tcp # IMAP over SSL
> pop3s 995/tcp # POP-3 over SSL
> smtp 25/tcp mail
> ssmtp 465/tcp smtps # SMTP over SSL
> submission 587/tcp # Submission [RFC4409]
>
> The first four services are handeled by dovecot, the last three are
> handeled by postfix.
>
>
>> the problem is still there :(
>>
>> - or something else
>>
>> any idea?
>>
> Check your connection(s), your way to your mailserver and have a look
> at dovecots logfile to get an idea what is wrong.
>
>
>> Thanks in advance,
>>
>> EM
>>
> Dennis
> _______________________________________________
> Workaround-chitchat mailing list
> Workaround-chitchat at workaround.org
> http://workaround.org/cgi-bin/mailman/listinfo/workaround-chitchat
>
More information about the Workaround-chitchat
mailing list