Domain Names on the Same Zimbra Server Are Not Displayed in the PMG Panel

ibrahimayhan

Member
Jul 21, 2020
30
0
6
32
Hi Proxmox Team,
I use Zimbra Server in our company,
I have identified a domain name on the Zimbra for testing purposes on Proxmox,
When I Send and Reply Mail to the Account on Proxmox Mail Gateway via Hotmail and GMail, Email Address is Displayed in Panel Registration and Tracking Center,
When I Send Mail from a Different Domain Name on My Zimbra Server to the Domain Name I Defined on Proxmox, Email Address is Not Displayed in the Panel and Registration Center,
How can I take action on this?
 
Please check out the reference documentation: https://pmg.proxmox.com/pmg-docs/
once your basic setup works also checkout the initial config tips in the wiki:
https://pmg.proxmox.com/wiki/index.php/Getting_started_with_Proxmox_Mail_Gateway

also please don't open 2 threads with similar questions (https://forum.proxmox.com/threads/i-dont-know-how-to-use-a-configuration.73266/), since this just doubles the effort.

If you still have questions after the documentation - please provide more information (logs, screenshots) about your problem

Thanks!
 
Please check out the reference documentation: https://pmg.proxmox.com/pmg-docs/
once your basic setup works also checkout the initial config tips in the wiki:
https://pmg.proxmox.com/wiki/index.php/Getting_started_with_Proxmox_Mail_Gateway

also please don't open 2 threads with similar questions (https://forum.proxmox.com/threads/i-dont-know-how-to-use-a-configuration.73266/), since this just doubles the effort.

If you still have questions after the documentation - please provide more information (logs, screenshots) about your problem

Thanks!

Hi @Stoiko Ivanov
I Have Checked The Documents On The Forum
This Question Is Very Different Alone With The Other Question I Ask,
Can You Check Again The Question?
 
Please provide some logs or screenshots since I'm not quite sure what you mean
 
I Re-Send The Problem I Have, @Stoiko Ivanov
Zimbra Server aaa.aaa.com Domain Name and bbb.bbb.com Domain Name Defined,
I have defined the bbb.bbb.com domain name on Proxmox MG and I'm sending mail to this domain name via Hotmail, GMail,
Sender and Recipient Addresses Are Displayed on the Tracking Center,
When I Send Mail from bbb.bbb.com via aaa.aaa.com, These Sender and Recipient Addresses Are Not Displayed on the Tracking Center,
Since I Have Just Tested On PMG, Which Log Records Should I Transmit and Review About the Subject ?
 
* start a shell
* run `journalctl -f` inside it
* send a test email from gmail
* that should provide the necessary logs
 
* start a shell
* run `journalctl -f` inside it
* send a test email from gmail
* that should provide the necessary logs

Hi @Stoiko Ivanov
Mail Sent via GMail Log ( Mail Sent via GMail.txt )
When I Send Mail From Proxmox Defined Domain Name, "Journalctl -f" Side Has No Information
Does PMG Only Check My Incoming Mail?

Screenshot_2.png
 

Attachments

  • Mail Sent via GMail.txt
    5.7 KB · Views: 3
Last edited:
When I Send Mail From Proxmox Defined Domain Name, "Journalctl -f" Side Has No Information
Does PMG Only Check My Incoming Mail?
have you configured your Mail Server (Zimbra) to relay mail via PMG?
 
I would ask the zimbra community for questions about zimbra - but this link probably should have fitting information
https://wiki.zimbra.com/wiki/Sending_mail_through_an_external_relay

Hi, @Stoiko Ivanov
18 domain names provide service on my current Zimbra server,
When I Set This Setting on the Zimbra Side, the Proxmox I Installed for the Test Goes to the Server and Error Will Occur,
1 Domain Name is Defined on Proxmox Side
I do not know if there is an external MTA identification status on the side of Zimbra for 1 domain name,
Do you have information ?
Or Should I Install A New Zimbra Server And Test Proxmox That Way?
If I Define Zimbra MTA, Will Submission Problems Occur in My Other Domains Except Proxmox Defined Domains?
 
I don't have experience with zimbra.

but since it runs postfix below - I would guess that you can relay mails from only one domain to a specific relay - check with the zimbra documentation/community
 
Hi, @Stoiko Ivanov
I Defined The Role As Below With The Document Transmitted By Zimbra Support

/opt/zimbra/common/conf/main.cf
To the Last Line of the File

sender_dependent_relayhost_maps = lmdb:/opt/zimbra/common/conf/bysender
Added

/opt/zimbra/common/conf/bysender
Into the File

mahbubarice.com.tr [10.10.50.62:25]
I made the same definition more than once

su zimbra
postmap /opt/zimbra/common/conf/bysender
postfix reload
I applied

Now I Can Send Mail From My Server
But
No Records in the Monitoring Center and in the Transmission Report
How Can I View Sent Mail on PMG Side?
 
As said - I don't know zimbra too well....

what does the journal on PMG say when you send a mail from your zimbra installation, which should go through PMG?

* in any case - I assume 10.10.50.62 is the ip of the PMG?
* if so - I would suggest that you use the internal port of PMG for relaying internal mail (in the default configuration this is 26)
 
As said - I don't know zimbra too well....

what does the journal on PMG say when you send a mail from your zimbra installation, which should go through PMG?

* in any case - I assume 10.10.50.62 is the ip of the PMG?
* if so - I would suggest that you use the internal port of PMG for relaying internal mail (in the default configuration this is 26)

Hi,
10.10.50.62 IP Address is PMG Server,
10.10.50.61 IP Address is Zimbra Server,
Default Ports Are Used
My PMG Settings and Role Settings are Displayed,
I can send and receive mail right now
But when I do journalctl -f, there is no movement
What should I do ?
Who Do I Need Support On This Issue ?
 

Attachments

  • 1.png
    1.png
    8.2 KB · Views: 6
  • 2.png
    2.png
    6.7 KB · Views: 6
  • 3.png
    3.png
    5.7 KB · Views: 6
  • 4.png
    4.png
    3.1 KB · Views: 6
Hi,
When I send a test mail from GMail and Hotmail, the report comes,
It is attached

But when I send mail from another domain name on my Zimbra server, it is not seen in the live report
Only Foreign Mailers are visible

When I send mail via Proxmox, it does not come to Live Report
But Mail is Delivered ?
 

Attachments

  • Incoming Mail LOG.txt
    3.9 KB · Views: 1
The zimbra is your internal server - it should send to the internal port of pmg (port 26)

But when I do journalctl -f, there is no movement
But when I send mail from another domain name on my Zimbra server, it is not seen in the live report
I guess that your zimbra is not configured correctly to sent via PMG -> check the zimbra configuration
 
@Stoiko Ivanov
Thank you very much for your support, I am very happy, I am very happy, I am very happy :)
It Was An Error Because I Configured On The Zimbra Side According To The Wrong Version

https://wiki.zimbra.com/wiki/Relay_per_Domain

I'm using version 8.8 I applied it as described and the mail went through PMG :)
Note: After Relay Address When You Make According to the Document: Don't Forget to Add 26 Ports
Or Relay Access Gives Denied Error :)
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!