Hi Zimbra Team,
8.8.15 FOSS is used in our company,
I am testing the Proxmox Mail Gateway product,
I showed MX record Proxmox Mail Gateway for 1 domain name,
Incoming Mail This Way Passes Through PMG,
I want it to pass through PMG in mail sent by defining an external MTA address for a test domain only,
When I Look at the Global Settings, External MTA is Defined for the General
If I Type Outer MTA Here, The Delivery Problem May Occur Because The Other Domain Address Is Not PMG,
How Can I Transfer Only Mail Sent From One Domain Name To PMG?
I am waiting for help from you ?
Defining an External MTA for a Domain
-
- Outstanding Member
- Posts: 304
- Joined: Sat Sep 13, 2014 2:23 am
- ZCS/ZD Version: Release 8.8.15.GA.3829.UBUNTU16.64
- Contact:
Re: Defining an External MTA for a Domain
Hello,ibrahimayhan wrote:Hi Zimbra Team,
8.8.15 FOSS is used in our company,
I am testing the Proxmox Mail Gateway product,
I showed MX record Proxmox Mail Gateway for 1 domain name,
Incoming Mail This Way Passes Through PMG,
I want it to pass through PMG in mail sent by defining an external MTA address for a test domain only,
When I Look at the Global Settings, External MTA is Defined for the General
If I Type Outer MTA Here, The Delivery Problem May Occur Because The Other Domain Address Is Not PMG,
How Can I Transfer Only Mail Sent From One Domain Name To PMG?
I am waiting for help from you ?
You can configure relay based on user/domain sender. You can see here for the guidance: https://imanudin.net/2014/12/26/relay-t ... a-8-5-8-6/
-
- Posts: 36
- Joined: Fri Oct 18, 2019 1:29 pm
Re: Defining an External MTA for a Domain
Hi,
# /Opt/zimbra/postfix/conf/main.cf,
Cannot Find Postfix Folder in Specified Location in Zimbra Server,
How Can I Find Folder Location?
# /Opt/zimbra/postfix/conf/main.cf,
Cannot Find Postfix Folder in Specified Location in Zimbra Server,
How Can I Find Folder Location?
imanudin11 wrote:Hello,ibrahimayhan wrote:Hi Zimbra Team,
8.8.15 FOSS is used in our company,
I am testing the Proxmox Mail Gateway product,
I showed MX record Proxmox Mail Gateway for 1 domain name,
Incoming Mail This Way Passes Through PMG,
I want it to pass through PMG in mail sent by defining an external MTA address for a test domain only,
When I Look at the Global Settings, External MTA is Defined for the General
If I Type Outer MTA Here, The Delivery Problem May Occur Because The Other Domain Address Is Not PMG,
How Can I Transfer Only Mail Sent From One Domain Name To PMG?
I am waiting for help from you ?
You can configure relay based on user/domain sender. You can see here for the guidance: https://imanudin.net/2014/12/26/relay-t ... a-8-5-8-6/
- fs.schmidt
- Outstanding Member
- Posts: 278
- Joined: Sat Sep 13, 2014 3:37 am
- Location: Brazil
- Contact:
Re: Defining an External MTA for a Domain
Hi,
The new path is /opt/zimbra/common/conf/main.cf.
The new path is /opt/zimbra/common/conf/main.cf.
-
- Posts: 36
- Joined: Fri Oct 18, 2019 1:29 pm
Re: Defining an External MTA for a Domain
Hi,
/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 [pmg.akturkgroup.com.tr:25]
@mahbubarice.com.tr [pmg.akturkgroup.com.tr:26]
@mahbubarice.com.tr [10.10.50.62:25]
@mahbubarice.com.tr [10.10.50.62:26]
pmg@mahbubarice.com.tr [10.10.50.62:25]
pmg@mahbubarice.com.tr [10.10.50.62:26]
I made the same definition more than once
postmap /opt/zimbra/common/conf/bysender
-----------------
postfix reload
I applied
Only Sent Mail Waits in the Zimbra Queue ?
https://hizliresim.com/Pl18qG
The picture also shows an error
/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 [pmg.akturkgroup.com.tr:25]
@mahbubarice.com.tr [pmg.akturkgroup.com.tr:26]
@mahbubarice.com.tr [10.10.50.62:25]
@mahbubarice.com.tr [10.10.50.62:26]
pmg@mahbubarice.com.tr [10.10.50.62:25]
pmg@mahbubarice.com.tr [10.10.50.62:26]
I made the same definition more than once
postmap /opt/zimbra/common/conf/bysender
-----------------
postfix reload
I applied
Only Sent Mail Waits in the Zimbra Queue ?
https://hizliresim.com/Pl18qG
The picture also shows an error
imanudin11 wrote:Hello,ibrahimayhan wrote:Hi Zimbra Team,
8.8.15 FOSS is used in our company,
I am testing the Proxmox Mail Gateway product,
I showed MX record Proxmox Mail Gateway for 1 domain name,
Incoming Mail This Way Passes Through PMG,
I want it to pass through PMG in mail sent by defining an external MTA address for a test domain only,
When I Look at the Global Settings, External MTA is Defined for the General
If I Type Outer MTA Here, The Delivery Problem May Occur Because The Other Domain Address Is Not PMG,
How Can I Transfer Only Mail Sent From One Domain Name To PMG?
I am waiting for help from you ?
You can configure relay based on user/domain sender. You can see here for the guidance: https://imanudin.net/2014/12/26/relay-t ... a-8-5-8-6/
-
- Posts: 36
- Joined: Fri Oct 18, 2019 1:29 pm
Re: Defining an External MTA for a Domain
/opt/zimbra/common/conf/bysender
The problem is solved by defining multiple parameters inside it and editing it according to the postmap output
The problem is solved by defining multiple parameters inside it and editing it according to the postmap output
-
- Posts: 36
- Joined: Fri Oct 18, 2019 1:29 pm
Re: Defining an External MTA for a Domain
@imanudin11
I Provided The Identification Process,
Mail When I Test It Only Does Not Reach Through Mail Gateway,
Direct Zimbra Sending on Server,
What I Want is to Deliver Mail After Passing Through PMG ?
Where am I doing wrong ?
I Provided The Identification Process,
Mail When I Test It Only Does Not Reach Through Mail Gateway,
Direct Zimbra Sending on Server,
What I Want is to Deliver Mail After Passing Through PMG ?
Where am I doing wrong ?
-
- Posts: 36
- Joined: Fri Oct 18, 2019 1:29 pm
Re: Defining an External MTA for a Domain
It Was An Error Because I Configured On The Zimbra Side According To The Wrong Version
https://wiki.zimbra.com/wiki/Relay_per_Domain
https://wiki.zimbra.com/wiki/Relay_per_Domain