Zimbra - proxmox 6.4 Mail Gateway settings

Discuss your pilot or production implementation with other Zimbra admins or our engineers.
Post Reply
User avatar
mehmetozbakir
Posts: 7
Joined: Mon Jun 27, 2022 12:06 pm
Location: Turkey / Gaziantep
ZCS/ZD Version: 8.8.15
Contact:

Zimbra - proxmox 6.4 Mail Gateway settings

Post by mehmetozbakir »

Dear My Friends,

I've installed proxmox mail gateway , I made settings done of proxmox mail gateway but I couldn't set up the zimbra settings for mail gateway , I've receiving this error "

<xxxx@domain.com>: host mail.domain.com[176.236.xxx.xxx]
said: 554 5.7.1 <xxx@domain.com>: Relay access denied (in reply to
RCPT TO command)
"
What is the Zimbra settings for mail gateway ?
Mail gateway running same local network.
danielb
Posts: 35
Joined: Mon Jul 15, 2019 6:08 pm

Re: Zimbra - proxmox 6.4 Mail Gateway settings

Post by danielb »

Are you having issues with inbound email (from PMG to Zimbra) or outbound (from Zimbra to PMG) ?
User avatar
mehmetozbakir
Posts: 7
Joined: Mon Jun 27, 2022 12:06 pm
Location: Turkey / Gaziantep
ZCS/ZD Version: 8.8.15
Contact:

Re: Zimbra - proxmox 6.4 Mail Gateway settings

Post by mehmetozbakir »

danielb wrote:Are you having issues with inbound email (from PMG to Zimbra) or outbound (from Zimbra to PMG) ?
Dear My Friend,

Having issue inbound email from PMG to Zimbra . I can send the mail outbound with no problem.
danielb
Posts: 35
Joined: Mon Jul 15, 2019 6:08 pm

Re: Zimbra - proxmox 6.4 Mail Gateway settings

Post by danielb »

If PMG replies this when a remote server tries to send you an email, you probably forgot to declare "domain.com" in the relay domains list of PMG (in Configuration -> Mail Proxy -> Relay Domains)
User avatar
mehmetozbakir
Posts: 7
Joined: Mon Jun 27, 2022 12:06 pm
Location: Turkey / Gaziantep
ZCS/ZD Version: 8.8.15
Contact:

Re: Zimbra - proxmox 6.4 Mail Gateway settings

Post by mehmetozbakir »

danielb wrote:If PMG replies this when a remote server tries to send you an email, you probably forgot to declare "domain.com" in the relay domains list of PMG (in Configuration -> Mail Proxy -> Relay Domains)
My Friends You can see the settings at the attachments , also I forwarded 25 port to PMG on Fortigate Firewall.
Attachments
z4.PNG
z4.PNG (85.77 KiB) Viewed 4461 times
z3.PNG
z3.PNG (82.97 KiB) Viewed 4461 times
z2.PNG
z2.PNG (108.12 KiB) Viewed 4461 times
z1.PNG
z1.PNG (94.51 KiB) Viewed 4461 times
danielb
Posts: 35
Joined: Mon Jul 15, 2019 6:08 pm

Re: Zimbra - proxmox 6.4 Mail Gateway settings

Post by danielb »

On the Relaying tab, you should disable the MX Lookup. And in the Relay Domains, are you sure your email domain is mail.micrononwoven.com.tr and not just micrononwoven.com.tr ?
User avatar
mehmetozbakir
Posts: 7
Joined: Mon Jun 27, 2022 12:06 pm
Location: Turkey / Gaziantep
ZCS/ZD Version: 8.8.15
Contact:

Re: Zimbra - proxmox 6.4 Mail Gateway settings

Post by mehmetozbakir »

danielb wrote:On the Relaying tab, you should disable the MX Lookup. And in the Relay Domains, are you sure your email domain is mail.micrononwoven.com.tr and not just micrononwoven.com.tr ?
My friends , as you see the early attachments already disabled MX lookup , and also you can see the dns records.
Attachments
z6.PNG
z6.PNG (88.31 KiB) Viewed 4369 times
User avatar
mehmetozbakir
Posts: 7
Joined: Mon Jun 27, 2022 12:06 pm
Location: Turkey / Gaziantep
ZCS/ZD Version: 8.8.15
Contact:

Re: Zimbra - proxmox 6.4 Mail Gateway settings

Post by mehmetozbakir »

dear my friend as I mentioned attachments
Attachments
z8.PNG
z8.PNG (136.11 KiB) Viewed 3859 times
z7.PNG
z7.PNG (73.64 KiB) Viewed 3859 times
claudio.leng
Posts: 1
Joined: Thu Jun 30, 2022 9:30 pm

Re: Zimbra - proxmox 6.4 Mail Gateway settings

Post by claudio.leng »

ADD PMG local IP to Zimbra MTA trusted IP if they are on same network, else add Public PMG IP

Allowing relaying for a remote machine
Let's say you have a single machine on a remote network (for example, an automated mailing list manager with the IP address 10.10.200.25), and the current settings look like this:

postconf mynetworks
mynetworks = 127.0.0.0/8 10.10.130.0/24
Add the remote machine like this:

zmprov ms zimbra.example.com zimbraMtaMyNetworks '127.0.0.0/8 10.10.130.0/24 10.10.200.25/32'
postfix reload

Allowing relaying for a remote network
Let's say you have POP or IMAP users on a remote network (for example, 192.168.1.x, with a netmask of 255.255.255.0), and the current settings look like this:

postconf mynetworks
mynetworks = 127.0.0.0/8 10.10.130.0/24
Add the remote network like this:

zmprov ms zimbra.example.com zimbraMtaMyNetworks '127.0.0.0/8 10.10.130.0/24 192.168.1.0/24'
postfix reload
User avatar
mehmetozbakir
Posts: 7
Joined: Mon Jun 27, 2022 12:06 pm
Location: Turkey / Gaziantep
ZCS/ZD Version: 8.8.15
Contact:

Re: Zimbra - proxmox 6.4 Mail Gateway settings

Post by mehmetozbakir »

claudio.leng wrote:ADD PMG local IP to Zimbra MTA trusted IP if they are on same network, else add Public PMG IP

Allowing relaying for a remote machine
Let's say you have a single machine on a remote network (for example, an automated mailing list manager with the IP address 10.10.200.25), and the current settings look like this:

postconf mynetworks
mynetworks = 127.0.0.0/8 10.10.130.0/24
Add the remote machine like this:

zmprov ms zimbra.example.com zimbraMtaMyNetworks '127.0.0.0/8 10.10.130.0/24 10.10.200.25/32'
postfix reload

Allowing relaying for a remote network
Let's say you have POP or IMAP users on a remote network (for example, 192.168.1.x, with a netmask of 255.255.255.0), and the current settings look like this:

postconf mynetworks
mynetworks = 127.0.0.0/8 10.10.130.0/24
Add the remote network like this:

zmprov ms zimbra.example.com zimbraMtaMyNetworks '127.0.0.0/8 10.10.130.0/24 192.168.1.0/24'
postfix reload

Dear My Friend ,

I have running error as the same "

<bt@micrononwoven.com.tr>: host mail.micrononwoven.com.tr[176.236.176.235]
said: 554 5.7.1 <bt@micrononwoven.com.tr>: Recipient address rejected:
Rejected by SPF: 192.168.1.1 is not a designated mailserver for
mehmet%40gizateknoloji.com (context mfrom, on microfiber.local) (in reply
to RCPT TO command)
"
it's makes me crazy , what can I do ? :(((
Post Reply