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 …
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.
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() {
$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 : $!”;
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.comTo: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.comTo:root@server.mydomain.com User:nobody Size:628 Dest://Maildir/ Mode:None
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.
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 /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
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.