1 (edited by Kanan 2016-05-23 07:06:36)

Topic: A couple of problems getting started (Identity)

==== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.9.5-1
- Linux/BSD distribution name and version: Ubuntu Mate (Current Raspberry Pi 3 version)
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Web server (Apache or Nginx): Apache
- Manage mail accounts with iRedAdmin-Pro?  Not pro
- Related log if you're reporting an issue:
====

Hello, I have got iRedMail to work from a fresh Ubuntu Mate install and I can go to my admin panel and email with no problem.  I have used Certbot to obtain a cert for my primary domain (Let's just say example.com).  But when I get one for accessing my admin panel (Let's say that link is kanan.example.com), then for some reason the admin panel goes down and I can no longer access it.  Is there a way for me to fix this?

Hope adding a second problem to the same thread won't be too much but another question: I can send mail from my mail page which would be https://your_server/mail/ as an example.  I have adjusted it to send from kanan.example.com to just example.com but when I send an email to my gmail account it says that gmail could not verify that I actually sent it from that address.  How do I fix this?

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: A couple of problems getting started (Identity)

Kanan wrote:

I have used Certbot to obtain a cert for my primary domain (Let's just say example.com).  But when I get one for accessing my admin panel (Let's say that link is kanan.example.com), then for some reason the admin panel goes down and I can no longer access it.  Is there a way for me to fix this?

Did you let certbot to configure your Apache? or just cert only?

After modified certbot, you get a new Apache config file under /etc/apache2/sites-enabled/ (or sites-avaialble), and it removes "Alias" directives used to map iRedAdmin url.

Kanan wrote:

Hope adding a second problem to the same thread won't be too much but another question:

Better create a new topic.

Kanan wrote:

I can send mail from my mail page which would be https://your_server/mail/ as an example.  I have adjusted it to send from kanan.example.com to just example.com but when I send an email to my gmail account it says that gmail could not verify that I actually sent it from that address.  How do I fix this?

Show us the original gmail error message please.

Also, do you have SPF/DKIM DNS records?

3

Re: A couple of problems getting started (Identity)

I used the certbot auto method I believe.  I wanted it to be as simple as possible because I'm not that knowledgeable on setting this stuff up (Though I am working on it).  I tried the certonly command and looking at some guides but they all seem to have files or directories I don't seem to have (I don't think I have any .crt files or an httpd.conf file.

This is a little picture showing the email identity subject.(attached).  As for the DNS records (Another subject I have a hard time with), I have A and MX records set up I believe.  I feel like this one is just a minor issue that's probably easy to fix once you see the picture.  I just crossed out the email address for privacy.  I'm able to send/receive emails with no problem, it's just that hovering over the icon of what would be their picture shows this message.



ZhangHuangbin wrote:
Kanan wrote:

I have used Certbot to obtain a cert for my primary domain (Let's just say example.com).  But when I get one for accessing my admin panel (Let's say that link is kanan.example.com), then for some reason the admin panel goes down and I can no longer access it.  Is there a way for me to fix this?

Did you let certbot to configure your Apache? or just cert only?

After modified certbot, you get a new Apache config file under /etc/apache2/sites-enabled/ (or sites-avaialble), and it removes "Alias" directives used to map iRedAdmin url.

Kanan wrote:

Hope adding a second problem to the same thread won't be too much but another question:

Better create a new topic.

Kanan wrote:

I can send mail from my mail page which would be https://your_server/mail/ as an example.  I have adjusted it to send from kanan.example.com to just example.com but when I send an email to my gmail account it says that gmail could not verify that I actually sent it from that address.  How do I fix this?

Show us the original gmail error message please.

Also, do you have SPF/DKIM DNS records?

Post's attachments

email verify.png
email verify.png 143.57 kb, file has never been downloaded. 

You don't have the permssions to download the attachments of this post.

4

Re: A couple of problems getting started (Identity)

We have a tutorial to help you setup new SSL cert/key:
http://www.iredmail.org/docs/use.a.boug … icate.html

So you can run the certbot to get only cert/key without letting certbot modify Apache config files.

About the error in attached picture, please check this article:
https://gmail.googleblog.com/2016/02/ma … ed-by.html