These forums are locked and archived, but all topics have been migrated to the new forum. You can search for this topic on the new forum: Search for ERROR: Connection dropped by IMAP server. on the new forum.
Hello Erik ;)
I got this Problem when i try to open SquirrelMail ..ERROR: Connection dropped by IMAP server. i installed this script throw virtualmin
when i try RoundCube i got anthoer error Fehler: Verbindung zum Speicherserver fehlgeschlagen in english its ERROR: Failed to connect to server memory or so
i have tried to slove this issue but i coudint
i want also from u plaese a tutorial to help me setup the postfix and SPF and greylisting etc ..
thank u
Howdy,
Whenever that occurs, try looking in the mail logs -- /var/log/maillog or /var/log/mail.log -- do you see any errors in there?
Also, do you notice any errors in the Apache error log for your domain, located in $HOME/logs/error_log?
-Eric
no Erik i cant see any erro for this Problem in /var/log/maillog or in /...//logs/error_log
what should i do now ?
i think Erik i have problem with reciving Emails
i used now the usermin to send email to hotmail its work but i want to send it back to myemail i didnt recive any email
and i didnt also get an email for example Undelivered Mail Returned to Sender ?
Howdy,
If you look in your email logs, do you see any errors when trying to send an email to your server?
Do you at least see a connection attempt by the sending server?
-Eric
yesterday i wanted to send email to my server to test today i see this messege from hotmail
This is an automatically generated Delivery Status Notification.
THIS IS A WARNING MESSAGE ONLY.
YOU DO NOT NEED TO RESEND YOUR MESSAGE.
Delivery to the following recipients has been delayed.
myemail *&***
Howdy,
Unfortunately, that delivery status notification doesn't explain why it was delayed... you'll need to try what I mentioned in my comment above -- try sending yourself an email, then review the mail logs.
-Eric
i sent to myself an email and this is the mail logs
Mar 24 18:22:08 server postfix/pickup[24703]: 5305811A0771: uid=0 from=
Mar 24 18:22:08 server postfix/cleanup[24747]: 5305811A0771: message-id=20150324172208.5305811A0771@server.mydomain.com
Mar 24 18:22:08 server postfix/qmgr[24704]: 5305811A0771: from=root@mydomain.com, size=463, nrcpt=1 (queue active)
Mar 24 18:22:08 server postfix/local[24878]: 5305811A0771: to=root@server.mydomain.com, relay=local, delay=0.03, delays=0.02/0/0/0.01, dsn=2.0.0, status=sent (delivered to command: /usr/bin/procmail)
Mar 24 18:22:08 server postfix/qmgr[24704]: 5305811A0771: removed
Aha, that looks good... it appears that you sent an email to "root@server.mydomain.com"?
The email logs show that message being delivered -- we can tell that by this part in the logs:
delivered to command: /usr/bin/procmail
If you didn't receive that message, then the next step is to look in /var/log/procmail.log to see where the email went.
-Eric
yes i sent an email to root@server.mydomain.com and this is /var/log/procmail.log
Mar 24 18:22:08 server postfix/cleanup[24747]: 5305811A0771: message-id=<20150324172208.5305811A0771@server.mydomain.com>
Mar 24 18:22:08 server postfix/qmgr[24704]: 5305811A0771: from=<root@mydomain.com>, size=463, nrcpt=1 (queue active)
Mar 24 18:22:08 server postfix/local[24878]: 5305811A0771: to=<root@server.mydomain.com>, relay=local, delay=0.03, delays=0.02/0/0/0.01, dsn=2.0.0, status=sent (delivered to command: /usr/bin/procmail)
Mar 24 18:22:08 server postfix/qmgr[24704]: 5305811A0771: removed
[root@server mydomain.com]# cat /var/log/procmail.log
Insecure dependency in exec while running with -T switch at /etc/webmin/virtual-server/lookup-domain.pl line 19.
procmail: Program failure (255) of "/etc/webmin/virtual-server/lookup-domain.pl"
procmail: Skipped "/dev/null"
procmail: Unable to treat as directory "//Maildir"
procmail: Error while writing to "//Maildir"
procmail: Unable to treat as directory "//Maildir"
procmail: Lock failure on "//Maildir.lock"
procmail: Error while writing to "//Maildir"
From root@mydomain.comTue Mar 24 18:21:54 2015
Subject: ahmed
Folder: **Bounced** 628
Time:1427217714 From:root@mydomain.com To:root@server.mydomain.com User:nobody Size:631 Dest://Maildir/ Mode:None
Insecure dependency in exec while running with -T switch at /etc/webmin/virtual-server/lookup-domain.pl line 19.
procmail: Program failure (255) of "/etc/webmin/virtual-server/lookup-domain.pl"
procmail: Skipped "/dev/null"
procmail: Unable to treat as directory "//Maildir"
procmail: Error while writing to "//Maildir"
procmail: Unable to treat as directory "//Maildir"
procmail: Lock failure on "//Maildir.lock"
procmail: Error while writing to "//Maildir"
From root@mydomain.com Tue Mar 24 18:22:08 2015
Subject: ahmed123123
Folder: **Bounced** 622
Time:1427217728 From:root@mydomain.com To:root@server.mydomain.com User:nobody Size:628 Dest://Maildir/ Mode:None
i see that an error in this file "/etc/webmin/virtual-server/lookup-domain.pl
this is the file:
#!/usr/bin/perl
delete($ENV{'IFS'});
delete($ENV{'CDPATH'});
delete($ENV{'ENV'});
delete($ENV{'BASH_ENV'});
$ENV{'PATH'} = '/bin:/usr/bin';
$< = $>;
$( = $);
open(CONF, "/etc/webmin/miniserv.conf") || die "Failed to open /etc/webmin/miniserv.conf : $!";
while(<CONF>) {
$root = $1 if (/^root=(.*)/);
}
close(CONF);
$root || die "No root= line found in /etc/webmin/miniserv.conf";
$ENV{'PERLLIB'} = "$root";
$ENV{'WEBMIN_CONFIG'} = "/etc/webmin";
$ENV{'WEBMIN_VAR'} = "/var/webmin";
chdir("$root/virtual-server");
exec("$root/virtual-server/lookup-domain.pl", @ARGV) || die "Failed to run $root/virtual-server/lookup-domain.pl : $!";
Any Idea Erik ¿
i reinstalled the dovecot and the problem ERROR: Connection dropped by IMAP server. was solved
but i still cant reciving anyemails ! :(
please can anybody help me
telnet localhost 25 Connection refused ..
Howdy,
You seem to be seeing some unusual errors, I'm not sure what would cause these two:
procmail: Unable to treat as directory "//Maildir"
procmail: Error while writing to "//Maildir"
It could potentially be a permissions issue, though usually when that's the case it explicitly states that.
Regarding your current Dovecot issue though -- if you're receiving a connection refused error, make sure that Dovecot is actually running. If it is, you'd want to check the email logs to see what errors are occurring.
-Eric
i dont get this unusual errors anymor after reinstalling Dovecot and it is actually running but when i restart it
I got this
Mar 28 10:49:06 server postfix/qmgr[6562]: B9AC411A09C9: removed
Mar 28 11:15:30 server dovecot: master: Warning: Killed with signal 15 (by pid=7935 uid=0 code=kill)
Mar 28 11:15:32 server dovecot: master: Dovecot v2.0.9 starting up (core dumps disabled)
is this Warinin normal ?
and now i got an new error
Mar 28 04:49:40 server postfix/smtpd[21554]: warning: SASL: Connect to private/auth failed: Connection refused
Mar 28 04:49:40 server postfix/smtpd[21554]: fatal: no SASL authentication mechanisms
Mar 28 04:49:41 server postfix/master[6559]: warning: process /usr/libexec/postfix/smtpd pid 21554 exit status 1
Mar 28 10:37:06 server postfix/smtp[6015]: certificate verification failed for mta6.am0.yahoodns.net[98.136.216.25]:25: untrusted issuer /C=US/O=VeriSign, Inc./OU=Class 3 Public Primary Certification Authority
Mar 28 10:49:04 server postfix/smtp[6537]: certificate verification failed for mx1.hotmail.com[65.54.188.126]:25: untrusted issuer /C=IE/O=Baltimore/OU=CyberTrust/CN=Baltimore CyberTrust Root
now i can send email to me from my server i recived the email and i can read it and i got this error again in
Folder: /home/mydomain.com/Maildir/new/1427566353.31480_0.server 799
Time:1427566353 From:postmaster@mydomain.com To:ahmed@mydomain.com User:mydomain.com Size:859 Dest:/home/mydomain.com/Maildir/new/1427566353.31480_0.server.mydomain.com Mode:None
Insecure dependency in exec while running with -T switch at /etc/webmin/virtual-server/lookup-domain.pl line 19.
procmail: Program failure (255) of "/etc/webmin/virtual-server/lookup-domain.pl"
procmail: Skipped "/dev/null"
procmail: Unable to treat as directory "//Maildir"
procmail: Error while writing to "//Maildir"
procmail: Unable to treat as directory "//Maildir"
procmail: Lock failure on "//Maildir.lock"
procmail: Error while writing to "//Maildir"
From root@mydomain.com Sat Mar 28 19:16:02 2015
Subject: Cron <root@server> /etc/webmin/virtualmin-awstats/awstats.pl mydomain
Folder: **Bounced** 765
Time:1427566562 From:root@mydomain.com To:root@mydomain.com User:nobody Size:912 Dest://Maildir/ Mode:None
Howdy,
Hmm, it looks like it's working in some cases, but not others.
The logs above show the email to the user "ahmed@mydomain.com" was delivered to that user's inbox.
There was another email sent later from root@mydomain.com to the user "nobody" that is causing all those unusual messages.
However, the email to ahmed@mydomain.com should be there, and should be visible.
What happens when trying to view that message? Are you still receiving a connection error of some sort when trying to open it?
-Eric
the email to ahmed@mydomain.com is there and i can see it also throw roundcube and SquirrelMail without any problem more
but when i send an email from roundcube to hotmail for example i got this error SMTP Error (-1):
and when i send an email from hotmail to ahmed@mydomain.com i cant get this and see it ..
so where is the problem now
For each of those issues, you need to use the mail logs to identify what's going on.
Try sending yourself an email from Hotmail -- and immediately after doing that, look in the mail logs to see what shows up. There should be a connection attempt from Hotmail.
And when trying to send an email from Roundcube -- look in the mail logs, and see what errors are thrown.
-Eric
up
Hey Erik thanks for Helping i solved all my problems i can now send an recive emails wihout problems
the solution was adding ssl port in master.cf file nano /etc/postfix/master.cf and add this line 465 inet n - n - - smtpd
but the problem now is in the virtualmin
i want to install DomainKeys Identified Mail form my panel
i got this error
Installiere Paket(e) mit Befehl yum -y install dkim-milter .. Loaded plugins: fastestmirror, security Setting up Install Process Loading mirror speeds from cached hostfile * base: mirror.vtti.vt.edu Excluding mirror: mirror.nl.leaseweb.net Excluding mirror: mirror.de.leaseweb.net * epel: ftp.uni-koeln.de * extras: mirror.vtti.vt.edu * remi: rpms.famillecollet.com * remi-php55: rpms.famillecollet.com * remi-test: rpms.famillecollet.com * updates: mirror.vtti.vt.edu * webtatic: uk.repo.webtatic.com No package dkim-milter available. Error: Nothing to do .. Installation fehlgeschlagen! .. Installation fehlgeschlagen!
what can i do for this ? cuz i cant send emails to gmail i want to install this to solve the last problem
thanks
Howdy,
It looks like you have a variety of third party repositories installed.
Those can cause a variety of problems.
So first off, my suggestion would be to disable all third party repositories.
Second, I don't see the Virtualmin repository mentioned in the above. So once all the third party repositories are disabled, I'd suggest making sure that the Virtualmin repository is enabled.
-Eric
can u tell how could i disable all third party repositories in my vps and how can i endable the Virtualmin repository?
thanks
i have alle the files in the yum.repos.d disabled CentOS-Base.repo CentOS-fasttrack.repo CentOS-Vault.repo epel-testing.repo webmin.repo webtatic.repo CentOS-Debuginfo.repo CentOS-Media.repo epel.repo remi.repo webtatic-archive.repo webtatic-testing.repo
enabled=0 is this what did u mean ?
but nothing changed
Well, we're getting a bit off the original topic here, which might make things a bit tough to keep track of.
So why don't we do this --
Can you start a new Forum thread, and in that thread, let us know the issue that you're currently seeing -- the errors you're seeing when installing dkim-milter, and the files that you have in /etc/yum.repos.d.
Also, let us know how you initially performed you're Virtualmin installation -- whether it was done using the install.sh, or whether it was done using some other method.
Thanks!
-Eric