Got two virtualmin servers, both are real root servers, both have the same UBUNTU version and same installation of virtualmin. Config files are identical. Only one difference: Box one has SSL for mail and Box two hasn’t.
So Box two receives Mails, but does not deliver them to the user’s mailbox, but can send mail. Box one can send and receive mail.
As of Maillogfile Box two receives the mail, hands them over to procmail and then it is lost somewhere. The config files of procmail are identical on both boxes, so i am a little confused where to check now. The Spamassassin settings are identical, dovecot too. Postfix differ a little bit due to the SSL thing.
I found out, that Spamassassin hasn’t been set up for that virtual server, so i activated that and deleted the user, who didn’t have a spam folder and entered him again. Now he has got a spamfolder, but doesn’t receive mails… The mails seem to be deleted by the system, so what to do?
Hmm, having SSL enabled shouldn’t affect email delivery… it sounds like something there may be something else going on that’s causing the issue you’re seeing.
On the server that’s not delivering email, what is the output of “postconf -n”?
Also, since you’re seeing the email being handed over to procmail-wrapper, the next thing to do would be to review the procmail log in /var/log/procmail.log.
Procmail should indicate in its logs to which directory it delivers the mail, or if there was an error trying to do so. Maybe it is putting the mail into an incorrect directory, or your Dovecot is looking in the wrong place for the mail.
Additionally, I can offer - for a moderate fee - to take a look at your system/logfiles/etc. myself and try to find out where your mail is going.
That’s odd, you shouldn’t be seeing “spamassassin” as a destination folder in your procmail log. That’s certainly the indication that your mails vanished.
Can you post the contents of one of the files in /etc/webmin/virtual-server/procmail please? And please alwayas enclose screen dumps in [code][/code] tags, so that linebreaks and monospace font are preserved.
An example what the file should look like if you have spam filtering and virus filtering enabled, and have it set to put spam messages in a “spam” folder:
SpamAssassin is called from the virtual server’s individually included procmailrc, as you’ve seen in the previous post, not from the global one. I don’t know where this call to “spamassassin” is coming from for you, maybe a remainder from previous configurations, but you can try simply deleting these extraneous lines.
I really do not know, why this is working on the other server, but i commented out that lines, now it works. Thank you very much, this made my head ache for several days now; but finally it all runs perfectly now.