Zimbra - proxmox 6.4 Mail Gateway settings

Discuss your pilot or production implementation with other Zimbra admins or our engineers.
User avatar
mehmetozbakir
Posts: 6
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

Postby mehmetozbakir » Mon Jun 27, 2022 12:14 pm

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: 27
Joined: Mon Jul 15, 2019 6:08 pm

Re: Zimbra - proxmox 6.4 Mail Gateway settings

Postby danielb » Mon Jun 27, 2022 1:54 pm

Are you having issues with inbound email (from PMG to Zimbra) or outbound (from Zimbra to PMG) ?
User avatar
mehmetozbakir
Posts: 6
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

Postby mehmetozbakir » Wed Jun 29, 2022 8:41 am

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: 27
Joined: Mon Jul 15, 2019 6:08 pm

Re: Zimbra - proxmox 6.4 Mail Gateway settings

Postby danielb » Wed Jun 29, 2022 9:18 am

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: 6
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

Postby mehmetozbakir » Wed Jun 29, 2022 10:27 am

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 1986 times
z2.PNG
z2.PNG (108.12 KiB) Viewed 1986 times
z3.PNG
z3.PNG (82.97 KiB) Viewed 1986 times
z1.PNG
z1.PNG (94.51 KiB) Viewed 1986 times
danielb
Posts: 27
Joined: Mon Jul 15, 2019 6:08 pm

Re: Zimbra - proxmox 6.4 Mail Gateway settings

Postby danielb » Wed Jun 29, 2022 10:33 am

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: 6
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

Postby mehmetozbakir » Wed Jun 29, 2022 1:19 pm

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 1894 times
User avatar
mehmetozbakir
Posts: 6
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

Postby mehmetozbakir » Thu Jun 30, 2022 10:50 am

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

Re: Zimbra - proxmox 6.4 Mail Gateway settings

Postby claudio.leng » Thu Jun 30, 2022 9:47 pm

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: 6
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

Postby mehmetozbakir » Wed Jul 20, 2022 7:44 am

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 ? :(((

Return to “Administrators”

Who is online

Users browsing this forum: bennhana, nikola011, sheshman and 43 guests