mail issues after server migration from cpanel

post migartion of server , mails have stopped working 1. i kept the hostname correctly as per previous server 2. changed IP accordingly 3. all dns perfect 4. Dovecot has SSL too (copied via ssl manager) 5.still mail are on server, but does not download to the thunderbird client 6. tried all combinations from last one, still no success

Status: 
Needs work

Comments

Howdy -- are you receiving an error of some sort when trying to download email into your mail client?

initially it said, n normal password accepted now no error, asks for password

Hmm, are you seeing any errors in /var/log/maillog?

Also, what if you change the password for one of the users, are you able to access the account at that point?

domains moved from one server to another thunderbird exists as it is didnt touch any password

only thing when the error (normal pass) came up, i bought a private ssl and installed to the server and copied the ssl path to dovecot

Oct 24 18:16:40 billing dovecot: pop3-login: Fatal: Couldn't parse private ssl_key: error:0906D06C:PEM routines:PEM_read_bio:no start line: Expecting: ANY PRIVATE KEY Oct 24 18:16:40 billing dovecot: master: Error: service(pop3-login): command startup failed, throttling for 60 secs

Oct 24 19:30:16 billing postfix/local[18419]: ACCC82360588: to=alerts.webhelp@billing.24x7webhelp.com, orig_to=alerts@24x7webhelp.com, relay=local, delay=15, delays=0.17/0.01/0/15, dsn=2.0.0, status=sent (delivered to command: /usr/bin/procmail-wrapper -o -a $DOMAIN -d $LOGNAME)

does the above log means, the mails are going to server hostname and not domain name ?

You can determine where exactly the emails are being delivered by looking in /var/log/procmail.log.

The error I'm seeing relating to Dovecot suggests an SSL error though... it looks like Dovecot is configured to use an SSL certificate that it doesn't understand, or isn't able to read.

Are any of your websites configured to use an SSL certificate?

If so, what you may want to do is go into Server Configuration -> Manage SSL Certificates for that particular website, and click the "Copy to Dovecot" button to copy out that SSL certificate.

Then, try downloading your email again and see if that works properly.

I see all logs correct delivering exactly

also the SSL thing is done too

i copied over the ssl to dovecot via ssl manaager

That's great to hear!

Does everything else appear to be working properly?

my mails are not working yet

Ah I misunderstood what you said above, I thought you were indicating that things were working properly.

Now that you've copied over the SSL certificate, can you check what message(s) show up in the error log when attempting to retrieve your email?

Oct 28 09:20:31 pop3-login: Fatal: Couldn't parse private ssl_key: error:0906D06C:PEM routines:PEM_read_bio:no start line: Expecting: ANY PRIVATE KEY Oct 28 09:20:31 master: Error: service(pop3-login): command startup failed, throttling for 2 secs Oct 28 09:21:02 pop3-login: Fatal: Couldn't parse private ssl_key: error:0906D06C:PEM routines:PEM_read_bio:no start line: Expecting: ANY PRIVATE KEY Oct 28 09:21:02 master: Error: service(pop3-login): command startup failed, throttling for 4 secs

Hmm, it looks like Dovecot is having a tough time reading or processing the SSL certificate for some reason.

I was thinking that we at some point had Virtualmin copy in an SSL cert from a Virtual Server, but as I skim through the messages above I don't see any references to that.

Do you have any SSL certificates setup for any of your Virtual Servers? If so, what I'd suggest is to go into Server Configuration -> Manage SSL Certificates, and there, click "Copy to Dovecot".

Now, if you've already done that -- that may be the problem, there may be an issue with that particular SSL certificate. In that case -- at least as a test, perhaps you could try copying a different SSL Certificate?